Online electricity handling method and device
Through the online electricity processing method, image processing and text recognition technology are used to verify materials and demand information, which solves the problems of cumbersome material preparation and lack of information in online electricity processing, and realizes efficient online processing of electric power business.
Patent Information
- Application Number
- CN202410764217.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-10-29
AI Technical Summary
When applying for electricity online, the preparation of materials is cumbersome and information is easily missing, which leads to difficulties in business processing and low efficiency.
Provide an online method for handling electricity by sending business introduction pages and business processing guidance pages to obtain user positioning information, provide material upload links and demand filling boxes, use image processing and text recognition technology to verify materials and demand information, and construct acquisition Guide routes and complete online processing of electricity business.
It effectively assists users to complete online electricity services, avoids information loss, and improves the efficiency and accuracy of business processing.
Smart Images

Figure CN118864153A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to an online electricity handling method and a device thereof. Background Art
[0002] For electricity business processing, customers need to bring relevant certificates to the electricity business premises for manual processing or use self-service processing equipment to process by themselves. Therefore, the processing process requires a lot of customer time.
[0003] With the popularity of online business, online business processing has become a more convenient choice. At present, there are the following difficulties in promoting online business processing: (1) For some customers, the preparation of materials required for business is cumbersome, so it is difficult to operate online business processing. (2) When processing online business, it is very troublesome to determine the customer's demand information, and it is easy to have missing information, which will cause trouble for subsequent door-to-door personnel. Summary of the invention
[0004] In view of this, an object of the present invention is to provide an online electricity application method and device thereof, so as to solve the problem in the prior art that when applying for electricity online, the material preparation is cumbersome and information is easily missing.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] An online electricity application method of the present invention comprises the following steps:
[0007] When receiving an electricity application request from an external user, multiple pre-built business introduction pages are sent to the external user, wherein each business introduction page is used to introduce basic information of a power business;
[0008] Upon receiving a selection request from an external user, a business processing guidance page corresponding to the selection request is sent to the external user, wherein the business processing guidance page includes a plurality of material upload links and a requirement filling box;
[0009] Acquire location information of the external user, and provide guidance on acquiring business processing materials for the external user based on the location information and the multiple material upload links;
[0010] Based on the material upload link and the requirement filling box, business processing materials and requirement information are obtained, the business processing materials and requirement information are verified, and when the verification is passed, the online processing of the power business is completed.
[0011] In one embodiment of the present application, providing guidance for obtaining business handling materials of external users based on the location information and the multiple material upload links includes:
[0012] Determining the business handling materials of the external user based on the multiple material upload links;
[0013] Determine the method of obtaining the business handling materials, where the obtaining methods include printing and handling by the competent department;
[0014] Retrieve the API interface of the navigation map to determine the location of the printing service provider and the location of the competent department near the positioning information;
[0015] Building a guidance route for business handling materials based on the location of the printing service provider and the location of the competent department near the positioning information, wherein the guidance route is a walking route or a car navigation route;
[0016] A materials list is constructed based on the business processing materials, and based on the materials list and the guidance route, guidance is provided for obtaining the business processing materials of external users.
[0017] In one embodiment of the present application, when there are multiple competent departments, a guidance route for business handling materials is constructed based on the location of the printing service provider and the location of the competent department near the positioning information, including:
[0018] S1, taking the location of the positioning information as the current location;
[0019] S2, determining a guidance location closest to the current location from among multiple locations of administrative departments or locations of printing service providers that have not been visited;
[0020] S3, taking the guide position as the current position, and repeating step S2 until multiple locations of the competent department or the locations of the printing service provider are visited, and all the guide position sequences are obtained;
[0021] S4, constructing a guidance route based on all the guidance positions in sequence.
[0022] In an embodiment of the present application, obtaining business handling materials based on the material upload link includes:
[0023] Upon receiving an upload request from an external user, request the external user to use the camera;
[0024] When obtaining the permission to use the camera, take pictures of the business processing materials to obtain images of the business processing materials.
[0025] In an embodiment of the present application, verifying the business handling materials includes:
[0026] Dividing the image of the business handling material into regions to obtain a text region, or a text region and a seal region;
[0027] Extracting the text in the text area based on a pre-built text extraction model, and segmenting the text to obtain a plurality of application words;
[0028] Convert multiple application words into word vectors, and perform element matching on the word vectors of the multiple application words based on a pre-built word library to obtain multiple application elements in the text area, wherein the word library includes word vectors of multiple application element words, and when the cosine similarity between the word vectors of the multiple application words and the word vector of any application element word is greater than a preset threshold, it is determined that the corresponding application element exists in the text area;
[0029] Based on the pre-built business processing material element template, determine whether the application element in the text area is missing, or determine whether the application element in the text area is missing and whether the seal area is missing;
[0030] When there is no missing application element in the text area, or when there is no missing application element in the text area and the business handling materials do not lack the seal area, the business handling materials are verified.
[0031] In one embodiment of the present application, the image of the business handling material is divided into regions to obtain a text region, or a text region and a seal region, including:
[0032] Preprocessing the image of the business handling material to obtain a preprocessed image, wherein the preprocessing process includes sequentially arranged grayscale conversion and high-pass filtering;
[0033] Calling a pre-built text recognition model to recognize the text in the image of the business handling material to obtain a preliminary text area;
[0034] Extracting the contour of the preprocessed image, and when there is a contour satisfying a target condition in the preprocessed image, determining that there is a seal area in the image, and extracting the seal area, wherein the target condition includes: the number of pixel points of the contour is greater than a preset number threshold, and the contour meets a preset morphological feature;
[0035] If there is a seal area in the image, determine whether the preliminary text area overlaps with the seal area, and if there is overlap, remove the text in the seal area from the text area to separate the preliminary text area from the seal area to obtain a text area and a seal area;
[0036] If there is no seal area in the image, the preliminary text area is used as the text area.
[0037] In an embodiment of the present application, obtaining demand information based on the demand filling box includes:
[0038] When a filling request is received from an external user, demand information in a text format is obtained, wherein the demand information is obtained based on text input or based on voice recognition.
[0039] In an embodiment of the present application, verifying the demand information includes:
[0040] Segmenting the demand information to obtain a plurality of demand words;
[0041] Convert multiple demand words into word vectors, and perform element matching on the word vectors of the multiple demand words based on a pre-built word library to obtain multiple demand elements in the text area, wherein the word library includes word vectors of multiple demand element words, and when the cosine similarity between the word vectors of the multiple demand words and the word vector of any demand element word is greater than a preset threshold, it is determined that the corresponding demand element exists in the demand information;
[0042] Based on the pre-built business processing material element template, it is determined whether there are any missing demand elements in the demand information. If not, the test passes.
[0043] In one embodiment of the present application, it also includes:
[0044] The verified business processing materials and demand information will be sent to the reviewer.
[0045] The present application also provides an online electricity management device, which is characterized by comprising:
[0046] The first response module is used to send a plurality of pre-built business introduction pages to the external user upon receiving a request for power application from the external user, wherein each business introduction page is used to introduce basic information of a power business;
[0047] The second response module, upon receiving a selection request from an external user, sends a business handling guidance page corresponding to the selection request to the external user, wherein the business handling guidance page includes a plurality of material upload links and a requirement filling box;
[0048] A guidance module, used to obtain the location information of the external user, and provide guidance on obtaining the business handling materials of the external user based on the location information and the multiple material upload links;
[0049] The online processing module is used to obtain business processing materials and demand information based on the material upload link and the demand filling box, verify the business processing materials and demand information, and complete the online processing of the power business when the verification is passed.
[0050] The beneficial effects of the present invention are as follows: an online electricity handling method and device of the present invention, upon receiving an electricity handling request from an external user, sends a plurality of pre-built business introduction pages to the external user; upon receiving a selection request from an external user, sends a business handling guide page corresponding to the selection request to the external user; obtains the location information of the external user, and provides guidance on obtaining the business handling materials of the external user based on the location information and a plurality of material upload links; obtains business handling materials and requirement information based on the material upload link and the requirement filling box, verifies the business handling materials and requirement information, and completes the online handling of the electricity business when the verification is passed. The present application can provide guidance on obtaining business handling materials for external users according to the type of electricity business handling. In addition, it also performs integrity verification on the application materials and requirements to avoid information missing. The present application can effectively assist users in completing online electricity handling business. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The present invention will be further described below in conjunction with the accompanying drawings and embodiments:
[0052] Figure 1 It is a flow chart of an online electricity application method shown in an embodiment of the present application;
[0053] Figure 2 It is a structural diagram of an online power supply device shown in an embodiment of the present application;
[0054] Figure 3 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0056] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0057] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show the layers related to the present invention rather than being drawn according to the number, shape and size of the layers in actual implementation. In actual implementation, the type, quantity and proportion of each layer may be changed arbitrarily, and the layer layout may also be more complicated.
[0058] In the following description, numerous details are discussed to provide a more thorough explanation of embodiments of the present invention; however, it is apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details.
[0059] Figure 1 is a flow chart of an online electricity application method shown in an embodiment of the present application. Figure 1 As shown: An online electricity application method of this embodiment may include steps S110 to S130:
[0060] S110, upon receiving a request for electricity application from an external user, sending a plurality of pre-built service introduction pages to the external user, wherein each service introduction page is used to introduce basic information of a power service;
[0061] The implementation of this application can be based on a web page or a mobile terminal application.
[0062] After registering and logging in, if the user needs to conduct online electricity services, he / she will directly send a request to the webpage or client, which will forward the request to the server. The server will return multiple service introduction pages to the webpage or client for display. This is provided to external users for selection. Specifically, common electricity services include new electricity services, cancellation, and change services.
[0063] S120, upon receiving a selection request from an external user, sending a business processing guidance page corresponding to the selection request to the external user, wherein the business processing guidance page includes a plurality of material upload links and a requirement filling box;
[0064] The user selects the required service and sends it to the server in the form of a selection request. The server returns the service processing guidance page corresponding to the service type to the web page or client for display.
[0065] In this application, each business type corresponds to a business handling guide page. The business handling guide page contains a link to upload materials required for business handling and a demand filling box. Users can upload the corresponding business handling materials according to the material upload link and fill in the handling requirements in the demand filling box.
[0066] Taking the application for an electricity business license as an example, the required materials include:
[0067] (1) Application Form for Electricity Business License (Power Supply Category - For Electricity Sales Companies with Distribution Network Operation Rights) (signed by the legal representative and stamped with the company seal).
[0068] (2) “Letter of Commitment for Certification Materials Related to the Application for Power Business License (Power Supply Category - For Power Sales Companies with Distribution Network Operation Rights)” (signed by the legal representative and stamped with the company’s official seal).
[0069] (3) If the person handling the application is not the legal representative, a Letter of Authorization should be submitted.
[0070] (4) Geographical plan of the distribution area.
[0071] (5) The enterprise’s annual financial reports for the most recent two years; if the enterprise has been established for less than two years, submit the annual financial reports since its establishment.
[0072] (6) Appointment documents of the person in charge of production and operations, technical person in charge, safety person in charge, and financial person in charge.
[0073] (7) Overview of the distribution network in the distribution business area (distribution network distribution map).
[0074] (8) Overview of the established distribution business branches and corresponding distribution business areas.
[0075] It can be seen that the handling of some electricity business requires the preparation of a large amount of materials. How to obtain these materials is one of the key factors affecting the success of online business handling.
[0076] In addition, customers also need to upload some necessary demand information, such as processing time.
[0077] S130, obtaining location information of the external user, and providing guidance on obtaining business processing materials for the external user based on the location information and the multiple material upload links;
[0078] In order to provide guidance to external users on how to obtain materials, thereby assisting in the successful handling of online business, this application also provides guidance to external users on how to obtain business handling materials based on the location information and the multiple material upload links, specifically including:
[0079] S131, determining the business handling materials of the external user based on the multiple material upload links;
[0080] In this application, the business processing materials required for each business are recorded in the corresponding guide page, so the business processing materials corresponding to the business selected by the external user can be directly determined through the material upload link in the page.
[0081] S132, determining a method for obtaining the business handling materials, wherein the obtaining methods include printing and handling by the competent department;
[0082] Among them, some business processing materials only need to be copied from the originals, some need to be printed (such as form-filling materials), and some need to be processed by the corresponding competent authorities.
[0083] S133, calling the API interface of the navigation map to determine the location of the printing service provider and the location of the competent department near the positioning information;
[0084] In order to guide business processing personnel intuitively, this application calls the API interface of the navigation map to determine the processing address of each business processing material, including the location of the printing service provider and the location of the competent department. If external customers can print or copy, the printing service provider location can be directly cancelled.
[0085] S134, constructing a guidance route for business handling materials based on the location of the printing service provider and the location of the competent department near the positioning information, wherein the guidance route is a walking route or a car navigation route;
[0086] This application connects all the material handling locations by constructing a guide route, so that external customers can prepare materials according to the route. The guide route construction process in this application includes:
[0087] S1, taking the location of the positioning information as the current location;
[0088] S2, determining a guidance location closest to the current location from among multiple locations of administrative departments or locations of printing service providers that have not been visited;
[0089] S3, taking the guide position as the current position, and repeating step S2 until multiple locations of the competent department or the locations of the printing service provider are visited, and all the guide position sequences are obtained;
[0090] S4, constructing a guidance route based on all the guidance positions in sequence.
[0091] Through the above process, this application can connect all material processing locations based on distance to form a guidance route. External users can intuitively obtain the location and processing route of the material processing location. At the same time, this application plans the processing route to avoid external users taking detours.
[0092] S135, constructing a materials list based on the business processing materials, and providing guidance for obtaining the business processing materials of external users based on the materials list and the guidance route.
[0093] S140, acquiring business processing materials and demand information based on the material upload link and the demand filling box, verifying the business processing materials and demand information, and completing the online processing of the power business when the verification is passed.
[0094] In an embodiment of the present application, obtaining business handling materials based on the material upload link includes:
[0095] S1401, upon receiving an upload request from an external user, requesting camera use permission from the external user;
[0096] S1402, when obtaining the camera use permission, photograph the business processing materials to obtain images of the business processing materials.
[0097] In the present application, since an online processing method is adopted, the business processing materials are scanned by calling the camera of the user's device to obtain an image of the business processing materials.
[0098] After obtaining the business handling materials, in order to confirm whether there is any missing information in the business handling materials, this application also verifies the above materials. The specific verification process is as follows.
[0099] In an embodiment of the present application, verifying the business handling materials includes:
[0100] S1411, dividing the image of the business handling material into regions to obtain a text region, or a text region and a seal region;
[0101] In this application, the image of the business handling materials is divided into regions based on image processing technology. Specifically, it includes:
[0102] S14111, preprocessing the image of the business handling material to obtain a preprocessed image, wherein the preprocessing process includes grayscale conversion and high-pass filtering arranged in sequence;
[0103] Specifically, the rgb2gray function is used in the present application to convert a color image into a grayscale image, and then a high-pass filter is used to filter out low-frequency information in the preprocessed image, and retain high-frequency information such as contours, thereby obtaining a preprocessed image.
[0104] S14112, calling a pre-built text recognition model to recognize the text in the image of the business handling document to obtain a preliminary text area;
[0105] The text recognition model in this application needs to recognize the content of the text, and the existing deep learning-based OCR model can be used to recognize the text. After recognizing the text, the area where the text is located is extracted to obtain a preliminary extracted preliminary text area. Since in many cases, the seal and the text overlap, the text area extracted in this step cannot be directly used as the final result, but needs to be judged after the seal area is extracted.
[0106] The process of judging and extracting the existence of the seal area is as follows.
[0107] S14113, extracting the contour of the preprocessed image, and when there is a contour satisfying a target condition in the preprocessed image, determining that there is a seal area in the image, and extracting the seal area, wherein the target condition includes: the number of pixel points of the contour is greater than a preset number threshold, and the contour meets a preset morphological feature;
[0108] In the present application, contour features are determined based on the canny operator, and then contours are preliminarily screened, that is, contours whose number of pixel points is greater than a preset number threshold are taken as candidate contours.
[0109] Then, the candidate contours are morphologically screened, and the contours that meet the preset seal shape are used as the contours of the seal area. Specifically, the morphological screening in this application is as follows:
[0110] Binarize the contour to obtain a binary image;
[0111] Perform morphological operations on the binary image, such as dilation and erosion, to further emphasize or eliminate specific structures in the image. These operations can be performed based on a structuring element, which defines the local shape or size of the operation;
[0112] Perform a preliminary screening of the contours, that is, the contours whose number of pixels is greater than a preset number threshold are taken as candidate contours. In addition, the enclosing area of the contour can also be extracted. If the enclosing area of the contour is greater than the preset area threshold, it can also be taken as a candidate contour;
[0113] Get the inflection points of the contour using the approxPolyDP function and count the number of inflection points; use morphological operations such as dilation and erosion to detect specific shapes such as convex and concave hulls; and calculate the circularity or similar metric of the contour to assess how close it is to a circle;
[0114] For example, contours with 4 inflection points may be screened out to find a quadrilateral contour, and if the roundness is less than a preset first roundness threshold, the candidate contour may be determined to be a rectangle.
[0115] For example, contours with 0 inflection points may be screened out to find circular or elliptical contours, and if the roundness is greater than a preset second roundness threshold, the candidate contour may be determined to be a circle or an ellipse.
[0116] Common seals are round, square, oval, etc. If the outline meets the target conditions, it means that the outline is large enough and conforms to the shape of common seals. Therefore, it can be determined as a seal outline. Then, the seal area is extracted based on the seal outline.
[0117] S14114, if there is a seal area in the image, determine whether the preliminary text area overlaps with the seal area, and if there is overlap, remove the text in the seal area from the text area to separate the preliminary text area from the seal area, thereby obtaining a text area and a seal area;
[0118] In most cases, there are words inside the seal, but due to the instability of the handwriting inside the seal, it is difficult to directly extract the font in many cases. Therefore, this application directly sets that the seal outline does not contain words. Therefore, if there are words that can be extracted in the seal area, it is determined that the preliminary word area overlaps with the seal area. At this time, the words in the seal area are removed from the word area, that is, the complete seal area is retained. Thereby, the preliminary word area can be separated from the seal area to obtain the word area and the seal area.
[0119] S14115: If there is no seal area in the image, the preliminary text area is used as the text area.
[0120] If there is no contour meeting the target condition in the image, it is determined that there is no seal area in the image, and thus the preliminary text area can be directly used as the text area.
[0121] S1412, extracting characters in the character region based on a pre-built character extraction model, and segmenting the characters to obtain a plurality of application words;
[0122] In the present application, the text in the text area is recognized and segmented, so as to facilitate the extraction of the application words.
[0123] The word segmentation algorithm used in this application can be a word segmentation method based on string matching, such as: forward maximum matching method, reverse maximum matching method, minimum segmentation, two-way matching method, etc. It can also be a word segmentation method based on statistics and machine learning, such as HMM (Hidden Markov Model) and CRF (Conditional Random Field).
[0124] S1413, converting multiple application words into word vectors, and performing element matching on the word vectors of the multiple application words based on a pre-built word library to obtain multiple application elements in the text area, wherein the word library includes word vectors of multiple application element words, and when the cosine similarity between the word vectors of the multiple application words and the word vector of any application element word is greater than a preset threshold, it is determined that the corresponding application element exists in the text area;
[0125] Among them, the application elements in this application refer to the contents that need to be included in the application materials.
[0126] Taking the electricity account opening application as an example, the following is the electricity account opening application:
[0127] Dear [Power Company Name]:
[0128] Hello!
[0129] On behalf of [your company name or personal name], I would like to submit an application to open an electricity account for [project name or purpose description] (e.g. commercial building, residential community, industrial plant, etc.) located at [specific address].
[0130] 1. Basic information of the applicant organization / individual
[0131] Company / Individual Name: [your company name or personal name]
[0132] Contact number: [Contact number]
[0133] Contact: [Contact Name]
[0134] Address: [Specific address]
[0135] 2. Electricity Demand and Use
[0136] Power consumption capacity: [required power consumption capacity, such as XX kilowatts (kW)]
[0137] Electricity usage: [Specific electricity usage, such as industrial electricity, commercial electricity, residential electricity, etc.]
[0138] Electricity usage time: [estimated start time of electricity usage, such as XX / XX / XXXX]
[0139] 3. Equipment configuration and safety requirements
[0140] We have equipped the corresponding electrical equipment in accordance with relevant national standards and your company's technical requirements, and ensured that it complies with national safety standards and energy-saving and environmental protection requirements.
[0141] We promise to strictly abide by electricity safety regulations, regularly inspect and maintain electrical equipment, and ensure electricity safety.
[0142] As can be seen from the above, an application written in the standard format needs to include the element "Basic information of the applicant unit / individual" and the corresponding sub-elements "Unit / individual name", "Contact number: [contact number]", "Address: [specific address]", etc.
[0143] This application builds a corresponding vocabulary for different power businesses. The vocabulary contains application element words corresponding to one or more types of power business. Then it is converted into a word vector and stored. During verification, the word vector of the application word obtained by word segmentation is matched with the word vector in the vocabulary. It can quickly determine which elements are contained in the text area.
[0144] S1414, judging whether the application elements in the text area are missing based on the pre-built business processing material element template, or judging whether the application elements in the text area are missing and whether the seal area is missing;
[0145] S1415, when there is no missing application element in the text area, or when there is no missing application element in the text area and the business handling materials do not lack the seal area, the business handling materials are verified.
[0146] Finally, the elements required for each type of business material are different. This application pre-builds a business material element template, and then compares the business material element template with the elements in the text area to determine whether an element is missing. In addition, the business material element template also records whether the material needs to include a seal. If the seal is missing, then the element is also missing.
[0147] When it is determined that the materials are missing elements, this application reminds external personnel to correct or replace the materials by sending a prompt message.
[0148] In an embodiment of the present application, obtaining demand information based on the demand filling box includes:
[0149] S1421, upon receiving a filling request from an external user, obtaining requirement information in text format, wherein the requirement information is obtained based on text input or based on voice recognition.
[0150] External users can directly input the required information, such as the visit time of relevant personnel. They can also input it by voice and then call the API interface of the corresponding voice recognition program to convert it into text.
[0151] In an embodiment of the present application, verifying the demand information includes:
[0152] S1431, segmenting the demand information to obtain a plurality of demand words;
[0153] S1432, converting multiple demand words into word vectors, and performing element matching on the word vectors of the multiple demand words based on a pre-built word library to obtain multiple demand elements in the text area, wherein the word library includes word vectors of multiple demand element words, and when the cosine similarity between the word vectors of the multiple demand words and the word vector of any demand element word is greater than a preset threshold, it is determined that the corresponding demand element exists in the demand information;
[0154] S1433, based on the pre-built business processing material element template, determine whether there are any missing demand elements in the demand information, if not, pass the test.
[0155] Similar to the verification of the materials in the previous article, this application still uses the word library and the business handling material element template to determine whether the demand information is missing elements. It can be understood that in the new account opening business, the demand elements at least include the staff's door-to-door time, address, contact number, etc.
[0156] In one embodiment of the present application, it also includes:
[0157] The verified business processing materials and demand information will be sent to the reviewer.
[0158] In this application, the business processing materials and demand information need to be sent to the reviewer at the end. After the reviewer conducts the final review, the online business processing is completed. It can also be sent to the archive database for archiving.
[0159] An online electricity handling method of the present invention, upon receiving an electricity handling request from an external user, sends a plurality of pre-built business introduction pages to the external user; upon receiving a selection request from an external user, sends a business handling guide page corresponding to the selection request to the external user; obtains the location information of the external user, and provides guidance on obtaining the business handling materials of the external user based on the location information and a plurality of material upload links; obtains business handling materials and requirement information based on the material upload link and the requirement filling box, verifies the business handling materials and requirement information, and completes the online handling of the electricity business when the verification is passed. The present application can provide guidance on obtaining business handling materials for external users according to the type of electricity business handling. In addition, the application materials and requirements are checked for integrity to avoid missing information. The present application can effectively assist users in completing online electricity handling business.
[0160] like Figure 2 As shown, the present application also provides an online electricity management device, characterized in that it includes:
[0161] The first response module is used to send a plurality of pre-built business introduction pages to the external user upon receiving a request for power application from the external user, wherein each business introduction page is used to introduce basic information of a power business;
[0162] The second response module, upon receiving a selection request from an external user, sends a business handling guidance page corresponding to the selection request to the external user, wherein the business handling guidance page includes a plurality of material upload links and a requirement filling box;
[0163] A guidance module, used to obtain the location information of the external user, and provide guidance on obtaining the business handling materials of the external user based on the location information and the multiple material upload links;
[0164] The online processing module is used to obtain business processing materials and demand information based on the material upload link and the demand filling box, verify the business processing materials and demand information, and complete the online processing of the power business when the verification is passed.
[0165] An online electricity handling device of the present invention, upon receiving an electricity handling request from an external user, sends a plurality of pre-built business introduction pages to the external user; upon receiving a selection request from an external user, sends a business handling guide page corresponding to the selection request to the external user; obtains the location information of the external user, and provides guidance on obtaining the business handling materials of the external user based on the location information and a plurality of material upload links; obtains business handling materials and requirement information based on the material upload link and the requirement filling box, verifies the business handling materials and requirement information, and completes the online handling of electricity business when the verification is passed. The present application can provide guidance on obtaining business handling materials for external users according to the type of electricity business handling. In addition, it also performs integrity verification on the application materials and requirements to avoid information missing. The present application can effectively assist users in completing online electricity handling business.
[0166] Figure 3 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 3 The computer system 300 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0167] like Figure 3As shown, the computer system 300 includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method in the above embodiment. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, ROM 302 and RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0168] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0169] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 309, and / or installed from a removable medium 311. When the computer program is executed by a central processing unit (CPU) 301, various functions defined in the system of the present application are executed.
[0170] It should be noted that the computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0171] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0172] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0173] Another aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the above method. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0174] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in each of the above embodiments.
[0175] The above embodiments are only preferred embodiments for fully illustrating the present application, and the protection scope of the present application is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present application is within the protection scope of the present application.
Claims
1. An online electricity application method, characterized in that: Includes steps: When receiving an electricity application request from an external user, multiple pre-built business introduction pages are sent to the external user, wherein each business introduction page is used to introduce basic information of a power business; Upon receiving a selection request from an external user, a business processing guidance page corresponding to the selection request is sent to the external user, wherein the business processing guidance page includes a plurality of material upload links and a requirement filling box; Acquire location information of the external user, and provide guidance on acquiring business processing materials for the external user based on the location information and the multiple material upload links; Based on the material upload link and the requirement filling box, business processing materials and requirement information are obtained, the business processing materials and requirement information are verified, and when the verification is passed, the online processing of the power business is completed.
2. The online electricity application method according to claim 1, characterized in that: Providing guidance for obtaining business handling materials of external users based on the location information and the multiple material upload links includes: Determining the business handling materials of the external user based on the multiple material upload links; Determine the method of obtaining the business handling materials, where the obtaining methods include printing and handling by the competent department; Retrieve the API interface of the navigation map to determine the location of the printing service provider and the location of the competent department near the positioning information; Building a guidance route for business handling materials based on the location of the printing service provider and the location of the competent department near the positioning information, wherein the guidance route is a walking route or a car navigation route; A materials list is constructed based on the business processing materials, and based on the materials list and the guidance route, guidance is provided for obtaining the business processing materials of external users.
3. The online electricity application method according to claim 2, characterized in that: When there are multiple competent departments, a guidance route for business handling materials is constructed based on the location of the printing service provider and the location of the competent department near the positioning information, including: S1, taking the location of the positioning information as the current location; S2, determining a guidance location closest to the current location from among multiple locations of administrative departments or locations of printing service providers that have not been visited; S3, taking the guide position as the current position, and repeating step S2 until multiple locations of the competent department or the locations of the printing service provider are visited, and all the guide position sequences are obtained; S4, constructing a guidance route based on all the guidance positions in sequence.
4. The online electricity application method according to claim 1, characterized in that: Based on the material upload link, business processing materials are obtained, including: Upon receiving an upload request from an external user, request the external user to use the camera; When obtaining the permission to use the camera, take pictures of the business processing materials to obtain images of the business processing materials.
5. The online electricity application method according to claim 4, characterized in that: Verify the business handling materials, including: Dividing the image of the business handling material into regions to obtain a text region, or a text region and a seal region; Extracting the text in the text area based on a pre-built text extraction model, and segmenting the text to obtain a plurality of application words; Convert multiple application words into word vectors, and perform element matching on the word vectors of the multiple application words based on a pre-built word library to obtain multiple application elements in the text area, wherein the word library includes word vectors of multiple application element words, and when the cosine similarity between the word vectors of the multiple application words and the word vector of any application element word is greater than a preset threshold, it is determined that the corresponding application element exists in the text area; Based on the pre-built business processing material element template, determine whether the application element in the text area is missing, or determine whether the application element in the text area is missing and whether the seal area is missing; When there is no missing application element in the text area, or when there is no missing application element in the text area and the business handling materials do not lack the seal area, the business handling materials are verified.
6. The online electricity application method according to claim 5, characterized in that: Dividing the image of the business handling material into regions to obtain a text region, or a text region and a seal region, includes: Preprocessing the image of the business handling material to obtain a preprocessed image, wherein the preprocessing process includes sequentially arranged grayscale conversion and high-pass filtering; Calling a pre-built text recognition model to recognize the text in the image of the business handling material to obtain a preliminary text area; Extracting the contour of the preprocessed image, and when there is a contour satisfying a target condition in the preprocessed image, determining that there is a seal area in the image, and extracting the seal area, wherein the target condition includes: the number of pixel points of the contour is greater than a preset number threshold, and the contour meets a preset morphological feature; If there is a seal area in the image, determine whether the preliminary text area overlaps with the seal area, and if there is overlap, remove the text in the seal area from the text area to separate the preliminary text area from the seal area to obtain a text area and a seal area; If there is no seal area in the image, the preliminary text area is used as the text area.
7. The online electricity application method according to claim 1, characterized in that: Fill in the box based on the requirement to obtain the requirement information, including: When a filling request is received from an external user, demand information in a text format is obtained, wherein the demand information is obtained based on text input or based on voice recognition.
8. The online electricity application method according to claim 7, characterized in that: Verifying the demand information includes: Segmenting the demand information to obtain a plurality of demand words; Convert multiple demand words into word vectors, and perform element matching on the word vectors of the multiple demand words based on a pre-built word library to obtain multiple demand elements in the text area, wherein the word library includes word vectors of multiple demand element words, and when the cosine similarity between the word vectors of the multiple demand words and the word vector of any demand element word is greater than a preset threshold, it is determined that the corresponding demand element exists in the demand information; Based on the pre-built business processing material element template, it is determined whether there are any missing demand elements in the demand information. If not, the test passes.
9. The online electricity application method according to claim 1, characterized in that: Also includes: The verified business processing materials and demand information will be sent to the reviewer.
10. An online electricity supply device, characterized in that: include: The first response module is used to send a plurality of pre-built business introduction pages to the external user upon receiving a request for power application from the external user, wherein each business introduction page is used to introduce basic information of a power business; The second response module, upon receiving a selection request from an external user, sends a business handling guidance page corresponding to the selection request to the external user, wherein the business handling guidance page includes a plurality of material upload links and a requirement filling box; A guidance module, used to obtain the location information of the external user, and provide guidance on obtaining the business handling materials of the external user based on the location information and the multiple material upload links; The online processing module is used to obtain business processing materials and demand information based on the material upload link and the demand filling box, verify the business processing materials and demand information, and complete the online processing of the power business when the verification is passed.
