CN111461574A - User electricity charge clearing risk discovery method based on regional geographical position information - Google Patents
User electricity charge clearing risk discovery method based on regional geographical position information Download PDFInfo
- Publication number
- CN111461574A CN111461574A CN202010329533.XA CN202010329533A CN111461574A CN 111461574 A CN111461574 A CN 111461574A CN 202010329533 A CN202010329533 A CN 202010329533A CN 111461574 A CN111461574 A CN 111461574A
- Authority
- CN
- China
- Prior art keywords
- user
- consistency
- qtable
- operator
- risk
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0635—Risk analysis of enterprise or organisation activities
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Health & Medical Sciences (AREA)
- Marketing (AREA)
- General Engineering & Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Tourism & Hospitality (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Educational Administration (AREA)
- Remote Sensing (AREA)
- Public Health (AREA)
- Water Supply & Treatment (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Calculators And Similar Devices (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method for discovering the risk of clearing the electric charge of a user based on regional geographical position information, which organizes users with approximate clearing fee conditions in a certain geographical region range together by utilizing a consistency expansion operator and stores the users in a user clearing region table. And then calculating the clearing risk of a new user based on the distance between the new user and the list item in the clearing area table of the user, and realizing the discovery of the clearing risk of the electric charge of the user. By using the method and the device, the aims of introducing fewer geographical position attributes which are easy to collect and accurately discovering the risk of clearing the arrearage of the electric charge can be achieved under the condition of only inputting the position and the arrearage information of one group of users.
Description
The technical field is as follows:
the invention discloses a user electricity charge clearing risk discovery method based on regional geographical position information, relates to a user electricity charge clearing risk discovery method and belongs to the technical field of electricity consumption management of power grid users.
Background art:
with the economic development and the expansion of power grid users, the risk of clearing the arrearages of part of the users exists, and if more users arrearages, the income of power grid enterprises is greatly influenced. Therefore, it is very necessary to pre-judge and decide the risk of clearing the user's electric charge, and to perform preventive treatment on the possible clearing in advance, so that finding the risk of clearing the user's electric charge is very important for the healthy and orderly operation of the power grid enterprise.
In the traditional field based on big data analysis, the main means of analyzing the arrearages, frauds and default conditions of users in a certain range are as follows: collecting attribute data of a user within a certain time period range, such as: income, occupation, race, age, marital, purchasing power, housing, etc.; meanwhile, artificial intelligence models are introduced, such as neural networks, decision trees and support vector machine learning data to construct decision models, and then other users are judged. The method can be successful in some fields and experimental environments, but a key hypothesis of the method is to master a large amount of basic information data of a user, and if the basic information data does not exist, a decision model is difficult to construct. For the power grid users, as the power grid enterprises are not government agencies or banks, much data (such as family income, age, housing, marital) are difficult to obtain and are collected without rights, and missing data directly causes the failure of the discovery process of the user power charge settlement risk by using the traditional method.
The typical geographical location characteristics of the power grid users exist in distribution, the location information is easily available for power grid enterprises, the approximate type of enterprises and the users are relatively centralized in the possible geographical area, and the economic and industrial influences on the enterprises and the users are relatively converged. Collecting statistics of these geographic locations may reflect the user's usage of power resources over an area, which also implies the user's economy and ability to pay. Therefore, a method can be constructed, the process of decision making and discovery is completed by introducing attribute data of geographic space positions and relations in similar groups, and the user electricity charge credit risk discovery is realized by using fewer attributes.
Disclosure of Invention
The invention provides a method for discovering the risk of clearing the electric charge of a user based on regional geographical position information, which organizes users with approximate clearing charge conditions in a certain geographical region range together by utilizing a consistency expansion operator and stores the users in a user clearing region table. And then calculating the clearing risk of a new user based on the distance between the new user and the list item in the clearing area table of the user, and realizing the discovery of the clearing risk of the electric charge of the user.
The invention relates to a user electricity charge credit clearing risk discovery method based on regional geographical location information, which comprises the following steps:
s1, inputting a power grid user owing condition list History containing geographic positions, inputting an initial calculation range L Dis and a maximum calculation range HDis, acquiring the number QNum of users in the History, and establishing a user owing region table QTable;
s101, inputting a power grid user arrearage condition list History containing geographic positions, wherein each item of the list is a structure body, and the structure body comprises the following fields:
HID: a user number;
HX: longitude coordinates of the geographic location of the user;
HY: latitude coordinates of the geographical position of the user;
HQF: whether the user owes 0 to indicate that the user does not owe the fee, and 1 to indicate that the user owes the fee;
s102, inputting an initial calculation range L Dis, L Dis is an integer number, and the default value is 10;
s103, the number QNum of users = the number of entries in the History;
s104, initializing a user delinquent region table QTable = empty table;
s105, initializing a table counter HCounter = 1;
s106, establishing a region structure QTableStruct, wherein the field content of the QTableStruct is as follows:
QID: the region structure body corresponds to a user number;
QHX: the regional structure corresponds to the longitude coordinate of the geographical position of the user;
QHY: the latitude coordinate of the geographical position of the user corresponding to the regional structure body;
and (3) QDis: the region structure body corresponds to a range value of the user participating in calculation;
QJ L, calculating the distance of the region structure corresponding to the user;
QPr: the arrearage percentage of the corresponding user of the regional structure body in a certain neighborhood range;
QCundu: the purity of the region structure body corresponding to the user in a certain neighborhood range;
s107, setting the value of the QTableStruct internal field,
QTableStruct.QID=History[HCounter]. HID,
QTableStruct.QHX=History[HCounter].HX,
QTableStruct.QHY=History[HCounter].HY,
QTableStruct.QDis=LDis,
QTableStruct.QJL=0,
QTableStruct.QPr=0,
QTableStruct.QCundu=0;
s108, adding QTableStruct into QTable;
s109, HCounter = HCounter +1, going to S110 if HCounter is greater than QNum, otherwise going to S106
S110, ending the process;
s2, establishing a region consistency calculation operator ConsisOperator, wherein the operator inputs consistency integer number variable ConsisPos and outputs consistency result structure ConsisOperatorResult;
s201, a consistency calculation operator first temporary storage variable TS1= QTable [ ConsisPos ];
s202, establishing a spatial neighborhood list consissneighbor = empty list;
s203, a consistency calculation operator counter consishhcounter = 1;
s204, a consistency calculation operator second temporary storage variable TS2= QTable [ ConsisHCounter ];
s205, establishing a spatially adjacent structure ConsissStruct, wherein the fields of the structure are as follows:
ConsisDis: a distance corresponding to an adjacent structure;
ConsisQF, the arrearage condition corresponding to the adjacent structure;
s206, calculating the value of consisstruc.
S207, consissstruct. consissqf = History [ consisshcounter ]. HQF, consissstruct was added to consissneighbor;
s208, consisshcounter = consisshcounter +1, going to S209 if consisshcounter is greater than QNum, otherwise going to S204;
s209, sorting the list contents of the ConsisNeighbor from small to large based on the value of ConsisDis;
s210, the consistency register counter ConsisTCounter =1, the consistency Sum value Sum =0,
the arrearage counter QFCounter =0,
a consistency temporal distance variable consisttempd 1= consissneighbor [ ts1.qdis ]. consissdis;
s211, calculating a consistency arrearage temporary storage variable ConsisTQF, wherein the calculation formula is as follows:
s212, for Sum, by calculating the following formula:
s213, QFCounter = QFCounter +1 if ConsisNeighbor [ ConsisTCounter ]. ConsisQF equals 1
S214, ConsisTCounter = ConsisTCounter +1, going to S215 if ConsisTCounter is greater than ts1.qdis, otherwise going to S211;
s215, establishing a consistency result structure ConsisOperatorResult, wherein the structure comprises the following fields:
ConsistResult: consistency results the described consistency of the structure;
ConsistResultDis is the distance described by the consistency result structure;
ConsisQF: the proportion of the arrearages;
s216, setting the value of each field of ConsisOperatResult,
ConsisOperatorResult.ConsistResult=1-Sum/TS1.QDis;
ConsisOperatorResult.ConsistResultDis=ConsisTempD1;
ConsisOperatorResult.ConsisQF=QFCounter/TS1.QDis;
s217, outputting ConsisOperatorResult as the result of the operator;
s3, establishing a region consistency expansion operator ExpandPos, wherein the input of the operator is a consistency expansion operator processing item variable ExpandPos, and the calculation result of the operator is written into the ExpandPos item of QTable;
s301, establishing a region consistency expansion operator, namely, an expand operator, wherein the input of the operator is expand Pos;
s302, calculating and inputting ConsissPos = ExpandPos by using a result structure variable EConsStruct = of a consistency calculation operator to obtain a result ConsisOperatorResult and returning the result;
s303, if EConsStrect.ConsistResult > QTable [ ExpandPos ]. QCundu, go to S304, otherwise go to S308;
S304,QTable[ExpandPos].QCundu=EConsisStruct.ConsistResult;
S305,QTable[ExpandPos].QJL =EConsisStruct. ConsistResultDis;
S306,QTable[ExpandPos].QPr=EConsisStruct.ConsisQF;
S307,QTable[ExpandPos]. QDis= QTable[ExpandPos]. QDis+LDis;
s308, if QTable [ ExpandPos ]. QDis is greater than HDis, then go to S309, otherwise go to S302;
s309, finishing the calculation process of the operator;
s4, calculating all the entries of the QTable by using an ExpandOperator:
s401, entry counter ECounter = 1;
s402, computing by using an expand operator, wherein the operator inputs expand Pos = ECounter;
s403, ECounter = ECounter +1, if ECounter is greater than QNum, then go to S404, otherwise go to S402
S404, finishing the calculation process;
s5, inputting the longitude ZX and the latitude ZY of the geographical position of a user, and calculating the risk of clearing the electric charge by using QTable;
s501, a risk finding counter variable DCounter =1, a risk summing variable PSum =0, and a risk counter variable PCounter = 0;
S502,QDTemp=QTable[DCounter];
s503, calculating a risk finding distance variable QD, wherein the calculation formula is as follows:
s504, go to 506 if QD > = qdtemp.qj L, otherwise go to S505;
S505,PSum=PSum+QDTemp.QPr,PCounter=PCounter+1;
s506, DCounter = DCounter +1, if DCounter is larger than QNum, turning to S507, otherwise, turning to S502;
S507,PSum=PSum/PCounter;
s508, if PSum >0.15, outputting to find that the user has the risk of clearing the electric charge, otherwise, outputting that the user does not have the risk of clearing the electric charge;
s509, the calculation process is ended.
The invention has the beneficial effects that:
the invention uses the consistency expansion operator to organize the users with similar defaulting expense condition in a certain geographic area range together and store the users in a user defaulting area table. And then calculating the clearing risk of a new user based on the distance between the new user and the list item in the clearing area table of the user, and realizing the discovery of the clearing risk of the electric charge of the user. By using the method and the device, the aims of introducing fewer geographical position attributes which are easy to collect and accurately discovering the risk of clearing the arrearage of the electric charge can be achieved under the condition of only inputting the position and the arrearage information of one group of users.
Detailed Description
The present invention is further illustrated by the following examples, which do not limit the present invention in any way, and any modifications or changes that can be easily made by a person skilled in the art to the present invention will fall within the scope of the claims of the present invention without departing from the technical solution of the present invention.
Example 1
The invention relates to a user electricity charge credit clearing risk discovery method based on regional geographical location information, which comprises the following steps:
s1, inputting a power grid user owing condition list History containing geographic positions, inputting an initial calculation range L Dis and a maximum calculation range HDis, acquiring the number QNum of users in the History, and establishing a user owing region table QTable;
s101, inputting a power grid user arrearage condition list History containing geographic positions, wherein each item of the list is a structure body, and the structure body comprises the following fields:
HID: a user number;
HX: longitude coordinates of the geographic location of the user;
HY: latitude coordinates of the geographical position of the user;
HQF: whether the user owes 0 to indicate that the user does not owe the fee, and 1 to indicate that the user owes the fee;
s102, inputting an initial calculation range L Dis, L Dis is an integer number, and the default value is 10;
s103, the number QNum of users = the number of entries in the History;
s104, initializing a user delinquent region table QTable = empty table;
s105, initializing a table counter HCounter = 1;
s106, establishing a region structure QTableStruct, wherein the field content of the QTableStruct is as follows:
QID: the region structure body corresponds to a user number;
QHX: the regional structure corresponds to the longitude coordinate of the geographical position of the user;
QHY: the latitude coordinate of the geographical position of the user corresponding to the regional structure body;
and (3) QDis: the region structure body corresponds to a range value of the user participating in calculation;
QJ L, calculating the distance of the region structure corresponding to the user;
QPr: the arrearage percentage of the corresponding user of the regional structure body in a certain neighborhood range;
QCundu: the purity of the region structure body corresponding to the user in a certain neighborhood range;
s107, setting the value of the QTableStruct internal field,
QTableStruct.QID=History[HCounter]. HID,
QTableStruct.QHX=History[HCounter].HX,
QTableStruct.QHY=History[HCounter].HY,
QTableStruct.QDis=LDis,
QTableStruct.QJL=0,
QTableStruct.QPr=0,
QTableStruct.QCundu=0;
s108, adding QTableStruct into QTable;
s109, HCounter = HCounter +1, going to S110 if HCounter is greater than QNum, otherwise going to S106
S110, ending the process;
s2, establishing a region consistency calculation operator ConsisOperator, wherein the operator inputs consistency integer number variable ConsisPos and outputs consistency result structure ConsisOperatorResult;
s201, a consistency calculation operator first temporary storage variable TS1= QTable [ ConsisPos ];
s202, establishing a spatial neighborhood list consissneighbor = empty list;
s203, a consistency calculation operator counter consishhcounter = 1;
s204, a consistency calculation operator second temporary storage variable TS2= QTable [ ConsisHCounter ];
s205, establishing a spatially adjacent structure ConsissStruct, wherein the fields of the structure are as follows:
ConsisDis: a distance corresponding to an adjacent structure;
ConsisQF, the arrearage condition corresponding to the adjacent structure;
s206, calculating the value of consisstruc.
S207, consissstruct. consissqf = History [ consisshcounter ]. HQF, consissstruct was added to consissneighbor;
s208, consisshcounter = consisshcounter +1, going to S209 if consisshcounter is greater than QNum, otherwise going to S204;
s209, sorting the list contents of the ConsisNeighbor from small to large based on the value of ConsisDis;
s210, the consistency register counter ConsisTCounter =1, the consistency Sum value Sum =0,
the arrearage counter QFCounter =0,
a consistency temporal distance variable consisttempd 1= consissneighbor [ ts1.qdis ]. consissdis;
s211, calculating a consistency arrearage temporary storage variable ConsisTQF, wherein the calculation formula is as follows:
s212, for Sum, by calculating the following formula:
s213, QFCounter = QFCounter +1 if ConsisNeighbor [ ConsisTCounter ]. ConsisQF equals 1
S214, ConsisTCounter = ConsisTCounter +1, going to S215 if ConsisTCounter is greater than ts1.qdis, otherwise going to S211;
s215, establishing a consistency result structure ConsisOperatorResult, wherein the structure comprises the following fields:
ConsistResult: consistency results the described consistency of the structure;
ConsistResultDis is the distance described by the consistency result structure;
ConsisQF the arrearage ratio;
s216, setting the value of each field of ConsisOperatResult,
ConsisOperatorResult.ConsistResult=1-Sum/TS1.QDis;
ConsisOperatorResult.ConsistResultDis=ConsisTempD1;
ConsisOperatorResult.ConsisQF=QFCounter/TS1.QDis;
s217, outputting ConsisOperatorResult as the result of the operator;
s3, establishing a region consistency expansion operator ExpandPos, wherein the input of the operator is a consistency expansion operator processing item variable ExpandPos, and the calculation result of the operator is written into the ExpandPos item of QTable;
s301, establishing a region consistency expansion operator, namely, an expand operator, wherein the input of the operator is expand Pos;
s302, calculating and inputting ConsissPos = ExpandPos by using a result structure variable EConsStruct = of a consistency calculation operator to obtain a result ConsisOperatorResult and returning the result;
s303, if EConsStrect.ConsistResult > QTable [ ExpandPos ]. QCundu, go to S304, otherwise go to S308;
S304,QTable[ExpandPos].QCundu=EConsisStruct.ConsistResult;
S305,QTable[ExpandPos].QJL =EConsisStruct. ConsistResultDis;
S306,QTable[ExpandPos].QPr=EConsisStruct.ConsisQF;
S307,QTable[ExpandPos]. QDis= QTable[ExpandPos]. QDis+LDis;
s308, if QTable [ ExpandPos ]. QDis is greater than HDis, then go to S309, otherwise go to S302;
s309, finishing the calculation process of the operator;
s4, calculating all the entries of the QTable by using an ExpandOperator:
s401, entry counter ECounter = 1;
s402, computing by using an expand operator, wherein the operator inputs expand Pos = ECounter;
s403, ECounter = ECounter +1, if ECounter is greater than QNum, then go to S404, otherwise go to S402
S404, finishing the calculation process;
s5, inputting the longitude ZX and the latitude ZY of the geographical position of a user, and calculating the risk of clearing the electric charge by using QTable;
s501, a risk finding counter variable DCounter =1, a risk summing variable PSum =0, and a risk counter variable PCounter = 0;
S502,QDTemp=QTable[DCounter];
s503, calculating a risk finding distance variable QD, wherein the calculation formula is as follows:
s504, go to 506 if QD > = qdtemp.qj L, otherwise go to S505;
S505,PSum=PSum+QDTemp.QPr,PCounter=PCounter+1;
s506, DCounter = DCounter +1, if DCounter is larger than QNum, turning to S507, otherwise, turning to S502;
S507,PSum=PSum/PCounter;
s508, if PSum >0.15, outputting to find that the user has the risk of clearing the electric charge, otherwise, outputting that the user does not have the risk of clearing the electric charge;
s509, the calculation process is ended.
Example 2
Taking the clearing of the electricity charge of a power grid user of a certain XXXX company as an example:
s1, inputting a power grid user arrearage condition list History containing the geographic position, wherein the table comprises the following contents:
HID | HX | HY | HQF |
71001 | 126.351 | 43.882 | 1 |
81022 | 126.317 | 43.882 | 0 |
44020 | 126.376 | 43.871 | 0 |
35221 | 126.354 | 43.862 | 1 |
45214 | 126.343 | 43.833 | 1 |
… |
inputting an initial calculation range L Dis =10 and a maximum calculation range HDis =200;
the number of users QNum =5021 in the History is acquired,
establishing a user clearing area table QTable, wherein the table comprises the following contents:
QID | QHX | QHY | Qdis | QJL | QPr | QCundu |
71001 | 126.351 | 43.882 | 10 | 0 | 0 | 0 |
81022 | 126.317 | 43.882 | 10 | 0 | 0 | 0 |
44020 | 126.376 | 43.871 | 10 | 0 | 0 | 0 |
35221 | 126.354 | 43.862 | 10 | 0 | 0 | 0 |
45214 | 126.343 | 43.833 | 10 | 0 | 0 | 0 |
… |
s2, establishing a region consistency degree calculation operator ConsisOperator, wherein the operator inputs consistency degree integer number variable ConsisPos and outputs consistency degree result structure ConsisOperatorResult
S3, establishing a region consistency expansion operator, namely, an expansion operator, wherein the input of the operator is a consistency expansion operator processing item variable, namely, expansion Pos, and the calculation result of the operator is written into the ExpandPos items of the QTable
S4, calculating all the items of QTable by utilizing the ExpandOperator
The content of the QTable after this step calculation becomes the following result:
QID | QHX | QHY | Qdis | QJL | QPr | QCundu |
71001 | 126.351 | 43.882 | 100 | 0.14 | 0.06 | 1.352 |
81022 | 126.317 | 43.882 | 170 | 0.17 | 0.04 | 1.245 |
44020 | 126.376 | 43.871 | 130 | 0.17 | 0.04 | 1.670 |
35221 | 126.354 | 43.862 | 120 | 0.16 | 0.17 | 2.112 |
45214 | 126.343 | 43.833 | 130 | 0.13 | 0.04 | 2.332 |
… |
s5, inputting the longitude ZX and the latitude ZY of the geographical position of a user, and calculating the risk of clearing the electric charge by using QTable
The longitude ZX =126.352 and the latitude ZY =43.871 of the user are input, PSum =0.17 is obtained, and the user is output that there is a risk of clearing the electricity charge.
The longitude ZX =126.362 and the latitude ZY =43.880 of the user are input, PSum =0.04 is obtained, and the user is output that there is no risk of clearing the electricity charge.
Example 3
In order to test and compare the effectiveness of the method, 2000 power grid users in a certain area are introduced as test data, the method is compared with the traditional decision tree and neural network method, and arrearages and position data of the power grid users are introduced; the decision tree and the neural network method introduce all possibly opened and collected data in the power grid user management system as data analysis attribute information. The comparative results are as follows:
method of producing a composite material | Predicting the number of users with risk | User number with missed judgment risk and expense clearing condition |
Method of the invention | 201 | 13 |
Decision tree | 1302 | 240 |
Neural net | 2520 | 179 |
The invention can be seen that the number of users with risks predicted by the invention is less, but the number of missed judgments is also less, which shows that the invention can be used for more effectively predicting the risk of clearing the user's electric charge, and has important practical value for the management of the power grid.
Claims (1)
1. A user electricity charge clearing risk discovery method based on regional geographical location information comprises the following steps:
s1, inputting a power grid user owing condition list History containing geographic positions, inputting an initial calculation range L Dis and a maximum calculation range HDis, acquiring the number QNum of users in the History, and establishing a user owing region table QTable;
s101, inputting a power grid user arrearage condition list History containing geographic positions, wherein each item of the list is a structure body, and the structure body comprises the following fields:
HID: a user number;
HX: longitude coordinates of the geographic location of the user;
HY: latitude coordinates of the geographical position of the user;
HQF: whether the user owes 0 to indicate that the user does not owe the fee, and 1 to indicate that the user owes the fee;
s102, inputting an initial calculation range L Dis, L Dis is an integer number, and the default value is 10;
s103, the number QNum of users = the number of entries in the History;
s104, initializing a user delinquent region table QTable = empty table;
s105, initializing a table counter HCounter = 1;
s106, establishing a region structure QTableStruct, wherein the field content of the QTableStruct is as follows:
QID: the region structure body corresponds to a user number;
QHX: the regional structure corresponds to the longitude coordinate of the geographical position of the user;
QHY: the latitude coordinate of the geographical position of the user corresponding to the regional structure body;
and (3) QDis: the region structure body corresponds to a range value of the user participating in calculation;
QJ L, calculating the distance of the region structure corresponding to the user;
QPr: the arrearage percentage of the corresponding user of the regional structure body in a certain neighborhood range;
QCundu: the purity of the region structure body corresponding to the user in a certain neighborhood range;
s107, setting the value of the QTableStruct internal field,
QTableStruct.QID=History[HCounter]. HID,
QTableStruct.QHX=History[HCounter].HX,
QTableStruct.QHY=History[HCounter].HY,
QTableStruct.QDis=LDis,
QTableStruct.QJL=0,
QTableStruct.QPr=0,
QTableStruct.QCundu=0;
s108, adding QTableStruct into QTable;
s109, HCounter = HCounter +1, going to S110 if HCounter is greater than QNum, otherwise going to S106
S110, ending the process;
s2, establishing a region consistency calculation operator ConsisOperator, wherein the operator inputs consistency integer number variable ConsisPos and outputs consistency result structure ConsisOperatorResult;
s201, a consistency calculation operator first temporary storage variable TS1= QTable [ ConsisPos ];
s202, establishing a spatial neighborhood list consissneighbor = empty list;
s203, a consistency calculation operator counter consishhcounter = 1;
s204, a consistency calculation operator second temporary storage variable TS2= QTable [ ConsisHCounter ];
s205, establishing a spatially adjacent structure ConsissStruct, wherein the fields of the structure are as follows:
ConsisDis: a distance corresponding to an adjacent structure;
ConsisQF, the arrearage condition corresponding to the adjacent structure;
s206, calculating the value of consisstruc.
S207, consissstruct. consissqf = History [ consisshcounter ]. HQF, consissstruct was added to consissneighbor;
s208, consisshcounter = consisshcounter +1, going to S209 if consisshcounter is greater than QNum, otherwise going to S204;
s209, sorting the list contents of the ConsisNeighbor from small to large based on the value of ConsisDis;
s210, the consistency register counter ConsisTCounter =1, the consistency Sum value Sum =0,
the arrearage counter QFCounter =0,
a consistency temporal distance variable consisttempd 1= consissneighbor [ ts1.qdis ]. consissdis;
s211, calculating a consistency arrearage temporary storage variable ConsisTQF, wherein the calculation formula is as follows:
s212, for Sum, by calculating the following formula:
s213, QFCounter = QFCounter +1 if ConsisNeighbor [ ConsisTCounter ]. ConsisQF equals 1
S214, ConsisTCounter = ConsisTCounter +1, going to S215 if ConsisTCounter is greater than ts1.qdis, otherwise going to S211;
s215, establishing a consistency result structure ConsisOperatorResult, wherein the structure comprises the following fields:
ConsistResult: consistency results the described consistency of the structure;
ConsistResultDis is the distance described by the consistency result structure;
ConsisQF the arrearage ratio;
s216, setting the value of each field of ConsisOperatResult,
ConsisOperatorResult.ConsistResult=1-Sum/TS1.QDis;
ConsisOperatorResult.ConsistResultDis=ConsisTempD1;
ConsisOperatorResult.ConsisQF=QFCounter/TS1.QDis;
s217, outputting ConsisOperatorResult as the result of the operator;
s3, establishing a region consistency expansion operator ExpandPos, wherein the input of the operator is a consistency expansion operator processing item variable ExpandPos, and the calculation result of the operator is written into the ExpandPos item of QTable;
s301, establishing a region consistency expansion operator, namely, an expand operator, wherein the input of the operator is expand Pos;
s302, calculating and inputting ConsissPos = ExpandPos by using a result structure variable EConsStruct = of a consistency calculation operator to obtain a result ConsisOperatorResult and returning the result;
s303, if EConsStrect.ConsistResult > QTable [ ExpandPos ]. QCundu, go to S304, otherwise go to S308;
S304,QTable[ExpandPos].QCundu=EConsisStruct.ConsistResult;
S305,QTable[ExpandPos].QJL =EConsisStruct. ConsistResultDis;
S306,QTable[ExpandPos].QPr=EConsisStruct.ConsisQF;
S307,QTable[ExpandPos]. QDis= QTable[ExpandPos]. QDis+LDis;
s308, if QTable [ ExpandPos ]. QDis is greater than HDis, then go to S309, otherwise go to S302;
s309, finishing the calculation process of the operator;
s4, calculating all the entries of the QTable by using an ExpandOperator:
s401, entry counter ECounter = 1;
s402, computing by using an expand operator, wherein the operator inputs expand Pos = ECounter;
s403, ECounter = ECounter +1, if ECounter is greater than QNum, then go to S404, otherwise go to S402
S404, finishing the calculation process;
s5, inputting the longitude ZX and the latitude ZY of the geographical position of a user, and calculating the risk of clearing the electric charge by using QTable;
s501, a risk finding counter variable DCounter =1, a risk summing variable PSum =0, and a risk counter variable PCounter = 0;
S502,QDTemp=QTable[DCounter];
s503, calculating a risk finding distance variable QD, wherein the calculation formula is as follows:
s504, go to 506 if QD > = qdtemp.qj L, otherwise go to S505;
S505,PSum=PSum+QDTemp.QPr,PCounter=PCounter+1;
s506, DCounter = DCounter +1, if DCounter is larger than QNum, turning to S507, otherwise, turning to S502;
S507,PSum=PSum/PCounter;
s508, if PSum >0.15, outputting to find that the user has the risk of clearing the electric charge, otherwise, outputting that the user does not have the risk of clearing the electric charge;
s509, the calculation process is ended.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010329533.XA CN111461574B (en) | 2020-04-24 | 2020-04-24 | User electricity charge clearing risk discovery method based on regional geographical position information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010329533.XA CN111461574B (en) | 2020-04-24 | 2020-04-24 | User electricity charge clearing risk discovery method based on regional geographical position information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111461574A true CN111461574A (en) | 2020-07-28 |
CN111461574B CN111461574B (en) | 2022-03-29 |
Family
ID=71683799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010329533.XA Active CN111461574B (en) | 2020-04-24 | 2020-04-24 | User electricity charge clearing risk discovery method based on regional geographical position information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111461574B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160065128A1 (en) * | 2014-08-28 | 2016-03-03 | OneRoof Energy, Inc. | Iterative method of solar electrical system optimization |
CN106208042A (en) * | 2016-07-18 | 2016-12-07 | 国网河南省电力公司电力科学研究院 | The power distribution network outage information sharing method merged based on battalion's auxiliary tone |
CN106251049A (en) * | 2016-07-25 | 2016-12-21 | 国网浙江省电力公司宁波供电公司 | A kind of electricity charge risk model construction method of big data |
CN107122911A (en) * | 2017-04-28 | 2017-09-01 | 国网山东省电力公司泰安供电公司 | The method and apparatus for reducing meter reading risk |
CN109034914A (en) * | 2018-08-30 | 2018-12-18 | 海南电网有限责任公司信息通信分公司 | A kind of electric system cost early-warning threshold calculations system and calculation method |
-
2020
- 2020-04-24 CN CN202010329533.XA patent/CN111461574B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160065128A1 (en) * | 2014-08-28 | 2016-03-03 | OneRoof Energy, Inc. | Iterative method of solar electrical system optimization |
CN106208042A (en) * | 2016-07-18 | 2016-12-07 | 国网河南省电力公司电力科学研究院 | The power distribution network outage information sharing method merged based on battalion's auxiliary tone |
CN106251049A (en) * | 2016-07-25 | 2016-12-21 | 国网浙江省电力公司宁波供电公司 | A kind of electricity charge risk model construction method of big data |
CN107122911A (en) * | 2017-04-28 | 2017-09-01 | 国网山东省电力公司泰安供电公司 | The method and apparatus for reducing meter reading risk |
CN109034914A (en) * | 2018-08-30 | 2018-12-18 | 海南电网有限责任公司信息通信分公司 | A kind of electric system cost early-warning threshold calculations system and calculation method |
Non-Patent Citations (6)
Title |
---|
MOH MOH THAN.ETC: ""Electricity Price Prediction for Geographically Distributed Data Centers in Multi-Region Electricity Markets"", 《2018 3RD INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATION SYSTEMS (ICCCS)》 * |
施泉生等: "《电力市场化与金融市场》", 30 November 2009 * |
李一鸣: ""基于GIS的电力CRM系统研究"", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
裘华东等: ""基于标签库系统的电力企业客户画像构建与信用评估及电费风险防控应用"", 《电信科学》 * |
赵越: ""数据挖掘在电信CRM中的应用"", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 * |
钱正浩等: ""一种基于大数据挖掘的电费回收风险预测技术研究 "", 《电子世界》 * |
Also Published As
Publication number | Publication date |
---|---|
CN111461574B (en) | 2022-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhang et al. | Analysis of the threshold effect of agricultural industrial agglomeration and industrial structure upgrading on sustainable agricultural development in China | |
Xiao et al. | Exploring the coupling coordination and key factors between urbanization and land use efficiency in ecologically sensitive areas: A case study of the Loess Plateau, China | |
Wang et al. | Identifying the spatial heterogeneity in the effects of the construction land scale on carbon emissions: Case study of the Yangtze River Economic Belt, China | |
Deng et al. | Net anthropogenic nitrogen and phosphorus inputs in the Yangtze River economic belt: spatiotemporal dynamics, attribution analysis, and diversity management | |
CN108376143A (en) | A kind of novel OLAP precomputations model and the method for generating precomputation result | |
Zhou et al. | Spatial equilibrium evaluation of regional water resources carrying capacity based on dynamic weight method and Dagum Gini Coefficient | |
Zhong et al. | Research on the technological innovation efficiency of China’s strategic emerging industries based on SBM: NDEA model and big data | |
Toth et al. | Regional population projections for China | |
CN111461574B (en) | User electricity charge clearing risk discovery method based on regional geographical position information | |
Xie et al. | Evaluation and spatial–temporal difference analysis of urban water resource utilization efficiency based on two-stage DEA model | |
Xia et al. | China’s provincial environmental efficiency evaluation and influencing factors of the mining industry considering technology heterogeneity | |
Yuan | Dynamic grid-based uniform search for solving constrained multiobjective optimization problems | |
Ding et al. | MO-Tree: an efficient forwarding engine for spatiotemporal-aware pub/sub systems | |
Fang et al. | Mining co-location patterns with dominant features | |
Wen et al. | Privacy preserving trajectory data publishing with personalized differential privacy | |
Zhu | Stability analysis of fuzzy linear differential equations | |
CN112183820A (en) | Linear programming based directed network link prediction method | |
CN110909779A (en) | Energy supply mode classification method of regional comprehensive energy supply system | |
Li et al. | Consolidation potential of rural residential areas based on the village classification | |
Tang et al. | A Data Desensitization Algorithm for Privacy Protection Electric Power Industry | |
Arhipova et al. | Pattern identification by factor analysis for regions with similar economic activity based on mobile communication data | |
Prajati et al. | Projection of big cities waste management and cost based on economic and demographic factors in Indonesia | |
Zhuang et al. | Spatial spillover effects and driving factors of regional green innovation efficiency in china from a network perspective | |
Zhai et al. | Three-dimensional optimization development and regulation of land space based on spatial equilibrium model | |
CN106570618A (en) | Cluster analysis and neutral network-based load simultaneous factor prediction method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |