CN110634239A - Charging control method, device and system and readable medium - Google Patents

Charging control method, device and system and readable medium Download PDF

Info

Publication number
CN110634239A
CN110634239A CN201910783039.8A CN201910783039A CN110634239A CN 110634239 A CN110634239 A CN 110634239A CN 201910783039 A CN201910783039 A CN 201910783039A CN 110634239 A CN110634239 A CN 110634239A
Authority
CN
China
Prior art keywords
charging
controller
connection
charged
target
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.)
Pending
Application number
CN201910783039.8A
Other languages
Chinese (zh)
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.)
Shenzhen Xiaohuangdian Intelligent Technology Co Ltd
Original Assignee
Shenzhen Xiaohuangdian Intelligent Technology 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 Shenzhen Xiaohuangdian Intelligent Technology Co Ltd filed Critical Shenzhen Xiaohuangdian Intelligent Technology Co Ltd
Priority to CN201910783039.8A priority Critical patent/CN110634239A/en
Publication of CN110634239A publication Critical patent/CN110634239A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/12Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity in which metering is on a time basis

Abstract

The embodiment of the invention discloses a charging control method, which is based on a charging controller, wherein the charging controller is used for controlling the on or off of electric energy transmission, and the method comprises the following steps: when power supply connection with a preset power supply device is established, password information input through an input device on the charging controller is obtained, and target charging time is determined according to the password information; detecting the charging connection between the charging controller and the equipment to be charged, and charging the detected equipment to be charged through the charging connection according to the charging time corresponding to the target charging time when the charging controller is connected to the equipment to be charged; and monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, suspending the calculation of the charging time corresponding to the target charging time length and closing the charging controller. The invention improves the accuracy of the calculation of the charging time and the efficiency of controlling the charging, thereby improving the charging lease service experience of the user.

Description

