A terminal user control method and device based on a credential system and electronic equipment
By sending frequency adjustment task requests to electric vehicle users through a credential system and utilizing user assistance to complete the tasks and adjust the number of credentials, the problem of high pressure on power grid peak shaving and frequency regulation has been solved, and the grid has achieved good, fair and efficient operation and improved long-term electricity price environment.
Patent Information
- Application Number
- CN202210265626.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-17
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-03-17
AI Technical Summary
How to efficiently and fairly provide peak shaving and frequency regulation ancillary services for electric vehicle end users, and solve the problem of high pressure on power grid peak shaving and frequency regulation.
By sending frequency adjustment task requests to electric vehicle users through the credential system, it can determine whether users can fulfill their commitments, utilize other users to help complete the task, adjust the number of credentials to achieve peak shaving and frequency regulation of the power grid, predict user behavior, and create a better long-term electricity price environment.
It has enabled the grid to operate smoothly, fairly and efficiently. By predicting end-user behavior through the credential system, it has solved the problem of high pressure on grid peak shaving and frequency regulation, and created a better long-term electricity price environment.
Smart Images

Figure CN114444977B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of credential system control, and in particular to a terminal user control method and device based on a credential system and electronic equipment. BACKGROUND
[0002] The emergence of power systems has led to the widespread use of efficient, pollution-free, convenient and easy-to-control electric energy, which has driven changes in various fields of social production, ushered in the era of electricity and brought about the second technological revolution.
[0003] In the next few decades, as millions of electric vehicles are popularized, the terminal users of electric vehicles can help the power grid to peak and even provide auxiliary services to the power grid. Through appropriate incentives to the terminal users of electric vehicles, power retail agents can encourage their additional terminal users to actively peak and provide frequency regulation and other auxiliary services to the power grid to obtain better long-term electricity prices. At the same time, in order to encourage users to participate, power retail agents can deploy a service system among their additional users. However, how to efficiently and fairly complete the service system becomes an important problem. SUMMARY
[0004] The present application provides a terminal user control method and device based on a credential system and electronic equipment to solve the problem of high pressure on power grid peak regulation and frequency regulation.
[0005] According to an aspect of the present application, a terminal user control method based on a credential system is provided, which comprises:
[0006] Obtaining at least one current terminal user using a credential system and the current number of credentials corresponding to each current terminal user;
[0007] The current terminal user receives a frequency regulation task request sent by a power grid agent, and generates a task help request corresponding to the current terminal user according to the frequency regulation task request;
[0008] The power grid agent selects a target terminal user that meets the task help request to obtain a task help user set;
[0009] According to the task help user set, a task help terminal user corresponding to the current terminal user is determined, the current number of credentials corresponding to the current terminal user is reduced by one, and the current number of credentials corresponding to the task help terminal user is increased by one.
[0010] Optionally, before obtaining at least one current terminal user using a credential system and the current number of credentials corresponding to each current terminal user, it further comprises:
[0011] determining a number of power grid electricity time periods, a number of power grid electricity time period end users, a number of electricity peak time periods, and a number of electricity peak time period end users;
[0012] determining a number of current end users using the credential system according to the number of power grid electricity time periods, the number of power grid electricity time period end users, the number of electricity peak time periods, and the number of electricity peak time period end users.
[0013] Optionally, the end user control method based on the credential system further comprises:
[0014] determining that each of the current end users using the credential system receives a frequency adjustment task request sent by the power grid agent, so as to perform a frequency adjustment task according to the frequency adjustment task request.
[0015] Optionally, after the current end user receives the frequency adjustment task request sent by the power grid agent, the method further comprises:
[0016] if the current end user completes the frequency adjustment task corresponding thereto according to the frequency adjustment task request, the number of current credentials corresponding to the current end user remains unchanged.
[0017] Optionally, the power grid agent selects target end users satisfying the task help request to obtain a task help user set, comprising:
[0018] the power grid agent selects target end users satisfying the task help request, and determines whether the target end users select to help the current end user;
[0019] generating a task help user set according to the target end users selecting to help the current end user.
[0020] Optionally, after determining whether the target end users select to help the current end user, the method further comprises:
[0021] if it is determined that none of the target end users select to help the current end user, controlling the current end user to complete the frequency adjustment task corresponding thereto according to the frequency adjustment task request.
[0022] Optionally, after determining the task help end user corresponding to the current end user according to the task help user set, the method further comprises:
[0023] if the number of current credentials corresponding to the task help end user is zero, controlling the current end user to complete the frequency adjustment task corresponding thereto according to the frequency adjustment task request.
[0024] According to another aspect of the present application, there is provided a terminal user control device based on a voucher system, comprising:
[0025] a voucher quantity determination module configured to perform obtaining at least one current terminal user using the voucher system and a current voucher quantity corresponding to each of the current terminal users;
[0026] a task help request generation module configured to perform receiving, by the current terminal user, a frequency regulation task request sent by a power grid agent, and generating a task help request corresponding to the current terminal user according to the frequency regulation task request;
[0027] a task help user set generation module configured to perform selecting, by the power grid agent, a target terminal user satisfying the task help request to obtain a task help user set;
[0028] a terminal user control module configured to perform determining, according to the task help user set, a task help terminal user corresponding to the current terminal user, reducing the current voucher quantity of the current terminal user by one, and increasing the current voucher quantity of the task help terminal user by one.
[0029] According to another aspect of the present application, there is provided an electronic device, comprising:
[0030] at least one processor; and
[0031] a memory connected with the at least one processor in communication; wherein,
[0032] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the terminal user control method based on the voucher system according to any one of the embodiments of the present application.
[0033] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for enabling a processor to perform the terminal user control method based on the voucher system according to any one of the embodiments of the present application when executed by the processor.
[0034] The technical scheme of the embodiment of the present application introduces the voucher system into the power grid, judges whether the terminal user can fulfill the user commitment by sending the frequency adjustment task request to the terminal user using the voucher system, that is, provides the electric vehicle in a specific time period to provide a certain range of peak shaving and frequency adjustment to the power grid, so as to solve the problem of large pressure of power grid peak shaving and frequency adjustment, realize good, fair and efficient operation of the power grid, and realize the prediction of the terminal user behavior through the voucher system, and create a better long-term electricity price environment.
[0035] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0037] Figure 1 is a flow chart of a terminal user control method based on a voucher system according to the first embodiment of the present application;
[0038] Figure 2 is a flow chart of a terminal user control method based on a voucher system according to the second embodiment of the present application;
[0039] Figure 3 is a structural schematic diagram of a terminal user control device based on a voucher system according to the third embodiment of the present application;
[0040] Figure 4 is a structural schematic diagram of an electronic device for implementing the terminal user control method based on the voucher system according to the embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to make the person skilled in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should be within the scope of protection of the present application.
[0042] It is to be understood that the terminology "current", "target" and the like used in the specification and the claims of the application and the above-described drawings is intended to distinguish between like objects and not to necessarily describe a specific order or sequence. It is to be understood that the data thus used in the specification can be interchanged, in proper circumstances, without departing from the embodiments of the application described herein. Furthermore, the terms "comprising" and "including" and any variations thereof are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or apparatus that comprises a list of steps or units can not necessarily be limited to those steps or units which are clearly recited, but can include other not expressly recited steps or units, or steps or units inherent to such process, method, product or apparatus.
[0043] Embodiment one
[0044] Figure 1 A flowchart of a terminal user control method based on a voucher system is provided for the first embodiment of the application. The first embodiment can be applied to the case where a power retail agent negotiates with a power grid operator to obtain a better long-term electricity price. The terminal user control method based on the voucher system can be executed by a terminal user control device based on the voucher system. The terminal user control device based on the voucher system can be implemented in the form of hardware and / or software and can be configured in a corresponding electronic device of a power system. As shown in Figure 1 The terminal user control method based on the voucher system includes:
[0045] S110, obtaining at least one current terminal user using the voucher system and a current number of vouchers corresponding to each of the current terminal users.
[0046] The voucher system is a system that encourages terminal users to actively participate in peak shaving for power grid agents and power grid operators and provides auxiliary services such as frequency regulation control for power grids.
[0047] The current terminal user is an actual user who registers and logs in using the voucher system. The current terminal user is a user of an electric vehicle connected to the power grid.
[0048] On the basis of the above, the number of power grid electricity consumption periods, the number of terminal users of power grid electricity consumption periods, the number of electricity peak period periods, and the number of terminal users of electricity peak period periods are determined. The number of current terminal users using the voucher system is determined according to the number of power grid electricity consumption periods, the number of terminal users of power grid electricity consumption periods, the number of electricity peak period periods, and the number of terminal users of electricity peak period periods.
[0049] The number of power grid electricity consumption periods is F, and the power grid electricity consumption period can be divided by hours. Optionally, F can be 24.
[0050] The number of power consumption peak periods is C, and the power grid electricity consumption period includes C power consumption peak periods. The number of power consumption peak period terminal users is L, and L is greater than or equal to the product of the number of power grid electricity consumption periods F and the number of power grid electricity consumption period terminal users H, that is, L≥FH.
[0051] Optionally, in each power grid electricity consumption period, the power grid agent needs enough terminal users to meet the power frequency regulation requirement. The number of current terminal users using the credential system is N, and N is greater than or equal to the sum of the product of the number of power grid electricity consumption periods F and the number of power grid electricity consumption period terminal users H and the product of the number of power consumption peak periods C and the number of power consumption peak period terminal users L, that is, N≥FH+LC.
[0052] It should be noted that the terminal user corresponds to an electric vehicle user at this time. In actual power grid use, the terminal user can be two or more electric vehicle users. When the terminal user is two or more electric vehicle users, the terminal user in this embodiment can be regarded as one terminal user, and the terminal user selects any existing electric vehicle to perform the corresponding frequency regulation task; or, through the credential system, each electric vehicle of the terminal user is regarded as a separate user, and the operator of the terminal user is actually the same user. This embodiment does not make any limitation.
[0053] The number of current credentials corresponding to each current terminal user can be the initial number of credentials automatically issued by the credential system to the current terminal user after the current terminal user registers to use the credential system.
[0054] It can be understood that the number of current credentials corresponding to each current terminal user can be the same, and the number of credentials can be reset at regular time intervals, that is, after reaching the reset time, the number of current credentials in the current terminal user account is settled, and the credential system can reward or punish the current terminal user according to the number of current credentials corresponding to the current terminal user. The specific rewarding and punishing means and the rewarding and punishing mechanism are not limited in this embodiment. Further, after reaching the reset time, the number of current credentials corresponding to each current terminal user will be reset to the same.
[0055] S120, the current terminal user receives the frequency adjustment task request sent by the power grid agent, and generates a task help request corresponding to the current terminal user according to the frequency adjustment task request.
[0056] Among them, the current terminal user can be any terminal user using the credential system, and the power grid agent uniformly and randomly selects a terminal user as the current terminal user and sends a frequency adjustment task request to the current terminal user.
[0057] After the current terminal user receives the frequency adjustment task request, it is judged whether the current terminal user can complete the frequency adjustment task corresponding to the frequency adjustment task request within a preset time length, wherein the preset time length can be selected and set by a person skilled in the art according to actual needs.
[0058] If the current terminal user can complete the frequency adjustment task corresponding to the frequency adjustment task request within the preset time length, the current credential quantity of all current terminal users is maintained unchanged.
[0059] If the current terminal user cannot complete the frequency adjustment task corresponding to the frequency adjustment task request within the preset time length, a task help request corresponding to the current terminal user is generated according to the frequency adjustment task request, that is, the current terminal user requests other current terminal users to help complete the frequency adjustment task.
[0060] It can be understood that the frequency adjustment task is that the electric vehicle of the terminal user accesses the power grid for charging or discharging operation, so as to realize the peak regulation and frequency adjustment task of the power grid through the behavior of the terminal user.
[0061] On the basis of the above, the current terminal user can be numbered by a person skilled in the art, and the user number of the current terminal user can be automatically generated according to the registration order of the credential system of the current terminal user, or can be generated according to other definable order. The user numbering method of the current terminal user is not limited in this embodiment.
[0062] Specifically, when the current terminal user generates a task help request corresponding to the current terminal user according to the frequency adjustment task request, the user number of the current terminal user can be displayed to other current terminal users receiving the task help request at the same time, so that other current terminal users can know the current terminal user corresponding to the received task help request, which is more intuitive and direct.
[0063] S130, the power grid agent selects a target terminal user satisfying the task help request to obtain a task help user set.
[0064] Wherein, the target terminal user is all the current terminal users meeting the task help request, and it can be understood that the probability of each current terminal user willing to help other current terminal users can be the same, or can be determined according to the personal related information, credential system use information and other information of the current terminal user, and the embodiment does not make any limitation on this.
[0065] For example, each target terminal user j can be contained in the corresponding set, and the probability of target terminal user j willing to help other current terminal users is The probability The probability of target terminal user j willing to help others is described.
[0066] On the basis of the above, the power grid agent selects the target terminal user meeting the task help request, and determines whether the target terminal user selects to help the current terminal user; according to the target terminal user selecting to help the current terminal user, a task help user set is generated.
[0067] Specifically, the power grid agent selects the target terminal user meeting the task help request, that is, determines the target terminal user according to the probability of each current terminal user willing to help other current terminal users, after determining all target terminal users, determines whether the corresponding target terminal user is willing to help according to the willingness of all target terminal users, and generates a task help user set according to all target terminal users willing to help the current terminal user.
[0068] It can be understood that the task help user set contains all target terminal users willing to help the current terminal user.
[0069] It should be noted that each target terminal user can be arranged from large to small according to the probability of each current terminal user willing to help other current terminal users, or other probability arrangement methods.
[0070] Further, after determining whether the target terminal user selects to help the current terminal user, it further includes: if it is determined that the target terminal user does not select to help the current terminal user, controlling the current terminal user to complete the frequency adjustment task corresponding to the task request according to the frequency.
[0071] On the basis of the above, when it is determined that the target terminal user does not select to help the current terminal user, the current terminal user can only complete the frequency adjustment task corresponding to the frequency adjustment task by himself, and the current credential number of all current terminal users remains unchanged.
[0072] S140, according to the task help user set, determine the task help terminal user corresponding to the current terminal user, the current credential number corresponding to the current terminal user is reduced by one, and the current credential number corresponding to the task help terminal user is increased by one.
[0073] The task help terminal user is the current terminal user who finally helps the current terminal user, that is, a target terminal user in the task help user set.
[0074] Further, if the current credential number corresponding to the task help terminal user is zero, the current terminal user is controlled to complete the frequency regulation task corresponding to the frequency adjustment task request according to the frequency, at this time, the current credential number of all current terminal users remains unchanged.
[0075] On the basis, the power grid agent repeatedly executes, selects each current terminal user using the credential system, that is, each current terminal user using the credential system receives the frequency regulation task request corresponding to the power grid agent sent, to perform the frequency regulation task according to the frequency regulation task request, until all current terminal users in the day are selected, that is, FH+LC current terminal users in the day are selected.
[0076] The technical scheme of the embodiment of the application introduces the credential system into the power grid, judges whether the terminal user can fulfill the user commitment by sending the frequency regulation task request to the terminal user using the credential system, that is, provides the electric vehicle in a specific time period, so as to provide a certain range of peak shaving and frequency regulation to the power grid, solves the problem of large pressure of power grid peak regulation and frequency regulation, realizes good, fair and efficient operation of the power grid, realizes prediction of the behavior of the terminal user through the credential system, and creates a better long-term electricity price environment.
[0077] Embodiment two
[0078] Figure 2 A flowchart of a terminal user control method based on a credential system provided by the embodiment two of the application, on the basis of the above-mentioned embodiment, the embodiment provides an optional implementation. As shown in the figure, the terminal user control method based on the credential system comprises: Figure 2
[0079] S210, the credential system is in the initialization state stage, at least one current terminal user using the credential system and the current credential number corresponding to each current terminal user are acquired.
[0080] For example, the various states of a credential system can be represented by a tuple. The initial state of the credential system is represented as (r, 0, x), where r = 0 indicates that the first round of selection by the current terminal user has not yet started; 0 indicates that the credential system is in the initialization stage (0); x = {x1, x2, ..., x...} N} is a vector representing the number of current credentials for each current terminal user in the credential system; N represents the number of current terminal users using the credential system.
[0081] Specifically, before obtaining at least one current terminal user of the credential system and the number of current credentials corresponding to each current terminal user, the method further includes: determining the number of power grid consumption periods, the number of terminal users during power grid consumption periods, the number of peak power consumption periods, and the number of terminal users during peak power consumption periods; and determining the number of current terminal users of the credential system based on the number of power grid consumption periods, the number of terminal users during power grid consumption periods, the number of peak power consumption periods, and the number of terminal users during peak power consumption periods.
[0082] S220, The credential system is in the first system state stage, and the current terminal user receives a frequency adjustment task request sent by the power grid agent.
[0083] For example, the credential system is in the first system state stage as (r,1,x), where r represents the r-th round, in which the power grid agent randomly selects a current terminal user with user number n to complete the frequency adjustment task, that is, the current terminal user n receives the frequency adjustment task request sent by the power grid agent.
[0084] S230. Determine whether the current terminal user has generated a task help request corresponding to the current terminal user. If yes, proceed to step S240; otherwise, proceed to step S270.
[0085] Specifically, if the current terminal user cannot complete the frequency adjustment task within the preset time length, the current terminal user can request help from other current terminal users in the current round. At this time, if the current terminal user issues a task help request, the system state of the credential system will become (r,2,x,n), where n is the user number of the current terminal user who issued the request.
[0086] If the current terminal user can complete the frequency adjustment task, the system state of the credential system will become (r+1,1,x). At this time, the credential system remains in the first system state stage, and the number of current credentials for all current terminal users remains unchanged.
[0087] S240, the credential system is in the second system state stage, the grid agent selects a target end user who can meet the task help request of the current end user, and determines whether the target end user selects to help the current end user.
[0088] For example, the credential system in the second system state stage is represented as (r, 2, x, n), the grid agent selects a target end user set V which can meet the request of the current end user. Each target end user j≠n is included in the target end user set V, and the probability of the target end user being selected is The probability describes the probability of the target end user j volunteering to help the current end user. After the grid agent completes the selection of the target end user set V, the system state of the credential system becomes (r, 3, x, n, V).
[0089] S250, the credential system is in the third system state stage, a task help user set is generated according to the target end user who selects to help the current end user, and a task help end user corresponding to the current end user is determined according to the task help user set.
[0090] Further, for example, the credential system in the third system state stage is represented as (r, 3, x, n, V), each target end user in the target end user set V selects whether to do volunteer service according to his own will, and the target end user set V' representing the target end user set selecting volunteer service is used to transit to the next system state (r, 4, x, n, V').
[0091] S260, the credential system is in the fourth system state stage, it is judged whether the task help user set is empty or the current number of credentials corresponding to the task help end user is zero, if yes, step S280 is executed, and if no, step S270 is executed.
[0092] For example, the credential system in the fourth system state stage is represented as (r, 4, x, n, V'), if the task help user set V' is not an empty set, the grid agent selects a task help end user to complete the task in the task help user set V' with equal probability, after the task help end user is selected, the system state of the credential system becomes (r+1, 1, x').
[0093] If the task help user set V' is an empty set or x n =0 (i.e., the current number of credentials of the task help end user is 0), the current end user n must perform the responsibility to provide the electric vehicle.
[0094] If the task help user set V' is not an empty set and x nIf the current terminal user is selected, the current terminal user n reduces one current credential, the task-helping terminal user increases one current credential, and the total number of credentials of all current terminal users remains unchanged.
[0095] S270, the task-helping terminal user adjusts the frequency regulation task according to the frequency adjustment task request, the current terminal user reduces one current credential, and the task-helping terminal user increases one current credential.
[0096] S280, the current terminal user adjusts the frequency regulation task according to the frequency adjustment task request, and the current terminal user remains unchanged.
[0097] S290, it is judged whether all current terminal users in the day are selected, if yes, it is directly ended, if not, the step S220 is executed again.
[0098] Specifically, the power agent cyclically executes the above steps S220 to S290 until it is determined that each current terminal user using the credential system receives the frequency adjustment task request corresponding to the power agent, so as to execute the frequency adjustment task according to the frequency adjustment task request, thereby ensuring that the FH+LC current terminal users in a day are selected.
[0099] Embodiment three
[0100] Figure 3 A structure schematic diagram of a terminal user control device based on a credential system provided for the third embodiment of the present application. As shown in the figure, the terminal user control device based on the credential system comprises: Figure 3
[0101] A credential number determination module 310 is configured to execute the steps of obtaining at least one current terminal user using the credential system and the current credential number corresponding to each current terminal user.
[0102] A task-helping request generation module 320 is configured to execute the steps of receiving the frequency adjustment task request sent by the power agent by the current terminal user, and generating the task-helping request corresponding to the current terminal user according to the frequency adjustment task request.
[0103] A task-helping user set generation module 330 is configured to execute the steps of selecting the target terminal user satisfying the task-helping request by the power agent, and obtaining the task-helping user set.
[0104] a terminal user control module configured to determine a task-helping terminal user for the current terminal user according to the task-helping user set, decrease the current credential number of the current terminal user by one, and increase the current credential number of the task-helping terminal user by one.
[0105] Optionally, the terminal user control device based on the credential system further comprises:
[0106] determining the number of power grid electricity consumption time periods, the number of power grid electricity consumption terminal users, the number of electricity peak time periods, and the number of electricity peak time terminal users;
[0107] determining the number of current terminal users using the credential system according to the number of power grid electricity consumption time periods, the number of power grid electricity consumption terminal users, the number of electricity peak time periods, and the number of electricity peak time terminal users.
[0108] Optionally, the terminal user control device based on the credential system further comprises:
[0109] determining that each of the current terminal users using the credential system receives a frequency adjustment task request sent by the power grid agent to perform a frequency adjustment task according to the frequency adjustment task request.
[0110] Optionally, the terminal user control device based on the credential system further comprises:
[0111] if the current terminal user completes the frequency adjustment task corresponding thereto according to the frequency adjustment task request, the current credential number of the current terminal user remains unchanged.
[0112] Optionally, the power grid agent selects a target terminal user satisfying the task-helping request to obtain a task-helping user set, comprising:
[0113] the power grid agent selects a target terminal user satisfying the task-helping request and determines whether the target terminal user selects to help the current terminal user;
[0114] generating a task-helping user set according to the target terminal user selecting to help the current terminal user.
[0115] Optionally, after determining whether the target terminal user selects to help the current terminal user, further comprising:
[0116] if it is determined that the target terminal user does not select to help the current terminal user, controlling the current terminal user to complete the frequency adjustment task corresponding thereto according to the frequency adjustment task request.
[0117] Optionally, after the task-helping user set helps the current end user to complete the task, the method further comprises:
[0118] If the number of current credentials corresponding to the task-helping end user is zero, the current end user is controlled to complete the frequency adjustment task corresponding to the frequency adjustment task request according to the frequency adjustment task request.
[0119] The terminal user control device based on the credential system provided by the embodiments of the present application can execute the terminal user control method based on the credential system provided by any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of executing the terminal user control method based on the credential system.
[0120] Embodiment four
[0121] Figure 4 A structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.
[0122] As shown in Figure 4 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11, wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded into the random access memory (RAM) 13 from the storage unit 18. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0123] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0124] The processor 11 can be various general and / or special purpose processing components having processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the end user control method based on a credential system.
[0125] In some embodiments, the end user control method based on a credential system can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the end user control method based on a credential system described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the end user control method based on a credential system by any other appropriate means, such as by means of firmware.
[0126] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0127] Computer programs for implementing the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program, when executed, can cause instructions defined in the flow charts and / or block diagrams to be implemented. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, and partially on a remote machine or entirely on a remote machine or server.
[0128] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0129] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0130] The systems and techniques described herein can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described herein, or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0131] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0132] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in series, or executed in different orders, as long as the desired results of the technical solutions of the present disclosure are achieved, and the present disclosure is not limited herein.
[0133] The specific implementation described above does not constitute a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A terminal user control method based on a credential system, characterized in that, include: Obtain at least one current terminal user using the credential system and the number of current credentials corresponding to each current terminal user; wherein, the credential system is a system used by power grid agents and power grid operators to encourage terminal users to actively engage in peak shaving; The current terminal user receives a frequency adjustment task request sent by the power grid agent and determines whether the current terminal user can complete the frequency adjustment task corresponding to the frequency adjustment task within a preset time period. If the current terminal user can complete the frequency adjustment task corresponding to the frequency adjustment task request within a preset time period, then the number of current credentials corresponding to the current terminal user remains unchanged. If the current terminal user is unable to complete the frequency adjustment task corresponding to the frequency adjustment task request within a preset time period, a task help request corresponding to the current terminal user is generated according to the frequency adjustment task request. The power grid agent selects the target end user who meets the task assistance request, and determines whether any target end user chooses to help the current end user; based on the target end users who choose to help the current end user, a task assistance user set is generated; wherein, the target end user is other current end users; Based on the set of task help users, determine the task help terminal user corresponding to the current terminal user, decrease the number of current credentials corresponding to the current terminal user by one, and increase the number of current credentials corresponding to the task help terminal user by one.
2. The terminal user control method based on a credential system according to claim 1, characterized in that, Before obtaining at least one current terminal user using the credential system and the number of current credentials corresponding to each current terminal user, the method further includes: Determine the number of power grid consumption periods, the number of end users during power grid consumption periods, the number of peak power consumption periods, and the number of end users during peak power consumption periods; The number of current terminal users using the credential system is determined based on the number of power grid consumption periods, the number of terminal users during the power grid consumption periods, the number of peak electricity consumption periods, and the number of terminal users during the peak electricity consumption periods.
3. The terminal user control method based on a credential system according to claim 2, characterized in that, The terminal user control method based on the credential system further includes: It is determined that each current terminal user using the credential system receives a frequency adjustment task request sent by the corresponding power grid agent, and performs a frequency adjustment task according to the frequency adjustment task request.
4. The terminal user control method based on a credential system according to claim 1, characterized in that, After determining whether any of the target end users have chosen to help the current end user, the process further includes: If it is determined that no target terminal user selects to help the current terminal user, then the current terminal user is controlled to complete the corresponding frequency adjustment task according to the frequency adjustment task request.
5. The terminal user control method based on a credential system according to claim 1, characterized in that, After determining the task assistance terminal user corresponding to the current terminal user based on the task assistance user set, the method further includes: If the number of current credentials corresponding to the task helping the terminal user is zero, then control the current terminal user to complete the corresponding frequency adjustment task according to the frequency adjustment task request.
6. A terminal user control device based on a credential system, characterized in that, include: The credential quantity determination module is used to obtain at least one current terminal user using the credential system and the current credential quantity corresponding to each current terminal user; wherein, the credential system is a system used by power grid agents and power grid operators to encourage terminal users to actively engage in peak shaving; The task help request generation module is used to execute the following steps: The current terminal user receives a frequency adjustment task request sent by the power grid agent; the module determines whether the current terminal user can complete the frequency adjustment task corresponding to the frequency adjustment task within a preset time period; if the current terminal user can complete the frequency adjustment task corresponding to the frequency adjustment task request within the preset time period, the current number of credentials corresponding to the current terminal user remains unchanged; if the current terminal user cannot complete the frequency adjustment task corresponding to the frequency adjustment task request within the preset time period, a task help request corresponding to the current terminal user is generated based on the frequency adjustment task request. The task assistance user set generation module is used to execute the selection of target terminal users that meet the task assistance request by the power grid agent, and to determine whether there are target terminal users who choose to help the current terminal user; and to generate a task assistance user set based on the target terminal users who choose to help the current terminal user; wherein, the target terminal users are other current terminal users; The terminal user control module is used to execute the following: determine the task assistance terminal user corresponding to the current terminal user based on the task assistance user set; decrease the number of current credentials corresponding to the current terminal user by one; and increase the number of current credentials corresponding to the task assistance terminal user by one.
7. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the end-user control method based on the credential system as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the end-user control method based on a credential system as described in any one of claims 1-5.
Citation Information
Patent Citations
Blockchain demand side response peak regulation and frequency modulation control system
CN111342476A
Block chain-based power demand response processing method and device
CN113327059A