CN107606798B - Networking timing and checking method, system, computer, storage medium and electrical equipment - Google Patents

Networking timing and checking method, system, computer, storage medium and electrical equipment Download PDF

Info

Publication number
CN107606798B
CN107606798B CN201710752560.6A CN201710752560A CN107606798B CN 107606798 B CN107606798 B CN 107606798B CN 201710752560 A CN201710752560 A CN 201710752560A CN 107606798 B CN107606798 B CN 107606798B
Authority
CN
China
Prior art keywords
time
timing
power supply
timer
networking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710752560.6A
Other languages
Chinese (zh)
Other versions
CN107606798A (en
Inventor
余根
蒋贤鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Hefei Midea Heating and Ventilating Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Hefei Midea Heating and Ventilating Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Hefei Midea Heating and Ventilating Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201710752560.6A priority Critical patent/CN107606798B/en
Publication of CN107606798A publication Critical patent/CN107606798A/en
Application granted granted Critical
Publication of CN107606798B publication Critical patent/CN107606798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a method and a system for calibrating networked timing, a computer, a storage medium and electrical equipment, wherein the method for calibrating networked timing comprises the following steps: when detecting that the main power supply is powered off, starting a standby power supply to store a first moment currently recorded by a timer; determining the current second moment of the timer when the main power supply is powered on again; determining the absolute value of the difference between the second moment and the first moment; judging whether the absolute value of the difference is greater than the power-off duration, and generating a judgment result; and if the judgment result is yes, starting timing by taking the network time acquired by networking as the time reference after the main power supply is electrified again. According to the technical scheme, when the current time is inaccurate after the electric quantity of the standby power supply is exhausted, the network time obtained through networking is the time reference after the main power supply is electrified again, the possibility that the timer is inaccurate when the electrical equipment is powered off for a long time is reduced, the running reliability of the electrical equipment is improved, and the user experience is improved.

Description

Networking timing and checking method, system, computer, storage medium and electrical equipment
Technical Field
The invention relates to the field of electrical equipment, in particular to a network timing correction method, a network timing correction system, computer equipment, a computer readable storage medium and electrical equipment.
Background
At present, in the use process of an air-source heat pump water heater, a timing function and a water use reservation function are usually used, the two functions are based on an accurate clock, the clock counting of the air-source heat pump water heater is generally adjusted and set only when the air-source heat pump water heater leaves a factory or a user installs the air-source heat pump water heater for the first time, and a machine runs on the basis of the clock at the later stage. However, in the actual use process, due to the power failure situation, although the existing air energy heat pump water heater has a clock timing function with a power supply for power failure, the sustainable time is generally from one day to several days, and for long-time power failure, the clock timing after the power failure cannot be realized, so that clock disorder is caused, and the use of a user is influenced.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
Therefore, the invention aims to provide a method for calibrating the networking timing.
It is a further object of this invention to provide a networked timing correction system.
It is a further object of the invention to propose a computer device.
It is yet another object of the present invention to provide a computer-readable storage medium.
It is a further object of the invention to propose an electrical apparatus.
In view of this, the technical solution of the first aspect of the present invention provides a method for calibrating networking timing, including: when detecting that the main power supply is powered off, starting a standby power supply to store a first moment currently recorded by a timer; determining the current second moment of the timer when the main power supply is powered on again; determining the absolute value of the difference between the second moment and the first moment; judging whether the absolute value of the difference is greater than the power-off duration, and generating a judgment result; and if the judgment result is yes, starting timing by taking the network time acquired by networking as the time reference after the main power supply is electrified again.
In the technical scheme, when the power-off of a main power supply is detected, a standby power supply storage timer is started to currently record a first moment, and the timer is powered by the standby power supply to keep normal timing during the power-off of the main power supply; when the main power supply is powered on again, the current second moment of the timer is determined, the absolute value of the difference value between the second moment and the first moment is determined, the accuracy of the second moment timed by the current timer is judged, whether the absolute value of the difference value is greater than the power-off duration is judged, a judgment result is generated, if the judgment result is yes, the timer stops timing after the electric quantity of the standby power supply is exhausted, and after the standby power supply is powered on again, the current second moment of the timer is inaccurate, the network moment obtained through networking is used as the time reference after the main power supply is powered on again to start timing, the possibility that the standby power supply cannot guarantee the timer to time accurately continuously due to long-time power failure of the electrical equipment is reduced, the running reliability of the electrical equipment is improved, and the user experience is improved.
It should be noted that the power-off duration is the time normally timed by the standby power maintenance timer and is calculated according to the size of the power storage amount of the standby power supply and the power consumption of the timer, wherein preferably, the power-off duration is the shortest time normally timed by the standby power maintenance timer.
In addition, it should be further noted that the network access time includes, but is not limited to, networking with a cloud server through WIFI.
In the above technical solution, preferably, the method further includes: determining the networking state after the judgment result is yes; and when the networking state is disconnection, displaying first fault information.
In the technical scheme, after the judgment result is yes, the timer stops timing after the electric quantity of the standby power supply is exhausted, and after the standby power supply is electrified again, the current second moment of the timer is inaccurate, and the timer needs to be networked to perform timing correction so as to determine the networking state; when the networking state is disconnection, the explanation can not be timed and corrected through networking, first fault information is displayed, a user is reminded of manually correcting time in time, the possibility of function operation errors caused by inaccurate timing of electrical equipment is reduced, if a user sets a certain function to be started regularly, the user experience is improved.
It should be noted that, in the above technical solution, the audio prompt information may also be played while the first fault information is displayed, and the electrical equipment may default the setting or may be manually changed by the user.
In the above technical solution, preferably, the method further includes: and after the judgment result is yes, displaying second fault information when the number of times that the networking can not acquire the network time is greater than the preset number of times.
In the technical scheme, after the judgment result is yes, when the number of times that the network time can not be acquired in the networking process is larger than the preset number of times, the current network time is acquired for timing and checking, the second fault information is displayed, a user is reminded of manually checking time in time, the possibility of function operation errors caused by inaccurate timing of the electrical equipment is reduced, if the user sets a certain function to be started at regular time, the user experience is improved.
In the above technical solution, preferably, the method further includes: and if the judgment result is negative, starting to count time by taking the second time as the time reference after the main power supply is electrified again.
In the technical scheme, when the judgment result is negative, the absolute value of the difference value between the second moment and the first moment is less than or equal to the power-off duration, the second moment of the current timing of the timer is accurate, and the second moment is used as the time reference of the re-power-on of the main power supply to start timing, so that the timing accuracy of the timer is determined when the power-off is performed again.
The technical solution of the second aspect of the present invention provides a network timing and proofreading system, including: the first time determining unit is used for starting a first time currently recorded by the standby power storage timer when the power-off of the main power supply is detected; a second time determination unit for determining a current second time of the timer when the main power supply is re-energized; a difference determination unit for determining an absolute value of a difference between the second time and the first time; the judging unit is used for judging whether the absolute difference value is greater than the power-off duration to generate a judging result; and the networking checking unit is used for starting timing by taking the networking acquired network time as a time reference after the main power supply is electrified again when the judgment result is yes.
In the technical scheme, when a first time determining unit detects that a main power supply is powered off, a standby power supply storage timer is started to currently record a first time, and the timer is powered by the standby power supply to keep normal timing during the power off of the main power supply; then a second time determining unit is used for determining the current second time of the timer when the main power supply is electrified again, then a difference determining unit is used for determining the absolute value of the difference between the second time and the first time, the accuracy of the second time timed by the current timer is judged, then a judging unit is used for judging whether the absolute value of the difference is greater than the power-off duration or not to generate a judgment result, then a networking calibration unit is used for indicating that the timer stops timing after the electric quantity of the standby power supply is exhausted when the judgment result is yes, the current second time of the timer is inaccurate after the timer is electrified again, the network time obtained by networking is used as the time reference after the main power supply is electrified again to start timing, the possibility of inaccurate timing caused by the fact that the standby power supply cannot guarantee the timer to continuously and accurately count the power when the electric equipment is powered off for a long time is reduced, and the operation reliability of the electric equipment is improved, the user experience is improved.
It should be noted that the power-off duration is the time normally timed by the standby power maintenance timer and is calculated according to the size of the power storage amount of the standby power supply and the power consumption of the timer, wherein preferably, the power-off duration is the shortest time normally timed by the standby power maintenance timer.
In addition, it should be further noted that the network access time includes, but is not limited to, networking with a cloud server through WIFI.
In the above technical solution, preferably, the method further includes: the networking state determining unit is used for determining the networking state after the judgment result is yes; and the first prompting unit displays first fault information when the networking state is disconnected.
In the technical scheme, after the judgment result is yes, the timer still counts time after the electric quantity of the standby power supply is exhausted, the current second moment of the timer is inaccurate, and the timer needs to be networked to perform timing correction so as to determine the networking state; then, when the networking state is disconnected, the first prompting unit shows that timing and calibration cannot be performed through networking, first fault information is displayed, a user is reminded of manually calibrating time in time, the possibility of function operation errors caused by inaccurate timing of electrical equipment is reduced, if the user sets a certain function to be started regularly, user experience is improved.
It should be noted that, in the above technical solution, the audio prompt information may also be played while the first fault information is displayed, and the electrical equipment may default the setting or may be manually changed by the user.
In the above technical solution, preferably, the method further includes: and the second prompting unit is used for displaying second fault information when the number of times that the networking can not acquire the network moment is greater than the preset number of times after the judgment result is yes.
In the technical scheme, after the judgment result is yes, when the number of times that the network can not acquire the network time is larger than the preset number of times, the second prompting unit explains that the current network time is acquired for timing correction, the second fault information is displayed, and a user is reminded of manually correcting time in time, so that the possibility of function operation error caused by inaccurate timing of electrical equipment is reduced, if a user sets a certain function to be started regularly, the user experience is improved.
In the above technical solution, preferably, the method further includes: and the self-contained timing unit is used for starting timing by taking the second time as a time reference after the main power supply is electrified again when the judgment result is negative.
In the technical scheme, when the judgment result is negative, the self-contained timing unit indicates that the absolute value of the difference value between the second moment and the first moment is less than or equal to the power-off duration, the second moment of the timer is accurate, and the second moment is used as the time reference after the main power supply is powered on again to start timing, so that the timing accuracy of the timer is determined when the main power supply is powered on again after power off.
The technical solution of the third aspect of the present invention provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and operable on the processor, and when the processor executes the computer program, the processor executes any one of the above-mentioned networking timing proofreading methods.
In the technical scheme, a computer program for executing the networking timing correction method is stored in a memory, when the processor executes the computer program, the timer stops timing after the electric quantity of the standby power supply is exhausted, and after the standby power supply is electrified again and the current second moment of the timer is inaccurate, the network moment obtained through networking starts timing for the time reference after the main power supply is electrified again, so that the possibility of inaccurate timing caused by the fact that the standby power supply cannot guarantee the timer to continuously and accurately time after the electric equipment is powered off for a long time is reduced, the reliability of operation of the electric equipment is improved, and the user experience is improved.
The technical solution of the fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements any one of the above-mentioned networking timing proofreading methods.
In this technical solution, the processor needs to implement the networking timing correction method as described above through a computer program, and such a computer program needs to be stored in a computer readable medium. The computer readable medium ensures that the computer program can be executed by the processor, so that the timer stops timing after the electric quantity of the standby power supply is exhausted, and after the standby power supply is powered on again, when the current second moment of the timer is inaccurate, the network moment acquired through networking starts timing for the time reference after the main power supply is powered on again, the possibility of inaccurate timing caused by the fact that the standby power supply cannot ensure that the timer keeps timing accurately after the electric equipment is powered off for a long time is reduced, the reliability of operation of the electric equipment is improved, and the user experience is improved.
The technical solution of the fifth aspect of the present invention provides an electrical apparatus, including: the networked timing collation system of any of the above.
In the technical scheme, the electrical equipment comprising any networking timing correction system can stop timing after the electric quantity of the standby power supply is exhausted, after the standby power supply is powered on again, when the current second moment of the timer is inaccurate, the network moment acquired through networking starts timing for the time reference after the main power supply is powered on again, the possibility of inaccurate timing caused by long-time power failure of the electrical equipment due to the fact that the standby power supply cannot guarantee the timer to continuously and accurately time is reduced, the reliability of operation of the electrical equipment is improved, and user experience is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 shows a flow diagram of a method of networked timing correction according to one embodiment of the invention;
FIG. 2 shows a flow diagram of a networked timing correction method according to yet another embodiment of the invention;
FIG. 3 shows a schematic block diagram of a networked timing collation system according to an embodiment of the invention;
FIG. 4 shows a schematic structural diagram of a computer device according to an embodiment of the invention;
fig. 5 shows a schematic structural diagram of an electrical device according to an embodiment of the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a flow diagram of a networked timing correction method according to an embodiment of the present invention.
As shown in fig. 1, the networked timing calibration method includes:
step S102, when detecting that the main power supply is powered off, starting a standby power supply to store a first moment currently recorded by a timer;
step S104, when the main power supply is powered on again, determining the current second moment of the timer;
step S106, determining the absolute value of the difference value between the second moment and the first moment;
step S108, judging whether the absolute value of the difference is greater than the power-off duration, and generating a judgment result;
and step S110, if the judgment result is yes, timing is started by taking the network time acquired by networking as the time reference after the main power supply is electrified again.
In the embodiment, step S102, when detecting that the main power supply is powered off, starting a standby power supply storage timer to currently record a first time, wherein during the power off of the main power supply, the timer is powered by the standby power supply to keep normally timing; step S104, when the main power supply is powered on again, the current second moment of the timer is determined, step S106, the absolute value of the difference value between the second moment and the first moment is determined, the accuracy of the second moment timed by the current timer is judged, step S108, whether the absolute value of the difference value is larger than the power-off duration is judged, a judgment result is generated, and step S110, if the judgment result is yes, the timer stops timing after the electric quantity of the standby power supply is exhausted, and after the power supply is powered on again, the current second moment of the timer is inaccurate, the network moment obtained through networking is used as the time reference after the main power supply is powered on again to start timing, so that the possibility of inaccurate timing caused by the fact that the standby power supply cannot guarantee the timer to continuously and accurately count the power after the power supply is powered off for a long time is reduced, the reliability of the operation of the electrical equipment is improved.
It should be noted that the power-off duration is the time normally timed by the standby power maintenance timer and is calculated according to the size of the power storage amount of the standby power supply and the power consumption of the timer, wherein preferably, the power-off duration is the shortest time normally timed by the standby power maintenance timer.
In addition, it should be further noted that the network-connected obtaining of the network time includes, but is not limited to, networking with a cloud server through WIFI and mobile data.
In the above embodiment, preferably, the method further includes: determining the networking state after the judgment result is yes; and when the networking state is disconnection, displaying first fault information.
In this embodiment, after the determination result is yes, it is described that after the electric quantity of the standby power supply is exhausted, the timer stops timing, and after the standby power supply is powered on again, the current second time of the timer is inaccurate, and networking is required to perform timing and checking to determine the networking state; when the networking state is disconnection, the explanation can not be timed and corrected through networking, first fault information is displayed, a user is reminded of manually correcting time in time, the possibility of function operation errors caused by inaccurate timing of electrical equipment is reduced, if a user sets a certain function to be started regularly, the user experience is improved.
It should be noted that, in the above embodiment, the audio prompt information may also be played while the first fault information is displayed, and the electrical device may default the setting or may be manually changed by the user.
In the above embodiment, preferably, the method further includes: and after the judgment result is yes, displaying second fault information when the number of times that the networking can not acquire the network time is greater than the preset number of times.
In this embodiment, after the determination result is yes, when the number of times that the network cannot acquire the network time is greater than the preset number of times, it is described that the current network time is acquired for timing and checking, the second fault information is displayed, and the user is reminded to manually check the time in time, so that the possibility of function operation errors caused by inaccurate timing of the electrical equipment is reduced, and if the user sets a certain function to be started at regular time, the user experience is improved.
In the above embodiment, preferably, the method further includes: and if the judgment result is negative, starting to count time by taking the second time as the time reference after the main power supply is electrified again.
In this embodiment, when the determination result is negative, it is described that the absolute value of the difference between the second time and the first time is less than or equal to the power-off duration, the second time currently counted by the timer is accurate, and the second time is used as the time reference after the main power source is powered on again to start timing, so that the timing accuracy of the timer when the main power source is powered on again after the power-off is determined.
The specific embodiment is as follows:
as shown in FIG. 2, when the main chip detects the power-off of the main power supply, the key parameters and the timing result T of the current timer are stored1Namely the first moment, and starting the standby power supply to supply power to the clock chip, maintaining the normal timing of the clock chip, and when the main power supply is electrified again, the main coreWhen the chip is normally running, the stored first time T is read1And a second time T timed by the current clock chip2When T is1And T2When the absolute value of the difference value is not less than the reference power-on time T, the networking time-setting function is started, and the current network time is obtained as the timing reference after the main power supply is electrified again.
FIG. 3 shows a schematic block diagram of a networked timing collation system according to an embodiment of the present invention.
As shown in fig. 3, a networked timing collation system 300 includes:
a first time determination unit 302, configured to start a first time currently recorded by a standby power storage timer when a power failure of a main power supply is detected;
a second timing determination unit 304 for determining a current second timing of the timer when the main power supply is re-energized;
a difference determining unit 306, configured to determine an absolute value of a difference between the second time and the first time;
the judging unit 308 is configured to judge whether the absolute value of the difference is greater than the power-off duration, and generate a judgment result;
and the networking checking unit 310 is used for starting to time by taking the networking acquired network time as a time reference after the main power supply is powered on again when the judgment result is yes.
In this embodiment, by the first time determination unit 302, when the main power source power-off is detected, a first time currently recorded by a standby power source storage timer is started, and during the main power source power-off, the timer is kept normally timed by the standby power source power supply; then, a second time determination unit 304 determines a current second time of the timer when the main power supply is powered on again, then a difference determination unit 306 determines an absolute value of a difference between the second time and the first time, determines the accuracy of the second time timed by the current timer, then a determination unit 308 determines whether the absolute value of the difference is greater than the power-off duration to generate a determination result, and then a networking calibration unit 310 determines that the timer stops timing after the standby power supply is exhausted if the determination result is yes, and the current second time of the timer is inaccurate after the power supply is powered on again, and the network time obtained by networking is used as a time reference after the main power supply is powered on again to start timing, so that the possibility of inaccurate timing caused by the fact that the standby power supply cannot guarantee the timer to continuously and accurately count the power when the electrical equipment is powered off for a long time is reduced, the reliability of the operation of the electrical equipment is improved, and the user experience is improved.
It should be noted that the power-off duration is the time normally timed by the standby power maintenance timer and is calculated according to the size of the power storage amount of the standby power supply and the power consumption of the timer, wherein preferably, the power-off duration is the shortest time normally timed by the standby power maintenance timer.
In addition, it should be further noted that the network access time includes, but is not limited to, networking with a cloud server through WIFI.
In the above embodiment, preferably, the method further includes: the networking state determining unit is used for determining the networking state after the judgment result is yes; and the first prompting unit displays first fault information when the networking state is disconnected.
In this embodiment, after the determination result is yes, it indicates that the timer is still timing after the electric quantity of the standby power supply is exhausted, and the current second time of the timer is inaccurate, so that the timer needs to be networked to perform timing and checking to determine the networking state; then, when the networking state is disconnected, the first prompting unit shows that timing and calibration cannot be performed through networking, first fault information is displayed, a user is reminded of manually calibrating time in time, the possibility of function operation errors caused by inaccurate timing of electrical equipment is reduced, if the user sets a certain function to be started regularly, user experience is improved.
It should be noted that, in the above embodiment, the audio prompt information may also be played while the first fault information is displayed, and the electrical device may default the setting or may be manually changed by the user.
In the above embodiment, preferably, the method further includes: and the second prompting unit is used for displaying second fault information when the number of times that the networking can not acquire the network moment is greater than the preset number of times after the judgment result is yes.
In this embodiment, after the determination result is yes, when the number of times that the network cannot acquire the network time is greater than the preset number of times after the network is connected, the current network time is acquired for timing and checking, the second fault information is displayed, and the user is reminded to manually check the time in time, so that the possibility of function operation errors caused by inaccurate timing of the electrical equipment is reduced, and if the user sets a certain function to be started at regular time, the user experience is improved.
In the above embodiment, preferably, the method further includes: and the self-contained timing unit is used for starting timing by taking the second time as a time reference after the main power supply is electrified again when the judgment result is negative.
In this embodiment, when the determination result is negative, the self-contained timing unit indicates that the absolute value of the difference between the second time and the first time is less than or equal to the power-off duration, the second time currently timed by the timer is accurate, and the second time is used as the time reference after the main power supply is re-energized to start timing, so that the timing accuracy of the timer when the main power supply is re-energized after power-off is determined.
Fig. 4 shows a schematic structural diagram of a computer device according to an embodiment of the invention.
As shown in fig. 4, the computer apparatus 1 includes:
a memory 12, the memory 12 for storing a computer program;
a processor 14, the processor 14 being for executing a computer program stored in the memory;
the processor 14, when executing the computer program, performs the steps of:
when detecting that the main power supply is powered off, starting a standby power supply to store a first moment currently recorded by a timer; determining the current second moment of the timer when the main power supply is powered on again; determining the absolute value of the difference between the second moment and the first moment; judging whether the absolute value of the difference is greater than the power-off duration, and generating a judgment result; and if the judgment result is yes, starting timing by taking the network time acquired by networking as the time reference after the main power supply is electrified again.
In this embodiment, a computer program for executing the networking timing correction method is stored in the memory 12, and when the processor 14 executes the computer program, it may be realized that after the electric quantity of the backup power supply is exhausted, the timer stops timing, and after the power is turned on again, when the current second time of the timer is inaccurate, the network time obtained through networking starts timing for the time reference after the main power supply is turned on again, so that the possibility of inaccurate timing caused by the fact that the backup power supply cannot guarantee the timer to continuously and accurately time when the electrical equipment is powered off for a long time is reduced, the reliability of operation of the electrical equipment is improved, and the user experience is improved.
Fig. 5 shows a schematic structural diagram of an electrical device according to an embodiment of the invention.
As shown in fig. 5, the electric device 50 includes:
a networked timing verification system 502 for verifying the timing when the main power supply is powered on again after a power outage.
In this embodiment, the electrical device 50 including any one of the networked timing verification systems 502 can realize that the timer stops timing after the standby power supply is exhausted, and after the standby power supply is powered on again, when the current second moment of the timer is inaccurate, the network moment acquired through networking starts timing for the time reference after the main power supply is powered on again, so that the possibility that the timing is inaccurate due to the fact that the standby power supply cannot guarantee the timer to continuously and accurately time in case of long-time power failure of the electrical device is reduced, the reliability of operation of the electrical device is improved, and the user experience is improved.
The technical scheme of the invention is described in detail in combination with the accompanying drawings, and provides a method, a system, a computer, a storage medium and electrical equipment for calibrating networked timing.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method for calibrating networked timing is used for electrical equipment, and is characterized by comprising the following steps:
when detecting that the main power supply is powered off, starting a standby power supply to store a first moment currently recorded by a timer;
determining a current second time of the timer when the primary power source is re-energized;
determining an absolute value of a difference between the second time and the first time;
judging whether the absolute value of the difference is larger than the power-off duration to generate a judgment result,
the power-off duration is the duration that the standby power supply can maintain the timing of the timer;
and if the judgment result is yes, starting timing by taking the network time acquired by networking as the time reference after the main power supply is electrified again.
2. The networked timing correction method of claim 1, further comprising:
determining the networking state after the judgment result is yes;
and when the networking state is disconnection, displaying first fault information.
3. The networked timing correction method of claim 2, further comprising:
and after the judgment result is yes, displaying second fault information when the number of times that the network can not acquire the network moment is greater than the preset number of times.
4. The networked timing correction method of claim 1, further comprising:
and if the judgment result is negative, starting timing by taking the second time as the time reference after the main power supply is electrified again.
5. A networked timing collation system, comprising:
the first time determining unit is used for starting a first time currently recorded by the standby power storage timer when the power-off of the main power supply is detected;
a second timing determination unit for determining a current second timing of the timer when the main power supply is re-energized;
a difference determination unit configured to determine an absolute value of a difference between the second time and the first time;
the judging unit is used for judging whether the absolute value of the difference value is greater than the power-off duration or not and generating a judging result;
and the networking checking unit is used for starting timing by taking the networking acquired network time as the time reference after the main power supply is electrified again when the judgment result is yes.
6. The networked timing collation system according to claim 5, further comprising:
the networking state determining unit is used for determining the networking state after the judgment result is yes;
and the first prompting unit displays first fault information when the networking state is disconnected.
7. The networked timing collation system according to claim 6, further comprising:
and the second prompting unit is used for displaying second fault information when the networking time can not acquire the network time for more than the preset time after the judgment result is yes.
8. The networked timing collation system according to claim 5, further comprising:
and the self-contained timing unit is used for starting timing by taking the second time as a time reference after the main power supply is electrified again when the judgment result is negative.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to perform the networking timing correction method of any of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the networked timing correction method according to any one of claims 1 to 4.
11. An electrical device, comprising: the networked timing collation system of any one of claims 5 to 8.
CN201710752560.6A 2017-08-28 2017-08-28 Networking timing and checking method, system, computer, storage medium and electrical equipment Active CN107606798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710752560.6A CN107606798B (en) 2017-08-28 2017-08-28 Networking timing and checking method, system, computer, storage medium and electrical equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710752560.6A CN107606798B (en) 2017-08-28 2017-08-28 Networking timing and checking method, system, computer, storage medium and electrical equipment

Publications (2)

Publication Number Publication Date
CN107606798A CN107606798A (en) 2018-01-19
CN107606798B true CN107606798B (en) 2020-03-06

Family

ID=61056355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710752560.6A Active CN107606798B (en) 2017-08-28 2017-08-28 Networking timing and checking method, system, computer, storage medium and electrical equipment

Country Status (1)

Country Link
CN (1) CN107606798B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111964347A (en) * 2020-07-20 2020-11-20 四川虹美智能科技有限公司 Refrigerator power-off feedback method, device and system
CN113776159A (en) * 2021-09-06 2021-12-10 珠海格力电器股份有限公司 Method and device for recording power-off duration of controller
CN114198886A (en) * 2021-12-15 2022-03-18 珠海格力电器股份有限公司 Method and device for calculating power-off time of equipment and equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005293482A (en) * 2004-04-05 2005-10-20 Canon Inc Clock controller and its control method
CN101976038A (en) * 2010-09-14 2011-02-16 广东美的电器股份有限公司 Time self-calibration air conditioner and time self-calibration control method thereof
CN104854531B (en) * 2012-12-13 2018-05-18 相干逻辑公司 Clock generating circuit reconfigures
US8854086B1 (en) * 2013-03-12 2014-10-07 Integrated Device Technology, Inc. Clock distribution systems for low power applications
CN204063175U (en) * 2014-07-30 2014-12-31 海尔集团公司 Clock calibrating device and comprise the micro-wave oven of this device
CN105371414B (en) * 2014-08-06 2017-11-14 广东美的制冷设备有限公司 The control method and air-conditioner controller of air conditioner
CN105656590B (en) * 2015-12-30 2019-03-08 天维尔信息科技股份有限公司 Realize the methods, devices and systems of time synchronization
CN106814789B (en) * 2017-01-25 2020-07-03 腾讯科技(深圳)有限公司 Timing method and device
CN108645003B (en) * 2018-05-09 2020-11-20 宁波奥克斯电气股份有限公司 Automatic mute control method for air conditioner and air conditioner

Also Published As

Publication number Publication date
CN107606798A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107606798B (en) Networking timing and checking method, system, computer, storage medium and electrical equipment
CN105334383B (en) A kind of electricity data storage method of electric energy meter
CN102210195B (en) Providing power to gas discharge lamp
CN106338690B (en) A kind of reserve battery detection method, device, system and method for supplying power to
CN103033758A (en) Display electric quantity value calibration method and device
CN105068040B (en) Electric energy metering device and household appliance using same
WO2018000827A1 (en) Method and apparatus for calculating terminal battery power
CN105045146B (en) A kind of system with reset function and its restart control method
EP3581040B1 (en) Electronic cigarette, atomizing core, atomizer, and electronic cigarette control method
CN113009406A (en) Electric quantity measurement correction method and device and air conditioning system
WO2019223531A1 (en) Method for determining output power of electronic cigarette, electronic cigarette and computer storage medium
CN101536074A (en) Luminance adjusting device, and luminance adjusting method
US20120054522A1 (en) Electronic device with sleep mode and method for awaking electronic device
JP5960017B2 (en) Battery deterioration determination device, resistance value calculation device, battery deterioration determination method, and program
JP2008154323A (en) Charger and method for detecting charged state
CN102624295A (en) Methods and sy`stems involving electric machine controllers
CN105247490B (en) For the optimization method used of the nonvolatile memory of the motor vehicles computer of building blocks of function monitoring
CN115978709B (en) Air conditioner refrigerant leakage determining method and device and air conditioner
JP2013065143A (en) Power consumption measuring apparatus, power consumption measuring method, and program
JP5698570B2 (en) Water server management system for water server
CN110736873B (en) Clock repairing method, power terminal and power system
JP2008104251A (en) Power supply failure detection method
CN111025223A (en) Clock correction method, device, equipment and storage medium of electric energy meter
US9716393B2 (en) Battery backup remaining time arrangement
CN112714368A (en) Method and device for prompting abnormal electricity consumption, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant