Method and system for controlling key to wake up screen and storage medium

By judging the transportation status in the meter and generating a screen clear signal, blocking the button wake-up function, the problem of invalid power consumption during the meter transportation is solved, and the power is effectively saved.

CN119920218AActive Publication Date: 2025-05-02HANGZHOU MINGTE TECH
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202510398875.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-01
Publication Date
2025-05-02
Estimated Expiration
2045-04-01

AI Technical Summary

Technical Problem

During the transportation of the meter, the LCD wake-up button may be overwhelmed, causing the screen to wake up, causing invalid battery power loss.

Method used

By determining whether the delivery signal is received that represents the start of the transport meter, the sleep time of the transportation and unloading time is obtained, and the screen clear signal is generated during transportation blocking the key wake-up function until the screen is awakened after the transportation is completed.

Benefits of technology

It effectively reduces the power consumption of the meter during transportation and avoids ineffective battery power loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119920218A_ABST
    Figure CN119920218A_ABST
Patent Text Reader

Abstract

The invention provides a method and system for controlling a key to wake up a screen, and a storage medium, and the method comprises the steps: judging whether a transmission signal representing the start of transportation of an ammeter is received, and if the transmission signal is received, obtaining the sleep time representing the time required by the transportation of the ammeter to the installation, and the initial time corresponding to the transmission signal, adding the initial time to the sleep time to obtain end time representing that the electric meter ends transportation; obtaining the current time, judging whether the current time reaches the end time, if not, continuing to obtain the current time, and generating a screen clearing signal to block a key in the electricity meter to wake up the screen function; and if so, obtaining a power-on instruction, and generating a wake-up signal based on the power-on instruction to start a key wake-up screen function in the ammeter. The electricity consumption in the electricity meter conveying process can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electric meters, and in particular to a method, system and storage medium for controlling a button to wake up a screen. Background Art

[0002] Electricity meters are widely used because they can help users understand the electricity consumption of their homes or businesses. Through electricity meters, users can clearly know the electricity consumption each month or over a period of time, and thus conduct reasonable electricity management and electricity settlement.

[0003] At present, there are still users or power bureau staff who need to go to the site to check the electricity usage of the meter. However, during the on-site operation of the meter, there may be a power outage, which makes the meter display screen in a clear state and unable to be viewed. In order to solve this problem, the current meter will have a power outage LCD button to wake up the screen, that is, by pressing the LCD wake-up button, you can wake up the LCD screen and view it.

[0004] At present, although the power meter can facilitate users and power bureau staff by setting a power outage LCD button to wake up the screen, the LCD wake-up button may be crushed due to the bumpy transportation during the transportation from the factory to the site, waking up and lighting up the LCD screen, thereby causing invalid loss of battery power in the meter. The power consumption of the LCD screen in the bright state will inevitably be greater than the power consumption of the LCD screen in the clear state. Summary of the invention

[0005] In order to reduce the power consumption during the transmission process of the electric meter, the embodiments of the present application provide a method, system and storage medium for controlling a button to wake up the screen.

[0006] In a first aspect, this embodiment provides a method for controlling a key to wake up a screen, the method comprising: Determine whether a transport signal indicating the start of transporting the electric meter is received, and if received, obtain a sleep time indicating the time required for transporting the electric meter to installation, and an initial time corresponding to the transport signal, and add the sleep time to the initial time to obtain an end time indicating the end of transporting the electric meter; Obtain the current time, determine whether the current time reaches the end time, and if not, continue to obtain the current time and generate a screen clearing signal to block the function of pressing a button to wake up the screen in the meter; If it arrives, a power-on instruction is obtained, and a wake-up signal is generated based on the power-on instruction to start a button wake-up screen function in the electric meter.

[0007] In some embodiments, the sleep time includes transportation time and unloading time, and obtaining the sleep time representing the time required for transportation of the electric meter includes: Receiving the navigation time sent by the navigation software to obtain the transportation time; Receive the delivery quantity sent by the delivery personnel, and multiply the delivery quantity by the preset unloading unit time to obtain the unloading time; The sleep time is obtained by adding the transport time to the unloading time.

