Business information migration method, device, equipment and medium
By migrating related business information to historical forms based on its status and retention time, and combining this with an initial list of related relationships, and constructing a list of migrated related relationships, the problem of low query efficiency in existing technologies is solved, and efficient business information query is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2021-12-17
- Publication Date
- 2026-07-03
AI Technical Summary
In existing technologies, querying business information with related relationships is inconvenient, especially when order information and receipt information are linked. All receipt information must be completed before the order information can be considered complete, resulting in low query efficiency.
By determining the information to be migrated from the first business form based on the status and retention time of the business information, and determining the related second business information based on the initial relationship list, the information is migrated to the historical business form. At the same time, a migration relationship list is constructed, reducing query steps and improving query efficiency.
This allows for the simultaneous retrieval of related business information when querying historical business forms, reducing query steps and improving the efficiency and response speed of business information retrieval.
Smart Images

Figure CN114218198B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the fields of computer technology and big data technology, specifically to the field of database technology, and more specifically to a business information migration method, apparatus, device, medium, and program product. Background Technology
[0002] With the development of computing technology, business information can be stored in databases for relevant users to query or analyze. Depending on actual needs, different business information can be stored in different databases or tables, and users can query relevant business information by operating on the corresponding databases or tables.
[0003] In realizing the concept disclosed herein, the inventors found that querying related business information in related technologies is rather inconvenient. Summary of the Invention
[0004] In view of the above problems, this disclosure provides methods, apparatus, equipment, media and program products for migrating business information.
[0005] According to the first aspect of this disclosure, a business information migration method is provided, comprising:
[0006] Based on the first business status and first retention time of the first business information, the first business information that needs to be migrated is determined from the first business form to obtain the first migration business information, wherein the first business form includes at least one of the first business information.
[0007] Based on the initial association list, the second business information associated with the first migration business information is determined from the second business form to obtain the second migration business information. The initial association list records the association between the first business information and the second business information.
[0008] The aforementioned first and second migration business information will be migrated to the historical business form.
[0009] According to embodiments of this disclosure, the process of determining the first business information to be migrated from the first business form based on the first business status and first retention time of the first business information, and obtaining the first migrated business information, includes:
[0010] In the aforementioned first business form, the first business information whose first business status is "business completed" and whose first retention time is greater than or equal to the first preset retention time threshold is determined as the first business information that needs to be migrated, thus obtaining the aforementioned first migration business information.
[0011] According to embodiments of this disclosure, the above-mentioned business information migration method further includes:
[0012] Based on the preset target conditions, determine the target second business information from the aforementioned second migration business information;
[0013] According to the preset deletion rules, the first migration business information is deleted from the first business form and the target second business information is deleted from the second business form.
[0014] According to embodiments of this disclosure, the first migration service information has a first target identifier, and the target second service information has a second target identifier;
[0015] The aforementioned deletion of the first migration business information from the first business form and the deletion of the target second business information from the second business form according to the preset deletion rules include:
[0016] Based on the above initial association list, determine the first business information associated with the above target second business information from the above first business form;
[0017] The first business information associated with the aforementioned second target business information is identified as the first associated business information;
[0018] Based on the above initial association list, determine the second business information associated with the above first associated business information from the above second business form;
[0019] The second business information associated with the aforementioned first related business information is identified as the second related business information;
[0020] According to the preset update rules, the first associated business information and the second associated business information are iteratively updated to obtain the first associated business information set and the second associated business information set;
[0021] The first associated business information with a first target identifier in the aforementioned first associated business information set is determined as the first target associated business information, and the second associated business information with a second target identifier in the aforementioned second associated business information set is determined as the second target associated business information.
[0022] Delete the first migration business information that is identical to the first target-related business information from the first business form, and delete the target second business information that is identical to the second target-related business information from the second business form.
[0023] According to embodiments of this disclosure, determining the target second service information from the second migration service information according to preset target conditions includes:
[0024] The second migration business information whose second retention time is greater than or equal to the second preset retention time threshold is determined as candidate second business information;
[0025] Based on the second business status of the aforementioned candidate second business information, the aforementioned target second business information is determined.
[0026] According to embodiments of this disclosure, determining the target second service information based on the second service status of the candidate second service information includes:
[0027] Based on the above initial association list, determine the first business information associated with the above candidate second business information from the above first business form;
[0028] If the first business status of the first business information associated with the aforementioned candidate second business information is "business completed", the aforementioned candidate second business information will be determined as the aforementioned target second business information.
[0029] According to embodiments of this disclosure, the aforementioned historical business form includes: a first historical business form and a second historical business form;
[0030] The above-mentioned migration of the first and second migration business information to the historical business form includes:
[0031] Migrate the aforementioned first migration business information to the aforementioned first historical business form;
[0032] Migrate the second migration business information to the aforementioned second historical business form; and
[0033] Based on the initial relationship list mentioned above, a migration relationship list is constructed in the historical business form mentioned above, so as to record the relationship between the first migration business information and the second migration business information mentioned above through the migration relationship list.
[0034] According to embodiments of this disclosure,
[0035] The aforementioned first business information includes signed receipt information;
[0036] The aforementioned second business information includes order information.
[0037] A second aspect of this disclosure provides a business information migration apparatus, comprising:
[0038] The first determining module is used to determine the first business information to be migrated from the first business form based on the first business status and the first retention time of the first business information, and to obtain the first migration business information, wherein the first business form includes at least one of the first business information.
[0039] The association module is used to determine, based on an initial association relationship list, the second business information associated with the first migration business information from a second business form, thereby obtaining the second migration business information. The initial association relationship list records the association relationships between the first and second business information.
[0040] The migration module is used to migrate the first and second migration business information to the historical business form.
[0041] A third aspect of this disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the aforementioned business information migration method.
[0042] A fourth aspect of this disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the aforementioned business information migration method.
[0043] The fifth aspect of this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described business information migration method. Attached Figure Description
[0044] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0045] Figure 1 This illustration schematically depicts an application scenario of the business information migration method and apparatus according to embodiments of the present disclosure.
[0046] Figure 2 A flowchart illustrating a business information migration method according to an embodiment of this disclosure is shown schematically.
[0047] Figure 3 A flowchart illustrating a business information migration method according to another embodiment of this disclosure is shown schematically;
[0048] Figure 4 The illustration schematically shows a flowchart of deleting first migration business information from a first business form and deleting target second business information from a second business form according to a preset deletion rule, based on an embodiment of the present disclosure.
[0049] Figure 5 The illustration schematically depicts an application scenario diagram of deleting first migration business information from a first business form and deleting target second business information from a second business form according to a preset deletion rule based on an embodiment of the present disclosure.
[0050] Figure 6 This schematically illustrates a structural block diagram of a service information migration apparatus according to an embodiment of the present disclosure; and
[0051] Figure 7 A block diagram schematically illustrates an electronic device suitable for implementing a business information migration method according to an embodiment of the present disclosure. Detailed Implementation
[0052] The embodiments of the present disclosure will now 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 disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0053] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0054] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0055] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).
[0056] With the development of computing technology, business information can be stored in databases for relevant users to query or analyze. Completed business information can be migrated to historical data tables or databases, allowing relevant personnel to query information such as business information with a long completion time.
[0057] However, for two related business information, such as order information and delivery receipt information, the order information can only be considered complete after all related delivery receipt information has been completed (i.e., all related delivery receipts have been signed). Only after a preset time has elapsed since the order information's completion can it be migrated to the historical data table or historical database.
[0058] In realizing the concept disclosed herein, the inventors found that querying related business information in related technologies is rather inconvenient.
[0059] To address the aforementioned problems, embodiments of this disclosure provide a business information migration method, apparatus, device, medium, and program product. The business information migration method includes:
[0060] Based on the first business status and first retention time of the first business information, the first business information to be migrated is determined from the first business form to obtain the first migrated business information, wherein the first business form includes at least one piece of first business information; based on the initial association list, the second business information associated with the first migrated business information is determined from the second business form to obtain the second migrated business information, wherein the initial association list records the association relationship between the first business information and the second business information; the first migrated business information and the second migrated business information are migrated to the historical business form.
[0061] According to embodiments of this disclosure, based on the first business status and first retention time of the first business information, the first business information to be migrated is determined from the first business form to obtain the first migrated business information. Based on the initial association list, the second business information associated with the first migrated business information is determined from the second business form to obtain the second migrated business information. The first migrated business information and the second migrated business information associated with the first migrated business information can be migrated to the historical business form, so that relevant users can query the first migrated business information and obtain the second business information associated with the first migrated business information by querying the historical business form based on the business status and retention time of the business information, thereby reducing query steps and improving the query efficiency of business information.
[0062] In the technical solution disclosed herein, the acquisition, storage, and application of user personal information comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and there is no violation of public order and good morals.
[0063] In the technical solution disclosed herein, the user's authorization or consent is obtained before acquiring or collecting the user's personal information.
[0064] Figure 1The illustration shows an application scenario of the business information migration method and apparatus according to embodiments of the present disclosure.
[0065] like Figure 1 As shown, application scenario 100 according to this embodiment may include terminal devices 101, 102, and 103, network 104, and server 105. Network 104 is used as a medium to provide a communication link between terminal devices 101, 102, and 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.
[0066] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).
[0067] Terminal devices 101, 102, and 103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, and desktop computers.
[0068] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using terminal devices 101, 102, and 103 (for example only). The backend management server can analyze and process data such as received 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 devices.
[0069] It should be noted that the business information migration method provided in this embodiment can generally be executed by server 105. Correspondingly, the business information migration device provided in this embodiment can generally be located in server 105. The business information migration method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103 and / or server 105. Correspondingly, the business information migration device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with terminal devices 101, 102, 103 and / or server 105.
[0070] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0071] The following will be based on Figure 1 The described scene, through Figures 2-5 The business information migration method of the disclosed embodiments is described in detail.
[0072] Figure 2 A flowchart illustrating a business information migration method according to an embodiment of this disclosure is shown schematically.
[0073] like Figure 2 As shown, the business information migration method according to the embodiments of this disclosure includes operations S210 to S230.
[0074] In operation S210, based on the first business status and first retention time of the first business information, the first business information that needs to be migrated is determined from the first business form, and the first migration business information is obtained. The first business form includes at least one piece of first business information.
[0075] In operation S220, based on the initial association list, the second business information associated with the first migration business information is determined from the second business form to obtain the second migration business information. The initial association table records the association between the first business information and the second business information.
[0076] According to the embodiments of this disclosure, the first business information and the second business information can be two types of business information that are related. For example, the first business information may include approval form information and the second business information may include receipt information for the approval form information. However, it is not limited to this. The first business information and the second business information may also include other related business information. For example, the first business information may include receiving note information and the second business information may include order information. The embodiments of this disclosure do not limit the first business information and the second business information.
[0077] It should be noted that the same primary business information can be associated with multiple secondary business information, and the same secondary business information can also be associated with multiple primary business information. For example, if the primary business information is a receipt information and the secondary business information is an order information, the same receipt information can be associated with multiple order information, and the same order information can be associated with multiple receipt information.
[0078] According to embodiments of this disclosure, the first service state can be the service state of the first service information. The service state can include information describing the service information. For example, the first service state can include service not generated, service completed, service running, etc.
[0079] According to embodiments of this disclosure, the first retention period may include the duration for which the first business information is retained in the first business form after it is generated.
[0080] In operation S230, the first migration business information and the second migration business information are migrated to the historical business form.
[0081] According to embodiments of this disclosure, the historical business form can be a form used to store first migration business information and second migration business information. Relevant users can obtain query results including the first migration business information and the second migration business information through query operations on the historical business form.
[0082] It should be noted that historical business forms can be stored in the same database as the first business form and the second business form, or they can be stored in different databases. The embodiments disclosed herein do not limit the specific storage location and storage format of historical business forms.
[0083] According to embodiments of this disclosure, based on the first business status and first retention time of the first business information, the first business information to be migrated is determined from the first business form, resulting in the first migrated business information. Based on the initial association list, the second business information associated with the first migrated business information is determined from the second business form, resulting in the second migrated business information. The first migrated business information and the second migrated business information associated with it can be migrated to the historical business form. This allows relevant users to query the first migrated business information and obtain the second business information associated with it by querying the historical business form based on the business status and retention time of the business information. This avoids having to query two types of related business information separately in different business forms, reducing query steps and improving the efficiency of business information query.
[0084] According to an embodiment of this disclosure, in operation S210, based on the first service status and first retention time of the first service information, the first service information to be migrated is determined from the first service form, and the first migrated service information includes:
[0085] In the first business form, the first business information whose first business status is "business completed" and whose first retention time is greater than or equal to the first preset retention time threshold is determined as the first business information that needs to be migrated, and the first migration business information is obtained.
[0086] According to embodiments of this disclosure, the first preset retention period threshold can be set according to actual needs, such as including 1 year, 1 month, etc. Embodiments of this disclosure do not limit the specific length of the first preset retention period.
[0087] According to the embodiments of this disclosure, when the first business status of the first business information is business completed and the first retention time is greater than or equal to the first preset retention time threshold, the frequency of querying the first business information may decrease. Therefore, determining the first business information as the first business information that needs to be migrated can avoid the first business information being unable to be classified and stored, resulting in a large number of business information after querying, thereby avoiding affecting the efficiency of querying.
[0088] According to embodiments of this disclosure, the historical business form may include: a first historical business form and a second historical business form.
[0089] Operation S230, which migrates the first migration business information and the second migration business information to the historical business form, may include the following operations.
[0090] The first migration business information is migrated to the first historical business form; the second migration business information is migrated to the second historical business form; and a migration relationship list is constructed in the historical business form based on the initial relationship list, so as to record the relationship between the first migration business information and the second migration business information through the migration relationship list.
[0091] According to the embodiments of this disclosure, the first migration business information is migrated to the first historical business form, and the second migration business information is migrated to the second historical business form. The two types of business information migrated to the historical business forms can be stored separately, so that relevant users can query the historical business forms that store the corresponding categories of business information, thereby facilitating users to perform categorized queries based on the categories of business information.
[0092] According to embodiments of this disclosure, by constructing a migration association list in historical business forms to record the association between first and second migration business information in the historical business forms, it is possible to obtain the first migration business information and the second migration business information associated with it simultaneously in the first historical business form. Similarly, it is possible to obtain the second migration business information and the first migration business information associated with it simultaneously in the second historical business form. This allows for the querying of one type of business information while quickly obtaining another type of business information associated with it, thereby comprehensively improving the overall versatility of the query results.
[0093] Meanwhile, a migration relationship list is built in the historical business forms to record the relationship between the first and second migration business information in the historical business forms. Compared with using the initial relationship list, this can improve the response speed of related queries and further improve query efficiency.
[0094] According to embodiments of this disclosure, the first business information may include receipt information, and the second business information may include order information.
[0095] It should be understood that a single order can contain multiple goods, which can be signed for at different times and / or locations, generating multiple separate delivery receipts. This single order can be associated with these multiple delivery receipts. Furthermore, a single delivery receipt can record the receipt of multiple goods, and these goods can be generated from different order information, thus allowing the same delivery receipt to be associated with multiple order information.
[0096] Figure 3 A flowchart illustrating a business information migration method according to another embodiment of this disclosure is shown schematically.
[0097] like Figure 3 As shown, the business information migration method according to the embodiments of this disclosure may further include operations S310 to S320.
[0098] In operation S310, the target second business information is determined from the second migration business information according to the preset target conditions.
[0099] In operation S320, according to the preset deletion rules, the first migration business information is deleted from the first business form, and the target second business information is deleted from the second business form.
[0100] According to embodiments of this disclosure, the preset target conditions can be determined based on the business status of the second migration business information, or based on the retention time of the second migration business information, or the preset target rules can be determined by comprehensively considering the business status and retention time of the second migration business information.
[0101] According to embodiments of this disclosure, after the first migration business information and the second migration business information are migrated to the historical business form, the first migration business information is deleted from the first business form and the target second business information is deleted from the second business form according to preset deletion rules. This reduces redundancy in the business information in the first and second business forms, thereby saving storage space. Furthermore, deleting the first and second migration business information prevents queries targeting the first or second business form from displaying results for either the first or second migration business information, thus avoiding confusion for relevant users and improving query efficiency.
[0102] According to an embodiment of this disclosure, operation S310, determining the target second service information from the second migration service information according to preset target conditions, may include the following operations.
[0103] Second migration business information whose second retention time is greater than or equal to the second preset retention time threshold is identified as candidate second business information; target second business information is determined based on the second business status of the candidate second business information.
[0104] According to embodiments of this disclosure, the second retention period may include the duration for which the second business information is retained in the second business form after it has been generated. The second business status may include a business status used to characterize the second business information, such as not generated, business completed, or business in progress.
[0105] If the second retention period of the second migration service information is greater than or equal to the second retention period, the second migration service information can be identified as candidate second service information. Determining the target second service information based on the second service status of the candidate second service information may include identifying candidate second service information with a second service status of "service completed" as the target second service information.
[0106] It should be noted that the first preset retention time threshold and the second preset retention time threshold can be the same or different, and those skilled in the art can design them according to actual needs.
[0107] According to embodiments of this disclosure, the second migration business information is associated with the first migration business information. After migrating the second migration business information to the historical business form, the second migration business information with an excessively long retention time is identified as candidate second business information, and the candidate second business information with a second business status of "business completed" is identified as target second business information. This allows the second migration business information with a long retention time and a business status of "business completed" to be deleted from the second business form, thereby avoiding the simultaneous storage of target second business information in the second business form and the historical business form. This reduces information redundancy in the second business form and also prevents the target second business information from appearing in the query results for the second business form, thus avoiding confusion caused by information redundancy and improving query efficiency.
[0108] According to embodiments of this disclosure, determining the target second service information based on the second service status of the candidate second service information may include operations such as...
[0109] Based on the initial association list, determine the first business information associated with the candidate second business information from the first business form; if the first business status of the first business information associated with the candidate second business information is business completed, determine the candidate second business information as the target second business information.
[0110] According to embodiments of this disclosure, the second business status of candidate second business information can be determined by the first business status of the first business information associated with the candidate second business information. For example, if the first business information is a receipt information and the candidate second business information is an order information, the second business status of the order information can be determined by the first business status of the receipt information associated with the order information. If the first business status of the receipt information associated with the order information is "business completed," then the second business status of the order information can be determined to be "business completed."
[0111] According to embodiments of this disclosure, the first migration service information may have a first target identifier, and the target second service information may have a second target identifier.
[0112] Figure 4 The illustration schematically shows a flowchart of deleting first migration business information from a first business form and deleting target second business information from a second business form according to a preset deletion rule, based on an embodiment of the present disclosure.
[0113] like Figure 4 As shown, operation S320, which deletes the first migration business information from the first business form and the target second business information from the second business form according to the preset deletion rules, may include operations S401 to S407.
[0114] In operation S401, based on the initial association list, the first business information associated with the target second business information is determined from the first business form.
[0115] In operation S402, the first business information associated with the target second business information is determined as the first associated business information.
[0116] In operation S403, based on the initial association list, the second business information associated with the first associated business information is determined from the second business form.
[0117] In operation S404, the second business information associated with the first associated business information is identified as the second associated business information.
[0118] In operation S405, the first associated business information and the second associated business information are iteratively updated according to the preset update rules to obtain the first associated business information set and the second associated business information set.
[0119] In operation S406, the first associated business information with a first target identifier in the first associated business information set is determined as the first target associated business information, and the second associated business information with a second target identifier in the second associated business information set is determined as the second target associated business information.
[0120] In operation S407, first migration business information that is identical to the first target associated business information is deleted from the first business form, and target second business information that is identical to the second target associated business information is deleted from the second business form.
[0121] Figure 5 The illustration schematically depicts an application scenario diagram in which first migration business information is deleted from a first business form and target second business information is deleted from a second business form according to a preset deletion rule, based on an embodiment of the present disclosure.
[0122] like Figure 5 As shown, in operation S510, a start operation can be performed. Then, operation S520 is performed. In operation S520, a target second business information with a second target identifier is queried from the second business form. The target second business information can be the second business information queried from the second business form.
[0123] In operation S530, the name of the newly added second business information is written to the second name list. After the name of the newly added second business information is written to the second name list, the length of the second name list will increase.
[0124] In operation S540, it is determined whether the length of the second name list has increased. If the result is yes, operation S550 can be executed.
[0125] In operation S550, the first business information associated with the newly added second business information in the second name list is retrieved from the first business form to obtain the first associated business information.
[0126] When operating S560, the name of the first business information retrieved is written into the first name list.
[0127] In operation S570, it is determined whether the length of the first name list has increased. If the result is yes, operation S580 can be executed.
[0128] In operation S580, the second business information associated with the first related business information is queried from the second business form to obtain the second related business information. Then, operation S530 can be executed repeatedly to iteratively update the first and second related business information.
[0129] Until the judgment result of operation S540 is negative, that is, the length of the second name list does not increase, and the judgment result of lake comprehensive operation S570 is negative, that is, the length of the first name list does not increase, operation S590 can be executed to end the operation.
[0130] The names of the first business information in the first name list can be used to represent the first set of associated business information, and the names of the second business information in the second name list can be used to represent the second set of associated business information. Based on the first name list and the second name list, the first set of associated business information and the second set of associated business information can be obtained.
[0131] Then, the first associated business information with a first target identifier in the first associated business information set is identified as the first target associated business information, and the second associated business information with a second target identifier in the second associated business information set is identified as the second target associated business information. First migration business information identical to the first target associated business information is deleted from the first business form, and target second business information identical to the second target associated business information is deleted from the second business form.
[0132] Based on the above-described business information migration method, this disclosure also provides a business information migration apparatus. The following will be combined with... Figure 6 The device is described in detail.
[0133] Figure 6 A schematic block diagram of a service information migration apparatus according to an embodiment of the present disclosure is shown.
[0134] like Figure 6 As shown, the business information migration device 600 of this embodiment includes a first determining module 610, an association module 620, and a migration module 630.
[0135] The first determining module 610 is used to determine the first business information to be migrated from the first business form based on the first business status and the first retention time of the first business information, and obtain the first migration business information, wherein the first business form includes at least one piece of first business information.
[0136] The association module 620 is used to determine the second business information associated with the first migration business information from the second business form based on the initial association relationship list, and obtain the second migration business information. The initial association relationship table records the association relationship between the first business information and the second business information.
[0137] The migration module 630 is used to migrate the first migration business information and the second migration business information to the historical business form.
[0138] According to embodiments of this disclosure, the first determining module may include: a first determining unit.
[0139] The first determining unit is used to determine, in the first business form, the first business information whose first business status is business completed and whose first retention time is greater than or equal to the first preset retention time threshold as the first business information to be migrated, and obtain the first migrated business information.
[0140] According to embodiments of this disclosure, the business information migration apparatus may further include: a second determining module and a deletion module.
[0141] The second determination module is used to determine the target second business information from the second migration business information according to preset target conditions.
[0142] The deletion module is used to delete first migration business information from the first business form and target second business information from the second business form according to preset deletion rules.
[0143] According to embodiments of this disclosure, the first migration service information has a first target identifier, and the target second service information has a second target identifier.
[0144] The deletion module may include: a first association unit, a first association service determination unit, a second association unit, a second association service determination unit, an update unit, a target service determination unit, and a deletion unit.
[0145] The first association unit is used to determine the first business information associated with the target second business information from the first business form based on the initial association relationship list;
[0146] The first associated business determination unit is used to determine the first business information associated with the target second business information as the first associated business information.
[0147] The second association unit is used to determine the second business information associated with the first associated business information from the second business form based on the initial association relationship list.
[0148] The second associated business determination unit is used to determine the second business information associated with the first associated business information as the second associated business information.
[0149] The update unit is used to iteratively update the first associated business information and the second associated business information according to the preset update rules, so as to obtain the first associated business information set and the second associated business information set.
[0150] The target business determination unit is used to determine the first associated business information with a first target identifier in the first associated business information set as the first target associated business information, and to determine the second associated business information with a second target identifier in the second associated business information set as the second target associated business information.
[0151] The deletion unit is used to delete first migration business information that is the same as the business information associated with the first target from the first business form, and to delete target second business information that is the same as the business information associated with the second target from the second business form.
[0152] According to embodiments of this disclosure, the second determining module may include: a candidate determining unit and a second determining unit.
[0153] The candidate determination unit is used to determine the second migration business information whose second retention time is greater than or equal to the second preset retention time threshold as candidate second business information.
[0154] The second determining unit is used to determine the target second service information based on the second service status of the candidate second service information.
[0155] According to embodiments of this disclosure, the second determining unit may include: a first determining subunit and a second determining subunit.
[0156] The first determining subunit is used to determine the first business information associated with the candidate second business information from the first business form based on the initial association relationship list.
[0157] The second determining subunit is used to determine the candidate second service information as the target second service information when the first service status of the first service information associated with the candidate second service information is service completion.
[0158] According to embodiments of this disclosure, the historical business form includes: a first historical business form and a second historical business form.
[0159] The migration module may include: a first migration unit, a second migration unit, and a construction unit.
[0160] The first migration unit is used to migrate the first migration business information to the first historical business form.
[0161] The second migration unit is used to migrate the second migration business information to the second historical business form.
[0162] The construction unit is used to build a migration relationship list in the historical business form based on the initial relationship list, so as to record the relationship between the first migration business information and the second migration business information through the migration relationship list.
[0163] According to embodiments of this disclosure,
[0164] The first business information includes the signed receipt information;
[0165] The second type of business information includes order information.
[0166] According to embodiments of this disclosure, any plurality of modules among the first determining module 610, the associating module 620, and the migrating module 630 can be merged into one module, or any one of these modules can be split into multiple modules. Alternatively, at least a portion of the functionality of one or more of these modules can be combined with at least a portion of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the first determining module 610, the associating module 620, and the migrating module 630 can be at least partially implemented as hardware circuitry, 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-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuitry, or implemented in any one of software, hardware, and firmware methods, or in a suitable combination of any of these. Alternatively, at least one of the first determining module 610, the associating module 620, and the migrating module 630 can be at least partially implemented as a computer program module, which, when run, can perform corresponding functions.
[0167] Figure 7 A block diagram schematically illustrates an electronic device suitable for implementing a business information migration method according to an embodiment of the present disclosure.
[0168] like Figure 7 As shown, an 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 portion 708 into a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include 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.
[0169] RAM 703 stores various programs and data required for the operation of electronic device 700. Processor 701, ROM 702, and RAM 703 are interconnected via bus 704. Processor 701 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 702 and / or RAM 703. It should be noted that the programs may also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0170] According to embodiments of this disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to a bus 704. The electronic device 700 may also include one or more of the following components connected to the I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN card, modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 710 as needed so that computer programs read from it can be installed into the storage section 708 as needed.
[0171] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0172] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 702 and / or RAM 703 and / or one or more memories other than ROM 702 and RAM 703 described above.
[0173] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code enables the computer system to implement the business information migration method provided in the embodiments of this disclosure.
[0174] When the computer program is executed by the processor 701, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0175] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 709, and / or installed from a removable medium 711. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0176] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0177] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as J... ava The program can be written in C++, Python, C, or a similar programming language. The program code can execute entirely on the user's computing device, partially on the user's computing device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0178] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0179] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0180] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. A method for migrating business information, comprising: In the first business form, the first business information with the first business status being "business completed" and the first retention time being greater than or equal to the first preset retention time threshold is determined to be the first business information that needs to be migrated, and the first migrated business information is obtained. The first business form includes at least one piece of the first business information, and the first business information has the first business status and the first retention time. Based on the initial association list, second business information associated with the first migration business information is determined from the second business form to obtain the second migration business information. The initial association list records the association between the first business information and the second business information. The first business information includes approval form information, and the second business information includes receipt information for the approval form information; or, the first business information includes receiving order information, and the second business information includes order information. Migrate the first and second migration business information to the historical business form; In response to a query operation on the historical business form, a query result including the first migration business information and the second migration business information is obtained; The method further includes: The second migration business information whose second retention time is greater than or equal to the second preset retention time threshold is determined as candidate second business information; Based on the second service status of the candidate second service information, the target second service information is determined; According to the preset deletion rules, the first migration business information is deleted from the first business form, and the target second business information is deleted from the second business form; Wherein, the first migration service information has a first target identifier, and the target second service information has a second target identifier; The step of deleting the first migration service information from the first service form and the target second service information from the second service form according to the preset deletion rules includes: Based on the initial association list, determine the first business information associated with the target second business information from the first business form; The first business information associated with the target second business information is determined as the first associated business information; Based on the initial association list, determine the second business information associated with the first associated business information from the second business form; The second business information associated with the first associated business information is identified as the second associated business information; According to the preset update rules, the first associated business information and the second associated business information are iteratively updated to obtain a first associated business information set and a second associated business information set. The name of the first business information in the first name list is used to represent the first associated business information set, and the name of the second business information in the second name list is used to represent the second associated business information set. When the lengths of the first name list and the second name list do not increase, the first associated business information with the first target identifier in the first associated business information set is determined as the first target associated business information, and the second associated business information with the second target identifier in the second associated business information set is determined as the second target associated business information. Delete the first migration business information that is identical to the first target associated business information from the first business form, and delete the target second business information that is identical to the second target associated business information from the second business form.
2. The method according to claim 1, wherein, The step of determining the target second service information based on the second service status of the candidate second service information includes: Based on the initial association list, determine the first business information associated with the candidate second business information from the first business form; If the first service status of the first service information associated with the candidate second service information is "service completed", the candidate second service information is determined as the target second service information.
3. The method according to claim 1, wherein, The historical business forms include: a first historical business form and a second historical business form; The step of migrating the first migration service information and the second migration service information to the historical service form includes: Migrate the first migration service information to the first historical service form; Migrate the second migration business information to the second historical business form; and Based on the initial association list, a migration association list is constructed in the historical business form so as to record the association between the first migration business information and the second migration business information through the migration association list.
4. The method according to claim 1, wherein, The first business information includes the signed receipt information; The second type of business information includes order information.
5. A business information migration device, comprising: The first determining module is used to determine the first business information to be migrated from the first business form based on the first business status and the first retention time of the first business information, and to obtain the first migration business information, wherein the first business form includes at least one piece of the first business information. The association module is used to determine, based on an initial association relationship list, second business information associated with the first migration business information from a second business form, thereby obtaining the second migration business information. The initial association relationship list records the association relationships between the first business information and the second business information. The first business information includes approval form information, and the second business information includes receipt information for the approval form information; or, the first business information includes receiving slip information, and the second business information includes order information; and The migration module is used to migrate the first migration business information and the second migration business information to the historical business form; The first determining module is further configured as follows: In the first business form, the first business information whose first business status is "business completed" and whose first retention time is greater than or equal to the first preset retention time threshold is determined to be the first business information that needs to be migrated, and the first migrated business information is obtained. The first business information has the first business status and the first retention time. The business information migration device is further configured as follows: In response to a query operation on the historical business form, a query result including the first migration business information and the second migration business information is obtained; The second migration business information whose second retention time is greater than or equal to the second preset retention time threshold is determined as candidate second business information; Based on the second service status of the candidate second service information, the target second service information is determined; According to the preset deletion rules, the first migration business information is deleted from the first business form, and the target second business information is deleted from the second business form; Wherein, the first migration service information has a first target identifier, and the target second service information has a second target identifier; The business information migration device is further configured as follows: Based on the initial association list, determine the first business information associated with the target second business information from the first business form; The first business information associated with the target second business information is determined as the first associated business information; Based on the initial association list, determine the second business information associated with the first associated business information from the second business form; The second business information associated with the first associated business information is identified as the second associated business information; According to the preset update rules, the first associated business information and the second associated business information are iteratively updated to obtain a first associated business information set and a second associated business information set. The name of the first business information in the first name list is used to represent the first associated business information set, and the name of the second business information in the second name list is used to represent the second associated business information set. When the lengths of the first name list and the second name list do not increase, the first associated business information with the first target identifier in the first associated business information set is determined as the first target associated business information, and the second associated business information with the second target identifier in the second associated business information set is determined as the second target associated business information. Delete the first migration business information that is identical to the first target associated business information from the first business form, and delete the target second business information that is identical to the second target associated business information from the second business form.
6. An electronic device, comprising: One or more processors; Storage device for storing one or more programs. Wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 4.
8. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 4.