A method, apparatus and equipment for business data consistency detection
By generating simulated pages and identifying business data, the complexity and accuracy issues of business data consistency detection in existing technologies have been resolved, enabling convenient and efficient business data consistency detection and ensuring the integrity and consistency of business data.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2026-04-03
AI Technical Summary
In existing technologies, business data consistency detection is complex and prone to omissions, which cannot guarantee the integrity and accuracy of business data and affect the accuracy of business data consistency detection.
By acquiring historical business data processed by users in the target application, a simulated page is generated using the target application's simulation program, and the target business data in the business page is identified to generate consistency detection results, thus avoiding the need to formulate consistency verification rules for each system.
It improves the convenience and accuracy of business data consistency detection, ensures the consistency of business data viewed by users, and guarantees the consistency of business data in customer presentation at each stage of processing.
Smart Images

Figure CN116541626B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus and equipment for business data consistency detection. Background Technology
[0002] With the rapid development of software technology, users are increasingly utilizing it to handle various services offered by service providers, enabling them to conveniently and quickly access the services they need. For example, users can order goods through e-commerce applications, easily purchasing various products they require; or they can perform data analysis through data analytics applications, conveniently obtaining the data analysis results they need. Currently, service providers typically rely on expert experience to develop corresponding consistency verification rules for the business data generated by the various systems involved in the business process. This ensures the consistency of relevant business data across different systems and guarantees the normal operation of the business.
[0003] Therefore, improving the accuracy and convenience of consistency testing for business data has become an urgent technical problem to be solved. Summary of the Invention
[0004] The embodiments of this specification provide a business data consistency detection method, apparatus, and device, which can improve the accuracy and convenience of performing consistency detection on business data.
[0005] To solve the above-mentioned technical problems, the embodiments in this specification are implemented as follows:
[0006] This specification provides an embodiment of a business data consistency detection method, including:
[0007] Obtain historical business data of the target business processed by the user in the target application;
[0008] Using the simulation program of the target application, based on the historical business data, generate a simulated page of the business page related to the target business that needs to be displayed to the user;
[0009] The target business data is obtained by identifying the business data displayed in the simulated page of the business page.
[0010] Based on the target business data, generate consistency detection results for the relevant business data for the target business.
[0011] This specification provides an embodiment of a business data consistency detection device, comprising:
[0012] The first acquisition module is used to acquire historical business data of the target business handled by the user in the target application.
[0013] The simulated page generation module is used to generate a simulated page of the business page related to the target business that needs to be displayed to the user, based on the historical business data, using the simulation program of the target application.
[0014] The target business data identification module is used to identify the business data displayed in the simulated page of the business page to obtain the target business data.
[0015] The consistency detection module is used to generate consistency detection results for relevant business data related to the target business based on the target business data.
[0016] This specification provides an embodiment of a business data consistency detection device, comprising:
[0017] At least one processor; and,
[0018] A memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0020] Obtain historical business data of the target business processed by the user in the target application;
[0021] Using the simulation program of the target application, based on the historical business data, generate a simulated page of the business page related to the target business that needs to be displayed to the user;
[0022] The target business data is obtained by identifying the business data displayed in the simulated page of the business page.
[0023] Based on the target business data, generate consistency detection results for the relevant business data for the target business.
[0024] At least one embodiment provided in this specification can achieve the following beneficial effects:
[0025] Based on historical business data of the target business processed by the user at the target application, a simulated business page related to the target business that needs to be displayed to the user at the target application is generated, and the target business data displayed in the simulated business page is identified. Since this target business data is the business data related to the target business to be presented to the user, when generating consistency detection results for related business data based on this target business data, it is not necessary to focus on the source systems of each target business data. This avoids the need to formulate corresponding consistency verification rules for business data generated from each system involved in business processing, which improves the convenience of consistency detection for business data. Furthermore, it can also verify the consistency of the business data related to the target business that the user can view, to determine the consistency of the customer representation of business data generated at each stage of business processing, thereby improving the accuracy and comprehensiveness of consistency detection for business data. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a schematic diagram illustrating an application scenario of a business data consistency detection method provided in the embodiments of this specification.
[0028] Figure 2 A flowchart illustrating a business data consistency detection method provided in the embodiments of this specification;
[0029] Figure 3 A schematic diagram of a simulated business page provided in the embodiments of this specification;
[0030] Figure 4 The embodiments provided in this specification correspond to Figure 2 A swimlane flowchart illustrating the business data consistency detection method in the document;
[0031] Figure 5 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the structure of a business data consistency detection device;
[0032] Figure 6 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the structure of a business data consistency detection device. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of them. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of one or more embodiments of this specification.
[0034] The technical solutions provided in the various embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0035] In existing technologies, when users conduct business on the application client side, they may typically be involved in multiple related business systems on the application server side. Currently, business providers usually need to rely on expert experience to analyze the working principles of each business system, and then write corresponding consistency detection rules for the interface responses and database changes of each business system, so as to use these consistency detection rules to perform consistency checks on the relevant business data in each business system.
[0036] This consistency detection scheme is not only complex to operate but also prone to omissions, thus failing to guarantee the completeness of the business data covered by the consistency detection. Furthermore, even if the detection results indicate consistency of relevant business data across different business systems, the logic of the application client cannot guarantee that the business data viewed by the user during the business process is also consistent, affecting the accuracy of the consistency detection for business data.
[0037] To address the shortcomings of existing technologies, this solution provides the following embodiments:
[0038] Figure 1 This is a schematic diagram illustrating an application scenario of a business data consistency detection method provided in the embodiments of this specification.
[0039] like Figure 1As shown, the device 101 equipped with the target application can interact with the server 102 of the target application, allowing the user to use the target application on the device 101 to handle the target business. After the user handles the target business, if it is necessary to perform consistency checks on the business data related to the target business in various business systems at the server 102 of the target application, the system 103 at the server 102 of the target application used for consistency checks can be used to obtain the historical business data of the target business handled by the user at the target application; by using the simulation program of the target application, based on the historical business data, a simulated page of the business page related to the target business that needs to be displayed to the user can be generated; by identifying the business data displayed on the simulated page of the business page, the target business data can be obtained; subsequently, a consistency check result for the relevant business data of the target business can be generated based on the target business data.
[0040] This solution eliminates the need to focus on the source systems of each target business data, thus avoiding the need to formulate corresponding consistency verification rules for business data generated by various business systems involved in business processing. This improves the convenience of consistency testing for business data. Furthermore, it can verify the consistency of target business data related to the target business that users can view, thereby determining the consistency of the business data generated in each business processing stage in terms of customer representation. This also helps to improve the accuracy and comprehensiveness of consistency testing for business data.
[0041] Next, a business data consistency detection method provided in the embodiments of the specification will be described in detail with reference to the accompanying drawings:
[0042] Figure 2 This is a flowchart illustrating a business data consistency detection method provided in an embodiment of this specification. From a programming perspective, the executing entity of this process can be a system used for consistency detection (hereinafter referred to as a "consistency detection system"), or an application program mounted on the consistency detection system. Figure 2 As shown, the process may include the following steps:
[0043] Step 202: Obtain historical business data of the target business processed by the user in the target application.
[0044] In the embodiments described in this specification, the target application is typically an application client provided by the application provider to various users for handling target services. During the process of a user handling a target service, various business systems on the server side of the target application (hereinafter referred to as the "application server") typically generate and store data related to the target service handled by the user. Subsequently, when performing consistency checks on the relevant business data of the target service, the data related to the target service handled by the user stored in these business systems can be used as historical business data of the target service.
[0045] In the embodiments of this specification, there can be multiple types of target services, and the types of target services are usually related to the types of target applications. Furthermore, the types of historical business data involved in different types of target services typically differ, and no specific limitations are made in this regard. For example, if the target application is a payment application, the target service can be a payment service or a refund service, etc., and the historical business data of the target service may include account information or identification information of both parties to the transaction, transaction amount information, transaction time information, etc. If the target application is an e-commerce application, the target service can be a shopping service or a return service, etc., and the historical business data of the target service may include account information or identification information of both parties to the transaction, transaction product information, transaction amount information, transaction time information, etc., and no specific limitations are made in this regard.
[0046] Step 204: Using the simulation program of the target application, based on the historical business data, generate a simulated page of the business page related to the target business that needs to be displayed to the user.
[0047] In the embodiments of this specification, when performing consistency checks on relevant business data for a target business, it is necessary to check both the consistency of historical business data of the target business across various business systems and the consistency of historical business data of the target business displayed to the customer. Therefore, historical business data related to the target business processed by the user in various business systems can be used to recover the business page related to the target business to be displayed to the user, and consistency checks can be performed on the business data displayed on the recovered business page to generate a consistency check result that satisfies both of the above requirements.
[0048] In the embodiments of this specification, the simulation program of the target application can be a program used to simulate the actual operation of the target application; and the business page related to the target business to be displayed to the user is usually a business page set in the target application. Furthermore, the historical business data of the target business usually contains the relevant business data to be displayed on the aforementioned business page. Therefore, the simulation program of the target application can be used to generate a simulation page of the business page related to the target business to be displayed to the user based on the historical business data of the target business.
[0049] In practical applications, the business pages related to the target business that need to be displayed to users may include, but are not limited to: business pages that users need to operate during the business processing process and business pages that display the relevant business processing results of the target business processed by the user. Among them, the business pages that users need to operate during the business processing process are usually business pages that have been previously displayed to users. However, since users may or may not view the relevant business processing results, the business pages that display the relevant business processing results of the target business processed by the user may be business pages that have been previously displayed to users or business pages that have not been displayed to users, without specific limitations.
[0050] To facilitate understanding, examples are provided below. For instance, if the target application is a payment application and the target business is payment, the business pages related to the target business that need to be displayed to the user may include, but are not limited to: virtual cashier pages, payment result display pages, and bill details pages. Conversely, if the target application is an e-commerce application and the target business is shopping, the business pages related to the target business that need to be displayed to the user may include, but are not limited to: product display pages, order confirmation pages, and historical order details pages; no specific limitations are imposed on these.
[0051] Step 206: Identify the business data displayed in the simulated page of the business page to obtain the target business data.
[0052] In this embodiment, since both the business page related to the target business to be displayed to the user and the simulated page of the business page are generated based on historical business data of the target business, they are usually consistent. For example, the content, display position, and display effect of the business data displayed on both will be consistent. Therefore, when it is necessary to verify the consistency of the target business's related business data in its presentation to the customer, a consistency check can be performed on the business data displayed in the simulated page of the business page. Based on this, it is necessary to identify the target business data displayed in the simulated page of the business page.
[0053] Step 208: Based on the target business data, generate consistency detection results for the relevant business data of the target business.
[0054] In the embodiments of this specification, there are multiple ways to generate consistency detection results for relevant business data for the target business based on the target business data. For example, the consistency of the target business data displayed in the simulated pages of each business page can be compared to verify whether the business data that the user can view at each stage of the business process is consistent; or, the consistency of the target business data displayed in the simulated pages of each business page with the relevant business data stored on the application server can be compared to verify whether the business data that the user can view during the business process is consistent with the business data generated on the application server; these will be explained in detail later and will not be elaborated here.
[0055] Figure 2 The method described above generates a simulated business page related to the target business that the user needs to display to the user at the target application based on the user's historical business data for the target business processed at the target application. It then identifies the target business data displayed in the simulated business page and generates consistency detection results for the relevant business data for the target business. This eliminates the need to focus on the source system of each target business data, thus avoiding the need to formulate corresponding consistency verification rules for business data generated by each system involved in the business processing. This improves the convenience of consistency detection for business data. Furthermore, it can also verify the consistency of the business data related to the target business that the user can view, to determine the consistency of the business data generated at each stage of the business processing in terms of its presentation to the customer. This also helps to improve the accuracy and comprehensiveness of consistency detection for business data.
[0056] based on Figure 2 In addition to the method described in the embodiments of this specification, some specific implementation schemes of the method are also provided, which will be described below.
[0057] In the embodiments of this specification, the target application and / or application server usually assign unique identification information to each target service handled by each user, so as to accurately distinguish and process each target service handled by each user. Based on this, the unique identification information of the target service handled by the user can be used to perform consistency detection on the target service.
[0058] Specifically, before step 202: obtaining historical transaction data of the target business processed by the user in the target application, it may also include:
[0059] An instruction is obtained to perform a consistency check on the relevant business data of the target business processed by the user at the target application; the instruction carries the unique business identifier information of the target business processed by the user.
[0060] Correspondingly, step 202: Obtain historical business data of the target business processed by the user in the target application, which may specifically include:
[0061] Obtain a data set that corresponds to the unique identifier information of the business from the server of the target application.
[0062] Based on the data set that corresponds to the unique identifier of the business, a set of page data related to the target business that needs to be displayed to the user is generated.
[0063] In the embodiments described in this specification, the server-side of the target application may be equipped with a system for performing consistency checks, as well as various business systems for processing the target business. In practical applications, the consistency check system and the various business systems may be different systems, or the consistency check system may include one or more business systems, thereby utilizing the business systems to build the consistency check system; no specific limitation is made in this regard.
[0064] In the embodiments of this specification, to facilitate the consistency detection system in identifying the business for which consistency detection results are required, the consistency detection system can obtain a unique identifier information of the target business handled by the user and use it to instruct the system to perform consistency detection. In practical applications, this instruction can be entered by the service provider's staff into the consistency detection system, or it can be automatically generated by the consistency detection system based on pre-set consistency detection configuration information; no specific limitation is made in this regard. The consistency detection configuration information can include the conditions that the business to be subject to consistency detection must meet, such as the business belonging to a specified type, the user handling the business being a specified user, and the business handling time being within a specified time range; in addition, the consistency detection configuration information can also include the start conditions of the consistency detection process, such as reaching a preset start time, or the business handling process progressing to a preset stage; no specific limitation is made in this regard either.
[0065] In the embodiments described in this specification, the server of the target application typically stores the relevant business data of each user's various transactions and the correspondence between the unique business identifiers of each transaction. Based on this, when it is necessary to perform consistency checks on the target transactions of a user, a data set corresponding to the unique business identifiers of the user's target transactions can be obtained from the server of the target application according to the above correspondence. In practical applications, the meaning of the unique business identifiers for different types of transactions may differ. For example, when the target transaction is a payment transaction, the unique business identifier may be a payment order number; when the target transaction is a return transaction, the unique business identifier may be a return order number, etc. No specific limitations are imposed on this.
[0066] Since the business pages related to the target business can be determined based on the data in the data set that corresponds to the unique business identifier information of the target business, and since it is also necessary to generate simulated pages for each of these business pages, the various page data sets required for generating the simulated pages can be determined from this data set. This allows the simulation program of the target application to generate the simulated pages for each of the business pages quickly and easily.
[0067] In the embodiments of this specification, since the data with corresponding relationships between the unique business identifier information related to the target business at the server of the target application can generally include two main categories, one is the relevant log data in the log database, and the other is the relevant business data in the business database, an implementation method is given for generating the page data set of the business page related to the target business to be displayed to the user based on the above two types of data.
[0068] Implementation Method 1
[0069] The step of obtaining the data set corresponding to the unique business identifier information from the server of the target application may specifically include:
[0070] Obtain a set of log data that corresponds to the unique identifier information of the business from the log database of the target application's server.
[0071] The step of generating a page data set related to the target business and required to be displayed to the user, based on a data set that corresponds to the unique identifier information of the business, may specifically include:
[0072] Based on the first page identifier information carried in the log data in the log data set, the first business page related to the target business that was previously displayed to the user is determined.
[0073] For any of the first business pages, extract the preset types of business data that need to be checked for consistency from the log data carrying the first page identifier information corresponding to the first business page, and obtain the page data set of the first business page.
[0074] In this embodiment, the log data stored in the log database at the server-side of the target application can be server logs. These logs are automatically created and maintained by various business systems at the server-side to record their activities. For example, the log data may include historical records of page data retrieval requests and corresponding responses sent by the target application's clients for specific business pages. In practical applications, each business page at the target application typically has corresponding page identification information, allowing the log data to include page identification information of business pages related to the target business that have been displayed to the user. Based on this, log data from the target application's server-side that corresponds to the unique business identification information of the target business handled by the user can be obtained first, and the business page corresponding to the first page identification information carried in this log data can be used as the first business page related to the target business that has been displayed to the user, which is convenient and quick.
[0075] In addition, since these log data typically contain at least some business data from the first business page that was previously displayed to the user, and often only consistency checks are required for a preset type of business data, the preset type of business data requiring consistency checks can be extracted from these log data as the page data set for the first business page. Of course, business data in these log data that needs to be displayed on the first business page but does not require consistency checks can also be included in the page data set for the first business page; this is not specifically limited. The preset type of business data requiring consistency checks can be set according to actual needs and is not specifically limited thereto.
[0076] Implementation Method 2
[0077] The step of obtaining the data set corresponding to the unique business identifier information from the server of the target application may specifically include:
[0078] Obtain a set of business data that corresponds to the unique identifier information of the business from the business database of the target application's server.
[0079] The step of generating a page data set related to the target business and required to be displayed to the user, based on a data set that corresponds to the unique identifier information of the business, may specifically include:
[0080] From the various preset business pages that need to be displayed to the user in relation to the target business, determine a second business page that can generate a simulated page based on the data in the business database.
[0081] For any given second business page, extract the preset types of business data that need to be checked for consistency from the business data set, and obtain the page data set of the second business page.
[0082] In the embodiments of this specification, due to user reasons or business factors, there may be business pages related to the target business that the user has not yet viewed but will view later. Since the user has not yet viewed these business pages, the log data related to the user's target business on the target application's server will not carry the page identifier information of these business pages. Therefore, it is impossible to obtain the page data set of these business pages based on Implementation Method 1, and consequently, it is impossible to verify the consistency of the business data displayed on these business pages. However, since the target application's server may already store the page data required to display these business pages, and it may still need to display these business pages to the user later, there is still a need to perform consistency checks on the business data displayed on these business pages.
[0083] Based on this, to meet the aforementioned consistency testing requirements, the service provider can pre-determine the various preset service pages that need to be displayed to users related to the target service, as well as the preset types of business data that need to be tested for consistency on each preset service page. Therefore, when performing consistency checks on business data, the service provider can attempt to extract the preset types of business data that need to be tested for consistency from the business data in the business database. If this can be extracted, the preset service page can be used as a second service page. Subsequently, a simulation of this second service page can be generated using the target application's simulation program for consistency testing.
[0084] In practical applications, only some of the preset business pages involved in the target business may be able to generate corresponding simulated pages based on the data in the business database. In addition, these preset business pages may only be able to generate corresponding simulated pages based on the data in the business database when the target business has already reached a specified processing stage.
[0085] Based on this, to save equipment resources, a simulated page generation method identifier and a specified business processing stage can be pre-set for preset business pages. The simulated page generation method identifier reflects whether the preset business page can generate a corresponding simulated page based on data in the business database, while the specified business processing stage is the stage in which the simulated page can be generated based on data in the business database. Therefore, when performing consistency checks on relevant business data for a target business, the target business processing stage can be determined first. Subsequently, from the various preset business pages related to the target business that need to be displayed to the user, the preset business page carrying the simulated page generation method identifier reflecting the ability to generate a corresponding simulated page based on data in the business database, and whose current business processing node is the corresponding specified business processing stage, can be found and used as the second business page, which is convenient and quick.
[0086] In the embodiments of this specification, since the first business page is usually a preset business page that has been shown to the user, and the second business page can be either a preset business page that has been shown to the user or a preset business page that has not been shown to the user but can be shown to the user later, the comprehensiveness of the simulated page of the generated business page can be guaranteed based on the second embodiment, thereby ensuring the comprehensiveness of the consistency detection results of the generated relevant business data for the target business.
[0087] In the embodiments of this specification, since each business page of the target application typically has a preset page template, this preset page template is usually used to display specified business data in a specified display format at a specified location. To ensure the consistency between the simulated pages of each business page and the business pages that the user can see, the page data sets of the first / second business pages can also include the corresponding preset page templates.
[0088] Based on this, the step of generating a page data set related to the target business and displayed to the user, based on a data set that corresponds to the unique business identifier information, may further include:
[0089] Determine the first page template for the first business page.
[0090] The set of page data that divides the first page template into the first business page; or,
[0091] Determine the second page template for the second business page.
[0092] Divide the page data set from the second page template to the second business page.
[0093] In this embodiment of the specification, since the page data set of the first business page contains business data extracted from log data, and the log data usually also contains template unique identifier information of the preset page template required by the first business page, the preset page template corresponding to the template unique identifier information carried in the log data can be determined as the first page template of the first business page, thereby enabling the page data set of the first business page to contain the first page template of the first business page.
[0094] In the embodiments of this specification, since the server of the target application usually stores the association relationship between each application page of the target application and the preset page template used by it, when the page data set of the second business page is generated according to the business data in the business database, the second page template of the second business page can be found according to the above association relationship, so that the page data set of the second business page can contain the second page template of the second business page.
[0095] In the embodiments of this specification, a specific implementation method is also given for using a simulation program of the target application to generate a simulated page of a business page related to the target business.
[0096] Specifically, before step 204: generating a simulated page of the business page related to the target business to be displayed to the user based on the historical business data using the simulation program of the target application, it may further include:
[0097] For any one of the business pages, determine the page access address of the business page.
[0098] Step 204: Using the simulation program of the target application, based on the historical business data, generate a simulated page of the business page related to the target business to be displayed to the user, which may specifically include:
[0099] Send the page access address of the business page and the page data set of the business page to the simulation program of the target application.
[0100] By running a simulation program of the target application to access the page access address, a simulation page of the business page is generated using the page data set of the business page.
[0101] In the embodiments of this specification, each application page of the target application is typically provided with a unique page access address, allowing the target application to access the corresponding page data set and then display the corresponding application page. Based on this, to ensure the normal operation of the target application's simulation program, it is also necessary to provide the simulation program with the page access addresses of the business pages related to the target business that need to be displayed to the user, i.e., the page access addresses of the first / second application pages.
[0102] In the embodiments of this specification, the page access address of the business page related to the target business to be displayed to the user can take various forms, and the technical principles used by the simulation program of the target application to generate the corresponding simulation page according to different types of page access addresses also differ. For ease of understanding, this will be explained below.
[0103] Implementation Method 1
[0104] Determining the page access address of the business page may specifically include:
[0105] Generate a scheme link that carries the page data set of the business page, and obtain the page access address of the business page.
[0106] Correspondingly, the simulation program that sends the page access address of the business page and the page data set of the business page to the target application may specifically include:
[0107] Send the scheme link to the simulation program of the target application.
[0108] Correspondingly, the step of accessing the page access address by running a simulation program of the target application to generate a simulation page of the business page using the page data set of the business page may specifically include:
[0109] By running a simulation program of the target application to access the scheme link, a simulated page of the business page is generated using the page data set of the business page carried in the scheme link.
[0110] In this embodiment, a scheme is an in-page redirection protocol. Users can define their own scheme protocols to conveniently use scheme links to navigate to various pages within an application (APP). Since scheme links can not only directly open a specific page within an application but also support the direct input of preset characters into the opened page, scheme links carrying a set of page data for the first / second business page can be generated. This allows the simulated application program to directly display the set of page data carried by the scheme link on the page after accessing it, thus obtaining a simulated page of the first / second business page, without needing to access the target application's server to obtain the relevant page data, making the process convenient and fast.
[0111] In practical applications, if the page access address of the first / second business page is a URL (Uniform Resource Locator) link, then the generated scheme link carrying the page data set of the business page can specifically be a URLScheme (Us especially formatted URLs to link to content within your app, i.e., using specially formatted URLs to link to content within your application) link. Of course, the scheme link can also be other forms of link, and there is no specific limitation on this.
[0112] Implementation Method Two
[0113] Determining the page access address of the business page may specifically include:
[0114] Obtain the preset access address of the business page to get the page access address of the business page.
[0115] Correspondingly, the simulation program that sends the page access address of the business page and the page data set of the business page to the target application may specifically include:
[0116] The page access address of the business page is sent to the simulation program of the target application deployed on the cloud real device. Also, the page data set of the business page and the Mock configuration data for the business page are sent to the Mock program deployed on the cloud real device.
[0117] Correspondingly, the step of accessing the page access address by running a simulation program of the target application to generate a simulation page of the business page using the page data set of the business page may specifically include:
[0118] By running a simulation program of the target application to access the page access address of the business page, a simulation page of the business page is generated using the Mock data fed back by the Mock program; wherein, the Mock data is data determined by the Mock program from the page data set of the business page according to the Mock configuration data.
[0119] In the embodiments described in this specification, the preset access address of the business page can be a URL address or other forms of address information, and no specific limitation is made thereto.
[0120] In the embodiments of this specification, Mock technology refers to a testing method in which, during the testing process, a virtual object (Mock object) is created to test complex objects that are difficult to construct or obtain. Based on this, during the process of generating simulated pages for the first / second business pages using the target application's simulation program, the Mock program can intercept the page data retrieval requests for the first / second business pages issued by the target application's simulation program and send back Mock data (i.e., response data determined based on the page data set of the first / second business pages) to the target application's simulation program. That is, the page data retrieval requests issued by the target application's simulation program do not actually reach the application server. At this time, the Mock program is essentially a simulation program for the application server, which helps to avoid interfering with the normal operation of the application server.
[0121] In practical applications, to ensure the accuracy of the Mock data returned by the Mock program, and thus the accuracy of the simulated pages of the first / second business pages generated by the target application's simulation program, it is necessary to send the page data set of the first / second business pages and the Mock configuration data for the first / second business pages to the Mock program. The Mock configuration data indicates the types of requests the Mock program needs to intercept and respond to, as well as the response logic for intercepted requests, etc., but is not specifically limited thereto.
[0122] In the embodiments of this specification, an implementation method for identifying target business data displayed in a simulated page of a business page is also provided.
[0123] Specifically, step 206: Identify the business data displayed in the simulated page of the business page to obtain the target business data, which may include:
[0124] Optical character recognition technology is used to identify the business data displayed on the simulated page of the business page to obtain the target business data.
[0125] In the embodiments of this specification, optical character recognition (OCR) refers to the process of using electronic devices to examine characters displayed in image files to obtain text and layout information. When the business data to be checked for consistency is in character form, optical character recognition technology can be used to identify the target business data from the simulated pages of the first / second business pages, which is convenient and fast.
[0126] Of course, if the business data to be checked for consistency is in graphical or other forms, other existing methods can be used to identify the target business data from the simulated pages of the first / second business pages, and then generate corresponding consistency check results based on this target business data. No specific limitations are imposed on this. For example, a pre-trained neural network model can be used to perform target detection on the simulated pages of the first / second business pages to identify the graphical data to be checked for consistency. This will not be elaborated upon further.
[0127] In this embodiment of the specification, step 208: generating a consistency detection result for relevant business data for the target business based on the target business data, may specifically include:
[0128] Compare the target business data of the same type identified from the simulated pages of each of the aforementioned business pages to obtain a consistency detection result for the relevant business data for the target business; and / or,
[0129] The target business data is compared with the same type of business data in the historical business data to obtain the consistency detection result of the relevant business data for the target business.
[0130] In the embodiments of this specification, the types of business pages that can generate simulated pages can be one or more. When there are multiple types of business pages that can generate simulated pages, a consistency comparison can be performed on the target business data of the same type contained in the simulated pages of each business page. If the comparison result indicates consistency, it reflects that the target business data of this type in the target business is consistent when expressed to the customer; if the comparison result indicates inconsistency, it reflects that the target business data of this type in the target business is inconsistent when expressed to the customer. Subsequently, information can be generated to prompt the target business that the target business data of this type is inconsistent when expressed to the customer, so that the business provider can further detect and process the target business, which is conducive to ensuring the normal operation of the target business.
[0131] When only one type of business page can generate a simulated page, there is no other customer-facing business data that can be compared with the target business data displayed in the simulated page of that business page. Therefore, the historical business data of the target business at the application client can be compared with this target business data. If the comparison result is consistent, it reflects that the historical business data at the application server is still correctly expressed after being combined with the logic of the target application's client. If the comparison result is inconsistent, it reflects that the historical business data at the application server is incorrectly expressed after being combined with the logic of the target application's client. Subsequently, information can also be generated to indicate that this type of target business data at the target business is inconsistent when expressed to customers, so as to ensure the normal operation of the target business.
[0132] Of course, when there are multiple types of business pages that can generate simulated pages, the consistency of the target business data displayed in each simulated page with the same type of business data in the page data set used to generate the simulated page can be compared to obtain the consistency detection results of the relevant business data for the target business. This will not be elaborated on further.
[0133] To facilitate understanding, the comparison process of the target business data will be explained here.
[0134] In the embodiments of this specification, after step 206: using optical character recognition technology to identify the business data displayed in the simulated page of the business page, it may further include;
[0135] Determine the display location information of each target business data in the simulated page of each business page.
[0136] Correspondingly, the target business data of the same type identified from the simulated pages of each of the aforementioned business pages is compared to obtain a consistency detection result for the relevant business data for the target business. Specifically, this may include:
[0137] Based on the preset consistency detection strategy and the display location information, the target business data of the same type displayed in the simulated pages of each business page are determined; wherein, the preset consistency detection strategy is used to reflect the location information of the same type of business data in each business page, and the comparison method for the same type of business data in each business page.
[0138] According to the preset consistency detection strategy, the same type of target business data displayed in the simulated pages of each of the business pages are compared to obtain the consistency detection results of the relevant business data for the target business.
[0139] In the embodiments of this specification, not only can optical character recognition technology be used to identify the target business data displayed on the simulated page of the business page, but it can also identify the display position information of each target business data in the simulated page. The display position information may include the center point coordinates, length, and width data of the target business data, or it may include the coordinates of each vertex of the display area of the target business data; no specific limitation is made thereto.
[0140] In the embodiments of this specification, since the simulated page of the business page is generated using a preset page template of the business page, and the preset page template contains preset display position information for various types of business data, when it is necessary to perform consistency detection on the preset type of business data, a preset consistency detection strategy corresponding to the preset type of business data can be preset. The preset consistency detection strategy can carry the preset display position information as the position information of the preset type of business data in the business page.
[0141] In practical applications, the same type of business data displayed on different business pages may also differ. For example, the payment amount on the payment result display page is usually a positive number (e.g., 1 yuan), while the payment amount on the bill details page is usually a negative number (e.g., -1 yuan). Therefore, the preset consistency detection strategy may also include a comparison method for the same type of business data on each business page to ensure the accuracy of the generated consistency detection results.
[0142] To make it easier to understand, an example will be given. Figure 3 This is a schematic diagram of a simulated business page provided in an embodiment of this specification. Figure 3 As shown, it is assumed that a simulated page (a) displaying the payment result and a simulated page (b) displaying the bill details have been generated. Furthermore, the types of business data requiring consistency checks include: payment amount, order amount, payment method, etc.
[0143] The preset consistency detection strategy for payment amount can reflect the first position information of payment amount on the payment result display page (which can be the position information of area 301) and the second position information of payment amount on the bill details page (which can be the position information of area 302). The comparison method can be to judge whether the absolute values of the values identified from area 301 and area 302 are consistent. If they are consistent, it means that the two are consistent.
[0144] The preset consistency detection strategy for order amount can reflect the third position information of the order amount on the payment result display page (which can be the position information of area 303), and the fourth position information of the order amount on the bill details page (which can be the position information of areas 304 and 305). The comparison method can be to determine whether the merchant name identified from area 303 is consistent with the merchant name identified from area 304, and whether the value identified from area 303 is consistent with the data identified from area 305. If they are all consistent, it means that the two are consistent.
[0145] The preset consistency detection strategy for payment methods can reflect the fifth position information of the payment method on the payment result display page (which can be the position information of area 306), and the sixth position information of the payment method on the bill details page (which can be the position information of area 307). The comparison method can be to determine whether the strings identified from area 306 and area 307 are consistent. If they are consistent, it means that the two are consistent.
[0146] In practical applications, some business data is also displayed in area 308 of the simulated page (a) of the payment result display page and area 309 of the simulated page (b) of the bill details page. Since the two simulated pages do not simultaneously have the data displayed in these areas, there is no need to perform consistency checks on the data in these areas of the two simulated pages, which is flexible.
[0147] Figure 4 The embodiments provided in this specification correspond to Figure 2 The swimlane flowchart of the business data consistency detection method in the example is shown. Figure 4 As shown, the business data consistency detection process may involve execution entities such as consistency detection system, log database and business database.
[0148] During the simulated page generation phase, after receiving an instruction to perform consistency checks on the business unique identifier information of the target business handled by the user at the target application, the consistency detection system can retrieve a set of log data corresponding to the business unique identifier information from the log database, and / or retrieve a set of business data corresponding to the business unique identifier information from the business database.
[0149] Subsequently, based on the first page identifier information carried in the log data in the log data set, the first business page that was previously displayed to the user and is related to the target business can be determined. Then, from the log data carrying the first page identifier information corresponding to the first business page, the preset type of business data that needs to be checked for consistency can be extracted to obtain the page data set of the first business page.
[0150] And / or, from the preset business pages that need to be displayed to the user in relation to the target business, determine a second business page that can generate a simulated page based on the data in the business database; extract the preset types of business data that need to be consistent and are displayed on the second business page from the business data set, and obtain the page data set of the second business page.
[0151] In addition, the first page template of the first page can be assigned to the page data set of the first business page, and the second page template of the second page can be assigned to the page data set of the second business page.
[0152] Subsequently, the consistency detection system can also send the page access address of the first / second business page and the page data set to the simulation program of the target application; by running the simulation program of the target application to access the page access address, the simulation page of the first / second business page can be generated using the corresponding page data set.
[0153] During the consistency detection phase, the consistency detection system can utilize optical character recognition technology to identify the business data displayed on the simulated pages to obtain the target business data. Furthermore, it can compare the target business data of the same type identified from various simulated pages to obtain consistency detection results; and / or, it can compare the target business data with relevant business data in the log database and business database to obtain consistency detection results.
[0154] Based on the same idea, embodiments of this specification also provide apparatus corresponding to the above methods. Figure 5 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the structure of a business data consistency detection device. (See diagram below.) Figure 5 As shown, the device may include:
[0155] The first acquisition module 502 is used to acquire historical business data of the target business handled by the user at the target application.
[0156] The simulated page generation module 504 is used to generate a simulated page of the business page related to the target business that needs to be displayed to the user, based on the historical business data, using the simulation program of the target application.
[0157] The target business data identification module 506 is used to identify the business data displayed in the simulated page of the business page to obtain the target business data.
[0158] The consistency detection module 508 is used to generate consistency detection results for relevant business data of the target business based on the target business data.
[0159] based on Figure 5 The embodiments of this specification also provide some specific implementations of the device, which will be described below.
[0160] Optional, Figure 5 The device may further include:
[0161] The second acquisition module is used to acquire an instruction to perform consistency detection on relevant business data of the target business handled by the user at the target application; the instruction carries the unique business identifier information of the target business handled by the user.
[0162] The first acquisition module 502 may specifically include:
[0163] The acquisition unit is used to acquire a data set that corresponds to the unique identifier information of the business from the server of the target application.
[0164] The page data set generation unit is used to generate a page data set that corresponds to the business unique identifier information and is related to the target business, which is to be displayed to the user.
[0165] Optionally, the acquisition unit may include:
[0166] The first acquisition subunit is used to acquire a set of log data that corresponds to the unique identifier information of the business from the log database at the server of the target application.
[0167] Correspondingly, the page data set generation unit may include:
[0168] The first business page determination subunit is used to determine the first business page related to the target business that has been displayed to the user, based on the first page identification information carried in the log data in the log data set.
[0169] The first page data set generation subunit is used to extract, for any first business page, the preset type of business data to be tested for consistency from the log data carrying the first page identifier information corresponding to the first business page, and obtain the page data set of the first business page.
[0170] Optionally, the acquisition unit may include:
[0171] The second acquisition subunit is used to acquire a set of business data that corresponds to the unique business identifier information from the business database at the server of the target application.
[0172] Correspondingly, the page data set generation unit may include:
[0173] The second business page determination subunit is used to determine, from the various preset business pages involved in the target business that need to be displayed to the user, a second business page that can generate a simulated page based on the data in the business database.
[0174] The second page data set generation subunit is used to extract, for any second business page, preset types of business data that need to be checked for consistency from the business data set, and obtain the page data set of the second business page.
[0175] Optionally, the page data set generation unit may further include:
[0176] The first page template determination subunit is used to determine the first page template of the first business page.
[0177] The first partitioning subunit is used to partition the page data set from the first page template to the first business page. Alternatively,
[0178] The second page template determination sub-unit is used to determine the second page template of the second business page.
[0179] The second partitioning subunit is used to partition the page data set from the second page template to the second business page.
[0180] Optional, Figure 5 The device may further include:
[0181] The page access address determination module is used to determine the page access address of any one of the business pages.
[0182] Optionally, the simulated page generation module 504 may include:
[0183] The sending unit is used to send the page access address of the business page and the page data set of the business page to the simulation program of the target application.
[0184] The simulated page generation unit is used to access the page access address by running a simulation program of the target application, so as to generate a simulated page of the business page using the page data set of the business page.
[0185] Optionally, the page access address determination module can be specifically used to: generate a scheme link carrying a set of page data of the business page, and obtain the page access address of the business page.
[0186] Specifically, the sending unit can be used to send a simulation program that links the scheme to the target application.
[0187] The simulated page generation unit can be specifically used to: access the scheme link by running a simulation program of the target application, so as to generate a simulated page of the business page using the page data set of the business page carried in the scheme link.
[0188] Optionally, the page access address determination module can be specifically used to: obtain the preset access address of the business page, and obtain the page access address of the business page.
[0189] The sending unit can be specifically used to: send the page access address of the business page to the simulation program of the target application deployed on the cloud real device; and send the page data set of the business page and the Mock configuration data for the business page to the Mock program deployed on the cloud real device.
[0190] The simulated page generation unit can be specifically used to: access the page access address of the business page by running a simulation program of the target application, so as to generate a simulated page of the business page using the Mock data fed back by the Mock program; wherein, the Mock data is data determined by the Mock program from the page data set of the business page according to the Mock configuration data.
[0191] Optionally, the target business data identification module 506 can be specifically used for:
[0192] Optical character recognition technology is used to identify the business data displayed on the simulated page of the business page to obtain the target business data.
[0193] Optionally, the consistency detection module 508 may include:
[0194] The first detection unit is used to compare the target business data of the same type identified from the simulated pages of each of the business pages, and obtain a consistency detection result for the relevant business data for the target business; and / or,
[0195] The second detection unit is used to compare the target business data with the same type of business data in the historical business data to obtain a consistency detection result for the relevant business data of the target business.
[0196] Optional, Figure 5 The device may also include;
[0197] The display location information determination module is used to determine the display location information of each of the target business data in the simulated page of each of the business pages.
[0198] The first detection unit can specifically be used for:
[0199] Based on the preset consistency detection strategy and the display location information, the target business data of the same type displayed in the simulated pages of each business page are determined; wherein, the preset consistency detection strategy is used to reflect the location information of the same type of business data in each business page, and the comparison method for the same type of business data in each business page.
[0200] According to the preset consistency detection strategy, the same type of target business data displayed in the simulated pages of each of the business pages are compared to obtain the consistency detection results of the relevant business data for the target business.
[0201] Based on the same idea, this specification also provides devices corresponding to the above methods in its embodiments.
[0202] Figure 6 The embodiments provided in this specification correspond to Figure 2 A schematic diagram of the structure of a business data consistency detection device. (See diagram below.) Figure 6 As shown, device 600 may include:
[0203] At least one processor 610; and,
[0204] Memory 630 communicatively connected to the at least one processor; wherein,
[0205] The memory 630 stores instructions 620 that can be executed by the at least one processor 610, the instructions being executed by the at least one processor 610 to enable the at least one processor 610 to:
[0206] Obtain historical business data of the target business processed by the user in the target application.
[0207] Using the simulation program of the target application, a simulated page related to the target business is generated based on the historical business data to be displayed to the user.
[0208] The target business data is obtained by identifying the business data displayed in the simulated page of the business page.
[0209] Based on the target business data, generate consistency detection results for the relevant business data for the target business.
[0210] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on its differences from other embodiments. In particular, for... Figure 6 As the device shown is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0211] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used when writing program development code. The original code before compilation must also be written in a specific programming language, which is called a Hardware Description Language (HDL). There is not just one HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using the aforementioned hardware description languages and programming it into an integrated circuit, the hardware circuit that implements the logic method flow can be easily obtained.
[0212] The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, ASICs, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0213] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0214] For ease of description, the above devices are described separately by function as various units. Of course, in implementing this application, the functions of each unit can be implemented in one or more software and / or hardware.
[0215] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0216] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0217] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0218] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0219] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0220] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0221] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0222] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0223] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0224] This application can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0225] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for business data consistency detection, comprising: Obtain historical business data of the target business processed by the user in the target application; Using the simulation program of the target application, based on the historical business data, generate a simulated page of the business page related to the target business that needs to be displayed to the user; The target business data is obtained by identifying the business data displayed in the simulated page of the business page. Based on the target business data, generate consistency detection results for relevant business data related to the target business; specifically including: The same type of target business data identified from the simulated pages of each of the aforementioned business pages is compared to obtain the consistency detection result of the relevant business data for the target business. And / or, The target business data is compared with the same type of business data in the historical business data to obtain the consistency detection result of the relevant business data for the target business.
2. The method as described in claim 1, further comprising, before obtaining historical business data of the target business handled by the user at the target application: Retrieve instructions to perform consistency checks on relevant business data for the target business processed by the user in the target application; The instruction carries the unique identifier information of the target service processed by the user; The acquisition of historical business data of the target business processed by the user in the target application specifically includes: Obtain a data set that corresponds to the unique identifier information of the business from the server of the target application; Based on the data set that corresponds to the unique identifier of the business, a set of page data related to the target business that needs to be displayed to the user is generated.
3. The method as described in claim 2, wherein obtaining the data set corresponding to the unique business identifier information from the server of the target application specifically includes: Obtain a set of log data that corresponds to the unique identifier information of the business from the log database of the server of the target application; The step of generating a page data set related to the target business and required to be displayed to the user, based on a data set that corresponds to the unique identifier information of the business, specifically includes: Based on the first page identifier information carried in the log data in the log data set, the first business page related to the target business that was previously displayed to the user is determined; For any of the first business pages, extract the preset types of business data that need to be checked for consistency from the log data carrying the first page identifier information corresponding to the first business page, and obtain the page data set of the first business page.
4. The method as described in claim 2, wherein obtaining the data set corresponding to the unique business identifier information from the server of the target application specifically includes: From the business database at the server of the target application, obtain a set of business data that corresponds to the unique identifier information of the business. The step of generating a page data set related to the target business and required to be displayed to the user, based on a data set that corresponds to the unique identifier information of the business, specifically includes: From the various preset business pages that need to be displayed to the user in relation to the target business, determine a second business page that can generate a simulated page based on the data in the business database; For any given second business page, extract the preset types of business data that need to be checked for consistency from the business data set, and obtain the page data set of the second business page.
5. The method as described in claim 3 or 4, wherein generating the page data set of the business page related to the target business to be displayed to the user based on the data set corresponding to the unique business identifier information further includes: Determine the template for the first page of the first business page; The set of page data that divides the first page template into the first business page; or, Determine the template for the second page of the second business page; Divide the page data set from the second page template to the second business page.
6. The method of claim 2, further comprising, before generating a simulated page of a business page related to the target business to be displayed to the user based on the historical business data using the simulation program of the target application, the method includes: For any one of the business pages, determine the page access address of the business page; The step of using the simulation program of the target application to generate a simulated page of business pages related to the target business to be displayed to the user based on the historical business data specifically includes: Send the page access address of the business page and the page data set of the business page to the simulation program of the target application; By running a simulation program of the target application to access the page access address, a simulation page of the business page is generated using the page data set of the business page.
7. The method as described in claim 6, wherein determining the page access address of the business page specifically includes: Generate a scheme link that carries the page data set of the business page, and obtain the page access address of the business page; The simulation program that sends the page access address of the business page and the page data set of the business page to the target application specifically includes: Send the scheme link to the simulation program of the target application; The step of accessing the page access address by running a simulation program of the target application to generate a simulation page of the business page using the page data set of the business page specifically includes: By running a simulation program of the target application to access the scheme link, a simulated page of the business page is generated using the page data set of the business page carried in the scheme link.
8. The method as described in claim 6, wherein determining the page access address of the business page specifically includes: Obtain the preset access address of the business page to get the page access address of the business page; The simulation program that sends the page access address of the business page and the page data set of the business page to the target application specifically includes: Send the page access address of the business page to the simulation program of the target application deployed on the cloud real device; Send the page data set of the business page and the Mock configuration data for the business page to the Mock program deployed on the cloud real device; The step of accessing the page access address by running a simulation program of the target application to generate a simulation page of the business page using the page data set of the business page specifically includes: By running a simulation program of the target application to access the page access address of the business page, a simulation page of the business page is generated using the Mock data fed back by the Mock program; wherein, the Mock data is data determined by the Mock program from the page data set of the business page according to the Mock configuration data.
9. The method as described in claim 1, wherein identifying the business data displayed in the simulated page of the business page to obtain the target business data specifically includes: Optical character recognition technology is used to identify the business data displayed on the simulated page of the business page to obtain the target business data.
10. The method of claim 9, wherein after recognizing the business data displayed in the simulated page of the business page using optical character recognition technology, it further includes: Determine the display position information of each of the target business data in the simulated page of each of the business pages; The step of comparing the target business data of the same type identified from the simulated pages of each of the business pages to obtain the consistency detection result of the relevant business data for the target business specifically includes: Based on the preset consistency detection strategy and the display location information, the target business data of the same type displayed in the simulated pages of each business page are determined; wherein, the preset consistency detection strategy is used to reflect the location information of the same type of business data in each business page, and the comparison method for the same type of business data in each business page. According to the preset consistency detection strategy, the same type of target business data displayed in the simulated pages of each of the business pages are compared to obtain the consistency detection results of the relevant business data for the target business.
11. A business data consistency detection device, comprising: The first acquisition module is used to acquire historical business data of the target business handled by the user in the target application. The simulated page generation module is used to generate a simulated page of the business page related to the target business that needs to be displayed to the user, based on the historical business data, using the simulation program of the target application. The target business data identification module is used to identify the business data displayed in the simulated page of the business page to obtain the target business data. The consistency detection module is used to generate consistency detection results for relevant business data related to the target business based on the target business data. The consistency detection module specifically includes: The first detection unit is used to compare the target business data of the same type identified from the simulated pages of each of the business pages, and to obtain the consistency detection result of the relevant business data for the target business. And / or, The second detection unit is used to compare the target business data with the same type of business data in the historical business data to obtain a consistency detection result for the relevant business data of the target business.
12. The apparatus of claim 11, further comprising: The second acquisition module is used to acquire instructions for performing consistency checks on relevant business data of the target business handled by the user at the target application. The instruction carries the unique identifier information of the target service processed by the user; The first acquisition module specifically includes: The acquisition unit is used to acquire a data set that corresponds to the unique identifier information of the business from the server of the target application. The page data set generation unit is used to generate a page data set that corresponds to the business unique identifier information and is related to the target business, which is to be displayed to the user.
13. The apparatus of claim 12, wherein the acquiring unit comprises: The first acquisition subunit is used to acquire a set of log data that corresponds to the unique identifier information of the business from the log database at the server of the target application. The page data set generation unit includes: The first business page determination subunit is used to determine the first business page related to the target business that has been displayed to the user based on the first page identification information carried in the log data in the log data set. The first page data set generation subunit is used to extract, for any first business page, the preset type of business data to be checked for consistency from the log data carrying the first page identifier information corresponding to the first business page, and obtain the page data set of the first business page.
14. The apparatus of claim 12, wherein the acquiring unit comprises: The second acquisition subunit is used to acquire a set of business data that corresponds to the unique business identifier information from the business database at the server of the target application. The page data set generation unit includes: The second business page determination subunit is used to determine, from the various preset business pages involved in the target business that need to be displayed to the user, a second business page that can generate a simulated page based on the data in the business database; The second page data set generation subunit is used to extract, for any second business page, preset types of business data that need to be checked for consistency from the business data set, and obtain the page data set of the second business page.
15. The apparatus of claim 13 or 14, wherein the page data set generation unit further comprises: The first page template determination subunit is used to determine the first page template of the first business page; The first partitioning subunit is used to partition the page data set from the first page template to the first business page; or, The second page template determination sub-unit is used to determine the second page template of the second business page; The second partitioning subunit is used to partition the page data set from the second page template to the second business page.
16. The apparatus of claim 12, further comprising: The page access address determination module is used to determine the page access address of any one of the business pages. The simulated page generation module includes: A sending unit is used to send the page access address of the business page and the page data set of the business page to the simulation program of the target application; The simulated page generation unit is used to access the page access address by running a simulation program of the target application, so as to generate a simulated page of the business page using the page data set of the business page.
17. The apparatus of claim 16, wherein the page access address determination module is specifically used for: Generate a scheme link that carries the page data set of the business page, and obtain the page access address of the business page; The transmitting unit is specifically used for: Send the scheme link to the simulation program of the target application; The simulated page generation unit is specifically used for: By running a simulation program of the target application to access the scheme link, a simulated page of the business page is generated using the page data set of the business page carried in the scheme link.
18. The apparatus of claim 16, wherein the page access address determination module is specifically used for: Obtain the preset access address of the business page to get the page access address of the business page; The transmitting unit is specifically used for: Send the page access address of the business page to the simulation program of the target application deployed on the cloud real device; Send the page data set of the business page and the Mock configuration data for the business page to the Mock program deployed on the cloud real device; The simulated page generation unit is specifically used for: By running a mock application of the target application to access the page access address of the business page, a mock page of the business page is generated using the mock data fed back by the mock application; wherein, The Mock data is data determined by the Mock program from the page data set of the business page based on the Mock configuration data.
19. The apparatus of claim 11, wherein the target service data identification module is specifically used for: Optical character recognition technology is used to identify the business data displayed on the simulated page of the business page to obtain the target business data.
20. The apparatus of claim 19, further comprising: The display location information determination module is used to determine the display location information of each of the target business data in the simulated page of each of the business pages; The first detection unit is specifically used for: Based on the preset consistency detection strategy and the display location information, the target business data of the same type displayed in the simulated pages of each of the business pages is determined; wherein, The preset consistency detection strategy is used to reflect the location information of the same type of business data in each of the business pages, as well as the comparison method for the same type of business data in each of the business pages. According to the preset consistency detection strategy, the same type of target business data displayed in the simulated pages of each of the business pages are compared to obtain the consistency detection results of the relevant business data for the target business.
21. A business data consistency detection device, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: Obtain historical business data of the target business processed by the user in the target application; Using the simulation program of the target application, based on the historical business data, generate a simulated page of the business page related to the target business that needs to be displayed to the user; The target business data is obtained by identifying the business data displayed in the simulated page of the business page. Based on the target business data, generate consistency detection results for relevant business data related to the target business; specifically including: Compare the target business data of the same type identified from the simulated pages of each of the aforementioned business pages to obtain a consistency detection result for the relevant business data for the target business; and / or, The target business data is compared with the same type of business data in the historical business data to obtain the consistency detection result of the relevant business data for the target business.
Citation Information
Patent Citations
Remote operation and maintenance financial management method based on big data and relational data fusion
CN115205002A