Updating method and device for user data of electricity market, medium and terminal
By pre-integrating the data of multiple power market user data sources and updating the data based on update information, the problems of untimely and inaccurate updates caused by data heterogeneity are solved, and the accuracy and timeliness of data updates are improved.
Patent Information
- Application Number
- CN202411460273.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Since the power market user data comes from multiple heterogeneous data sources, the data structure and expression are different, and it is difficult to obtain the latest and effective data of power market users in a timely manner, thereby reducing the timeliness and accuracy of data updates.
Power market user data is generated by integrating data in multiple data sources based on multiple mapping fields in advance, and existing data is updated based on updated power market information.
It improves the accuracy and timeliness of updates of user data in the power market, and avoids the problem of incomplete data acquisition caused by heterogeneity of multi-source data.
Smart Images

Figure CN119513113A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method and device, medium, and terminal for updating user data in an electricity market. Background Art
[0002] In recent years, with the continuous advancement of the market-oriented reform of electricity, the scale of the electricity market has grown rapidly, and most of them are small and medium-sized users with relatively short life cycles, resulting in a high frequency of changes in user data. In order to improve the authenticity and effectiveness of electricity market user data, it is necessary to update the electricity market user data in a timely manner. In order to improve the accuracy and timeliness of data updates, it is necessary to obtain multi-source data of electricity market users. However, since the electricity market user data contains basic business information of enterprises, power grid marketing information, personnel information, etc., among which the basic business information of enterprises comes from the industrial and commercial system data source, the power grid marketing information comes from the marketing system data source, and the personnel information comes from the communication system data source, affected by business management, usage requirements, industry data management requirements, expression habits, etc., the data structure and data expression of the same electricity market user in different data sources are different, which makes it difficult for the electricity market to obtain the latest and effective data of electricity market users in a timely manner, which in turn leads to the reduction of the timeliness and accuracy of the update of electricity market user data. Summary of the invention
[0003] In view of this, the present application provides a method and device, medium, and terminal for updating user data in an electricity market, the main purpose of which is to improve the problem of timely updating and low accuracy of user data in the existing electricity market.
[0004] According to one aspect of the present application, a method for updating user data in an electricity market is provided, comprising:
[0005] Obtain updated electricity market information from target users;
[0006] According to the preset mapping field corresponding to the updated power market information, searching for the existing power market user data of the target user from the power market user database, wherein the existing power market user data is obtained by integrating data from multiple data sources in advance according to multiple mapping fields;
[0007] The existing electricity market user data is updated according to the updated electricity market information.
[0008] Preferably, when the updated power market information is registered power market information, searching for existing power market user data of the target user from a power market user database according to a preset mapping field corresponding to the updated power market information includes:
[0009] Acquire user information of the target user from a data source in the power market user database according to the identity code of the target user;
[0010] The updating of the existing power market user data according to the updated power market information includes:
[0011] generating a power market user registration result according to the user information;
[0012] If the registration result of the electricity market user is successful, the target user is added to the electricity market user list, and the registered electricity market information and the target user are mapped and stored in the electricity market user database.
[0013] Preferably, when the updating of the power market information is to change the power market information, searching the existing power market user data of the target user from the power market user database according to the preset mapping field corresponding to the updated power market information includes:
[0014] Acquire the marketing information of the target user from the power market user database according to the marketing account number of the target user, and the industrial and commercial information of the target user acquired from the industrial and commercial database according to the identity code of the target user;
[0015] The updating of the existing power market user data according to the updated power market information includes:
[0016] Generate asset access results based on the marketing information, the business information, and the information actively filled in by the user;
[0017] If the asset access result is that entry is allowed, the changed power market information is synchronized to the power market user database and mapped and stored with the target user.
[0018] Preferably, before searching the existing power market user data of the target user from the power market user database according to the preset mapping field corresponding to the updated power market information, the method further comprises:
[0019] Acquire multiple mapping fields of a power market user, wherein the mapping fields include at least an identity code and a marketing account number;
[0020] Acquire source data from each data source according to each of the pre-mapped fields, and generate power market user data based on the source data;
[0021] The electricity market user data and the electricity market users are stored in an electricity market user database in a mapped form.
[0022] Preferably, before updating the existing power market user data according to the updated power market information, the method further includes:
[0023] If there is conflicting information between the existing power market user data and the updated power market information, the conflicting information is marked and the information verification module is triggered to verify the conflicting information so as to update the existing power market user data based on the corrected information after the verification.
[0024] Preferably, if the registration result of the power market user is successful, the target user is added to the power market user list, and after the registered power market information and the target user are mapped and stored in the power market user database, the method further includes:
[0025] According to the identity code of the target user, the latest user information of the target user is periodically obtained from the first data source at a first preset time interval, and the user information in the power market user database is updated according to the latest user information.
[0026] Preferably, if the asset access result is that entry is allowed, then after synchronizing the changed power market information to the power market user database and mapping and storing it with the target user, the method further includes:
[0027] According to the marketing account number of the target user, periodically obtaining the latest marketing information of the target user from a second data source at a second preset time interval, and updating the marketing information in the power market user database according to the latest marketing information;
[0028] And, according to the identity code of the target user, the latest business information of the target user is obtained from the business database periodically at a third preset time interval, and the business information in the power market user database is updated according to the latest business information.
[0029] According to another aspect of the present application, a device for updating user data in a power market is provided, comprising:
[0030] An updated information acquisition module is used to obtain updated power market information of target users;
[0031] An existing data search module, used to search for the existing power market user data of the target user from the power market user database according to the preset mapping field corresponding to the updated power market information, wherein the existing power market user data is obtained by integrating data from multiple data sources in advance according to multiple mapping fields;
[0032] A data updating module is used to update the existing power market user data according to the updated power market information.
[0033] Preferably, when the updated power market information is registered power market information, the existing data search module is used to:
[0034] Acquire user information of the target user from a data source in the power market user database according to the identity code of the target user;
[0035] The data updating module is used for:
[0036] generating a power market user registration result according to the user information;
[0037] If the registration result of the electricity market user is successful, the target user is added to the electricity market user list, and the registered electricity market information and the target user are mapped and stored in the electricity market user database.
[0038] Preferably, when the updating of the power market information is to change the power market information, the existing data search module is used to:
[0039] Acquire the marketing information of the target user from the power market user database according to the marketing account number of the target user, and the industrial and commercial information of the target user acquired from the industrial and commercial database according to the identity code of the target user;
[0040] Data update module, used to:
[0041] Generate asset access results based on the marketing information, the business information, and the information actively filled in by the user;
[0042] If the asset access result is that entry is allowed, the changed power market information is synchronized to the power market user database and mapped and stored with the target user.
[0043] Preferably, before the existing data search module, the device further includes a database establishment module for:
[0044] Acquire multiple mapping fields of a power market user, wherein the mapping fields include at least an identity code and a marketing account number;
[0045] Acquire source data from each data source according to each of the pre-mapped fields, and generate power market user data based on the source data;
[0046] The electricity market user data and the electricity market users are stored in an electricity market user database in a mapped form.
[0047] Preferably, before the data updating module, the device further includes:
[0048] The conflict information verification module is used to mark the conflict information if there is conflict information between the existing electricity market user data and the updated electricity market information, and trigger the information verification module to verify the conflict information, so as to update the existing electricity market user data based on the corrected information after the verification.
[0049] Preferably, the data updating module is further used for:
[0050] According to the identity code of the target user, the latest user information of the target user is periodically obtained from the first data source at a first preset time interval, and the user information in the power market user database is updated according to the latest user information.
[0051] Preferably, the data updating module is further used for:
[0052] According to the marketing account number of the target user, periodically obtaining the latest marketing information of the target user from a second data source at a second preset time interval, and updating the marketing information in the power market user database according to the latest marketing information;
[0053] And, according to the identity code of the target user, the latest business information of the target user is obtained from the business database periodically at a third preset time interval, and the business information in the power market user database is updated according to the latest business information.
[0054] According to another aspect of the present application, a storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute operations corresponding to the above-mentioned method for updating user data in the electricity market.
[0055] According to another aspect of the present application, a terminal is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus;
[0056] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned method for updating power market user data.
[0057] By means of the above technical solution, the technical solution provided by the embodiment of the present application has at least the following advantages:
[0058] The present application provides a method and device, medium, and terminal for updating power market user data, firstly obtaining updated power market information of a target user; secondly, searching for existing power market user data of the target user from a power market user database according to a preset mapping field corresponding to the updated power market information, wherein the existing power market user data is obtained by pre-integrating data from multiple data sources according to multiple mapping fields; finally, updating the existing power market user data according to the updated power market information. Compared with the prior art, the embodiment of the present application obtains power market user data by pre-integrating data from multiple data sources according to multiple mapping fields, so that when updating the power market user data of the target user, the existing power market user data of the target user can be found from the database according to the preset mapping field corresponding to the updated power market information, and then updated. Since the existing power market user data is pre-integrated from multiple data sources, the existing power market user data found is more comprehensive, avoiding the situation where the power market user data cannot be fully obtained due to the heterogeneity of multi-source data, thereby improving the update accuracy of the power market user data.
[0059] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0061] Figure 1 A flow chart of a method for updating user data in a power market provided by an embodiment of the present application is shown;
[0062] Figure 2 A flow chart of another method for updating user data in the electricity market provided by an embodiment of the present application is shown;
[0063] Figure 3 A flow chart of another method for updating user data in the electricity market provided by an embodiment of the present application is shown;
[0064] Figure 4 A flowchart of establishing a power market user database provided by an embodiment of the present application is shown;
[0065] Figure 5A block diagram showing a device for updating user data in a power market provided by an embodiment of the present application is shown;
[0066] Figure 6 A schematic diagram of the structure of a terminal provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0067] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0068] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0069] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0070] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0071] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0072] The embodiments of the present application can be applied to computer systems / servers, which can operate with many other general or special computing system environments or configurations. Examples of well-known computing systems, environments and / or configurations suitable for use with computer systems / servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0073] Computer systems / servers may be described in the general context of computer system executable instructions (such as program modules) executed by a computer system. In general, program modules may include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers may be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located on local or remote computing system storage media including storage devices.
[0074] The present application embodiment provides a method for updating user data in the power market, such as Figure 1 As shown, the method includes:
[0075] 101. Obtain updated electricity market information of target users.
[0076] The target user may be a power market user, a trading center, etc.; the updated power market information may be registered power market information, such as registration information of industrial and commercial users requesting to participate in the power market; it may also be changed power market information, such as change information generated when assets of users who have participated in the power market change, etc. In the embodiment of the present application, the current execution end may be a power market user data update module of the power market management system, which may be used to receive updated power market information of the target user.
[0077] 102. According to the preset mapping field corresponding to the updated power market information, search for the existing power market user data of the target user from the power market user database.
[0078] Among them, the existing power market user data is obtained by pre-integrating data from multiple data sources according to multiple mapping fields; the mapping field is used to characterize the identification information for data interaction between different data sources and the power market, such as identity code (corporate unified social credit code, system ID), marketing account number, corporate administrator ID number, etc.; data sources include but are not limited to industrial and commercial system data sources, marketing system data sources, power grid dispatching system data sources, power trading platform business system data sources, social security system data sources, communication operation system data sources, etc. In the embodiment of the present application, different updated power market information corresponds to different preset mapping fields. For example, the preset mapping field corresponding to the registered power market information is the identity code, and the preset mapping field corresponding to the changed power market information is the marketing account number, the corporate unified social credit code, etc. It can be understood that the power market user data stored in the power market user database is obtained by pre-integrating data from multiple data sources, including data from each data source, and the required existing power market user data can be found according to the corresponding preset mapping fields.
[0079] 103. Update the existing electricity market user data based on updated electricity market information.
[0080] In the embodiments of the present application, exemplarily, when the update of the electricity market information is the registration of the electricity market information, since the registration of the electricity market information is the information requesting to enter the electricity market, the information corresponding to the user is new information and can be directly stored at this time; when the update of the electricity market information is the change of the electricity market information, it means that the electricity market information already exists, and at this time, the original information can be updated according to the changed electricity market information. In addition, in order to further improve the accuracy of the information update, the changed electricity market information can be compared with the existing electricity market information before the update, and the logic is executed according to the comparison result set by the system. The system automatically verifies or manually intervenes in the verification to ensure the consistency of items such as the company name, thereby further improving the accuracy of the information update.
[0081] Compared with the prior art, the embodiment of the present application obtains electricity market user data by pre-integrating data from multiple data sources according to multiple mapping fields, so that when the electricity market user data of the target user is updated, the existing electricity market user data of the target user can be found from the database according to the preset mapping fields corresponding to the updated electricity market information, and then updated. Since the existing electricity market user data is pre-integrated from multiple data sources, the existing electricity market user data found is more comprehensive, avoiding the situation where the electricity market user data cannot be fully obtained due to the heterogeneity of multi-source data, thereby improving the updating accuracy of the electricity market user data.
[0082] The present application embodiment provides another method for updating user data in the power market, such as Figure 2 As shown, the method includes:
[0083] 201. Obtain updated power market information of target users.
[0084] Among them, updating the electricity market information is registering the electricity market information, that is, the registration information of the business entity requesting to participate in the electricity market, which at least includes the identity code (the unified social credit code of the enterprise).
[0085] 202. Obtain user information of the target user from a data source in a power market user database according to the identity code of the target user.
[0086] In an embodiment of the present application, when the updated electricity market information is the registered electricity market information, it means that the target user has not entered the electricity market at the current moment. At this time, the user information of the target user can be obtained from the data source under the electricity market user database (such as the industrial and commercial system data source) according to the identity code (unified social credit code of the enterprise) of the target user, including but not limited to the identity code (unified social credit code of the enterprise), enterprise name, existence status, legal representative information, business term, business scope, etc.
[0087] 203. Generate electricity market user registration results based on user information.
[0088] In the embodiment of the present application, it is possible to determine whether the target user meets the conditions for entering the power market based on the acquired user information. For example, it is possible to verify whether the user's business operation status is normal, verify whether the user's survival status is in a normal survival status, and verify whether the company name in the updated power market information is consistent with the company name in the acquired data source, etc., so as to determine whether the registration information is accurate and valid. Further, the power market user registration result is generated based on the various verification results.
[0089] 204. If the registration result of the power market user is successful, the target user is added to the power market user list, and the registered power market information and the target user are mapped and stored in the power market user database.
[0090] In an embodiment of the present application, if the registration result of the electricity market user is successful, it means that the target user is allowed to enter the electricity market. At this time, the target user can be added to the electricity market user list, and the registered electricity market information can be stored in the electricity market user database and mapped with the target user for storage.
[0091] 205. According to the identity code of the target user, periodically at a first preset time interval, obtain the latest user information of the target user from the first data source, and update the user information in the power market user database according to the latest user information.
[0092] Among them, the first preset time interval can be pre-set according to demand, such as one month; the first data source is used to characterize the industrial and commercial system data source. In the embodiment of the present application, after the target user is successfully registered, a data source user information update mechanism can be established to periodically obtain the latest user information of the user from the industrial and commercial system data source according to the preset time interval, and update the user information in the power market user database based on the latest user information to ensure that the user information stored in the power market user database is accurate. It should be noted that the user information stored in the power market user database can also be used to monitor changes in user information such as the company's survival status, company name, and corporate legal person, and further used in risk management processes, etc.
[0093] The present application embodiment provides another method for updating user data in the power market, such as Figure 3 As shown, the method includes:
[0094] 301. Obtain updated electricity market information of target users.
[0095] Among them, updating the electricity market information means changing the electricity market information, that is, the change information generated when the assets of users who have participated in the electricity market change, such as adding assets, etc., at least including the marketing account number.
[0096] 302. Obtain the marketing information of the target user from the power market user database according to the marketing account number of the target user, and obtain the industrial and commercial information of the target user from the industrial and commercial database according to the identity code of the target user.
[0097] In the embodiment of the present application, when the power market information is updated to change the power market information, it means that the target user has participated in the power market, that is, the data of the target user already exists in the power market user database. At this time, the marketing information of the target user can be obtained from the power market user database according to the marketing account number of the target user, including but not limited to the marketing account number, marketing account name, electricity category, voltage level, settlement unit number, settlement unit name, etc. And the business information of the target user obtained from the business database according to the identity code of the target user.
[0098] 303. Generate asset access results based on marketing information, industrial and commercial information, and information actively filled in by users.
[0099] In the embodiment of the present application, it is possible to determine whether the assets that the target user plans to add meet the power market access conditions based on the acquired marketing information, for example, to verify whether the market status of the user allows the addition of the target asset, to verify whether the user's electricity usage type allows the addition of the target asset, etc. Further, an asset access result is generated based on the results of various verifications.
[0100] 304. If the asset access result is that entry is allowed, the changed power market information is synchronized to the power market user database and mapped and stored with the target user.
[0101] In an embodiment of the present application, if the asset access result is allowed entry, it means that the assets expected to be added by the target user are allowed to enter the electricity market. At this time, the information of the assets expected to be added can be synchronized to the electricity market user database and mapped and stored with the target user.
[0102] 305. According to the marketing account number of the target user, periodically obtain the latest marketing information of the target user from the second data source at a second preset time interval, and update the marketing information in the power market user database according to the latest marketing information.
[0103] Among them, the second preset time interval may be the same as the first preset time interval, or may be different, and may be pre-set according to specific needs; the second data source is used to characterize the marketing system data source. In an embodiment of the present application, after the target user's asset registration is successful, a user marketing information update mechanism may be established to periodically obtain the user's latest marketing information from the marketing system data source according to a preset time interval, and update the marketing information in the power market user database according to the latest marketing information to ensure that the marketing information stored in the power market user database is consistent with the marketing data source data information. It should be noted that the marketing information stored in the power market user database can also be used to monitor changes in key information that affects the power market status, such as the enterprise marketing status, electricity consumption type and marketing name, and further used for process management procedures, etc.
[0104] In addition, according to the identity code of the target user, the latest business information of the target user is obtained from the business database periodically at a third preset time interval, and the business information in the power market user database is updated according to the latest business information.
[0105] In an embodiment of the present application, in order to further define and illustrate, Figure 4 As shown, before step 102 of the embodiment searches for existing power market user data of the target user from the power market user database according to the preset mapping field corresponding to the updated power market information, the embodiment method further includes:
[0106] 401. Obtain multiple mapping fields of electricity market users.
[0107] Among them, the mapping field is used to represent the identification information of different data sources for data interaction with the power market, including at least the identity code and the marketing account number.
[0108] 402. Acquire source data from each data source according to each pre-mapped field, and generate power market user data based on the source data.
[0109] In the embodiment of the present application, for example, industrial and commercial source data is obtained from the industrial and commercial system data source according to the identity code, including but not limited to the unified social credit code, existence status, legal representative information, business term, business scope, etc.; marketing source data is obtained from the marketing system data source according to the marketing account number, including but not limited to the marketing account number, marketing account name, electricity consumption category, voltage level, settlement unit number, settlement unit name, etc.; communication source data is obtained from the communication operation system data source according to the enterprise administrator ID number, including but not limited to name, ID number, mobile phone number, etc. Further, all the above-mentioned acquired data are integrated as a single user to generate power market user data.
[0110] 403. Store the power market user data and the power market users in a power market user database in a mapped form.
[0111] In an embodiment of the present application, the electricity market user data generated in step 402 of the embodiment and the corresponding electricity market users are stored in the electricity market user database in the form of a mapping, so that when searching for user electricity market user data, all data of the user can be obtained at one time. Furthermore, when updating the data, the accuracy of updating the electricity market user data can be improved because the data found is more comprehensive.
[0112] In an embodiment of the present application, for further limitation and explanation, before the embodiment step 103 updates the existing electricity market user data according to the updated electricity market information, the embodiment method also includes: if there is conflicting information between the existing electricity market user data and the updated electricity market information, the conflicting information is marked, and the information verification thread is triggered to verify the conflicting information.
[0113] Furthermore, the existing electricity market user data is updated based on the revised information after the verification.
[0114] For example, the dispatch name in the updated electricity market information is "Wudongde Right Bank", and the dispatch name in the existing electricity market user data is "Wudongde Left Bank". Since there is conflicting information between the two, when it is impossible to determine which one is the correct value, using either the new value or the old value may cause data errors. At this time, the conflicting information can be marked and the information verification thread can be triggered to verify the conflicting information, such as initiating manual intervention.
[0115] The present application provides a method for updating power market user data, firstly obtaining updated power market information of a target user; secondly searching the existing power market user data of the target user from the power market user database according to the preset mapping field corresponding to the updated power market information, wherein the existing power market user data is obtained by pre-integrating data from multiple data sources according to multiple mapping fields; finally updating the existing power market user data according to the updated power market information. Compared with the prior art, the embodiment of the present application obtains power market user data by pre-integrating data from multiple data sources according to multiple mapping fields, so that when updating the power market user data of the target user, the existing power market user data of the target user can be found from the database according to the preset mapping field corresponding to the updated power market information, and then updated. Since the existing power market user data is pre-integrated from multiple data sources, the existing power market user data found is more comprehensive, avoiding the situation where the power market user data cannot be fully obtained due to the heterogeneity of multi-source data, thereby improving the update accuracy of the power market user data.
[0116] Furthermore, as a response to the above Figure 1 The implementation of the method shown in the figure, the embodiment of the present application provides a device for updating user data in the power market, such as Figure 5 As shown, the device comprises:
[0117] Update information acquisition module 51, existing data search module 52, data update module 53;
[0118] An updated information acquisition module 51 is used to acquire updated power market information of target users;
[0119] An existing data search module 52 is used to search the existing power market user data of the target user from the power market user database according to the preset mapping field corresponding to the updated power market information, wherein the existing power market user data is obtained by integrating data from multiple data sources according to multiple mapping fields in advance;
[0120] The data updating module 53 is used to update the existing power market user data according to the updated power market information.
[0121] In a specific application scenario, when the updated power market information is registered power market information, the existing data search module is used to:
[0122] Acquire user information of the target user from a data source in the power market user database according to the identity code of the target user;
[0123] The data updating module is used for:
[0124] generating a power market user registration result according to the user information;
[0125] If the registration result of the electricity market user is successful, the target user is added to the electricity market user list, and the registered electricity market information and the target user are mapped and stored in the electricity market user database.
[0126] In a specific application scenario, when the updating of the power market information is to change the power market information, the existing data search module is used to:
[0127] Acquire the marketing information of the target user from the power market user database according to the marketing account number of the target user, and the industrial and commercial information of the target user acquired from the industrial and commercial database according to the identity code of the target user;
[0128] Data update module, used to:
[0129] Generate asset access results based on the marketing information, the business information, and the information actively filled in by the user;
[0130] If the asset access result is that entry is allowed, the changed power market information is synchronized to the power market user database and mapped and stored with the target user.
[0131] In a specific application scenario, before the existing data search module, the device further includes a database establishment module for:
[0132] Acquire multiple mapping fields of a power market user, wherein the mapping fields include at least an identity code and a marketing account number;
[0133] Acquire source data from each data source according to each of the pre-mapped fields, and generate power market user data based on the source data;
[0134] The electricity market user data and the electricity market users are stored in an electricity market user database in a mapped form.
[0135] In a specific application scenario, before the data updating module, the device further includes:
[0136] The conflict information verification module is used to mark the conflict information if there is conflict information between the existing electricity market user data and the updated electricity market information, and trigger the information verification module to verify the conflict information, so as to update the existing electricity market user data based on the corrected information after the verification.
[0137] In a specific application scenario, the data update module is also used to:
[0138] According to the identity code of the target user, the latest user information of the target user is periodically obtained from the first data source at a first preset time interval, and the user information in the power market user database is updated according to the latest user information.
[0139] In a specific application scenario, the data update module is also used to:
[0140] According to the marketing account number of the target user, periodically obtaining the latest marketing information of the target user from a second data source at a second preset time interval, and updating the marketing information in the power market user database according to the latest marketing information;
[0141] And, according to the identity code of the target user, the latest business information of the target user is obtained from the business database periodically at a third preset time interval, and the business information in the power market user database is updated according to the latest business information.
[0142] The present application provides a device for updating power market user data, which first obtains updated power market information of a target user; secondly, searches for existing power market user data of the target user from a power market user database according to a preset mapping field corresponding to the updated power market information, wherein the existing power market user data is obtained by pre-integrating data from multiple data sources according to multiple mapping fields; finally, updates the existing power market user data according to the updated power market information. Compared with the prior art, the embodiment of the present application obtains power market user data by pre-integrating data from multiple data sources according to multiple mapping fields, so that when updating the power market user data of the target user, the existing power market user data of the target user can be found from the database according to the preset mapping field corresponding to the updated power market information, and then updated. Since the existing power market user data is pre-integrated from multiple data sources, the existing power market user data found is more comprehensive, avoiding the situation where the power market user data cannot be fully obtained due to the heterogeneity of multi-source data, thereby improving the update accuracy of the power market user data.
[0143] According to an embodiment of the present application, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the computer executable instruction can execute the method for updating power market user data in any of the above method embodiments.
[0144] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0145] Figure 6 A schematic diagram of the structure of a terminal provided according to an embodiment of the present application is shown, and the specific embodiment of the present application does not limit the specific implementation of the terminal.
[0146] like Figure 6 As shown, the terminal may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0147] The processor 602 , the communication interface 604 , and the memory 606 communicate with each other via a communication bus 608 .
[0148] The communication interface 604 is used to communicate with other devices such as clients or other servers.
[0149] The processor 602 is used to execute the program 610, and specifically can execute the relevant steps in the above-mentioned embodiment of the method for updating user data in the electricity market.
[0150] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0151] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the computer device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
[0152] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0153] The program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0154] Obtain updated electricity market information from target users;
[0155] According to the preset mapping field corresponding to the updated power market information, searching for the existing power market user data of the target user from the power market user database, wherein the existing power market user data is obtained by integrating data from multiple data sources in advance according to multiple mapping fields;
[0156] The existing electricity market user data is updated according to the updated electricity market information.
[0157] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the physical device of the above-mentioned power market user data update method, and supports the operation of the information processing program and other software and / or programs. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.
[0158] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0159] The method and system of the present application may be implemented in many ways. For example, the method and system of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present application may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers a recording medium storing a program for executing the method according to the present application.
[0160] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0161] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for updating user data in an electricity market, characterized in that: include: Obtain updated electricity market information from target users; According to the preset mapping field corresponding to the updated power market information, searching for the existing power market user data of the target user from the power market user database, wherein the existing power market user data is obtained by integrating data from multiple data sources in advance according to multiple mapping fields; The existing electricity market user data is updated according to the updated electricity market information.
2. The method according to claim 1, characterized in that When the updated power market information is registered power market information, searching for existing power market user data of the target user from a power market user database according to a preset mapping field corresponding to the updated power market information includes: Acquire user information of the target user from a data source in the power market user database according to the identity code of the target user; The updating of the existing power market user data according to the updated power market information includes: generating a power market user registration result according to the user information; If the registration result of the electricity market user is successful, the target user is added to the electricity market user list, and the registered electricity market information and the target user are mapped and stored in the electricity market user database.
3. The method according to claim 1, characterized in that When the updating of the power market information is to change the power market information, searching the power market user database for the existing power market user data of the target user according to the preset mapping field corresponding to the updated power market information includes: Acquire the marketing information of the target user from the power market user database according to the marketing account number of the target user, and acquire the business information of the target user from the business database according to the identity code of the target user; The updating of the existing power market user data according to the updated power market information includes: Generate asset access results based on the marketing information, the business information, and the information actively filled in by the user; If the asset access result is that entry is allowed, the changed power market information is synchronized to the power market user database and mapped and stored with the target user.
4. The method according to claim 1, characterized in that: Before searching the existing power market user data of the target user from the power market user database according to the preset mapping field corresponding to the updated power market information, the method further includes: Acquire multiple mapping fields of a power market user, wherein the mapping fields include at least an identity code and a marketing account number; Acquire source data from each data source according to each of the pre-mapped fields, and generate power market user data based on the source data; The electricity market user data and the electricity market users are stored in an electricity market user database in a mapped form.
5. The method according to claim 1, characterized in that Before updating the existing power market user data according to the updated power market information, the method further includes: If there is conflicting information between the existing power market user data and the updated power market information, the conflicting information is marked and the information verification module is triggered to verify the conflicting information so as to update the existing power market user data based on the corrected information after the verification.
6. The method according to claim 2, characterized in that If the registration result of the power market user is successful, the target user is added to the power market user list, and after the registered power market information and the target user are mapped and stored in the power market user database, the method further includes: According to the identity code of the target user, the latest user information of the target user is periodically obtained from the first data source at a first preset time interval, and the user information in the power market user database is updated according to the latest user information.
7. The method according to claim 3, characterized in that If the asset access result is that entry is allowed, then the changed power market information is synchronized to the power market user database, and after being mapped and stored with the target user, the method further includes: According to the marketing account number of the target user, periodically obtaining the latest marketing information of the target user from a second data source at a second preset time interval, and updating the marketing information in the power market user database according to the latest marketing information; And, according to the identity code of the target user, the latest business information of the target user is obtained from the business database periodically at a third preset time interval, and the business information in the power market user database is updated according to the latest business information.
8. A device for updating user data in an electricity market, characterized in that: include: An updated information acquisition module is used to obtain updated power market information of target users; An existing data search module, used to search for the existing power market user data of the target user from the power market user database according to the preset mapping field corresponding to the updated power market information, wherein the existing power market user data is obtained by integrating data from multiple data sources in advance according to multiple mapping fields; A data updating module is used to update the existing power market user data according to the updated power market information.
9. A storage medium, wherein at least one executable instruction is stored in the storage medium, characterized in that: The executable instructions enable the processor to execute operations corresponding to the method for updating electricity market user data according to any one of claims 1 to 7.
10. A terminal, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to perform operations corresponding to the method for updating power market user data according to any one of claims 1-7.
Citation Information
Patent Citations
Multi-source data processing method and device, electronic equipment and readable storage medium
CN115145992A
Batch data updating method and device, electronic equipment and readable storage medium
CN115495462A
User unified identity model construction method and system for novel power system
CN115760157A
File data processing method and device, equipment and storage medium
CN117171183A