Charging control method, device and system and readable medium
Technical Field
The present invention relates to the field of intelligent charging technologies, and in particular, to a charging control method, apparatus, system, and computer readable medium.
Background
With the development of microelectronic technology and computer information technology, more and more kinds of electronic devices with different types and purposes are popularized and applied, and due to the limitation of the volume and weight of the electronic devices, the capacity of a power supply which can be carried by the electronic devices is limited, so that the electronic devices need to be charged in time to operate normally in the use process of the electronic devices, and accordingly, the renting business of the charging devices capable of charging the electronic devices also comes to the fore.
In the prior art, the charging equipment is generally rented based on a renting time length, the timing charging method is generally based on an available charging time length purchased by a user, the user can freely use the charging equipment to charge within the available charging time length, but in the renting process of the charging equipment, the situation that the charging equipment is separated from a power supply device and is forced to be powered off and restarted (for example, after a hotel socket charging equipment is taken out of a house card) often occurs, and in the prior art, when the charging is forced to be interrupted due to the equipment restart, the timing of the charging time length of the user cannot be stopped, so that the user needs to pay extra for the charging time length which is not charged by the user, the charging timing of the charging renting service is inaccurate, and the charging experience of the charging renting user is poor.
Disclosure of Invention
In view of the above, it is necessary to provide a charging control method, apparatus, computer device and readable medium.
A charging control method, the method being based on a charging controller for controlling the on or off of the transmission of electric energy, the method comprising:
when power supply connection with a preset power supply device is established, password information input through an input device on the charging controller is obtained, and target charging time is determined according to the password information;
detecting the charging connection between the charging controller and the equipment to be charged, and charging the detected equipment to be charged through the charging connection according to the charging time corresponding to the target charging time length when the charging controller is connected to the equipment to be charged;
and monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, suspending the calculation of the charging time corresponding to the target charging time length and closing the charging controller.
A charge control device, characterized in that the device comprises:
the verification unit is used for acquiring password information input through an input device on the charging controller when power supply connection is established with a preset power supply device, and determining target charging time according to the password information;
the charging unit is used for detecting the charging connection between the charging controller and the equipment to be charged, and when the charging unit is connected to the equipment to be charged, the detected equipment to be charged is charged through the charging connection according to the charging time corresponding to the target charging time length;
and the detection unit is used for monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, the calculation of the charging time corresponding to the target charging time length is suspended and the charging controller is closed.
A computer system comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
when power supply connection with a preset power supply device is established, password information input through an input device on the charging controller is obtained, and target charging time is determined according to the password information;
detecting the charging connection between the charging controller and the equipment to be charged, and charging the detected equipment to be charged through the charging connection according to the charging time corresponding to the target charging time length when the charging controller is connected to the equipment to be charged;
and monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, suspending the calculation of the charging time corresponding to the target charging time length and closing the charging controller.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
when power supply connection with a preset power supply device is established, password information input through an input device on the charging controller is obtained, and target charging time is determined according to the password information;
detecting the charging connection between the charging controller and the equipment to be charged, and charging the detected equipment to be charged through the charging connection according to the charging time corresponding to the target charging time length when the charging controller is connected to the equipment to be charged;
and monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, suspending the calculation of the charging time corresponding to the target charging time length and closing the charging controller.
In the embodiment of the invention, the charging controller is powered on by establishing power supply connection between the charging controller and the preset power supply device, then the password information received by the input device on the charging controller is acquired, the decryption is carried out according to the password information to carry out the identity authentication, after the identity authentication is successful, determining the target charging time corresponding to the password information, simultaneously detecting the charging connection between the charging controller and the equipment to be charged, when the charging device is connected to the device to be charged, the detected device to be charged is charged through the charging connection according to the charging time corresponding to the target charging time length, and meanwhile, the connection condition of the power supply connection is monitored in real time in the charging process, and when the disconnection of the power supply connection is detected, the calculation of the charging time corresponding to the target charging time length is suspended, and the charging function of the charging controller is closed.
Therefore, compared with the prior art, when power supply connection occurs, timing needs to be performed again, and meanwhile when charging connection is disconnected, the charging function cannot be closed along with the connection, so that the charging function can be freely occupied by other people.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a flow diagram of a charge control method in one embodiment;
FIG. 2 illustrates a flow diagram for authentication based on the cryptographic information in one embodiment;
FIG. 3 shows a flow diagram for establishing a charging device with a device to be charged in one embodiment;
FIG. 4 is a flow diagram that illustrates the calculation of a charge time corresponding to a target charge duration in one embodiment;
fig. 5 shows a flowchart of an application scenario of "charging a mobile phone to be charged through a charging controller" according to an exemplary embodiment of the present invention;
fig. 6 shows a schematic diagram of an arrangement of a charge controller in another embodiment;
fig. 7 is a block diagram showing the structure of a charge control device according to an embodiment;
FIG. 8 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In one embodiment, the present invention may be based on a charging controller, and the charging controller may obtain charging condition data related to a charging process, and correspondingly control transmission and timing of electric energy according to the charging condition data.
Referring to fig. 1, an embodiment of the present invention provides a charging control method.
Fig. 1 is a flowchart of a charging control method in one embodiment. The charging control method in the present invention at least includes steps S1022 to S1026 shown in fig. 1, which are described in detail as follows:
in step S1022, when power supply connection is established with a preset power supply device, password information input through an input device on the charging controller is acquired, and a target charging duration is determined according to the password information.
In an optional embodiment, the generating process of the password information may be that a user who needs to rent a charging service scans an identification code of the charging controller in the present invention through a code scanning device (e.g., a mobile phone with a camera), and the specific identification code may be a two-dimensional code image (shown externally in a form of solid picture posting or a preset display unit such as a display screen) disposed on the charging controller.
After the code scanning device scans the two-dimensional code image, an operation interface for charging service lease appears on the code scanning device, optionally, the user may input information related to the charging lease on the interface, such as the time length of the charging to be purchased, the device type of the device to be charged, the user account information and the like, after the successful payment is made according to the purchased charging duration, the code scanning device receives order information (displayed on a preset display unit of the code scanning device, such as a screen of a smart phone) corresponding to the purchase operation completed by the user, besides the password information for unlocking the charging controller, the order information may also include prompt information related to the charging lease service, such as the order status (which may include pending payment, charging, completed, cancelled, etc.), each time node with updated order status, and the like.
When the user acquires the password information through the display device, the user can input the password information through a preset input device (such as a preset keyboard device or a preset touch device) on the charging controller.
In an alternative embodiment, after the step of acquiring the password information input through the input device on the charging controller, steps S1032-S1034 as shown in fig. 2 may be further included.
Fig. 2 shows a flow diagram of authentication based on the cryptographic information in one embodiment.
In step S1032, the password information is decrypted by a preset decryption algorithm, and authentication information corresponding to the password information is acquired.
The password information may be a string of character sequences in a predetermined format, and the decryption may be performed by determining authentication information corresponding to the password information according to a predetermined algorithm (e.g., a symmetric key algorithm).
In step S1034, it is determined whether the verification information matches the identification information corresponding to the identification code identified on the charge controller, and when the verification information matches the identification information corresponding to the identification code identified on the charge controller, it is determined that the verification is successful, and the step of determining the target charging duration according to the password information is performed.
It should be noted that the identification code identified on each charging controller should be unique, and therefore can be used to find a specific charging controller to obtain the charging control information related to the subsequent step.
The matching process of the verification information and the identification information may be: and calculating the verification information and the identification information according to a preset verification algorithm and a calculation formula to obtain a verification result (which can be a numerical value or a relation matrix), and when the verification result meets a preset threshold value, determining that the verification information is matched with the identification information, namely the input password information is legal, and successfully unlocking the charging and timing functions of the charging controller and executing subsequent steps after verification is passed.
After the password is verified, order information corresponding to the password information can be determined, and the order information includes how long a charging duration corresponding to the target charging duration (one target charging duration for each order) is when the terminal (which may correspond to the user) successfully purchases the charging duration by scanning the identification code corresponding to which charging controller.
Specifically, after the verification is successful, the device to be charged may be charged through the power output interface included in the charging controller, and the specific detection and charging process may include steps S1042-S1044 shown in fig. 3.
Fig. 3 shows a flow diagram for establishing a charging device with a device to be charged in one embodiment.
In step S1042, it is detected whether the charging controller establishes a charging connection with the device to be charged through the power output interface.
Specifically, the process of detecting whether the device to be charged is connected to the device to be charged can be determined by detecting the charging current flowing through the electric energy output interface, and can also be implemented by detecting the output voltage of the charge controller through a preset circuit detection module.
In an alternative embodiment, the detection of the physical position of the device to be charged within the preset range may be performed by a preset sensor, or may be performed by detecting the physical connection between the device to be charged and a preset output device of the charge controller.
In step S1044, when it is detected that the charging connection is established, the charging controller is controlled to transmit the electric energy of the power supply apparatus to the device to be charged through the electric energy transmission interface.
In view of the diversity of the device types and the applicable power transmission interfaces of the devices to be charged in the charging lease service, in an alternative embodiment, the charging controller may include multiple power transmission interfaces of preset types for detecting and connecting to different types of devices to be charged for charging.
Specifically, the power transmission may be included in a charging port (specifically, refer to the schematic device in fig. 6) provided in the charging controller, and the charging port may be a USB interface and/or a predetermined number of other types of interfaces.
In step S1024, a charging connection between the charging controller and a device to be charged is detected, and when the charging controller is connected to the device to be charged, the detected device to be charged is charged through the charging connection according to the charging time corresponding to the target charging time.
First, the charging controller is powered on after establishing connection with a preset power supply device (for example, through a charging head preset on the controller), and the charging head can also convert alternating current transmitted from the power supply device (for example, an alternating current power socket) into low-voltage direct current to directly charge equipment to be charged.
In an alternative embodiment, the charging head may also be connected to a dc output device (e.g., an output interface of a notebook computer) to be powered on.
It should be noted that, when the power supply connection is disconnected, the charging controller in the present invention is shut down, and stops performing the aforementioned operations such as determining the connection related to power transmission and controlling the charging switch in the subsequent steps, but the charging controller includes a storage unit for storing relevant parameters including the charging duration, the number of charging interruptions, and password information corresponding to each charging in the historical charging process, and these stored data are not erased when the power is cut off, so that when the power is turned on next time, the charging controller can still continue to perform charging control according to the charging relevant data stored and updated in real time before the power is cut off.
However, when the power supply is disconnected, the charging function of the charging controller is also turned off to save power resources.
Secondly, in an alternative embodiment, the charging controller may further include a timing device (or a countdown device) configured to calculate a charging time corresponding to the target charging duration.
Specifically, the process of calculating the charging time corresponding to the target charging time period may include steps S1052 to S1054 as shown in fig. 4.
Fig. 4 shows a flowchart for calculating the charging time corresponding to the target charging time period in one embodiment.
In step S1052, when it is detected that both the power supply connection and the charging connection are connected, the charging time corresponding to the target charging duration of the target user is calculated according to the timing device.
When the charging controller is started, the charging connection is detected, and the identity of the equipment to be charged passes the authentication, the timing device is started to count the charged time length of the equipment to be charged in real time, and the charged time length is subtracted from the charging time corresponding to the target charging time length to obtain the charging time corresponding to the latest target charging time length of the remaining chargeable time length.
For example, after a certain user a purchases a target charging duration (corresponding to a specific order with a unique password) of 3 hours and the identity authentication is successful, the user a connects the mobile phone to be charged to the power output interface (i.e., the charging port) of the turned-on charging controller to start charging.
After charging the mobile phone for 1 hour through charging control, the user a removes the charging controller from the power supply port (or may power off the power supply), at this time, the charged duration corresponding to the order is 1 hour, and the remaining chargeable duration corresponding to the order is 2 hours, so that the charging time corresponding to the target charging duration corresponding to the order is updated and stored in the storage unit of the charging controller to be 2 hours, and the subsequent charging process is controlled accordingly.
Or, in step S1054, when it is detected that the power supply connection is disconnected, suspending the timing device, and calculating the charging time corresponding to the target charging duration of the target user according to the timing data of the timing device.
Similarly, for example, after purchasing the charging time corresponding to the target charging time of 2 hours and after the identity authentication is successful, the user B accesses the mobile phone to be charged to the charging controller to start the preset charging process and the related calculation of the charging time corresponding to the target charging time in the step S1052.
In step S1026, the connection condition of the power supply connection is monitored, and when the power supply connection is disconnected, the calculation of the charging time corresponding to the target charging time period is suspended and the charging controller is turned off.
Continuing with the example in step S1054, after the charging process is performed for 30 minutes, the data transmission line connecting the mobile phone to be charged of the user B and the charging port of the charging controller is pulled out at one end or both ends of the charging connection (possibly caused by accidental pulling of external force), so that the charging connection is disconnected.
It should be noted that, after detecting disconnection of the charging connection, the charging controller does not suspend the timing device, that is, continues to calculate the target charging period as long as the power supply connection remains, unlike the case when the power supply is disconnected, and turns off the charging controller to stop the output of the electric power when the remaining charging period is zero.
The charging method has the advantages that when the output port of the charging controller after the charging function is started is idle due to operation of a user, the idle charging is regarded as selection of the user, and therefore the idle time is calculated and charged within the charging time corresponding to the user, and reasonable benefits of a charging lease service provider and the user are balanced.
In an optional embodiment, when disconnection of the charging connection is detected, a time period from the detection of the disconnection to reconnection of the charging connection is acquired as a target interruption time period, and when the target interruption time period does not meet a preset threshold, the charging controller is turned off.
After the above-mentioned charging disconnection process continues for 20 minutes (the time period of the charging disconnection is also included in the calculation of the target charging time period), it is possible that the user B finds that the charging is disconnected, and manually reconnects the data transmission line of the charging port of the mobile phone to be charged and the charging controller, and tries to reestablish the charging connection to continue the charging process of the mobile phone to continue charging with the charging time corresponding to the target charging time period of the remaining 1 hour 10 minutes (minus 20 minutes of interruption and 30 minutes of charging connection from 2 hours).
However, due to the saving of power resources, the preset threshold in this application scenario may be set to 10 minutes, so that the target interrupt duration (20 minutes) is greater than the preset threshold, and thus the power transmission switch of the charging controller is turned off to turn off the charging function, so that the user B cannot directly continue the previous charging process even if the data transmission line is reconnected because the interrupt duration is too long.
In an alternative embodiment, a status display device, such as a light emitting device with different colors, may be disposed on the charging controller for displaying the real-time charging control status (e.g., during normal charging, the charging connection is disconnected, the duration of the charging connection interruption is too long, the long charging function is locked, etc.) as the user.
In this way, in another alternative embodiment, in addition to the limitation of the charging interruption time period, the password may be re-verified when the device to be charged is connected again, so as to avoid charging other devices that do not purchase the charging lease service through the charging controller for free during the disconnection period and ensure the accuracy of the charging time calculation corresponding to the target charging time period corresponding to each order.
The specific re-authentication process may include: and when the charging is detected to be disconnected and then connected again, the step of acquiring the password information input through the input device on the charging controller and verifying the password information is executed, and when the verification is successful, the charging controller is started to charge.
Specifically, after the identity authentication is successful and the charging connection is detected, the charging device can be charged according to the charging time corresponding to the target charging time corresponding to the order information by acquiring the order information related to the authentication information. In an optional embodiment, the password information may be dynamically updated according to a preset method every preset time, so as to prevent the user from being harmed by the password leakage, the theft and the like during the charging connection interruption time.
Therefore, the user B accidentally disconnected from the charging connection can continue the charging process after re-inputting the password corresponding to the order with the charging time not equal to zero corresponding to the target charging time, so that the safety is improved, and the user experience of the charging lease service is improved.
In addition, in an optional embodiment, a certain limit may be imposed on the number of reconnection times (as the number of recharging times) after the disconnection of the charging connection, and when a situation that the charging connection is disconnected and reconnected which is higher than a preset threshold occurs within a preset time period, it is determined that an abnormal charging situation exists, and an action of turning off the charging function and suspending the timing device is taken.
A specific flow of the application scenario of "charging the mobile phone to be charged through the charging controller" according to an exemplary embodiment of the present invention is shown in the following with reference to fig. 5.
Fig. 5 shows a flowchart of an application scenario of an exemplary embodiment of the present invention in "charging a mobile phone to be charged through a charging controller".
First, the charging controller in this application scenario may be a device schematic as shown in fig. 6.
Fig. 6 shows a schematic diagram of the apparatus of the charge controller in another embodiment.
Referring to fig. 6, the apparatus may specifically include: the electric energy input interface (the head that charges), electric energy output interface (the mouth that charges), identification code display device, password input device. In an optional application scenario, the charge controller may further comprise a status indicator light device.
In combination with the schematic diagram of the apparatus, in particular, in this application scenario, steps S1062-S1066 shown in fig. 5 may be included.
In step S1062, when the power supply connection is established by connecting to the power outlet, the charging controller is powered on, obtains the password information input by the password input device, and determines the charging time corresponding to the target charging time according to the password information.
Specifically, a certain user C may scan the two-dimensional code image displayed by the identification code display device shown in fig. 6 through a mobile phone, and enter a charging service leasing interface (i.e., start a preset program for purchasing a service) on the mobile phone.
The user C can select a charging duration (e.g., 1 hour) to purchase on the charging service lease interface, and after the user pays successfully, a corresponding charging service order is generated, and password information corresponding to the order is displayed to the user C through the charging service lease interface.
The user inputs the acquired password information into the charging controller through the input device shown in fig. 6, the charging controller decrypts according to the received password information according to a preset algorithm to obtain verification information and the like corresponding to the password information, whether the verification information is matched with the unique identification information corresponding to the charging controller is judged, and if the verification information is matched with the unique identification information, the verification is judged to be successful.
In step S1064, a charging connection between the charging controller and the device to be charged is detected, and when the charging controller is connected to the device to be charged, the detected device to be charged is charged through the charging connection according to the charging time corresponding to the target charging time.
Specifically, in this application scenario, the user C may connect the mobile phone to be charged to the charging port of the charging controller, and start the control unit to charge the detected mobile phone of the user C on the charging port after determining that the verification is successful.
Meanwhile, the control unit determines the charging time corresponding to the corresponding target charging time according to the password information, namely the time purchased by the user C is 1 hour in the application scene, starts the timing device shown in fig. 6 to record the connection time of the charging connection, and updates the record of the charging time corresponding to the target charging time in real time.
In step S1066, the connection condition of the power supply connection is monitored, and when the power supply connection is disconnected, the calculation of the charging time corresponding to the target charging time period is suspended and the charging controller is turned off.
In this application scenario, it may be that after the charging connection lasts for 40 minutes, the user C removes the mobile phone from the charging port, thereby disconnecting the charging connection established in step S1064.
In the application scenario, the user C may remove the mobile phone from the charging port for 10 minutes because the user C needs to transfer the place where the mobile phone is used, that is, the user C reconnects the mobile phone to the charging port after the charging connection is disconnected for 10 minutes. At this time, since the user C charges for 40 minutes and interrupts for 10 minutes, the remaining target charging time period is 1 hour minus the above 40 and 10 minutes and still remains for 10 minutes.
The target interrupt period is 10 minutes and the preset threshold may be 5 minutes, so that the timing device is suspended immediately after the disconnection of the charging connection is detected, the calculation of the charging time corresponding to the target charging period is stopped, and the charging function of the charge controller is turned off.
When the mobile phone (or other equipment to be charged) is detected to be connected to the charging port again, information display such as 'long idle time, locked charging function, and re-input of password to unlock charging' is performed on a preset display device. And executing the related steps of authentication, charging control and timing when the password is received.
Fig. 7 is a block diagram showing the structure of the charge control device in one embodiment.
Referring to fig. 7, a charging control device 1080 according to an embodiment of the present invention includes: verification unit 1082, charging unit 1084, and detection unit 1086.
The verification unit 1802 is configured to, when a power supply connection is established with a preset power supply device, acquire password information input through an input device on the charge controller, and determine a target charging duration according to the password information.
And the charging unit 1804 is used for detecting the charging connection between the charging controller and the device to be charged, and when the charging controller is connected to the device to be charged, the detected device to be charged is charged through the charging connection according to the charging time corresponding to the target charging time length.
A detecting unit 1806, configured to monitor a connection condition of the power supply connection, and when the power supply connection is disconnected, suspend calculation of a charging time corresponding to the target charging duration and close the charging controller.
FIG. 8 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a terminal, and may also be a server. As shown in fig. 8, the computer device includes a processor, a memory, and a detection module, a control module, a communication module, which are connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the present charging control method. The internal memory may also store a computer program, and the computer program, when executed by the processor, may cause the processor to execute the charging control method. Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is proposed, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
when power supply connection with a preset power supply device is established, password information input through an input device on the charging controller is obtained, and target charging time is determined according to the password information;
detecting the charging connection between the charging controller and the equipment to be charged, and charging the detected equipment to be charged through the charging connection according to the charging time corresponding to the target charging time length when the charging controller is connected to the equipment to be charged;
and monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, suspending the calculation of the charging time corresponding to the target charging time length and closing the charging controller.
In one embodiment, a computer-readable storage medium is proposed, in which a computer program is stored which, when executed by a processor, causes the processor to carry out the steps of:
when power supply connection with a preset power supply device is established, password information input through an input device on the charging controller is obtained, and target charging time is determined according to the password information;
detecting the charging connection between the charging controller and the equipment to be charged, and charging the detected equipment to be charged through the charging connection according to the charging time corresponding to the target charging time length when the charging controller is connected to the equipment to be charged;
and monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, suspending the calculation of the charging time corresponding to the target charging time length and closing the charging controller.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A charging control method, the method being based on a charging controller for controlling the on or off of the transmission of electric energy, the method comprising:
when power supply connection with a preset power supply device is established, password information input through an input device on the charging controller is obtained, and target charging time is determined according to the password information;
detecting the charging connection between the charging controller and the equipment to be charged, and charging the detected equipment to be charged through the charging connection according to the charging time corresponding to the target charging time length when the charging controller is connected to the equipment to be charged;
and monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, suspending the calculation of the charging time corresponding to the target charging time length and closing the charging controller.
2. The method of claim 1, wherein the password information is generated by scanning an identification code of the charge controller by a code scanning device and is displayed on a display unit of the code scanning device;
after the step of obtaining the password information received by the input device on the charging controller, the method further includes:
decrypting the password information through a preset decryption algorithm to obtain verification information corresponding to the password information;
and judging whether the verification information is matched with identification information corresponding to the identification code identified on the charging controller, judging that the verification is successful when the verification information is matched with the identification information corresponding to the identification code identified on the charging controller, and executing the step of determining the target charging time length according to the password information.
3. The method of claim 1, wherein the charge controller comprises a power output interface;
the method comprises the following steps:
detecting whether the charging controller establishes charging connection with the equipment to be charged through the electric energy output interface;
and when the charging connection is established, controlling the charging controller to transmit the electric energy of the power supply device to the equipment to be charged through the electric energy transmission interface.
4. The method of claim 1, wherein the charge controller further comprises a timing device for calculating a charging time corresponding to the target charging time;
the step of calculating the charging time corresponding to the target charging time length comprises the following steps:
when the connection of both the power supply connection and the charging connection is detected, calculating the charging time corresponding to the target charging time length through the timing device;
or when the power supply connection is detected to be disconnected, the calculation of the charging time corresponding to the target charging time length by the timing device is suspended.
5. The method according to claim 4, wherein after the charging the detected device to be charged through the charging connection according to the charging time corresponding to the target charging duration, the method further comprises:
and when the disconnection of the charging connection is detected, acquiring the time length from the detection of the disconnection to the reconnection of the charging connection as a target interruption time length, and when the target interruption time length does not meet a preset threshold value, closing the charging controller.
6. The method of claim 5, wherein after suspending the calculation of the charging time corresponding to the target charging duration and turning off the charging controller, further comprising:
and when the charging controller is detected to be connected again after being disconnected, the step of acquiring and verifying password information input through an input device on the charging controller is executed, and when the verification is successful, the charging controller is started.
7. A charge control device, characterized in that the device comprises:
the verification unit is used for acquiring password information input through an input device on the charging controller when power supply connection is established with a preset power supply device, and determining target charging time according to the password information;
the charging unit is used for detecting the charging connection between the charging controller and the equipment to be charged, and when the charging unit is connected to the equipment to be charged, the detected equipment to be charged is charged through the charging connection according to the charging time corresponding to the target charging time length;
and the detection unit is used for monitoring the connection condition of the power supply connection, and when the power supply connection is disconnected, suspending the calculation of the charging time corresponding to the target charging time length and closing the charging controller and the charging controller.
8. The apparatus of claim 7, wherein the authentication unit comprises:
the computing unit is used for decrypting the password information through a preset decryption algorithm to acquire verification information corresponding to the password information;
and the judging unit is used for judging whether the verification information is matched with the identification information corresponding to the two-dimensional code identified on the charging controller, judging that the verification is successful when the verification information is matched with the identification information corresponding to the two-dimensional code identified on the charging controller, and executing the step of determining the charging time corresponding to the target charging time according to the password information.
9. A computer-readable medium, in which a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 6.
10. A computer system comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any one of claims 1 to 6.
CN201910783039.8A 2019-08-23 2019-08-23 Charging control method, device and system and readable medium Pending CN110634239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910783039.8A CN110634239A (en) 2019-08-23 2019-08-23 Charging control method, device and system and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910783039.8A CN110634239A (en) 2019-08-23 2019-08-23 Charging control method, device and system and readable medium

