Method and system for intelligently updating program of main controller of gas water heater
By establishing a three-terminal interoperability connection between cloud server-mobile terminal-target equipment, the main controller program of the gas water heater is automatically detected and updated, and the problem of gas water heaters caused by inconsistent air-fuel ratio in high altitude areas is solved, and automated updates are achieved, reducing service costs.
Patent Information
- Application Number
- CN202411548250.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-25
AI Technical Summary
The prior art is difficult to effectively solve the problem of ignition difficulties or resonance abnormalities caused by air-fuel ratio in high altitude areas due to inconsistent air-fuel ratios. The existing solutions require service personnel to change the program on-site or manually burn it, which is complex and requires human resources.
By detecting the connection request of the mobile terminal, establish a three-terminal interconnection between the cloud server-mobile terminal-target device, locate the geographical location of the mobile terminal, determine the altitude information of the target device, and recommend appropriate programs based on the device information. If the currently running program is not a recommended program, send program update information to the mobile terminal, and after receiving the confirmation update instruction, update the main controller program of the target device through the recommended program.
The main controller program of gas water heater is realized automatically matched and updated according to different altitudes, avoiding the waste of human resources for service personnel to debug on-site, improving the intelligent experience of the product, and saving costs.
Smart Images

Figure CN119520269A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of gas equipment program update, and in particular to a method and system for intelligently updating a main controller program of a gas water heater. Background Art
[0002] Gas water heaters are one of the most commonly used household appliances. When manufacturers produce water heaters, they burn the same program into the main controller of the same model. However, in actual use, the altitudes of different parts of the country are different, and the oxygen content in the air is different. This will cause the water heater to be installed in high-altitude areas with thin air. The air-fuel ratio is not coordinated, causing difficulty in ignition or abnormal resonance. Therefore, for water heaters in high-altitude areas, manufacturers need to re-match the appropriate program and update it to adapt to the local environment.
[0003] However, the solution to the above problem in the prior art can only be solved by having service personnel come to replace the main controller or manually re-burn a new program, which is complicated to operate, consumes human resources, and increases service costs. Summary of the invention
[0004] In view of the problems existing in the prior art, an embodiment of the present invention provides a method and system for intelligently updating a program of a main controller of a gas water heater.
[0005] An embodiment of the present invention provides a method for intelligently updating a program of a main controller of a gas water heater, comprising:
[0006] When a connection request from a mobile terminal is detected, a connection is established with the mobile terminal, and a three-terminal interconnection connection of a cloud server, a mobile terminal and a target device is established based on the device information uploaded by the mobile terminal;
[0007] Locate the geographical location of the mobile terminal, determine the altitude information of the target device according to the geographical location, and determine the recommended program of the target device in combination with the device information of the target device;
[0008] receiving an identification code of a target device uploaded, determining a currently running program of the target device according to the identification code, and judging whether the currently running program of the target device is a recommended program;
[0009] When the currently running program is not a recommended program, program update information is sent to the mobile terminal, and after receiving a confirmation update instruction, the target device is updated through the recommended program.
[0010] In one embodiment, the method further comprises:
[0011] When a system package update is detected, obtaining an applicable altitude range and an applicable model range of the system package;
[0012] Based on the applicable altitude range and applicable models, compare the device installation database to determine the devices to be updated within the applicable altitude range and applicable models;
[0013] Send program update information to the mobile terminal bound to the device to be updated, and after receiving a confirmation update instruction, update the device to be updated through the system program package.
[0014] In one embodiment, the method further comprises:
[0015] Detecting whether the automatic update switch of the device to be updated is turned on;
[0016] When the automatic update switch of the device to be updated is turned on, sending program update information to the mobile terminal bound to the device to be updated, and after receiving the confirmation update instruction, updating the device to be updated through the system program package, including:
[0017] The device to be updated is updated using the system program package.
[0018] In one embodiment, the method further comprises:
[0019] When detecting a user program package uploaded by the mobile terminal, identifying an identification device corresponding to the mobile terminal, and determining whether the user program package is a recommended program corresponding to the identification device;
[0020] When the user program package is a recommended program corresponding to the identification device, the identification device is updated through the user program package.
[0021] In one embodiment, the method further comprises:
[0022] Receive the Bluetooth ID uploaded by the mobile terminal, identify the target device according to the Bluetooth ID, and connect the target device via Wi-Fi to establish a three-terminal interconnection between the cloud server, the mobile terminal and the target device.
[0023] In one embodiment, the method further comprises:
[0024] A recommended program set corresponding to the target device at different altitude information is obtained based on the device information, and the recommended program set is pre-stored.
[0025] The embodiment of the present invention provides a system for intelligently updating a program of a main controller of a gas water heater, comprising:
[0026] A connection module, configured to establish a connection with the mobile terminal upon detecting a connection request from the mobile terminal, and to establish a three-terminal interconnection of the cloud server, the mobile terminal and the target device based on the device information uploaded by the mobile terminal;
[0027] A positioning module, used to locate the geographical location of the mobile terminal, determine the altitude information of the target device according to the geographical location, and determine the recommended program of the target device in combination with the device information of the target device;
[0028] A judgment module, configured to receive an identification code of a target device uploaded, determine a current running program of the target device according to the identification code, and judge whether the current running program of the target device is a recommended program;
[0029] The first updating module is used to send program update information to the mobile terminal when the currently running program is not a recommended program, and to update the target device through the recommended program after receiving a confirmation update instruction.
[0030] In one embodiment, the system further comprises:
[0031] A detection module, configured to obtain an applicable altitude range and an applicable model range of the system program package when detecting that the system program package is updated;
[0032] A comparison module, used to compare the device installation database based on the applicable altitude range and applicable models, and determine the devices to be updated within the applicable altitude range and the applicable model range;
[0033] The second updating module is used to send program update information to the mobile terminal bound to the device to be updated, and after receiving the update confirmation instruction, update the device to be updated through the system program package.
[0034] An embodiment of the present invention provides an electronic device, including a processor and a memory;
[0035] The processor is connected to the memory;
[0036] The memory is used to store executable program code;
[0037] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method described in one or more embodiments.
[0038] An embodiment of the present invention provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for intelligently updating the program of the main controller of the gas water heater are implemented.
[0039] In view of the above, in one or more embodiments of the present specification, when a connection request from a mobile terminal is detected, a connection is established with the mobile terminal, and based on the device information uploaded by the mobile terminal, a three-terminal interconnection of a cloud server, a mobile terminal, and a target device is established; the geographical location of the mobile terminal is located, and the altitude information of the target device is determined based on the geographical location, and the recommended program of the target device is determined in combination with the device information of the target device; the identification code of the uploaded target device is received, and the current running program of the target device is determined based on the identification code, and it is determined whether the current running program of the target device is a recommended program; when the current running program is not a recommended program, program update information is sent to the mobile terminal, and after receiving the confirmation update instruction, the target device is updated through the recommended program. In this way, different altitudes can be matched with different programs to adapt to the local environment, and the main controller program of the gas water heater can be automatically updated, avoiding the waste of human resources for on-site debugging by service personnel, improving the intelligent experience of the product while also saving costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 This is a flow chart of a method for intelligently updating a main controller program of a gas water heater provided in one embodiment of this specification.
[0042] Figure 2 This is a flow chart of another method for intelligently updating a main controller program of a gas water heater provided in one embodiment of this specification.
[0043] Figure 3 It is a structural diagram of a gas water heater main controller program intelligent update system provided by an embodiment of this specification.
[0044] Figure 4 It is a structural schematic diagram of an electronic device provided by an embodiment of this specification. DETAILED DESCRIPTION
[0045] The subject matter described herein will now be discussed with reference to example embodiments. It should be understood that the discussion of these embodiments is only to enable those skilled in the art to better understand and implement the subject matter described herein, and is not a limitation of the scope of protection, applicability or examples set forth in the claims. The functions and arrangements of the elements discussed can be changed without departing from the scope of protection of the contents of this specification. Various examples can omit, replace or add various processes or components as needed. For example, the described method can be performed in an order different from the described order, and various steps can be added, omitted or combined. In addition, the features described relative to some examples can also be combined in other examples.
[0046] As used herein, the term "including" and its variations represent open terms, meaning "including but not limited to". The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other definitions may be included below, whether explicit or implicit. Unless the context clearly indicates otherwise, the definition of a term is consistent throughout the specification.
[0047] like Figure 1 As shown, an embodiment of the present invention provides a method for intelligently updating a program of a main controller of a gas water heater, comprising:
[0048] Step S101, when a connection request from a mobile terminal is detected, a connection is established with the mobile terminal, and based on the device information uploaded by the mobile terminal, a three-terminal interconnection of a cloud server-mobile terminal-target device is established.
[0049] Specifically, in order to solve the problem of air-fuel ratio due to atmospheric pressure when the water heater is installed in a high-altitude area, the cloud server of the water heater establishes a communication connection relationship with the user terminal after detecting the connection request of the user terminal of the water heater user. The cloud server can receive the device information of the water heater uploaded by the user terminal through the connection relationship, and establish a connection with the water heater through the device information. The device information can be used to identify the target device, such as the device identification code of the water heater, so as to realize the connection relationship between the cloud server, the device and the mobile terminal, which is convenient for the cloud server to update the subsequent program of the device, and can also let the user know the progress of the program update in real time through the mobile terminal.
[0050] Among them, the conventional process of establishing a connection relationship between the cloud server, device and mobile terminal, with three terminals communicating with each other, can be as follows: the user first establishes a Bluetooth connection with the water heater (device) through a smartphone (mobile terminal), and then the smartphone logs in to the cloud server of the water heater through the home Wi-Fi. After successful login, the smartphone establishes a remote connection with the cloud server, and the smartphone sends the Bluetooth ID of the water heater to the cloud server, and passes the Wi-Fi network information (SSID and password) to the water heater. The gas water heater uses the Wi-Fi information received from the mobile phone to connect to the Internet, and further establishes a connection with the cloud server, thereby establishing a connection relationship between the cloud server, mobile terminal and target device, with three terminals communicating with each other.
[0051] Step S102, locating the geographical location of the mobile terminal, and determining the altitude information of the target device according to the geographical location, and determining the recommended program of the target device in combination with the device information of the target device.
[0052] Specifically, after establishing a connection relationship between the cloud server, mobile terminal and target device, the cloud server can obtain the geographical location of the mobile terminal through the connection relationship, thereby determining the altitude information of the target device. Among them, obtaining the geographical location of the mobile terminal may include but is not limited to GPS positioning, Wi-Fi positioning, cellular network positioning or IP address positioning. After determining the geographical location of the mobile terminal, the database is queried based on the geographical location of the mobile terminal to obtain the altitude of the installation location of the target device, such as comparing the geographical location of the mobile terminal with the geographic information system (GIS) or the altitude database, and obtaining the altitude of the target device through data matching. After determining the altitude, the device information of the target device (including but not limited to the model, current program version, etc.) is combined with the geographical location information, and the recommended program (version) that best suits the operating environment of the device is determined through an analysis algorithm. Among them, the recommended analysis algorithm for the program (version) can be determined through factory testing when the water heater leaves the factory. For example, when the model A water heater is undergoing factory testing, different programs that are most suitable for the current altitude have been configured according to different altitudes. For example, when the altitude is below 1,000 meters, the recommended program is Program 1, which can achieve the most suitable air-fuel ratio; when the altitude is between 1,000 meters and 2,000 meters, the recommended program is Program 2, and so on.
[0053] Step S103, receiving the identification code of the uploaded target device, determining the current running program of the target device according to the identification code, and judging whether the current running program of the target device is a recommended program.
[0054] Specifically, according to the connection relationship of the cloud server-mobile terminal-target device, the cloud server can obtain the current running program (version) of the target device, wherein the method of obtaining is to determine it according to the identification code uploaded by the target device. Among them, the uploaded identification code can be a unique identification code for each water heater uploaded by the target device, or a communication code transmitted by the water heater communication connection uploaded by the mobile terminal. The detailed steps include: according to the connection relationship, the cloud server obtains the identification code uploaded by the target device (the unique identification serial number / machine barcode set when the water heater leaves the factory), and determines the specific model of the water heater (and the initial program version of the specific model) and the program update record according to the identification code, thereby determining the current running program (version) of the target device; or, according to the communication code (such as Bluetooth ID) of the device connection information uploaded by the mobile terminal when the three-end intercommunication relationship is established, the device database is queried to obtain the specific model and barcode information of the water heater, and the cloud server queries the current running program (version) of the device according to the specific model and barcode information.
[0055] After determining the program (version) information currently running on the water heater, compare it with the recommended program (version) to determine whether the program currently running on the water heater is the recommended program, and then determine whether the program needs to be updated based on the comparison result.
[0056] Step S104, when the currently running program is not a recommended program, sending program update information to the mobile terminal, and after receiving a confirmation update instruction, updating the target device through the recommended program.
[0057] Specifically, after the cloud server has completed the comparison between the current program version of the target device and the recommended version and determined that the current program (version) is not the recommended program (version), it sends the program update information to the mobile terminal, where the program update information may include the recommended program (version) information and the reasons and advantages of the recommended program. After the user confirms the update operation through the mobile terminal and the motion server receives the update instruction, it pushes the recommended program (version) to the target device and executes the update instruction of the target device.
[0058] In addition, when performing a program update, the recommended program set corresponding to the target device at different altitudes can be obtained based on the device information, and the recommended program set can be pre-stored. On the one hand, this can improve the efficiency of program updates when performing program updates on the target device, and on the other hand, it can prevent disconnection during the update, so that the update can continue through the pre-stored program package after the next reconnection.
[0059] In addition, the general flow chart of the method for intelligently updating the program of the main controller of the gas water heater of this embodiment can be as follows: Figure 2 As shown, Figure 2The 8 steps in the embodiment summarize the detailed steps in this embodiment, including:
[0060] Step S1: The user's mobile phone is connected to WIFI and paired with the gas water heater via Bluetooth;
[0061] Step S2: The mobile phone sends the water heater Bluetooth ID to the cloud and the WIFI information to the water heater;
[0062] Step S3: The gas water heater is connected to WIFI and connected to the cloud;
[0063] Step S4: The cloud automatically obtains the installation location altitude based on the mobile device login location;
[0064] Step S5: The cloud obtains the machine model and barcode according to the water heater Bluetooth ID;
[0065] Step S6: The cloud obtains the current program according to the machine Bluetooth ID;
[0066] Step S7: The cloud recommends a program according to the corresponding machine model and installation location;
[0067] Step S8: The cloud compares the main controller program version number with the recommended version number to determine whether they are the same. If they are the same, the cloud displays the current program as the latest version; if they are different, the cloud recommends a program update command, and the cloud transmits the new program to the main controller via WIFI to execute the program update command.
[0068] The embodiment of the present invention provides a method for intelligently updating the program of the main controller of a gas water heater. When a connection request from a mobile terminal is detected, a connection is established with the mobile terminal, and a three-terminal interconnection between a cloud server, a mobile terminal, and a target device is established based on the device information uploaded by the mobile terminal; the geographical location of the mobile terminal is located, and the altitude information of the target device is determined according to the geographical location, and the recommended program of the target device is determined in combination with the device information of the target device; the identification code of the uploaded target device is received, and the current running program of the target device is determined according to the identification code, and it is determined whether the current running program of the target device is a recommended program; when the current running program is not a recommended program, program update information is sent to the mobile terminal, and after receiving the confirmation update instruction, the target device is updated through the recommended program. In this way, different altitudes can be matched with different programs to adapt to the local environment, and the main controller program of the gas water heater can be automatically updated, which avoids the waste of human resources for on-site debugging by service personnel, improves the intelligent experience of the product, and also saves costs.
[0069] In another embodiment, a method for intelligently updating a program of a main controller of a gas water heater further includes:
[0070] When a system package update is detected, obtaining an applicable altitude range and an applicable model range of the system package;
[0071] Based on the applicable altitude range and applicable models, compare the device installation database to determine the devices to be updated within the applicable altitude range and applicable models;
[0072] Send program update information to the mobile terminal bound to the device to be updated, and after receiving a confirmation update instruction, update the device to be updated through the system program package.
[0073] In this embodiment, when the system package is updated, such as when the system package is uploaded to the backend, the gas water heaters that meet the requirements can be updated through the system package, and the update objects include the devices within the applicable altitude range and the applicable model range of the system package, and the installation database big data of the gas water heater is obtained, and the devices to be updated that meet the requirements are screened, and the program update information is sent to the bound mobile terminal of the device to be updated, and the user is confirmed whether the update is required. Among them, the specific steps of the update can be: when the system package is updated, the applicable range can be B-type water heaters from 1000 meters to 2000 meters, then all B-type water heaters from 1000 meters to 2000 meters are detected according to the installation database big data, and the program update information is sent to the corresponding user terminal (such as the bound mobile phone number), and after the user terminal replies to confirm, the water heater is updated through the system package.
[0074] In addition, it is also possible to detect whether the automatic update switch of the device to be updated is turned on. When the automatic update switch is turned on, the confirmation step of the program update information can be skipped, and the water heater can be updated directly through the system program package. In this way, the user's water heater program can be updated more efficiently to adapt to different altitude environments and improve the user experience.
[0075] In another embodiment, a method for intelligently updating a program of a main controller of a gas water heater further includes:
[0076] When detecting a user program package uploaded by the mobile terminal, identifying an identification device corresponding to the mobile terminal, and determining whether the user program package is a recommended program corresponding to the identification device;
[0077] When the user program package is a recommended program corresponding to the identification device, the identification device is updated through the user program package.
[0078] In this embodiment, when the user updates the gas water heater by uploading a program package by himself, the user program package uploaded by the user is obtained, and the identification device corresponding to the mobile terminal, that is, the gas water heater bound by the user, is identified, and it is determined whether the program corresponding to the user program package is the recommended program for the gas water heater bound by the user. When the program corresponding to the user program package is the recommended program corresponding to the identification device, it means that the program uploaded by the user meets the model and altitude requirements corresponding to the user's gas water heater, and the identification device is updated through the user program package. In addition, when the program corresponding to the user program package is not the recommended program corresponding to the identification device, an alarm message is sent to the user terminal, and the user is informed through the alarm message that the program package uploaded by the user does not meet the model and altitude requirements corresponding to the gas water heater.
[0079] An intelligent updating method for a main controller program of a gas water heater provided in an embodiment of the present invention can enable a user to independently and flexibly update the gas water heater program, and warn the user when there are hidden dangers in the independent updating.
[0080] See also Figure 3 , Figure 3 Schematic diagram of a gas water heater main controller program intelligent update system provided by an embodiment of the present application. Figure 3 As shown, the system comprises:
[0081] The connection module S301 is used to establish a connection with the mobile terminal upon detecting a connection request from the mobile terminal, and to establish a three-terminal interconnection connection among a cloud server, a mobile terminal and a target device based on the device information uploaded by the mobile terminal;
[0082] A positioning module S302 is used to locate the geographical location of the mobile terminal, determine the altitude information of the target device according to the geographical location, and determine the recommended program of the target device in combination with the device information of the target device;
[0083] The judgment module S303 is used to receive the identification code of the uploaded target device, determine the current running program of the target device according to the identification code, and judge whether the current running program of the target device is a recommended program;
[0084] The first updating module S304 is used to send program update information to the mobile terminal when the currently running program is not a recommended program, and to update the target device through the recommended program after receiving a confirmation update instruction.
[0085] In one embodiment, the system further comprises:
[0086] A detection module, configured to obtain an applicable altitude range and an applicable model range of the system program package when detecting that the system program package is updated;
[0087] A comparison module, used to compare the device installation database based on the applicable altitude range and applicable models, and determine the devices to be updated within the applicable altitude range and the applicable model range;
[0088] The second updating module is used to send program update information to the mobile terminal bound to the device to be updated, and after receiving the update confirmation instruction, update the device to be updated through the system program package.
[0089] Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and / or hardware. The "unit" and "module" in this specification refer to software and / or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (Field-Programmable Gate Array, FPGA), an integrated circuit (Integrated Circuit, IC), etc.
[0090] Each processing unit and / or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
[0091] See also Figure 4 , which shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, the electronic device can be used to implement Figure 1 The method in the embodiment shown. Figure 4 As shown, the electronic device 400 may include: at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .
[0092] The communication bus 402 is used to realize the connection and communication between these components.
[0093] Among them, the user interface 403 may include a display screen (Display), a camera (Camera), and the optional user interface 403 may also include a standard wired interface and a wireless interface.
[0094] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0095] Among them, the processor 401 may include one or more processing cores. The processor 401 uses various interfaces and lines to connect various parts in the entire electronic device 400, and executes various functions and processes data of the terminal 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the processor 401 can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 401 can integrate one or more combinations of a processor (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 401, and can be implemented separately through a chip.
[0096] Among them, the memory 405 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 405 includes a non-transitory computer-readable storage medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 405 may also be optionally at least one storage device located away from the aforementioned processor 401. As Figure 4 As shown, the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module, and program instructions.
[0097] exist Figure 4In the electronic device 400 shown, the user interface 403 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 401 can be used to call the interactive application generated based on the image stored in the memory 405, and perform the following operations: when a connection request from the mobile terminal is detected, a connection is established with the mobile terminal, and based on the device information uploaded by the mobile terminal, a three-terminal interconnection of the cloud server-mobile terminal-target device is established; the geographical location of the mobile terminal is located, and the altitude information of the target device is determined according to the geographical location, and the recommended program for the target device is determined in combination with the device information of the target device; an identification code of the uploaded target device is received, and the current running program of the target device is determined according to the identification code, and it is determined whether the current running program of the target device is a recommended program; when the current running program is not a recommended program, program update information is sent to the mobile terminal, and after receiving a confirmation update instruction, the target device is updated through the recommended program.
[0098] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0099] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0100] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0101] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0102] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0103] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0104] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., various media that can store program codes.
[0105] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct the relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0106] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A method for intelligently updating the program of a main controller of a gas water heater, characterized in that: include: When a connection request from a mobile terminal is detected, a connection is established with the mobile terminal, and a three-terminal interconnection of a cloud server, a mobile terminal and a target device is established based on the device information uploaded by the mobile terminal; Locate the geographical location of the mobile terminal, determine the altitude information of the target device according to the geographical location, and determine the recommended program of the target device in combination with the device information of the target device; receiving an identification code of a target device uploaded, determining a currently running program of the target device according to the identification code, and judging whether the currently running program of the target device is a recommended program; When the currently running program is not a recommended program, program update information is sent to the mobile terminal, and after receiving a confirmation update instruction, the target device is updated through the recommended program.
2. The method for intelligently updating the program of the main controller of a gas water heater according to claim 1, characterized in that: The method further comprises: When a system package update is detected, obtaining an applicable altitude range and an applicable model range of the system package; Based on the applicable altitude range and applicable models, compare the device installation database to determine the devices to be updated within the applicable altitude range and applicable models; Send program update information to the mobile terminal bound to the device to be updated, and after receiving a confirmation update instruction, update the device to be updated through the system program package.
3. The method for intelligently updating the program of the main controller of a gas water heater according to claim 2, characterized in that: The method further comprises: Detecting whether the automatic update switch of the device to be updated is turned on; When the automatic update switch of the device to be updated is turned on, sending program update information to the mobile terminal bound to the device to be updated, and after receiving the confirmation update instruction, updating the device to be updated through the system program package, including: The device to be updated is updated using the system program package.
4. The method for intelligently updating the program of the main controller of a gas water heater according to claim 1, characterized in that: The method further comprises: When detecting a user program package uploaded by the mobile terminal, identifying an identification device corresponding to the mobile terminal, and determining whether the user program package is a recommended program corresponding to the identification device; When the user program package is a recommended program corresponding to the identification device, the identification device is updated through the user program package.
5. The method for intelligently updating the program of the main controller of a gas water heater according to claim 1, characterized in that: The establishing of a three-terminal interconnection connection between a cloud server, a mobile terminal and a target device based on the device information uploaded by the mobile terminal includes: Receive the Bluetooth ID uploaded by the mobile terminal, identify the target device according to the Bluetooth ID, and connect the target device via Wi-Fi to establish a three-terminal interconnection between the cloud server, the mobile terminal and the target device.
6. The method for intelligently updating the program of the main controller of a gas water heater according to claim 1, characterized in that: The method further comprises: A recommended program set corresponding to the target device at different altitude information is obtained based on the device information, and the recommended program set is pre-stored.
7. A gas water heater main controller program intelligent update system, characterized in that: The system comprises: A connection module, configured to establish a connection with the mobile terminal upon detecting a connection request from the mobile terminal, and to establish a three-terminal interconnection of the cloud server, the mobile terminal and the target device based on the device information uploaded by the mobile terminal; A positioning module, used to locate the geographical location of the mobile terminal, determine the altitude information of the target device according to the geographical location, and determine the recommended program of the target device in combination with the device information of the target device; A judgment module, configured to receive an identification code of a target device uploaded, determine a current running program of the target device according to the identification code, and judge whether the current running program of the target device is a recommended program; The first updating module is used to send program update information to the mobile terminal when the currently running program is not a recommended program, and to update the target device through the recommended program after receiving a confirmation update instruction.
8. The gas water heater main controller program intelligent update system according to claim 7, characterized in that: The system further comprises: A detection module, configured to obtain an applicable altitude range and an applicable model range of the system program package when detecting that the system program package is updated; A comparison module, used to compare the device installation database based on the applicable altitude range and applicable models, and determine the devices to be updated within the applicable altitude range and the applicable model range; The second updating module is used to send program update information to the mobile terminal bound to the device to be updated, and after receiving the update confirmation instruction, update the device to be updated through the system program package.
9. An electronic device comprising a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 6.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 6 when executed by a processor.
Citation Information
Cited By
Calibration device and detection equipment of combustible gas controller
CN120742852A