Data updating method and device, equipment, medium and program product
By updating regional outlet mapping relationships and processing business data in the financial business system, the problems of low data update efficiency and unavailability caused by large amount of business data in the financial business system are solved, and more efficient data updates and better service availability are achieved.
Patent Information
- Application Number
- CN202411830046.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-01
AI Technical Summary
In a financial business system, the large amount of business data leads to inefficient data updates, and services may not be available during the update.
Update the regional outlet mapping relationship by responding to the change information of the target outlet, process business data based on the updated mapping relationship, ensure service availability, and trigger update tasks to update business data within the preset period.
It improves the data update efficiency involved in regional outlet split and mergers, reduces the number of business data updates, reduces the risk of service unavailability, and ensures higher availability of services.
Smart Images

Figure CN119739725A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of financial technology and computer science and technology, and more specifically to a data updating method, device, equipment, medium and program product. Background Art
[0002] In the financial business system, as time goes by, the amount of business data has reached billions. For example, the business data includes data about regional outlets. Whenever a regional outlet is split or merged, the business data needs to be updated according to the change information of the regional outlet.
[0003] In the process of implementing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: the excessive amount of business data can easily lead to low efficiency of data update, and during the business data update, the service for business data processing is prone to service unavailability. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a data updating method, apparatus, device, medium and program product.
[0005] According to one aspect of the present disclosure, a data updating method is provided, comprising: in response to receiving change information for a target network point, updating a regional network point mapping relationship according to the change information to obtain an updated regional network point mapping relationship, wherein the regional network point mapping relationship represents a mapping relationship between regional network point identifiers before and after the change; in response to receiving a business data processing instruction for a target network point, processing business data based on the updated regional network point mapping relationship and the regional network point identifiers in the business data to obtain a processing result of the business data processing instruction; and in response to an update task being triggered, updating the regional network point identifiers in the business data according to the updated regional network point mapping relationship to obtain updated business data.
[0006] According to an embodiment of the present disclosure, the update task is used to update the business data based on a preset period, and the update frequency of the business data is less than the update frequency of the regional network point mapping relationship.
[0007] According to an embodiment of the present disclosure, the change information includes the regional network point identification before the change and the regional network point identification after the change of the target network point, and the regional network point mapping relationship is updated according to the change information to obtain the updated regional network point mapping relationship, including: determining the regional network point identification before the change as the source object, and determining the regional network point identification after the change as the target object; determining the target mapping sub-relationship for the target network point according to the source object and the target object; updating the regional network point mapping relationship according to the target mapping sub-relationship to obtain the updated regional network point mapping relationship.
[0008] According to an embodiment of the present disclosure, the target network point corresponds to n change information, where n is an integer greater than or equal to 2. The regional network point mapping relationship is updated according to the change information to obtain the updated regional network point mapping relationship, including: in response to receiving the nth change information for the target network point, according to the nth change information and the regional network point mapping relationship updated (n-1), determining the first target mapping sub-relationship and the second target mapping sub-relationship about the target network point, and updating the regional network point mapping relationship updated (n-1) according to the first target mapping sub-relationship and the second target mapping sub-relationship to obtain the regional network point mapping relationship updated (n); wherein the first target mapping sub-relationship represents the mapping relationship between the nth change information and the n-1th change information, and the second target mapping sub-relationship represents the mapping relationship between the nth change information and the intermediate change information. When n>2, the intermediate change information includes the change information from the regional network point identifier before the change to the n-2th change information; when n=2, the intermediate change information includes the regional network point identifier before the change.
[0009] According to an embodiment of the present disclosure, the change information also includes the change time, and the data update method also includes: storing the change information based on the change time to obtain a change information history; when it is determined that the current change information corresponding to the current regional network mapping relationship is incorrect, processing the current regional network mapping relationship according to the change information history to obtain a fallback regional network mapping relationship; in response to receiving a business data processing instruction for a target network point, processing the business data based on the fallback regional network mapping relationship and the regional network identifier in the business data to obtain a processing result of the business data processing instruction.
[0010] According to an embodiment of the present disclosure, the change information history includes M historical change information, and the current regional network mapping relationship is processed according to the change information history to obtain the regional network mapping relationship to be rolled back, including: when it is determined that m candidate historical change information among the M historical change information are correct, the m candidate historical change information are screened according to the change time to obtain the target historical change information, M≥m≥1, M and m are integers; the abnormal mapping sub-relationship corresponding to the current change information is deleted from the current regional network mapping relationship to obtain the regional network mapping relationship to be rolled back; according to the target historical change information, the rollback mapping sub-relationship is determined; and the rollback mapping sub-relationship is added to the regional network mapping relationship to be rolled back to obtain the rolled back regional network mapping relationship.
[0011] According to an embodiment of the present disclosure, a business data processing instruction for a target outlet includes a target regional outlet identifier. In response to receiving a business data processing instruction for a target outlet, the business data is processed based on an updated regional outlet mapping relationship and the regional outlet identifier in the business data to obtain a processing result of the business data processing instruction, including: matching the target regional outlet identifier with the updated regional outlet mapping relationship to obtain a first matching result; processing the business data based on the first matching result and the regional outlet identifier in the business data to obtain a processing result; in response to receiving a business data processing instruction for a target outlet, the business data is processed based on a rolled-back regional outlet mapping relationship and the regional outlet identifier in the business data to obtain a processing result of the business data processing instruction, including: matching the target regional outlet identifier with the rolled-back regional outlet mapping relationship to obtain a second matching result; processing the business data based on the second matching result and the regional outlet identifier in the business data to obtain a processing result.
[0012] Another aspect of the present disclosure provides a data updating device, including: a first updating module, for responding to receiving change information for a target outlet, updating a preset regional outlet mapping relationship according to the change information, and obtaining an updated regional outlet mapping relationship, wherein the regional outlet mapping relationship represents a mapping relationship between regional outlet identifiers before and after the change; a first processing module, for responding to receiving a business data processing instruction for a target outlet, processing business data based on the updated regional outlet mapping relationship and the regional outlet identifier in the business data, and obtaining a processing result of the business data processing instruction; and a second updating module, for responding to an update task being triggered, updating the regional outlet identifier in the business data according to the updated regional outlet mapping relationship, and obtaining updated business data.
[0013] Another aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0014] Another aspect of the present disclosure further provides a computer-readable storage medium having a computer program or instruction stored thereon, which implements the steps of the above method when the computer program or instruction is executed by a processor.
[0015] Another aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0017] Figure 1 The application scenario diagram of the data updating method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown;
[0018] Figure 2 A flowchart of a data updating method according to an embodiment of the present disclosure is schematically shown;
[0019] Figure 3A A schematic diagram exemplarily shows a regional network point mapping relationship according to an embodiment of the present disclosure;
[0020] Figure 3B A schematic diagram exemplarily shows a regional network point mapping relationship according to an embodiment of the present disclosure;
[0021] Figure 4A A schematic diagram exemplarily shows a mapping relationship of updating regional network points according to an embodiment of the present disclosure;
[0022] Figure 4B A schematic diagram exemplarily shows a mapping relationship of updating regional network points according to an embodiment of the present disclosure;
[0023] Figure 5 A schematic diagram exemplarily shows a change information history according to an embodiment of the present disclosure;
[0024] Figure 6 A structural block diagram of a data updating device according to an embodiment of the present disclosure is schematically shown; and
[0025] Figure 7 A block diagram of an electronic device suitable for implementing a data updating method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0028] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0029] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0030] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0031] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.
[0032] In the financial business system, as time goes by, the amount of business data has reached billions. For example, the business data includes data about regional outlets. Whenever a regional outlet is split or merged, the business data needs to be updated according to the change information of the regional outlet.
[0033] According to an embodiment of the present disclosure, the financial service system may include a bank transfer system, and the service data may include bank transfer service data. Exemplarily, the bank transfer service data includes information about regional outlets. For example, the bank transfer service data may include the regional outlet identifier of the bank outlet corresponding to the account.
[0034] In the process of implementing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: the excessive amount of business data can easily lead to low efficiency of data update, and during the business data update, the service for business data processing is prone to service unavailability.
[0035] According to one embodiment of the present disclosure, the relevant data update scheme is that whenever a regional branch is split or merged, the bank transfer business data is updated one by one according to the change information of the regional branch. Updating the bank transfer business data of billions of data according to this scheme not only has low update efficiency but also easily causes the transfer service to be unavailable during the data update.
[0036] In view of this, the embodiments of the present disclosure provide a data updating method, apparatus, device, medium and program product, the data updating method comprising: in response to receiving change information for a target outlet, updating the regional outlet mapping relationship according to the change information to obtain an updated regional outlet mapping relationship, the regional outlet mapping relationship representing the mapping relationship between regional outlet identifiers before and after the change; in response to receiving a business data processing instruction for a target outlet, processing the business data based on the updated regional outlet mapping relationship and the regional outlet identifier in the business data to obtain a processing result of the business data processing instruction; and in response to an update task being triggered, updating the regional outlet identifier in the business data according to the updated regional outlet mapping relationship to obtain updated business data.
[0037] According to the embodiments of the present disclosure, compared with the solution in the related art that whenever there is a regional outlet split or merge, the bank transfer business data is updated one by one according to the change information of the regional outlet, the embodiments of the present disclosure can first update the regional outlet mapping relationship according to the change information to obtain the updated regional outlet mapping relationship, instead of directly updating the business data with a large amount of data, and can process the business data based on the updated regional outlet mapping relationship and the regional outlet identifier that has not been updated in the business data to ensure the availability of the service. Afterwards, in response to the update task being triggered, the regional outlet identifier in the business data can be updated according to the updated regional outlet mapping relationship to obtain the updated business data. It can be understood that the embodiments of the present disclosure use the regional outlet mapping relationship to achieve the buffering of business data updates, and use the triggering of the update task to achieve the batch update of business data, so that the business data with too large a data volume can be updated as little as possible, so as to improve the efficiency of data updates involved in the splitting and merging of regional outlets, and reduce the number of updates to the business data, so as to reduce the risk that the business data update may cause the service to be unavailable, and make the service have better availability.
[0038] Figure 1 The application scenario diagram of the data updating method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown.
[0039] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0040] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0041] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0042] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0043] It should be noted that the data update method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the data update device provided in the embodiment of the present disclosure can generally be set in the server 105. The data update method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the data update device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.
[0044] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0045] It should be noted that the data updating method and device disclosed herein can be used for data updating in bank transfer services in the financial field, and can also be used for data updating in any field other than the financial field. The application field of the data updating method and device disclosed herein is not limited.
[0046] Figure 2 The flowchart of the data updating method according to the embodiment of the present disclosure is schematically shown.
[0047] like Figure 2 As shown, the data updating method 200 of this embodiment includes operations S210 to S230.
[0048] In operation S210, in response to receiving the change information for the target network point, the regional network point mapping relationship is updated according to the change information to obtain an updated regional network point mapping relationship, wherein the regional network point mapping relationship represents the mapping relationship between the regional network point identifiers before and after the change.
[0049] In operation S220, in response to receiving the business data processing instruction for the target network point, the business data is processed based on the updated regional network point mapping relationship and the regional network point identifier in the business data to obtain a processing result of the business data processing instruction.
[0050] In operation S230, in response to the update task being triggered, the regional network point identifier in the service data is updated according to the updated regional network point mapping relationship to obtain updated service data.
[0051] According to an embodiment of the present disclosure, the change information for the target network point may include a regional network point identifier before the change and a regional network point identifier after the change of the target network point.
[0052] According to an embodiment of the present disclosure, the regional network point identification of the target network point may include a regional identification and a network point identification. For example, the target network point may be determined according to the regional identification and the network point identification.
[0053] As an example, the change information for the target network point may include the region identifier of the target network point before the change, the network point identifier before the change, the region identifier after the change, and the network point identifier after the change.
[0054] According to an embodiment of the present disclosure, the regional network point mapping relationship is used to characterize the mapping relationship between the regional network point identifiers before and after the change.
[0055] Figure 3A A schematic diagram exemplarily shows a regional network point mapping relationship according to an embodiment of the present disclosure.
[0056] According to an embodiment of the present disclosure, the region network mapping relationship may be in the form of a mapping table. For example, as shown in FIG3 , the region network mapping relationship may represent the mapping relationship between the region identifier and the network identifier before the change, and the region identifier and the network identifier after the change.
[0057] like Figure 3A As shown, for example, the target network point's regional identification and network identification are A1 and B1 respectively before the change. Due to the regional network point splitting and merging business, the target network point's regional identification and network identification are A1 and B2 respectively after the change. The change information can be recorded as A1B1→A1B2, for example. The regional network point mapping relationship can indicate that the target network point's regional network point identification is changed from A1B1 to A1B2, for example, it can be recorded as A1B1→A1B2.
[0058] As an example, based on the regional network mapping relationship, the regional network identifier of the target network before the change can be determined according to the regional network identifier of the target network after the change. For example, the regional network identifier of the target network before the change can be determined to be A1B1 according to the regional network identifier of the target network after the change is A1B2.
[0059] According to an embodiment of the present disclosure, in response to receiving change information for a target network point, the region network point mapping relationship may be updated according to the change information to obtain an updated region network point mapping relationship.
[0060] According to the embodiments of the present disclosure, the updated regional network point mapping relationship can represent the mapping relationship between the current regional network point identification of the target network point and the historical regional network point identification of the target network point. Based on this, the updated regional network point mapping relationship can be used to perform an associated query with the business data that has not been updated to ensure the availability and accuracy of the business data processing service.
[0061] According to an embodiment of the present disclosure, the service data processing instruction for the target outlet may include a bank transfer service instruction for the target outlet. Exemplarily, the bank transfer service instruction may be used to perform transfer processing on the target bank account in the bank transfer service data.
[0062] In one example, the bank transfer service instruction may include the current regional branch identifier of the target branch corresponding to the target bank account. For example, the regional branch identifier of the target branch corresponding to the target bank account is initially A1B1, and due to the regional branch splitting and merging business, the regional branch identifier of the target branch is changed to A1B2, then the bank transfer service instruction may include the current regional branch identifier A1B2 of the target branch.
[0063] According to an embodiment of the present disclosure, in response to receiving a business data processing instruction for a target network point, the business data can be processed based on the updated regional network point mapping relationship and the regional network point identifier in the business data to obtain the processing result of the business data processing instruction.
[0064] In one example, the bank transfer service instruction may include the current regional branch identifier A1B2 of the target branch, the updated regional branch mapping relationship may represent the target mapping sub-relationship of the target branch as A1B1→A1B2, and the regional branch identifier of the target branch in the service data that has not been updated is A1B1. Exemplarily, in response to receiving the bank transfer service instruction (A1B2), the target bank account may be transferred based on the updated regional branch mapping relationship (A1B1→A1B2) and the regional branch identifier (A1B1) in the service data to obtain a transfer result.
[0065] According to an embodiment of the present disclosure, in response to the update task being triggered, the regional network point identifier in the service data can be updated according to the updated regional network point mapping relationship to obtain updated service data. The updated service data can include the current regional network point identifier of the target network point.
[0066] In one example, the updated regional network point mapping relationship may represent the target mapping sub-relationship of the target network point as A1B1→A1B2, and the regional network point identifier of the target network point in the service data that has not been updated is A1B1. In response to the update task being triggered, the regional network point identifier in the service data may be updated according to the updated regional network point mapping relationship (A1B1→A1B2) to obtain updated service data, and the regional network point identifier of the target network point in the updated service data is A1B2.
[0067] According to the embodiments of the present disclosure, compared with the solution in the related art that whenever there is a regional outlet split or merge, the bank transfer business data is updated one by one according to the change information of the regional outlet, the embodiments of the present disclosure can first update the regional outlet mapping relationship according to the change information to obtain the updated regional outlet mapping relationship, instead of directly updating the business data with a large amount of data, and can process the business data based on the updated regional outlet mapping relationship and the regional outlet identifier that has not been updated in the business data to ensure the availability of the service. Afterwards, in response to the update task being triggered, the regional outlet identifier in the business data can be updated according to the updated regional outlet mapping relationship to obtain the updated business data. It can be understood that the embodiments of the present disclosure use the regional outlet mapping relationship to achieve the buffering of business data updates, and use the triggering of the update task to achieve the batch update of business data, so that the business data with too large a data volume can be updated as little as possible, so as to improve the efficiency of data updates involved in the splitting and merging of regional outlets, and reduce the number of updates to the business data, so as to reduce the risk that the business data update may cause the service to be unavailable, and make the service have better availability.
[0068] According to an embodiment of the present disclosure, the update task is used to update the business data based on a preset period, and the update frequency of the business data is less than the update frequency of the regional network point mapping relationship.
[0069] According to an embodiment of the present disclosure, the preset period of the update task can be set to monthly or quarterly. By triggering the update task based on the preset period, the business data can be updated in batches, reducing the update frequency of the business data.
[0070] Preferably, the update task can also be set to be triggered during a relatively idle period of the business to reduce the risk that the business data update may cause the service to be unavailable. For example, it can be set to trigger the update task on the first weekend of each month to update the business data. It should be noted that those skilled in the art can reasonably set the preset period according to actual needs or application scenarios, etc., and no specific limitation is made here.
[0071] According to the embodiments of the present disclosure, the update frequency of business data is lower than the update frequency of regional network point mapping relationships. After receiving the change information for the target network point, the regional network point mapping relationship can be updated first according to the change information, rather than directly updating the business data with a large amount of data. The business data can be processed based on the updated regional network point mapping relationship and the regional network point identifiers that have not been updated in the business data to ensure the availability of the service. Based on this, the regional network point mapping relationship can be used to achieve buffering of business data updates, and the triggering of update tasks can be used to achieve batch updates of business data, so that business data with too large a data volume can be updated as little as possible, so as to improve the efficiency of data updates involved in the splitting and merging of regional networks, and reduce the number of updates to business data, so as to reduce the risk that business data updates may cause service unavailability, and make the service have better availability.
[0072] According to an embodiment of the present disclosure, the change information includes the regional network point identification before the change and the regional network point identification after the change of the target network point, and the regional network point mapping relationship is updated according to the change information to obtain the updated regional network point mapping relationship, including: determining the regional network point identification before the change as the source object, and determining the regional network point identification after the change as the target object; determining the target mapping sub-relationship for the target network point according to the source object and the target object; updating the regional network point mapping relationship according to the target mapping sub-relationship to obtain the updated regional network point mapping relationship.
[0073] According to an embodiment of the present disclosure, the target network point's pre-change regional network point identification may include a pre-change regional identification and a pre-change network point identification, and the target network point's post-change regional network point identification may include a post-change regional identification and a post-change network point identification. For example, the change information for the target network point may include A1B1→A1B2.
[0074] According to an embodiment of the present disclosure, the target mapping sub-relationship may represent the mapping relationship between the target network point's pre-change regional network point identifier and the target network point's post-change regional network point identifier. The target mapping sub-relationship may be added to the regional network point mapping relationship to obtain an updated regional network point mapping relationship.
[0075] According to an embodiment of the present disclosure, the regional network point identification before the change can be determined as the source object, and the regional network point identification after the change can be determined as the target object. According to the source object (for example, A1B1) and the target object (for example, A1B2), the target mapping sub-relationship for the target network point (for example, it can be recorded as A1B1→A1B2) can be determined, and the target mapping sub-relationship can represent that the regional network point identification of the target network point has changed from A1B1 to A1B2. On this basis, the regional network point mapping relationship can be updated according to the target mapping sub-relationship (for example, A1B1→A1B2) to obtain the updated regional network point mapping relationship. Based on this, the updated regional network point mapping relationship can be used to perform an associated query with the business data that has not been updated to ensure the availability and accuracy of the business data processing service.
[0076] According to an embodiment of the present disclosure, in the regional network splitting and merging business, the target network points that have changed may include multiple, and the change information corresponding to the regional network splitting and merging business may include multiple, and the multiple change information corresponds one-to-one to the multiple target network points that have changed.
[0077] Figure 3B A schematic diagram exemplarily shows a regional network point mapping relationship according to an embodiment of the present disclosure.
[0078] As an example, in a regional network splitting and merging business, the target network that has been changed may include three, namely target network 1, target network 2 and target network 3. For example, the change information corresponding to this regional network splitting and merging business may include three, the change information for target network 1 is A1B1→A1B2, the change information for target network 2 is A3B1→A3B4, and the change information for target network 3 is A5B5→A7B5.
[0079] For example, for each target network point, the regional network point identifier before the change can be determined as the source object, and the regional network point identifier after the change can be determined as the target object. The target mapping sub-relationship of each target network point can be determined according to the source object and the target object. The regional network point mapping relationship can be updated according to the target mapping sub-relationship of each target network point to obtain an updated regional network point mapping relationship (such as Figure 3B as shown).
[0080] According to an embodiment of the present disclosure, there are n change information corresponding to the target network point, where n is an integer greater than or equal to 2. The regional network point mapping relationship is updated according to the change information to obtain the updated regional network point mapping relationship, including: in response to receiving the nth change information for the target network point, according to the nth change information and the regional network point mapping relationship updated for the n-1th time, determining the first target mapping sub-relationship and the second target mapping sub-relationship about the target network point, and adding the first target mapping sub-relationship and the second target mapping sub-relationship to the regional network point mapping relationship updated for the n-1th time, to obtain the regional network point mapping relationship updated for the nth time; wherein the first target mapping sub-relationship represents the mapping relationship between the nth change information and the n-1th change information, and the second target mapping sub-relationship represents the mapping relationship between the nth change information and the intermediate change information. When n>2, the intermediate change information includes the successive change information from the regional network point identifier before the change to the n-2th change information; when n=2, the intermediate change information includes the regional network point identifier before the change.
[0081] According to an embodiment of the present disclosure, the target network point has three corresponding change information. For example, the target network point's regional network point identifier before the change is A1B1, the first change information is A1B1→A1B2, the second change information is A1B2→A1B3, and the third change information is A1B3→A2B3.
[0082] As an example, in response to receiving the first change information for the target network point, the target mapping sub-relationship about the target network point can be determined according to the first change information A1B1→A1B2 and the regional network point identifier A1B1 before the change, and the target mapping sub-relationship can be recorded as A1B1→A1B2, for example. The regional network point mapping relationship can be updated according to the target mapping sub-relationship to obtain the regional network point mapping relationship after the first update.
[0083] Figure 4A A schematic diagram of updating the regional network point mapping relationship according to an embodiment of the present disclosure is exemplified.
[0084] As an example, Figure 4AAs shown, in the case of n=2, in response to receiving the second change information 401 (A1B2→A1B3) for the target network point, the first target mapping sub-relationship and the second target mapping sub-relationship about the target network point can be determined according to the second change information 401 and the first updated regional network point mapping relationship 402. Among them, the first target mapping sub-relationship can represent the mapping relationship between the second change information and the first change information, for example, the first target mapping sub-relationship can be recorded as A1B2→A1B3. The second target mapping sub-relationship can represent the mapping relationship between the second change information and the intermediate change information, and the intermediate change information includes the regional network point identifier before the change, for example, the second target mapping sub-relationship can be recorded as A1B1→A1B3. For example, the first updated regional network point mapping relationship can be updated according to the first target mapping sub-relationship (A1B2→A1B3) and the second target mapping sub-relationship (A1B1→A1B3) to obtain the second updated regional network point mapping relationship 403.
[0085] Figure 4B A schematic diagram of updating the regional network point mapping relationship according to an embodiment of the present disclosure is exemplified.
[0086] As an example, Figure 4B As shown, in the case of n=3, in response to receiving the third change information 403 (A1B3→A2B3) for the target network point, the first target mapping sub-relationship and the second target mapping sub-relationship about the target network point can be determined according to the third change information 403 and the second updated regional network point mapping relationship 404. Among them, the first target mapping sub-relationship can represent the mapping relationship between the third change information and the second change information, and the first target mapping sub-relationship can be recorded as A1B3→A2B3, for example. The second target mapping sub-relationship can represent the mapping relationship between the third change information and the intermediate change information, and the intermediate change information includes the previous change information from the regional network point identifier before the change to the first change information. For example, the second target mapping sub-relationship can include A1B1→A2B3 and A1B2→A2B3. For example, the second updated regional network point mapping relationship 405 may be updated according to the first target mapping sub-relationship (A1B3→A2B3) and the second target mapping sub-relationship (A1B1→A2B3 and A1B2→A2B3) to obtain the third updated regional network point mapping relationship 406.
[0087] According to an embodiment of the present disclosure, in the case where a certain network point has been updated multiple times, the first target mapping sub-relationship and the second target mapping sub-relationship about the target network point can be determined based on the nth change information and the regional network point mapping relationship after the n-1th update, and the first target mapping sub-relationship and the second target mapping sub-relationship are added to the regional network point mapping relationship after the n-1th update to obtain the regional network point mapping relationship after the nth update. Among them, the first target mapping sub-relationship represents the mapping relationship between the nth change information and the n-1th change information, and the second target mapping sub-relationship represents the mapping relationship between the nth change information and the intermediate change information, thereby ensuring that the regional network point mapping relationship after the nth update can completely and comprehensively represent the mapping relationship between the current regional network point identification of the target network point and the historical regional network point identification of the target network point, so as to avoid the service being unavailable due to the regional network point identification contained in the business data processing instruction for the target network point not being the latest, thereby ensuring the availability and accuracy of the service.
[0088] According to an embodiment of the present disclosure, the change information also includes the change time, and the data update method also includes: storing the change information based on the change time to obtain a change information history; when it is determined that the current change information corresponding to the current regional network mapping relationship is incorrect, processing the current regional network mapping relationship according to the change information history to obtain a fallback regional network mapping relationship; in response to receiving a business data processing instruction for a target network point, processing the business data based on the fallback regional network mapping relationship and the regional network identifier in the business data to obtain a processing result of the business data processing instruction.
[0089] Figure 5 A schematic diagram exemplarily shows a change information history according to an embodiment of the present disclosure.
[0090] According to an embodiment of the present disclosure, the change information may further include a change time, and the change time may include, for example, a change date when the regional network point identification of the target network point is changed.
[0091] According to an embodiment of the present disclosure, in response to receiving the change information, the change information can be stored based on the change time to obtain the change information history. Exemplarily, the change information history can include multiple historical change information, each of which can include the change time, the regional network point identifier before the change, and the regional network point identifier after the change.
[0092] According to an embodiment of the present disclosure, the historical change information may be in the form of a snapshot table. Preferably, the plurality of historical change information may be arranged in reverse order according to the order of change time. For example, the historical change information with the latest change time may be arranged at the front.
[0093] As an example, Figure 5 As shown, the historical change information may include the change time, the region identifier before the change, the network point identifier before the change, the region identifier after the change, and the network point identifier after the change.
[0094] According to an embodiment of the present disclosure, when it is determined that the current change information corresponding to the current regional network point mapping relationship is incorrect, the current regional network point mapping relationship can be processed according to the change information history to obtain a rolled-back regional network point mapping relationship.
[0095] In one example, the received change information may contain errors, and the updated regional network point mapping relationship obtained based on the erroneous change information may also contain errors. If the business data is processed based on the updated regional network point mapping relationship with errors and the regional network point identifier in the business data, it may cause the processing result of the business data processing instruction to be erroneous, or cause the service to be unavailable. Therefore, when it is determined that the current change information corresponding to the current regional network point mapping relationship is incorrect, it is necessary to roll back the current regional network point mapping relationship.
[0096] According to an embodiment of the present disclosure, when it is determined that the current change information corresponding to the current regional network point mapping relationship is incorrect, the current regional network point mapping relationship can be processed according to the change information history to obtain a rolled-back regional network point mapping relationship.
[0097] According to the embodiments of the present disclosure, if the change information corresponding to the rolled-back region-network mapping relationship is determined to be correct, then the mapping relationship between the pre-change region identifier and the pre-change network identifier represented by the rolled-back region-network mapping relationship and the post-change region identifier and the post-change network identifier is also determined to be correct.
[0098] According to an embodiment of the present disclosure, in response to receiving a business data processing instruction for a target outlet, the business data can be processed based on the fallback regional outlet mapping relationship and the regional outlet identifier in the business data to obtain a processing result of the business data processing instruction, thereby ensuring the availability of the service and the correctness of the processing result based on the accurate fallback regional outlet mapping relationship.
[0099] According to the embodiments of the present disclosure, since the update frequency of business data is lower than the update frequency of the regional network mapping relationship, when it is determined that the change information is incorrect, the regional network mapping relationship can be rolled back directly based on the change information history, rather than rolling back the business data with a large amount of data, thereby effectively reducing the rollback time and avoiding service unavailability due to business data rollback.
[0100] According to one embodiment of the present disclosure, an update task can be triggered based on a preset period when it is determined that the updated regional network mapping relationship is correct. Therefore, the buffering of business data updates can be achieved by utilizing the regional network mapping relationship, and the business data can be updated in batches by utilizing the triggering of the update task. The correctness of the update content can be ensured to reduce the risk of service unavailability due to business data rollback and make the service have better availability.
[0101] According to an embodiment of the present disclosure, the change information history includes M historical change information, and the current regional network mapping relationship is processed according to the change information history to obtain the regional network mapping relationship to be rolled back, including: when it is determined that m candidate historical change information among the M historical change information are correct, the m candidate historical change information are screened according to the change time to obtain the target historical change information, M≥m≥1, M and m are integers; the abnormal mapping sub-relationship corresponding to the current change information is deleted from the current regional network mapping relationship to obtain the regional network mapping relationship to be rolled back; according to the target historical change information, the rollback mapping sub-relationship is determined; and the rollback mapping sub-relationship is added to the regional network mapping relationship to be rolled back to obtain the rolled back regional network mapping relationship.
[0102] According to one embodiment of the present disclosure, the change information history may include three historical change information. In order of update time from earliest to latest, the change information history may include A1B1→A1B2, A1B2→A1B3 and A1B3→A2B3. The current change information corresponding to the current regional network mapping relationship is A1B3→A2B3.
[0103] As an example, when it is determined that the current change information (A1B3→A2B3) corresponding to the current region network point mapping relationship is incorrect, the current region network point mapping relationship may be processed according to the change information history to obtain a rolled-back region network point mapping relationship.
[0104] For example, when two candidate historical change information (e.g., A1B1→A1B2, A1B2→A1B3) among three historical change information are confirmed to be correct, the two candidate historical change information can be screened according to the change time to obtain the target historical change information. Exemplarily, the target historical change information is preferably the one with the latest change time among the two candidate historical change information, such as A1B2→A1B3.
[0105] For example, the abnormal mapping sub-relationship corresponding to the current change information (A1B3→A2B3) can be deleted from the current regional network point mapping relationship to obtain the regional network point mapping relationship to be rolled back. For example, the rollback mapping sub-relationship can be determined based on the target historical change information (A1B2→A1B3). If the target historical change information is determined to be correct, the change information corresponding to the rollback mapping sub-relationship is also determined to be correct.
[0106] For example, the fallback mapping sub-relationship can be added to the region network point mapping relationship to be fallen back to obtain the region network point mapping relationship to be fallen back. If the fallback mapping sub-relationship is determined to be correct, then the mapping relationship between the region identifier and the network identifier before the change represented by the fallback region network point mapping relationship and the region identifier and the network identifier after the change is also determined to be correct. Therefore, the availability of the service and the correctness of the processing results can be ensured based on the confirmed fallback region network point mapping relationship.
[0107] According to an embodiment of the present disclosure, a business data processing instruction for a target outlet includes a target regional outlet identifier. In response to receiving a business data processing instruction for a target outlet, the business data is processed based on an updated regional outlet mapping relationship and the regional outlet identifier in the business data to obtain a processing result of the business data processing instruction, including: matching the target regional outlet identifier with the updated regional outlet mapping relationship to obtain a first matching result; processing the business data based on the first matching result and the regional outlet identifier in the business data to obtain a processing result; in response to receiving a business data processing instruction for a target outlet, the business data is processed based on a rolled-back regional outlet mapping relationship and the regional outlet identifier in the business data to obtain a processing result of the business data processing instruction, including: matching the target regional outlet identifier with the rolled-back regional outlet mapping relationship to obtain a second matching result; processing the business data based on the second matching result and the regional outlet identifier in the business data to obtain a processing result.
[0108] According to an embodiment of the present disclosure, the business data processing instruction for the target branch may include a bank transfer business instruction for the target branch. Exemplarily, the bank transfer business instruction may be used to perform transfer processing on the target bank account in the bank transfer business data. In one example, the bank transfer business instruction may include the current regional branch identifier of the target branch corresponding to the target bank account.
[0109] According to one embodiment of the present disclosure, a bank transfer service instruction may include a target branch target regional branch identifier A1B2, and the updated regional branch mapping relationship may characterize the target branch target mapping sub-relationship as A1B1→A1B2, and the regional branch identifier of the target branch in the service data that has not been updated is A1B1.
[0110] Exemplarily, in response to receiving a bank transfer service instruction (A1B2), the target regional branch identifier (A1B2) may be matched with the updated regional branch mapping relationship (A1B1→A1B2) to obtain a first matching result (A1B1). Based on the first matching result (A1B1) and the regional branch identifier of the target branch in the unupdated service data being A1B1, a transfer process may be performed on the target bank account to obtain a transfer result.
[0111] According to another embodiment of the present disclosure, a bank transfer business instruction may include the current regional branch identifier A1B3 of the target branch, and the regional branch mapping relationship after fallback may characterize the target mapping sub-relationship of the target branch as A1B2→A1B3 and A1B1→A1B3, and the regional branch identifier of the target branch in the business data that has not been updated is A1B1.
[0112] For example, in response to receiving a bank transfer service instruction (A1B3), the target regional branch identifier (A1B3) can be matched with the fallback regional branch mapping relationship (A1B2→A1B3 and A1B1→A1B3) to obtain a second matching result (A1B1). Based on the second matching result (A1B1) and the regional branch identifier of the target branch in the unupdated service data as A1B1, the target bank account can be transferred to obtain a transfer result.
[0113] Based on the above data updating method, the present disclosure also provides a data updating device, which will be described in detail below in conjunction with 6.
[0114] Figure 6 The structural block diagram of the data updating device according to the embodiment of the present disclosure is schematically shown.
[0115] like Figure 6 As shown, the data updating device 600 of this embodiment includes a first updating module 610 , a first processing module 620 and a second updating module 630 .
[0116] The first updating module 610 is used to update the preset regional network point mapping relationship according to the change information in response to receiving the change information for the target network point, and obtain an updated regional network point mapping relationship, wherein the regional network point mapping relationship represents the mapping relationship between the regional network point identifiers before and after the change. In one embodiment, the first updating module 610 can be used to perform the operation S210 described above, which will not be repeated here.
[0117] The first processing module 620 is used for processing the business data based on the updated regional network point mapping relationship and the regional network point identifier in the business data in response to receiving the business data processing instruction for the target network point, and obtaining the processing result of the business data processing instruction. In one embodiment, the processing module 620 can be used to perform the operation S220 described above, which will not be described in detail here.
[0118] The second updating module 630 is used to update the regional network point identifier in the service data according to the updated regional network point mapping relationship in response to the update task being triggered to obtain updated service data. In one embodiment, the second updating module 630 can be used to perform the operation S230 described above, which will not be repeated here.
[0119] According to an embodiment of the present disclosure, the update task is used to update the business data based on a preset period, and the update frequency of the business data is less than the update frequency of the regional network point mapping relationship.
[0120] According to an embodiment of the present disclosure, the change information includes the target network point's regional network point identifier before the change and the regional network point identifier after the change, and the first update module may include a first determination submodule, a second determination submodule and a mapping relationship update submodule.
[0121] The first determination submodule is used to determine the regional network point identifier before the change as the source object, and determine the regional network point identifier after the change as the target object.
[0122] The second determination submodule is used to determine a target mapping sub-relationship for a target network point according to the source object and the target object.
[0123] The first updating submodule is used to add the target mapping subrelationship to the regional network point mapping relationship to obtain an updated regional network point mapping relationship.
[0124] According to an embodiment of the present disclosure, the target network point corresponds to n change information, where n is an integer greater than or equal to 2, and the first updating module may include a third determining submodule and a second updating submodule.
[0125] The third determination submodule is used to determine the first target mapping sub-relationship and the second target mapping sub-relationship about the target network point in response to receiving the nth change information about the target network point and according to the nth change information and the (n-1)th updated regional network point mapping relationship.
[0126] The second updating submodule is used to add the first target mapping subrelationship and the second target mapping subrelationship to the regional network point mapping relationship updated for the n-1th time to obtain the regional network point mapping relationship updated for the nth time.
[0127] The first target mapping sub-relationship represents the mapping relationship between the nth change information and the n-1th change information, and the second target mapping sub-relationship represents the mapping relationship between the nth change information and the intermediate change information. When n>2, the intermediate change information includes all the change information from the regional network point identifier before the change to the n-2th change information; when n=2, the intermediate change information includes the regional network point identifier before the change.
[0128] According to an embodiment of the present disclosure, the change information also includes the change time, and the data updating device also includes a storage module, a rollback module and a second processing module.
[0129] The storage module is used to store the change information based on the change time to obtain the change information history.
[0130] The rollback module is used to process the current regional network point mapping relationship according to the change information history to obtain the rolled-back regional network point mapping relationship when it is determined that the current change information corresponding to the current regional network point mapping relationship is incorrect.
[0131] The second processing module is used to process the business data in response to receiving the business data processing instruction for the target network point based on the rolled-back regional network point mapping relationship and the regional network point identifier in the business data to obtain the processing result of the business data processing instruction.
[0132] According to an embodiment of the present disclosure, the change information history includes M historical change information, and the rollback module may include a screening submodule, a deleting submodule, a fourth determining submodule and a rollback submodule.
[0133] The screening submodule is used to screen the m candidate historical change information according to the change time to obtain the target historical change information when it is determined that the m candidate historical change information among the M historical change information are correct, M≥m≥1, and M and m are integers.
[0134] The deletion submodule is used to delete the abnormal mapping sub-relationship corresponding to the current change information from the current regional network point mapping relationship to obtain the regional network point mapping relationship to be rolled back.
[0135] The fourth determination submodule is used to determine the fallback mapping subrelationship according to the target historical change information.
[0136] The fallback submodule is used to add the fallback mapping subrelationship to the regional network point mapping relationship to be rolled back, so as to obtain the rolled back regional network point mapping relationship.
[0137] According to an embodiment of the present disclosure, the business data processing instruction for the target network point includes a target area network point identifier, the first processing module may include a first matching submodule and a first processing submodule, and the second processing module may include a second matching submodule and a second processing submodule.
[0138] The first matching submodule is used to match the target area network point identifier with the updated area network point mapping relationship to obtain a first matching result.
[0139] A first processing submodule, used to process the business data based on the first matching result and the regional network point identifier in the business data to obtain a processing result;
[0140] The second matching submodule is used to match the target area network point identifier with the fallback area network point mapping relationship to obtain a second matching result.
[0141] The second processing submodule is used to process the business data based on the second matching result and the regional network point identifier in the business data to obtain a processing result.
[0142] According to an embodiment of the present disclosure, any multiple modules of the first update module 610, the first processing module 620, and the second update module 630 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first update module 610, the first processing module 620, and the second update module 630 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, at least one of the first update module 610, the first processing module 620, and the second update module 630 can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be executed.
[0143] It should be noted that the data updating device part in the embodiment of the present disclosure corresponds to the data updating method part in the embodiment of the present disclosure. The description of the data updating device part specifically refers to the data updating method part, which will not be repeated here.
[0144] Figure 7 A block diagram of an electronic device suitable for implementing a data updating method according to an embodiment of the present disclosure is schematically shown.
[0145] like Figure 7 As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0146] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0147] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the input / output (I / O) interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output (I / O) interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.
[0148] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0149] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.
[0150] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the data update method provided by the embodiment of the present disclosure.
[0151] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0152] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0153] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0154] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0155] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a 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 flow chart, and the combination of the boxes in the block diagram or flow chart 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.
[0156] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0157] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A data updating method, characterized in that: The method comprises: In response to receiving the change information for the target network point, updating the regional network point mapping relationship according to the change information to obtain an updated regional network point mapping relationship, wherein the regional network point mapping relationship represents a mapping relationship between regional network point identifiers before and after the change; In response to receiving the business data processing instruction for the target network point, based on the updated regional network point mapping relationship and the regional network point identifier in the business data, the business data is processed to obtain a processing result of the business data processing instruction; and In response to the update task being triggered, the regional network point identifier in the service data is updated according to the updated regional network point mapping relationship to obtain updated service data.
2. The method according to claim 1, characterized in that: The update task is used to update the business data based on a preset period, and the update frequency of the business data is less than the update frequency of the regional network point mapping relationship.
3. The method according to claim 2, characterized in that The change information includes the area network point identifier before the change and the area network point identifier after the change of the target network point, and the updating of the area network point mapping relationship according to the change information to obtain the updated area network point mapping relationship includes: Determine the regional network point identifier before the change as the source object, and determine the regional network point identifier after the change as the target object; Determining a target mapping sub-relationship for the target network point according to the source object and the target object; The regional network point mapping relationship is updated according to the target mapping sub-relationship to obtain the updated regional network point mapping relationship.
4. The method according to claim 3, characterized in that The target network point corresponds to n times of the change information, where n is an integer greater than or equal to 2, and the updating of the regional network point mapping relationship according to the change information to obtain the updated regional network point mapping relationship includes: In response to receiving the nth change information for the target network point, determining a first target mapping sub-relationship and a second target mapping sub-relationship about the target network point according to the nth change information and the (n-1)th updated regional network point mapping relationship, and Update the area network point mapping relationship after the (n-1)th update according to the first target mapping sub-relationship and the second target mapping sub-relationship to obtain the area network point mapping relationship after the nth update; The first target mapping sub-relationship represents the mapping relationship between the nth change information and the n-1th change information, and the second target mapping sub-relationship represents the mapping relationship between the nth change information and the intermediate change information. When n>2, the intermediate change information includes the change information from the regional network point identifier before the change to the n-2th change information; when n=2, the intermediate change information includes the regional network point identifier before the change.
5. The method according to any one of claims 1 to 4, characterized in that The change information also includes the change time, and the method further includes: Storing the change information based on the change time to obtain a change information history; When it is determined that the current change information corresponding to the current region network point mapping relationship is incorrect, the current region network point mapping relationship is processed according to the change information history to obtain a rolled-back region network point mapping relationship; In response to receiving the business data processing instruction for the target network point, the business data is processed based on the rolled-back regional network point mapping relationship and the regional network point identifier in the business data to obtain a processing result of the business data processing instruction.
6. The method according to claim 5, characterized in that The change information history includes M historical change information, and the current regional network point mapping relationship is processed according to the change information history to obtain the rolled-back regional network point mapping relationship, including: When it is determined that m candidate historical change information among the M historical change information are correct, the m candidate historical change information are screened according to the change time to obtain target historical change information, where M≥m≥1, and M and m are integers; Deleting the abnormal mapping sub-relationship corresponding to the current change information from the current regional network point mapping relationship to obtain the regional network point mapping relationship to be rolled back; Determining a fallback mapping sub-relationship according to the target historical change information; and The fallback mapping sub-relationship is added to the regional network point mapping relationship to be fallen back to obtain the fallen back regional network point mapping relationship.
7. The method according to claim 5, characterized in that The business data processing instruction for the target network point includes the target area network point identifier, In response to receiving the business data processing instruction for the target network point, the business data is processed based on the updated regional network point mapping relationship and the regional network point identifier in the business data to obtain the processing result of the business data processing instruction, including: Matching the target area network point identifier with the updated area network point mapping relationship to obtain a first matching result; Processing the business data based on the first matching result and the regional network point identifier in the business data to obtain the processing result; In response to receiving the service data processing instruction for the target network point, the service data is processed based on the rolled-back regional network point mapping relationship and the regional network point identifier in the service data to obtain the processing result of the service data processing instruction, including: Matching the target area network point identifier with the fallback area network point mapping relationship to obtain a second matching result; The business data is processed based on the second matching result and the regional network point identifier in the business data to obtain the processing result.
8. A data updating device, characterized in that: The device comprises: A first updating module, configured to update a preset regional network point mapping relationship according to the change information received for a target network point in response to obtaining an updated regional network point mapping relationship, wherein the regional network point mapping relationship represents a mapping relationship between regional network point identifiers before and after the change; A first processing module, configured to, in response to receiving a business data processing instruction for the target network point, process the business data based on the updated regional network point mapping relationship and the regional network point identifier in the business data to obtain a processing result of the business data processing instruction; and The second updating module is used for updating the regional network point identifier in the business data according to the updated regional network point mapping relationship in response to the update task being triggered, so as to obtain updated business data.
9. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.