[0008] In some embodiments, the electric meter includes an AND gate and a controller, the button is connected to a first input end of the AND gate, the output end of the controller is connected to a second input end of the AND gate, the output end of the AND gate is connected to a power supply end of the screen, the screen clearing signal is a low level signal, and the generation of the screen clearing signal to block the button wake-up screen function in the electric meter includes: The controller generates a screen clearing signal and sends the screen clearing signal to the second input terminal of the AND gate, so that the output terminal of the AND gate outputs a low-level signal to block the screen wake-up function of the key in the electric meter.

[0009] In some embodiments, the wake-up signal is a high-level signal, and the step of generating the wake-up signal based on the power-on instruction to start the button-pressing screen wake-up function in the electric meter includes: Acquiring the power-on state of the electric meter based on the power-on instruction, judging whether the electric meter is installed and used based on the power-on state, and if so, sending the wake-up signal to the second input end of the AND gate so that the screen is awakened when the button is pressed; If not, obtain the test time, wait for the test time and then send the wake-up signal to the second input end of the AND gate, so that the screen is awakened when the button is pressed.

[0010] In some embodiments, the power-on state is one of an installation power-on state and a test power-on state, and obtaining the power-on state of the electric meter includes: Obtaining the location information of the electric meter, and determining whether the location information belongs to the location of the power company, and if so, the electric meter is in a test power-on state; If not, obtaining the actual number of times a button in the electric meter is pressed within a preset time, and determining whether the actual number exceeds the preset number, and if not, the electric meter is in an installed power-on state; If yes, the electric meter is in a test power-on state.

[0011] In some embodiments, after generating a wake-up signal based on the power-on instruction to start a button-pressing screen wake-up function in the electric meter, the method further includes: Record the key press time and duration each time a key is pressed, determine whether the time difference between two adjacent key press times does not exceed the interval time and the duration is less than the preset key press time difference, if not, clear the wake-up signal and generate a clear screen signal.

[0012] In some embodiments, the method further comprises: If the transport signal indicating the start of transporting the electric meter is not received, a screen clearing signal is generated to block the function of pressing a button in the electric meter to wake up the screen.

[0013] In a second aspect, this embodiment provides a system for controlling a key to wake up a screen, the system comprising: a receiving module, a processing module and a control module; wherein: The receiving module is used to determine whether a transport signal indicating the start of transporting the electric meter is received, and if received, to obtain a sleep time indicating the time required for transporting the electric meter to installation, and an initial time corresponding to the transport signal; The processing module is used to add the sleep time to the initial time to obtain the end time representing the end of transportation of the electric meter; The control module is used to obtain the current time and determine whether the current time reaches the end time. If not, continue to obtain the current time and generate a screen clearing signal to block the button wake-up screen function in the electric meter; if reached, obtain a power-on instruction and generate a wake-up signal based on the power-on instruction to start the button wake-up screen function in the electric meter.

[0014] In some of the embodiments, the control module is also used to record the key pressing time and duration each time a key is pressed, and to determine whether the time difference between two adjacent key pressing times does not exceed the interval time and the duration is less than the preset key pressing time difference; if not, clear the wake-up signal and generate a clear screen signal.

[0015] In a third aspect, this embodiment provides a computer-readable storage medium having stored thereon a computer program that can be run on a processor, and when the computer program is executed by the processor, a method for controlling a button to wake up the screen as described in the first aspect is implemented.

[0016] By adopting the above method, the present application first determines whether a transport signal representing the start of transporting the electric meter is received. If received, the sleep time representing the time required for transporting the electric meter to installation, and the initial time corresponding to the transport signal are obtained, and the initial time is added to the sleep time to obtain the end time representing the end of transportation of the electric meter. Then the current time is obtained to determine whether the current time has reached the end time. If it has not reached, the current time is continued to be obtained, and a clear screen signal is generated to block the button wake-up screen function in the electric meter. If it has reached, a power-on instruction is obtained, and a wake-up signal is generated based on the power-on instruction to start the button wake-up screen function in the electric meter. In this way, the effect of pressing a button will not wake up the screen during the transportation of the electric meter is achieved, thereby reducing the power consumption during the transportation of the electric meter. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a block diagram of a method for controlling a button to wake up the screen provided in an embodiment of the present application.

[0018] Figure 2 This is a schematic diagram of the internal connections of an electric meter provided in an embodiment of the present application.

[0019] Figure 3 It is a block diagram of an embodiment of the present application providing a function of waking up the screen by pressing a button in an electric meter based on a power-on instruction to generate a wake-up signal.

[0020] Figure 4 It is a schematic diagram of the control flow after the electric meter provided in the embodiment of the present application is powered on.

[0021] Figure 5 This is a system connection diagram of a control button to wake up the screen provided in an embodiment of the present application.

[0022] Reference numerals: 1. AND gate; 2. Controller; 3. Button; 4. Screen. DETAILED DESCRIPTION

[0023] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. However, it should be understood by those of ordinary skill in the art that the present application can be implemented without these details. For those of ordinary skill in the art, it is obvious that various changes can be made to the embodiments disclosed in the present application, and without departing from the principles and scope of the present application, the general principles defined in the present application can be applied to other embodiments and application scenarios. Therefore, the present application is not limited to the embodiments shown, but conforms to the broadest scope consistent with the scope claimed for protection in the present application.

[0024] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.

[0025] Figure 1 1 is a block diagram of a method for controlling a key to wake up the screen provided in an embodiment of the present application. Figure 1 As shown, a method for controlling a key to wake up a screen includes the following steps: Step S100, determine whether a transport signal indicating the start of transporting the electric meter is received. If received, obtain the sleep time indicating the time required for transporting the electric meter to installation, and the initial time corresponding to the transport signal, and add the sleep time to the initial time to obtain the end time indicating the end of transporting the electric meter.

[0026] A controller is provided inside the electric meter. This embodiment describes the method of controlling the button to wake up the screen from the perspective of the controller. After the electric meter manufacturer produces the electric meter, it needs to deliver the electric meter to the relevant power company so that the power company can install the electric meter according to the user's needs. Among them, the electric meter is installed for the user according to the nearest needs. The process from the power company to the user is short and takes a short time. Even if the button in the electric meter is pressed, the loss of the battery is very small and can be ignored.

[0027] The meter manufacturer needs to transport the meter by transport truck. Each meter is originally equipped with a positioning device, which will obtain the current location information of the meter and store the obtained location information in the meter. The controller can obtain the location information of the meter by checking the stored information, and calculate the distance between the latest stored location information and the initially stored location information. If the calculated distance value is not less than the preset distance value, a transport signal is generated so that the controller receives the transport signal representing the start of transporting the meter. If the calculated distance value is less than the preset distance value, the distance value between the latest stored location information and the initially stored location information in the next round is calculated. Among them, the initially stored location information refers to the location where the meter is placed in the storage warehouse by the manufacturer after it is produced, and the preset distance value refers to the distance value between the storage warehouse and the transport vehicle in the manufacturer, which is pre-stored in the controller. Therefore, the controller can determine whether the transport signal representing the start of transporting the meter is received by checking whether the transport signal is generated.

[0028] If the controller does not generate a transport signal, it means that the controller has not received the transport signal indicating the start of transporting the electric meter, and the electric meter is still placed in the storage warehouse. Generally, there will be no situation where the screen is awakened by pressing a button. After all, once the electric meter is placed in the warehouse, if there is no need to leave the warehouse, the position will not change or other objects will hit it, causing the button to be pressed. In order to further ensure that the button in the electric meter is not accidentally pressed to wake up the screen, causing battery loss, the controller will generate a low-level screen clearing signal at this time, so that when the screen clearing signal acts on the power connection circuit of the screen, it provides a low-level signal to the power supply end of the screen, which cannot reach the voltage required for screen awakening, thereby blocking the function of waking up the screen by pressing a button in the electric meter. In addition, the controller always outputs the screen clearing signal in this case to ensure that the screen is always in a cleared state in this case.

[0029] If the controller generates a transport signal, it means that the controller has received a transport signal indicating the start of transporting the meter, and the meter has left the storage warehouse and entered the transport state. At this time, the controller needs to control the meter so that the screen will not be awakened due to the pressing of a button during the transport process.

[0030] In order to better control the screen from being awakened during the transportation stage, it is necessary to first obtain the above-mentioned sleep time so that the controller can perform corresponding control during this period. Among them, the sleep time includes transportation time and unloading time, that is, sleep time = transportation time + unloading time. Unloading is also part of the transportation process. Obtaining the sleep time that represents the time required for the meter to be transported to installed includes the following steps: Step S101, receiving the navigation time sent by the navigation software to obtain the transportation time.

[0031] Step S102, receiving the delivery quantity sent by the delivery personnel, and multiplying the delivery quantity by the preset unloading unit time to obtain the unloading time.

[0032] Step S103, adding the transportation time to the unloading time to obtain the sleeping time.

[0033] Each truck is equipped with a corresponding navigation system, or the driver will use the navigation system to obtain the transportation time required to reach the destination before the truck is ready to drive. When the navigation system obtains the transportation time, it can send the transportation time to the controller through the connection with the controller, so that the controller can obtain the transportation time. Among them, since the navigation software is relatively mature, the transportation time received by the controller is relatively accurate.

[0034] The delivery personnel themselves need to know the delivery quantity. The delivery personnel can input the delivery quantity on the navigation software to connect the navigation software with the controller so that the controller receives the delivery quantity. The controller stores a preset unloading unit time, which is determined based on the historical unloading time. After receiving the delivery quantity, the controller can obtain the unloading time required to unload the electric meter in the truck by multiplying the delivery quantity by the preset unloading unit time. Finally, the obtained transportation time and unloading time are added to obtain the sleep time. In this way, in the process of determining the sleep time, on the one hand, only the existing equipment is used without adding other equipment or devices, and the sleep time can be obtained, which can achieve low-cost acquisition of sleep time; on the other hand, in the process of using the existing equipment, its mature technology can also be used to obtain accurate sleep time, thereby achieving low-cost acquisition of accurate sleep time, providing accurate control period for subsequent control buttons to wake up the screen, and reducing the situation where the electric meter appears to be invalid during use due to inaccurate control period, or the situation where the electric meter appears to be valid during use, thereby affecting the user's sense of use.

[0035] The above-mentioned sleep time is only a time period. In order for the electric meter to know when it has completed the work of being transported, it also needs to know the time when it starts being transported, that is, to obtain the initial time corresponding to the transportation signal. The electric meter itself is equipped with a timing device, which can know the current time. Therefore, when the controller generates a transport signal, the initial time corresponding to the transportation signal can be obtained by checking the timing device. The initial time represents the time when the electric meter starts to be transported, that is, the time when the transportation process starts. The time obtained by adding the initial time to the sleep time is the end time of the transportation of the electric meter. That is, when the end time is reached, it means that the transportation work of the electric meter is over.

[0036] Step S200, obtain the current time, determine whether the current time reaches the end time, if not, continue to obtain the current time, and generate a screen clearing signal to block the button wake-up screen function in the meter.

[0037] The controller can obtain the current time by checking the timing device, and compare the obtained current time with the end time. If the current time is earlier than the end time, then the current time has not reached the end time. If the current time is not earlier than the end time, then the current time has reached the end time.