Publications (1)

Publication Number Publication Date
CN110634239A true CN110634239A (en) 2019-12-31

Family

ID=68968940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910783039.8A Pending CN110634239A (en) 2019-08-23 2019-08-23 Charging control method, device and system and readable medium

Country Status (1)

Country Link
CN (1) CN110634239A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277574A (en) * 2020-01-14 2020-06-12 杭州涂鸦信息技术有限公司 Method and system for generating timeliness offline secret key for secure communication of shared equipment
CN111737663A (en) * 2020-05-20 2020-10-02 广州市格利网络技术有限公司 Use control method and device of borrowing equipment
CN112907840A (en) * 2021-02-01 2021-06-04 北京三快在线科技有限公司 Pop-up control method and device for shared charge pal and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970139A (en) * 2012-11-09 2013-03-13 中兴通讯股份有限公司 Data security validation method and device
CN104426194A (en) * 2013-09-06 2015-03-18 联想(北京)有限公司 Charging method and charging equipment
CN204349113U (en) * 2014-12-23 2015-05-20 陈其昌 A kind of socket or plug
CN104753675A (en) * 2013-12-31 2015-07-01 腾讯科技(深圳)有限公司 Information verification method, and electronic payment method, terminal, server and system
CN106230784A (en) * 2016-07-20 2016-12-14 杭州华三通信技术有限公司 A kind of device authentication method and device
CN106532823A (en) * 2016-11-16 2017-03-22 国网山东省电力公司青岛供电公司 Intelligent charging method and device and device selection method
CN107545650A (en) * 2016-09-20 2018-01-05 郑州蓝视科技有限公司 The antitheft method for electrically of charging electric car
US9905072B2 (en) * 2011-08-01 2018-02-27 Elwha Llc Vending devices having ad-watching as consideration
CN108711913A (en) * 2018-06-20 2018-10-26 于淼 Charge conversion equipment and charging method
CN110061539A (en) * 2019-04-02 2019-07-26 深圳小黄电智能科技有限公司 A kind of shared charge control method and shared charging terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9905072B2 (en) * 2011-08-01 2018-02-27 Elwha Llc Vending devices having ad-watching as consideration
CN102970139A (en) * 2012-11-09 2013-03-13 中兴通讯股份有限公司 Data security validation method and device
CN104426194A (en) * 2013-09-06 2015-03-18 联想(北京)有限公司 Charging method and charging equipment
CN104753675A (en) * 2013-12-31 2015-07-01 腾讯科技(深圳)有限公司 Information verification method, and electronic payment method, terminal, server and system
CN204349113U (en) * 2014-12-23 2015-05-20 陈其昌 A kind of socket or plug
CN106230784A (en) * 2016-07-20 2016-12-14 杭州华三通信技术有限公司 A kind of device authentication method and device
CN107545650A (en) * 2016-09-20 2018-01-05 郑州蓝视科技有限公司 The antitheft method for electrically of charging electric car
CN106532823A (en) * 2016-11-16 2017-03-22 国网山东省电力公司青岛供电公司 Intelligent charging method and device and device selection method
CN108711913A (en) * 2018-06-20 2018-10-26 于淼 Charge conversion equipment and charging method
CN110061539A (en) * 2019-04-02 2019-07-26 深圳小黄电智能科技有限公司 A kind of shared charge control method and shared charging terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277574A (en) * 2020-01-14 2020-06-12 杭州涂鸦信息技术有限公司 Method and system for generating timeliness offline secret key for secure communication of shared equipment
CN111277574B (en) * 2020-01-14 2022-05-17 杭州涂鸦信息技术有限公司 Method and system for generating timeliness offline secret key for secure communication of shared equipment
CN111737663A (en) * 2020-05-20 2020-10-02 广州市格利网络技术有限公司 Use control method and device of borrowing equipment
CN112907840A (en) * 2021-02-01 2021-06-04 北京三快在线科技有限公司 Pop-up control method and device for shared charge pal and electronic equipment

