Enterprise power user information verification method and system, computer equipment, and medium
By using external express company databases and big data technology to verify power user information, the problem of poor quality of power user information is solved, the accuracy and completeness of information verification are improved, and the reliability of commercial operations of power data assets is enhanced. .
Patent Information
- Application Number
- CN202010962494.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-14
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2040-09-14
AI Technical Summary
The commercial operation of power data assets is hindered and risked by inaccurate queries caused by poor quality of power user information.
By introducing data from external express company databases, using big data and cloud computing technology, and using maximum matching algorithms and address similarity calculations, we can verify the accuracy of enterprise power user information and correct or supplement errors and omissions in historical data.
It improves the accuracy and completeness of power user information verification, reduces query inaccuracies caused by poor data quality, and enhances the reliability of commercial operations of data assets.
Smart Images

Figure CN112150305B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent financial technology, and in particular to a method for verifying enterprise power user information and its system, computer equipment, and medium. Background Art
[0002] Power data assets are the core competitiveness of the power supply bureau in carrying out commercial operations of data assets. Data quality is directly related to the value of data assets to a certain extent. In the process of investigating the data quality of power data, we found that the quality of some data is poor, which will bring great obstacles or risks to the commercial operation of power data assets. Among power data assets, the data mainly involved in commercial operations are concentrated in marketing data, metering data and asset data. Among these data, customer base data, electricity metering data, payment behavior data and supplier cooperation data have the highest value.
[0003] At present, a large number of electricity users have no certificate information, or the certificate information does not match the customer entity. In addition, the system only registers the certificate information of the property owner, and there are many cases where the identity of the actual electricity user cannot be confirmed. Therefore, if the power user information is verified through the power grid company's own database information, the queried data information will be inaccurate due to poor data quality. Summary of the invention
[0004] The purpose of the present invention is to propose a method and system for verifying enterprise power user information, a computer device, and a computer-readable storage medium, so as to verify enterprise power user information with the help of external express company database data.
[0005] According to a first aspect, an embodiment of the present invention provides a method for verifying enterprise power user information, comprising:
[0006] Receiving an information verification request from a client terminal, the information verification request including a first user name and an electricity address corresponding to the user name;
[0007] According to the user name, query whether there is a second user name corresponding to the first user name in its database; if not, send a verification failure result to the customer terminal; if so, further query the courier address associated with the second user name in its database, and determine whether the courier address is consistent with the electricity address. If not, send a verification failure result to the customer terminal; if consistent, send a verification pass result to the customer terminal.
[0008] The method of this embodiment introduces external express company data and uses advanced technologies such as big data and cloud computing to find errors and omissions in historical data and make corrections or supplements. Specifically, the company address and company name information in the express address history database and the customer company address in the power grid company marketing system are matched to verify whether the corporate power user information is correct.
[0009] Optionally, querying a database according to the user name whether there is a second user name corresponding to the first user name includes:
[0010] Using a maximum matching algorithm, segmenting the first user name to obtain multiple keywords;
[0011] The database is searched according to the multiple keywords, and if there is a matching second user name, the second user name is output; if there is no matching second user name, a non-existence result is output.
[0012] Optionally, the determining whether the express delivery address is consistent with the electricity address includes:
[0013] Calculating the address similarity between the express delivery address and the electricity address;
[0014] Whether the express address is consistent with the electricity address is determined based on a comparison result of the address similarity and a preset threshold.
[0015] Optionally, the calculating the address similarity between the express address and the electricity address includes:
[0016] Filter the province, city, and district information of the express delivery address and the electricity address;
[0017] Encode the address information of the express delivery address and the electricity usage address remaining after filtering to obtain the express delivery address code and the electricity usage address code;
[0018] Calculate the address similarity between the express address and the electricity address according to the express address code, the electricity address code and the following formula;
[0019]
[0020] Among them, A i is the value of the ith code in the express address code, B i is the value of the i-th code in the electricity address coding, and cosθ is the address similarity.
[0021] According to a second aspect, an embodiment of the present invention provides an enterprise power user information verification system, which is used to execute the enterprise power user information verification method described in the first aspect, and the system includes:
[0022] a request receiving unit, configured to receive an information verification request from a client terminal, wherein the information verification request includes a first user name and an electricity address corresponding to the user name; and
[0023] A verification unit is used to query whether there is a second user name corresponding to the first user name in its database according to the user name; if not, sending a verification failure result to the customer terminal; if so, further querying the courier address associated with the second user name in its database, and determining whether the courier address is consistent with the electricity address; if not, sending a verification failure result to the customer terminal; if consistent, sending a verification pass result to the customer terminal.
[0024] Optionally, the verification unit is specifically used to:
[0025] Using a maximum matching algorithm, segmenting the first user name to obtain multiple keywords;
[0026] The database is searched according to the multiple keywords, and if there is a matching second user name, the second user name is output; if there is no matching second user name, a non-existence result is output.
[0027] Optionally, the verification unit is specifically used to:
[0028] Calculating the address similarity between the express delivery address and the electricity address;
[0029] Whether the express address is consistent with the electricity address is determined based on a comparison result of the address similarity and a preset threshold.
[0030] Optionally, the verification unit is specifically used to:
[0031] Filter the province, city, and district information of the express delivery address and the electricity address;
[0032] Encode the address information of the express delivery address and the electricity usage address remaining after filtering to obtain the express delivery address code and the electricity usage address code;
[0033] Calculate the address similarity between the express address and the electricity address according to the express address code, the electricity address code and the following formula;
[0034]
[0035] Among them, A i is the value of the ith code in the express address code, B i is the value of the i-th code in the electricity address coding, and cosθ is the address similarity.
[0036] According to a third aspect, an embodiment of the present invention proposes a computer device, comprising: a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the enterprise power user information verification method according to the first aspect.
[0037] According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for verifying enterprise power user information according to the first aspect is implemented.
[0038] The embodiment of the present invention proposes a method for verifying enterprise power user information and its system, computer equipment, and medium, which verify the enterprise power user information with the help of external express company database data; specifically, it is verified by one end of the express company (such as a server) and the verification result is fed back to the power grid company (that is, the client terminal). This is because if the power user information is verified through the power grid company's own database information, the queried data information will be inaccurate due to poor data quality. The power user information is verified through the relevant information of the express company's express information database, that is, the database information of a third party, that is, the cross-check method, which is a process of determining the authenticity, accuracy, and completeness of the same information through different information sources.
[0039] Other features and advantages of the present invention will be described in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 The present invention is a flowchart of a method for verifying enterprise power user information in an embodiment of the present invention.
[0042] Figure 2 The present invention is a framework diagram of an enterprise power user information verification system in an embodiment of the present invention. DETAILED DESCRIPTION
[0043] Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. Additionally, for a better illustration of the present invention, numerous specific details are provided in the following specific embodiments. Those skilled in the art should understand that the present invention can still be implemented without some of these specific details. In some instances, means well-known to those skilled in the art are not described in detail in order to highlight the gist of the present invention.
[0044] Referring to Figure 1 , an embodiment of the present invention provides a method for verifying enterprise power user information, which is specifically applicable to the post-loan management of borrowing enterprise users. The method of this embodiment specifically includes the following steps S1 to S2:
[0045] Step S1: Receive an information verification request from a customer terminal, where the information verification request includes a first user name and a power consumption address corresponding to the user name.
[0046] Step S2: Query whether there is a second user name corresponding to the first user name in its database according to the user name; if not, send a verification failure result to the customer terminal; if so, further query the delivery address associated with the second user name in its database, and determine whether the delivery address is consistent with the power consumption address. If not, send a verification failure result to the customer terminal; if consistent, send a verification success result to the customer terminal.
[0047] Optionally, the querying whether there is a second user name corresponding to the first user name in its database according to the user name includes:
[0048] Using the maximum matching algorithm, perform word segmentation on the first user name to obtain multiple keywords;
[0049] Retrieve the database according to the multiple keywords. If there is a matching second user name, output the second user name; if there is no matching second user name, output a non-existence result.
[0050] Specifically, the maximum matching algorithm includes the forward maximum matching algorithm, the backward maximum matching algorithm, the bidirectional matching algorithm, etc. Its main principle is to segment into single-character strings and then compare with the word library. If it is a word, record it; otherwise, continue to compare by adding or reducing a single character until only one single character remains and then terminate. If the single-character string cannot be segmented, it is treated as out-of-vocabulary.
[0051] For example:
[0052] Text to be segmented: sentence[] = {"computer", "language", "course", "interesting"}
[0053] Vocabulary list: dict[] = {"calculate", "computational linguistics", "course", "have", "meaning"} (In a real vocabulary list, there will be thousands of words that have been classified for our usual use)
[0054] (1) Starting from sentence[1], when scanning to sentence[2], it is found that "calculate" is already in the vocabulary list dict[]. But it cannot be segmented yet because we don't know if the subsequent words can form a longer word (maximum matching).
[0055] (2) Continuing to scan content[3], it is found that "computational language" is not a word in dict[]. But we are still not sure if the previously found "computational language" is already the largest word. Because "computational language" is a prefix of dict[2].
[0056] (3) Scanning content[4], it is found that "computational linguistics" is not a word in dict[]. But it is a prefix of dict[2]. Continue scanning:
[0057] (4) Scanning content[5], it is found that "computational linguistics" is a word in dict[]. Continue scanning:
[0058] (5) When scanning content[6], it is found that "computational linguistics course" is not a word in the vocabulary list nor a prefix of a word. Therefore, the previously largest word - "computational linguistics" can be segmented out.
[0059] Thus, it can be seen that the word obtained by maximum matching must ensure that the next scan is not a word in the vocabulary list or a prefix of a word before it can end.
[0060] Optionally, the determination of whether the express delivery address is consistent with the electricity consumption address includes:
[0061] Calculating the address similarity between the express delivery address and the electricity consumption address;
[0062] Determining whether the express delivery address is consistent with the electricity consumption address according to the comparison result between the address similarity and a preset threshold.
[0063] Optionally, the calculation of the address similarity between the express delivery address and the electricity consumption address includes:
[0064] Filtering the provincial, municipal, and district information of the express delivery address and the electricity consumption address;
[0065] Encoding the remaining address information of the express delivery address and the electricity consumption address after filtering respectively to obtain an express delivery address code and an electricity consumption address code;
[0066] Calculate the address similarity between the express address and the electricity address according to the express address code, the electricity address code and the following formula;
[0067]
[0068] Among them, A i is the value of the ith code in the express address code, B i is the value of the i-th code in the electricity address coding, and cosθ is the address similarity.
[0069] Illustratively, the express delivery address is: International Innovation Building, No. 67 North Fourth Ring Road West, Haidian District, Beijing; the electricity address is: Zhongguancun International Innovation Building, Haidian District, Beijing.
[0070] After filtering the province, city, and district information of the express delivery address and the electricity usage address, we obtain: International Innovation Building, No. 67 North Fourth Ring Road West, and Zhongguancun International Innovation Building.
[0071] Taking the union of the above filtering results, we get: {No. 67, North Fourth Ring Road West, Zhongguancun, International Innovation University}.
[0072] The express address code is expressed as: {1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1}.
[0073] The electrical address code is expressed as: {0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1}.
[0074] Therefore, according to the above formula, the address similarity between the express address and the electricity address can be calculated.
[0075] After the address similarity is calculated, the address similarity is compared with a preset similarity threshold. If it is greater than or equal to the preset similarity threshold, it is determined that the express delivery address is consistent with the electricity address.
[0076] See also Figure 2 The embodiment of the present invention provides a system for verifying enterprise power user information, which is used to execute the steps of the above-mentioned method for verifying enterprise power user information. The system includes:
[0077] A request receiving unit 1, configured to receive an information verification request from a client terminal, wherein the information verification request includes a first user name and an electricity address corresponding to the user name; and a verification unit 2;
[0078] The verification unit 2 comprises:
[0079] A first query unit 21, configured to query, according to the user name, whether there is a second user name corresponding to the first user name in its database;
[0080] A first sending unit 22, configured to send a verification failure result to the client terminal if the result of the first query unit is non-existent;
[0081] The second query unit 23 is used to further query the courier address associated with the second user name in its database if the result of the first query unit is existence, and determine whether the courier address is consistent with the electricity address;
[0082] The second sending unit 24 is used to send a verification failure result to the client terminal if the result of the second query unit is inconsistent; if the result of the second query unit is consistent, send a verification success result to the client terminal.
[0083] Optionally, the first query unit 21 is specifically configured to:
[0084] Using a maximum matching algorithm, segmenting the first user name to obtain multiple keywords;
[0085] The database is searched according to the multiple keywords, and if there is a matching second user name, the second user name is output; if there is no matching second user name, a non-existence result is output.
[0086] Optionally, the verification unit 2 is specifically used to:
[0087] Calculating the address similarity between the express delivery address and the electricity address;
[0088] Whether the express address is consistent with the electricity address is determined based on a comparison result of the address similarity and a preset threshold.
[0089] Optionally, the second query unit 23 is specifically configured to:
[0090] Filter the province, city and district information of the express delivery address and the electricity address;
[0091] Encode the address information of the express delivery address and the electricity usage address remaining after filtering respectively to obtain the express delivery address code and the electricity usage address code;
[0092] Calculate the address similarity between the express address and the electricity address according to the express address code, the electricity address code and the following formula;
[0093]
[0094] Among them, A iis the value of the ith code in the express address code, B i is the value of the i-th code in the electricity address coding, and cosθ is the address similarity.
[0095] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0096] It should be noted that the system described in the above embodiment corresponds to the method described in the above embodiment. Therefore, the undetailed parts of the system described in the above embodiment can be obtained by referring to the contents of the method described in the above embodiment, and will not be repeated here.
[0097] Furthermore, if the enterprise power user information verification system described in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0098] Another embodiment of the present invention proposes a computer device, comprising: an enterprise power user information verification system according to the above embodiment; or, a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the enterprise power user information verification method according to the above embodiment.
[0099] Of course, the computer device may also have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input and output. The computer device may also include other components for realizing device functions, which will not be described in detail here.
[0100] Exemplarily, the computer program may be divided into one or more units, which are stored in the memory and executed by the processor to implement the present invention. The one or more units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the computer device.
[0101] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device.
[0102] The memory can be used to store the computer program and / or unit, and the processor realizes various functions of the computer device by running or executing the computer program and / or unit stored in the memory, and calling the data stored in the memory. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0103] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for verifying enterprise power user information as described above is implemented.
[0104] Exemplarily, the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0105] The embodiment of the present invention proposes a method for verifying enterprise power user information and its system, computer equipment, and medium, which verify the enterprise power user information with the help of external express company database data; specifically, it is verified by one end of the express company (such as a server) and the verification result is fed back to the power grid company (that is, the client terminal). This is because if the power user information is verified through the power grid company's own database information, the queried data information will be inaccurate due to poor data quality. The power user information is verified through the relevant information of the express company's express information database, that is, the database information of a third party, that is, the cross-check method, which is a process of determining the authenticity, accuracy, and completeness of the same information through different information sources.
[0106] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for verifying enterprise power user information, characterized in that: include: Receiving an information verification request from a client terminal, the information verification request including a first user name and an electricity address corresponding to the user name; According to the first user name, query whether there is a second user name corresponding to the first user name in its database; if not, send a verification failure result to the client terminal; if so, further query the courier address associated with the second user name in its database, and determine whether the courier address is consistent with the electricity address; if not, send a verification failure result to the client terminal; if consistent, send a verification pass result to the client terminal; The querying, according to the user name, whether there is a second user name corresponding to the first user name in the database includes: using a maximum matching algorithm to perform word segmentation processing on the first user name to obtain multiple keywords; searching the database according to the multiple keywords, and if there is a matching second user name, outputting the second user name, and if there is no matching second user name, outputting a non-existence result; The determining whether the express delivery address is consistent with the electricity usage address comprises: calculating the address similarity between the express delivery address and the electricity usage address, and determining whether the express delivery address is consistent with the electricity usage address according to a comparison result of the address similarity with a preset threshold; Further, the calculating the address similarity between the express address and the electricity address includes: Filter the province, city and district information of the express delivery address and the electricity address; Encode the address information of the express delivery address and the electricity usage address remaining after filtering respectively to obtain the express delivery address code and the electricity usage address code; Calculate the address similarity between the express address and the electricity address according to the express address code, the electricity address code and the following formula; Among them, A i is the value of the ith code in the express address code, B i is the value of the i-th code in the electricity address coding, and cosθ is the address similarity.
2. An enterprise power user information verification system, characterized in that: include: A request receiving unit, configured to receive an information verification request from a client terminal, wherein the information verification request includes a first user name and an electricity address corresponding to the user name; as well as a verification unit, configured to query whether there is a second user name corresponding to the first user name in its database according to the user name; if not, send a verification failure result to the client terminal; if so, further query the courier address associated with the second user name in its database, and determine whether the courier address is consistent with the electricity address; if not, send a verification failure result to the client terminal; if consistent, send a verification pass result to the client terminal; The verification unit is specifically configured to use a maximum matching algorithm to segment the first user name to obtain a plurality of keywords, search the database according to the plurality of keywords, and output the second user name if there is a matching second user name, or output a non-existence result if there is no matching second user name; The verification unit is specifically used to calculate the address similarity between the express delivery address and the electricity address, and determine whether the express delivery address is consistent with the electricity address according to the comparison result of the address similarity and a preset threshold; The verification unit is specifically used for: Filter the province, city and district information of the express delivery address and the electricity address; Encode the address information of the express delivery address and the electricity usage address remaining after filtering respectively to obtain the express delivery address code and the electricity usage address code; Calculate the address similarity between the express address and the electricity address according to the express address code, the electricity address code and the following formula; Among them, A i is the value of the ith code in the express address code, B i is the value of the i-th code in the electricity address coding, and cosθ is the address similarity.
3. A computer device comprising: A memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the enterprise power user information verification method according to claim 1.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for verifying enterprise power user information according to claim 1 is implemented.