[0038] When the current time does not reach the end time, it indicates that the meter is still in the state of being transported, and the button cannot wake up the screen. The controller will generate a clear screen signal to block the button wake up screen function in the meter. Figure 2 Schematic diagram of the internal connection of the electric meter provided in the embodiment of the present application. Figure 2 As shown, the electric meter includes an AND gate 1, a controller 2, a button 3 and a screen 4, the button 3 is connected to the first input terminal IN1 of the AND gate 1, the output terminal of the controller 2 is connected to the second input terminal IN2 of the AND gate 1, and the output terminal OUT of the AND gate 1 is connected to the power supply terminal E of the screen 4. The signal output from the output terminal of the controller 2 and the button 3 act together on the AND gate 1 to realize the voltage signal on the power supply terminal of the screen 4, thereby controlling the clearing and waking of the screen, avoiding the screen being woken up by mistake only by using the button to control the clearing and waking of the screen, resulting in an invalid increase in the battery power consumption in the electric meter.

[0039] The screen clearing signal is a low level signal. The controller generates a screen clearing signal to block the screen waking function of the key in the electric meter, including: the controller generates a screen clearing signal and sends the screen clearing signal to the second input end of the AND gate, so that the output end of the AND gate outputs a low level type signal to block the screen waking function of the key in the electric meter.

[0040] When the controller determines that the current time has not reached the end time, it will generate a low-level signal, i.e., a screen clearing signal, and send it to the second input terminal IN2 of the AND gate 1 through the output terminal. When the button 3 is in a pressed state, the first input terminal IN1 of the AND gate 1 will receive a high-level signal; when the button 3 is not pressed, the first input terminal IN1 of the AND gate 1 will receive a low-level signal. In this way, when the second input terminal IN2 receives a low-level signal, no matter whether the first input terminal IN1 receives a high-level signal or a low-level signal, i.e., whether the button 3 is pressed or not, the power supply terminal of the screen 4 will be a low-level signal, and the screen 4 cannot be awakened, so that the screen will not be awakened when the button is pressed during the transportation of the electric meter, thereby reducing the power consumption of the electric meter during transportation.

[0041] In addition, when the controller determines that the current time has not reached the end time, it will continue to read the timing device to obtain the current time, and will not stop reading the timing device, that is, stop obtaining the current time, until it determines that the current time has reached the end time.

[0042] Step S300: If reached, the meter is powered by mains electricity, and a wake-up signal is generated to activate the button wake-up screen function in the meter.

[0043] After the controller determines that the current time has reached the end time, it will wait for a power-on command. If no power-on command is received, the screen clearing signal and the wake-up signal will be generated alternately at every preset alternation time. This allows relevant personnel to wake up the screen by pressing a button without waiting too long, satisfying their need to view information; on the other hand, it can also prevent the screen from being woken up by accidentally long pressing the button, which causes invalid power loss to the battery. Among them, the preset alternation time represents a shorter time, which can be determined according to actual needs, such as three minutes. The screen will remain bright for two minutes after a normal wake-up.

[0044] If a power-on command is received, it indicates that the meter is connected to the mains, ending the long-distance transportation. The controller generates a wake-up signal based on the power-on command, and sends it to the second input terminal IN2 of AND gate 1 through the output terminal of the controller to start the button wake-up screen function in the meter. Among them, the wake-up signal is a high-level signal, and the wake-up signal at this time is a long wake-up signal, that is, it always acts on the second input terminal IN2 of AND gate 1. Figure 3 This is a block diagram of the embodiment of the present application providing a wake-up signal based on a power-on instruction to start the button wake-up screen function in the electric meter. Figure 3 As shown, generating a wake-up signal based on a power-on instruction to start a button wake-up screen function in an electric meter includes the following steps: Step S301, obtaining the power-on status of the meter based on the power-on instruction, and judging whether the meter is installed and used based on the power-on status. If so, sending a wake-up signal to the second input terminal of the AND gate so that the screen is awakened when the button is pressed.

[0045] Step S302, if not, obtain the test time, and after waiting for the test time, send a wake-up signal to the second input terminal of the AND gate so that the screen is awakened when the key is pressed.

[0046] The power-on instruction generated by the controller may be generated due to test requirements or installation requirements. That is, the meter may be connected to the mains for testing or installation. The power-on state is one of the installation power-on state and the test power-on state. The steps of obtaining the power-on state of the meter include: Step S301 - 1 , obtaining the location information of the electric meter, and determining whether the location information belongs to the location of the power company. If so, the electric meter is in a test power-on state.