Similar Documents

Publication Publication Date Title
CN109795359B (en) Charging authentication method, device and system and charging system
CN110634239A (en) Charging control method, device and system and readable medium
US11263843B2 (en) Information processing apparatus, information processing mei'hod, and program
US10176539B2 (en) Power supply system
US8547204B2 (en) Information processing apparatus, power-supply control method, program, and power supply control system
JP5886333B2 (en) Power supply system
CN107133512B (en) POS terminal control method and device
JP2007081988A (en) Communication apparatus and mounting system
US11809540B2 (en) System and method for facilitating authentication via a short-range wireless token
CN108196659A (en) charging management method, device, storage medium and terminal device
US20070063683A1 (en) Process and device for recharging portable electronic devices
WO2019244648A1 (en) Information processing device, information processing method, and program
JP2013027249A (en) Portable terminal, portable terminal charging system, portable terminal charging method, and program
EP3609153B1 (en) Maintenance equipment management method, server and computer-readable storage medium
CN110766529B (en) Operation verification method and device, air conditioner and storage medium
US20190370757A1 (en) Method, server for maintenance sites management, and computer readable storage medium
KR20190115818A (en) Electric car Battery Charging and Cost Calculating System and Method
US10664930B2 (en) Device for powering an electrical appliance
TWI672661B (en) Electric vehicle pairing and charging method and system thereof
US8850559B2 (en) Security method of a portable device
KR102085782B1 (en) System and method for preventing illegal usages of secondary batteries
US20200028374A1 (en) Device and method for charging a terminal device
CN113487378B (en) Mobile power supply order ending method and computer storage medium
CN109754497B (en) Control method and system for washing machine door lock
KR102384371B1 (en) Smart charging system and smart charging method including smart concentric plug, user terminal, and power management server

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191231