[0047] Step S301-2, if not, obtain the actual number of times the button in the meter is pressed within the preset time, and determine whether the actual number exceeds the preset number. If not, the meter is in the installed power-on state.

[0048] Step S301 - 3 : If yes, the electric meter is in the test power-on state.

[0049] The electric meter itself is equipped with a positioning device, and the controller can obtain the location information of the electric meter by checking the location information detected by the positioning device in the electric meter. The controller of the electric meter stores the locations of all power companies that the manufacturer cooperates with. After obtaining the location information of the electric meter, the controller will compare the obtained location information with the stored power company locations. If the location information falls within the location of one of the power companies, then the location information belongs to the power company location; if the location information does not fall within the location of any power company, then the location information does not belong to the power company location.

[0050] When the location information is determined to belong to the power company, it means that the meter is still in the power company and has not been installed at the user. At this time, the meter is powered on, which means that the power personnel have arranged the test work of the meter in the power company. That is, the meter is in the test power-on state.

[0051] When it is determined that the location information does not belong to the power company's location, it means that the meter is no longer located in the power company, but is located at the place where the user installs the meter. At this time, it may be because of testing that the city power is turned on, or it may be meant for installation. After all, the meter needs to be tested before installation. The button is also directly connected to the controller so that the controller can obtain the status of the button. Among them, when the button is pressed, the controller will receive a press signal; when the button is not pressed, the controller will not receive a signal. At this time, the actual number of times the button in the meter is pressed within the preset time can be obtained by checking the signal received by itself. The preset time is a shorter time set according to actual needs. This time is less than the time required to test the meter, generally within three minutes.

[0052] The above-mentioned preset number of times refers to the number of times the button is pressed normally, and the preset number of times can be specifically two times. Under normal circumstances, the normal test of whether there is any problem with the button in the electric meter generally involves multiple pressing operations. Therefore, by comparing the actual number of times with the preset number of times, it is determined whether the actual number of times exceeds the preset number of times. If the actual number of times is not greater than the preset number of times, it indicates that the actual number of times does not exceed the preset number of times, and the electric meter is in the installed power-on state. If the actual number of times is greater than the preset number of times, it indicates that the actual number of times exceeds the preset number of times, and the electric meter is in the test power-on state. In this way, by using only the devices owned by the device itself without adding new devices, the location information of the electric meter can be obtained at low cost and accurately, providing accurate signals for subsequent further control of buttons to wake up the screen.

[0053] After obtaining the power-on status of the meter, it is possible to determine whether the meter is installed and used by checking whether the power-on status is the installed power-on status. If the power-on status is the installed power-on status, the meter is installed and used, and there is no need to press the button due to tampering or accidental touch. After generating the wake-up signal, the controller will immediately send the wake-up signal to the second input terminal IN2 of the AND gate 1, so that the screen can be woken up when the button 3 is pressed.

[0054] If the power-on state is the test power-on state, the meter has not been installed and used, and there may still be a situation where the button is pressed due to tampering or accidental touch. At this time, the controller can obtain the test time by checking the internal stored information, and after receiving the power-on instruction, it will send the generated wake-up signal to the second input terminal IN2 of the AND gate 1 after the predicted time, so that when the button 3 is pressed, the screen can be woken up. Among them, the predicted time is determined based on the summary of the time required for the actual test installation in history, and is pre-stored in the controller. In this way, the loss of the battery in the meter caused by the accidental pressing of the button during the test process is taken into account, which can reduce the invalid loss of the battery in the meter.

[0055] Figure 4 Schematic diagram of the control flow of the electric meter after power is turned on according to the embodiment of the present application. Figure 4 As shown, firstly, the electric meter is powered on, and then it is determined whether the electric meter is in the installation state. If not, the key wake-up countdown variable stored in the controller is read, that is, the test time is counted down to determine whether the countdown becomes zero. If so, the key wake-up screen function in the electric meter is started. If not, the key wake-up screen function in the electric meter is not started, and the countdown process is continued to determine whether the countdown becomes zero. If it is not zero, the countdown process is continued; if it is zero, the key wake-up screen function in the electric meter is started. If it is determined that the electric meter is in the installation state, the key wake-up screen function in the electric meter is directly started.

[0056] In addition, after generating a wake-up signal based on the power-on instruction to start the button wake-up screen function in the electric meter, it also includes: recording the button time and duration of each button being pressed, and determining whether the time difference between two adjacent button times does not exceed the interval time and the duration is less than the preset button time difference. If not, clear the wake-up signal and generate a clear screen signal.

[0057] The above-mentioned interval time specifically refers to the duration of screen wake-up once, and the preset key time difference specifically refers to the response time of the key. The controller will record the key time and duration of each key press, and then subtract the key time of two adjacent keys to obtain the time difference between the two adjacent key presses, and compare the obtained time difference with the interval time; and compare each duration with the preset key time difference. If the time difference between the two adjacent key presses does not exceed the interval time, and the duration is less than the preset key time difference, it means that the key is pressed normally. At this time, the controller has no action, that is, the controller still keeps sending the wake-up signal to the second input terminal IN2 of the AND gate 1. Otherwise, it means that the key is not pressed normally. At this time, the controller will stop generating the wake-up signal, and regenerate the clear screen signal, and send the clear screen signal to the second input terminal IN2 of the AND gate 1, stop the key to wake up the screen function, thereby also playing the role of randomly pressing the key to reduce the loss of the battery in the meter, which can reduce the invalid loss of the battery in the meter.

[0058] Figure 5 1 is a schematic diagram of a system connection for controlling a key to wake up the screen provided in an embodiment of the present application. Figure 5 As shown, a system for controlling a key to wake up a screen includes a receiving module, a processing module and a control module.

[0059] Among them, the receiving module is used to determine whether the transportation signal representing the start of transportation of the electric meter is received. If received, the sleep time representing the time required for the transportation of the electric meter to the installation and the initial time corresponding to the transportation signal are obtained. The processing module is used to add the initial time to the sleep time to obtain the end time representing the end of transportation of the electric meter. The control module is used to obtain the current time and determine whether the current time has reached the end time. If not, continue to obtain the current time and generate a clear screen signal to block the button wake-up screen function in the electric meter; if it has reached, obtain the power-on instruction, and generate a wake-up signal based on the power-on instruction to start the button wake-up screen function in the electric meter. The control module is also used to record the key time and duration of each key press, determine whether the time difference between two adjacent key times does not exceed the interval time and the duration is less than the preset key time difference, if not, clear the wake-up signal and generate a clear screen signal.

[0060] The other functions performed by the above-mentioned receiving module, processing module and control module and the technical details of each function are the same or similar to the corresponding features in the method of waking up the screen by controlling a button described above, so they will not be repeated here.

[0061] An embodiment of the present application also provides a computer storage medium, on which a computer program is stored. When the computer program is run on a computer, the computer can execute the steps in the method of controlling a button to wake up the screen as described above.

[0062] It should be understood that, although the steps in the flowchart of the accompanying drawings are shown in sequence according to the instructions of the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited in order and can be performed in other orders.

[0063] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for controlling a key to wake up a screen, characterized in that: The method comprises: Determine whether a transport signal indicating the start of transporting the electric meter is received, and if received, obtain a sleep time indicating the time required for transporting the electric meter to installation, and an initial time corresponding to the transport signal, and add the sleep time to the initial time to obtain an end time indicating the end of transporting the electric meter; Obtain the current time, determine whether the current time reaches the end time, and if not, continue to obtain the current time and generate a screen clearing signal to block the function of pressing a button to wake up the screen in the meter; If it arrives, a power-on instruction is obtained, and a wake-up signal is generated based on the power-on instruction to start a button wake-up screen function in the electric meter.

2. The method according to claim 1, characterized in that The sleep time includes the transportation time and the unloading time, and the sleep time representing the time required for transportation of the electric meter includes: Receiving the navigation time sent by the navigation software to obtain the transportation time; Receive the delivery quantity sent by the delivery personnel, and multiply the delivery quantity by the preset unloading unit time to obtain the unloading time; The sleep time is obtained by adding the transport time to the unloading time.

3. The method according to claim 2, characterized in that The electric meter includes an AND gate and a controller, the button is connected to the first input end of the AND gate, the output end of the controller is connected to the second input end of the AND gate, the output end of the AND gate is connected to the power supply end of the screen, the screen clearing signal is a low level signal, and the screen clearing signal is generated to block the button wake-up screen function in the electric meter, including: The controller generates a screen clearing signal and sends the screen clearing signal to the second input terminal of the AND gate, so that the output terminal of the AND gate outputs a low-level signal to block the screen wake-up function of the key in the electric meter.

4. The method according to claim 3, characterized in that The wake-up signal is a high-level signal, and the step of generating the wake-up signal based on the power-on instruction to start the button wake-up screen function in the electric meter includes: Acquiring the power-on state of the electric meter based on the power-on instruction, judging whether the electric meter is installed and used based on the power-on state, and if so, sending the wake-up signal to the second input end of the AND gate so that the screen is awakened when the button is pressed; If not, obtain the test time, wait for the test time and then send the wake-up signal to the second input end of the AND gate, so that the screen is awakened when the button is pressed.

5. The method according to claim 4, characterized in that The power-on state is one of an installation power-on state and a test power-on state, and obtaining the power-on state of the electric meter includes: Obtaining the location information of the electric meter, and determining whether the location information belongs to the location of the power company, and if so, the electric meter is in a test power-on state; If not, obtaining the actual number of times a button in the electric meter is pressed within a preset time, and determining whether the actual number exceeds the preset number, and if not, the electric meter is in an installed power-on state; If yes, the electric meter is in a test power-on state.

6. The method according to claim 1, characterized in that After the wake-up signal is generated based on the power-on instruction to start the button wake-up screen function in the electric meter, the method further includes: Record the key press time and duration each time a key is pressed, determine whether the time difference between two adjacent key press times does not exceed the interval time and the duration is less than the preset key press time difference, if not, clear the wake-up signal and generate a clear screen signal.

7. The method according to claim 1, characterized in that The method further comprises: If the transport signal indicating the start of transporting the electric meter is not received, a screen clearing signal is generated to block the function of pressing a button in the electric meter to wake up the screen.

8. A system for controlling a key to wake up a screen, characterized in that: The system comprises: a receiving module, a processing module and a control module; wherein, The receiving module is used to determine whether a transport signal indicating the start of transporting the electric meter is received, and if received, to obtain a sleep time indicating the time required for transporting the electric meter to installation, and an initial time corresponding to the transport signal; The processing module is used to add the sleep time to the initial time to obtain the end time representing the end of transportation of the electric meter; The control module is used to obtain the current time and determine whether the current time reaches the end time. If not, continue to obtain the current time and generate a screen clearing signal to block the button wake-up screen function in the electric meter; if reached, obtain a power-on instruction and generate a wake-up signal based on the power-on instruction to start the button wake-up screen function in the electric meter.

9. The system according to claim 8, characterized in that The control module is also used to record the key pressing time and duration each time a key is pressed, and to determine whether the time difference between two adjacent key pressing times does not exceed the interval time and the duration is less than the preset key pressing time difference. If not, the wake-up signal is cleared and a clear screen signal is generated.

10. A computer-readable storage medium having a computer program that can be run on a processor stored thereon, characterized in that: When the computer program is executed by the processor, the method for controlling a key to wake up the screen as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Prepayment electricity utilization management terminal

    CN102708624A

  • Intelligent ammeter

    CN104101779A

  • Control system, electronic device and control method for lightening screen

    CN104252215A

  • Hot plug type household electric energy monitoring tool

    CN110865234A

  • Current precision test method and system for power supply module in server

    CN112782606A