A method, device, storage medium and equipment for querying matters
By obtaining the node links associated with matters and controlling each business system to perform query tasks, the problem of inconvenience in matters in the existing technology is solved, and an efficient and intuitive matter query process is realized.
Patent Information
- Application Number
- CN202111262821.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2041-10-28
AI Technical Summary
The existing event query function is not convenient enough, and users need to manually query nodes multiple times. The query process is complicated and cumbersome, which reduces query efficiency. In addition, queries of different nodes may be on different business systems. Users may lack the query permissions of certain business systems, which increases the obstacles to query.
By receiving user's event query instructions, obtaining node links associated with the event, controlling each business system to perform query tasks, obtaining query results, building node data, determining information items, and displaying information items through a preset interface.
The process of querying the matter is simplified and query efficiency is improved. Users do not need to manually query nodes multiple times, and can intuitively observe the execution of the matter, reducing the complexity and obstacles of the query.
Smart Images

Figure CN113946603B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data control, and in particular to a method, device, storage medium and equipment for querying matters. Background Art
[0002] An item is composed of a series of related nodes, but the existing item query function is not convenient enough. To query whether an item is completed and how it is progressing, it is necessary to query the progress of "each node that constitutes the item" in turn to find out the execution status of the item. This results in the need for users to manually query nodes multiple times to query items. The query process is complicated and cumbersome, which increases the difficulty of item query, reduces query efficiency, and makes the progress of items less intuitive. In addition, since items involve multiple different nodes, queries for different nodes may be on different business systems, but users may not have query permissions for certain business systems, which also increases the obstacles to query.
[0003] Therefore, how to improve the efficiency of matter query has become a problem that needs to be solved urgently in this field. Summary of the invention
[0004] The present application provides a method, apparatus, storage medium and device for querying matters, aiming to improve the efficiency of matter querying.
[0005] In order to achieve the above objectives, this application provides the following technical solutions:
[0006] A method for querying matters, comprising:
[0007] Upon receiving a matter query instruction sent by a user, a node link associated with the matter indicated by the matter query instruction is obtained; the node link includes a plurality of nodes; each of the nodes is associated with a query task of one or more business systems; the query task is used to control the business system to call one or more service functions; the service function is used to query the status of business data in the business system;
[0008] For each of the query tasks, controlling the business system to which the query task belongs to execute the query task to obtain the query result of the query task;
[0009] Based on the query results corresponding to each of the nodes, construct node data corresponding to each of the nodes;
[0010] Determining an information item corresponding to each of the nodes based on the node data corresponding to each of the nodes;
[0011] Each of the information items is presented to the user through a preset interface.
[0012] Optionally, also include:
[0013] The service information of each service instance in the business system is obtained regularly, and each service information is uploaded to a preset registration center, so that the registration center records the mapping relationship between the service function and the service address of each service instance; each service instance provides one service function; the service information at least includes the service address.
[0014] Optionally, after obtaining the node link associated with the matter indicated by the matter query instruction, the method further includes:
[0015] The node links are parsed to obtain the calling paths of the various service functions, and the calling paths are displayed to the user through a preset interface.
[0016] Optionally, for each of the query tasks, controlling the business system to which the query task belongs to execute the query task to obtain a query result of the query task includes:
[0017] For each of the query tasks, determining whether the query task has a high real-time requirement;
[0018] In the case where the query task has a high real-time requirement, the business system to which the query task belongs is controlled to execute the query task to obtain a query result of the query task.
[0019] Optionally, also include:
[0020] In the case where the query task does not have a high real-time requirement, determining whether the query task belongs to only one of the business systems;
[0021] In the case where the query task belongs to only one business system, a custom task is created with the business system to which the query task belongs as the main body, and the business system to which the query task belongs is controlled to execute the custom task to obtain the query result of the custom task;
[0022] In the case where the query task does not belong to only one of the business systems, determining whether the query task involves the collection of batch information;
[0023] In the case where the query task involves the collection of batch information, the business system to which the query task belongs is controlled to execute the query task in a timely manner, the query results of the query task within each preset time period are obtained, and each query result is persisted in the database;
[0024] In the case that the query task does not involve the collection of batch information, it is determined that the query task cannot be executed, and the user is prompted that the query task execution has failed.
[0025] Optionally, determining the information item corresponding to each of the nodes based on the node data corresponding to each of the nodes includes:
[0026] Extract key information from each of the node data to obtain key information from each of the node data;
[0027] Abstract processing is performed on the key information of each node data to obtain information items corresponding to each node.
[0028] Optionally, presenting each of the information items to the user through a preset interface includes:
[0029] For each of the information items, determining whether the user has query authority for the business system associated with the information item;
[0030] In the case where the user has query authority for the business system associated with the information item, the information item is displayed to the user through a preset interface.
[0031] A device for querying matters, comprising:
[0032] A path discovery unit is used to obtain a node link associated with the matter indicated by the matter query instruction when receiving the matter query instruction sent by the user; the node link includes a plurality of nodes; each of the nodes is associated with a query task of one or more business systems; the query task is used to control the business system to call one or more service functions; the service function is used to query the status of business data in the business system;
[0033] An information acquisition unit, configured to control the business system to which the query task belongs to execute the query task for each query task, and obtain a query result of the query task;
[0034] A data regularization unit, configured to construct node data corresponding to each of the nodes based on the query results corresponding to each of the nodes;
[0035] An information abstraction unit, configured to determine an information item corresponding to each of the nodes based on the node data corresponding to each of the nodes;
[0036] An item display unit is used to display each of the information items to the user through a preset interface.
[0037] A computer-readable storage medium includes a stored program, wherein the program executes the method for querying items.
[0038] A device for querying items, comprising: a processor, a memory and a bus; the processor and the memory are connected via the bus;
[0039] The memory is used to store programs, and the processor is used to run programs, wherein the method for querying items is executed when the program is run.
[0040] The technical solution provided by the present application, when receiving a matter query instruction sent by a user, obtains a node link associated with the matter indicated by the matter query instruction. Among them, the node link includes multiple nodes, each node is associated with a query task of one or more business systems, the query task is used to control the business system to call one or more service functions, and the service function is used to query the status of business data in the business system. For each query task, the business system to which the query task belongs is controlled to execute the query task to obtain the query result of the query task. Based on the query result corresponding to each node, the node data corresponding to each node is constructed. Based on the node data corresponding to each node, the information item corresponding to each node is determined, and each information item is displayed to the user through a preset interface. Using the solution shown in the present application, the user only needs to send a matter query instruction to feedback the information item corresponding to each node to the user. Compared with the prior art, there is no need for the user to manually query the node multiple times. The query process is relatively simple, which effectively improves the efficiency of matter query. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1a A flowchart of a method for querying items provided in an embodiment of the present application;
[0043] Figure 1b A flowchart of a method for querying items provided in an embodiment of the present application;
[0044] Figure 2 A flowchart of another method for querying items provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of the architecture of a device for querying matters provided in an embodiment of the present application. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0047] like Figure 1a and Figure 1b FIG. 1 is a flow chart of a method for querying items provided in an embodiment of the present application, which is applied to a data center and includes the following steps:
[0048] S101: regularly obtaining service information of each service instance in the business system, and uploading each service information to a preset registration center, so that the registration center records the mapping relationship between the service function and the service address of each service instance.
[0049] The business system includes multiple service instances, each of which provides a service function, which is used to query the status of business data in the business system. In addition, the service information of the service instance includes the service address, the port providing the service function, the access protocol and the running status.
[0050] When a service instance needs to call other service instances, the service instance will access the registration center to obtain the service address of other service instances, and call other service functions based on the obtained service address.
[0051] It should be noted that the data center involves a large number of business systems, and each business system is deployed in a high-availability mode in a cluster. With the automatic expansion, failure, and release and upgrade of service functions, the service address of the service instance changes dynamically, and the startup and destruction of service instances are very frequent. It is necessary to dynamically change the mapping relationship between service functions and service addresses. To this end, the service information of each service instance in the business system is regularly uploaded to the preset registration center, so that the registration center records the mapping relationship between the service function and the service address of each service instance, thereby realizing dynamic update of service functions.
[0052] S102: Upon receiving a matter query instruction sent by a user, obtain a node link associated with the matter indicated in the matter query instruction.
[0053] The node link includes multiple nodes, each of which is associated with one or more query tasks of a business system, and the query task is used to control the business system to call one or more service functions.
[0054] It should be noted that an event is composed of a series of related nodes. However, each node may be distributed on different business systems (that is, different query tasks are solved by different business systems), and a node often involves many query tasks, and a query person may need to call many service functions.
[0055] S103: Parse the node link to obtain the calling path of each service function, and display the calling path to the user through a preset interface.
[0056] The complexity of calling between service functions determines that the calling path of each service function is becoming more and more complicated, especially for data file generation, which requires multiple jobs to be called and the calling path may change. By using node links, we can follow up which services are involved in a data request and in what order, so that the steps of each data request can be clearly visible and problems can be quickly located.
[0057] It should be noted that the essence of displaying the call path to the user is to display the temporal relationship of each query task under the matter queried by the user in the form of a path (that is, the execution order of each query task, or the calling order of each service function).
[0058] S104: For each query task shown in the node link, determine whether the query task has a high real-time requirement.
[0059] If the query task has a high real-time requirement, then S105 is executed; otherwise, S106 is executed.
[0060] S105: Control the business system to which the query task belongs to execute the query task, and obtain the query result of the query task.
[0061] After executing S105 , continue to execute S112 .
[0062] The query result represents the status of the business data in the business system.
[0063] S106: Determine whether the query task belongs to only one business system.
[0064] If the query task belongs to only one business system, execute S107 , otherwise execute S109 .
[0065] Among them, the query task belongs to only one business system, which means that the query task will not flow in multiple business systems.
[0066] S107: Create a custom task with the business system to which the query task belongs as the main body.
[0067] After executing S107, continue to execute S108.
[0068] It should be noted that the specific implementation method of creating custom tasks is common knowledge familiar to those skilled in the art. Specifically, the so-called custom tasks include but are not limited to: work arranged verbally or by email by supervisors, and tracking tasks within the department.
[0069] S108: Control the business system to which the query task belongs to execute the custom task, and obtain the query result of the custom task.
[0070] After executing S108 , continue to execute S112 .
[0071] S109: Determine whether the query task involves the collection of batch information.
[0072] If the query task involves the collection of batch information, S110 is executed, otherwise S111 is executed.
[0073] S110: timing control the business system to which the query task belongs to executes the query task, obtains the query results of the query task within each preset time period, and persists each query result in the database.
[0074] After executing S110 , continue to execute S112 .
[0075] S111: Determine that the query task cannot be executed, and prompt the user that the query task execution has failed.
[0076] After executing S111, continue to execute S112.
[0077] S112: For each node shown in the node link, based on the query result corresponding to each node, construct the node data corresponding to each node.
[0078] S113: Extract key information from each node data to obtain key information from each node data.
[0079] S114: Abstract the key information of each node data to obtain information items corresponding to each node.
[0080] Among them, since the node data involved in the matter comes from various business systems, the information content of each node data varies greatly. In order to display the common information that users need to pay attention to on a single page, an abstract algorithm is used to abstract the key information of each node data to obtain the information item corresponding to each node.
[0081] S115: For each information item, determine whether the user has query authority for the business system associated with the information item.
[0082] If the user has the query authority for the business system associated with the information item, then S116 is executed; otherwise, S117 is executed.
[0083] S116: Displaying the information item to the user through a preset interface.
[0084] S117: The user is prohibited from viewing the information item and the node data to which the information item belongs.
[0085] It should be noted that the data center shown in the embodiment of the present application is developed using the MVC model.
[0086] Specifically, the development of the data center is based on the B / S architecture, using Java as the development language, using the SSM (Spring+SpringMVC+Mybatis) framework for development, the Log4j framework for logging, and the Shiro framework for permission management. In addition, the AngularJS framework and the Bootstrap framework are used to simplify the front-end development and achieve a unified style and beautiful page layout. The data center is roughly divided into three layers: presentation layer, business layer, and persistence layer.
[0087] The main function of the presentation layer is to accept user requests, call the appropriate transaction interface of the business layer according to the user's request, and fill the final result data into the view to show it to the user. The presentation layer is generally designed using the MVC model: M is called the model, which is the entity class, used for data encapsulation and data transmission; V is the view, used for data display; C is the controller, which is responsible for reading the required data from the view or filling data into the model to achieve user interaction.
[0088] The business layer is the bridge between the presentation layer and the persistence layer. It implements the specific functions of each service unit in the data center and provides it to the presentation layer for invocation. When performing business operations, the most important part is transaction processing, which is implemented in the data center using the transaction mechanism supported by the Spring framework.
[0089] The persistence layer provides operations on the database (such as adding, deleting, modifying, and checking), providing a basis for the functional implementation of each service unit in the business layer. The persistence layer in the data center uses the Mybatis framework to establish a mapping relationship between the entity class and the database, which implements the so-called ORM (object-relational mapping).
[0090] In addition, this embodiment may use a relational database to store data in the data center.
[0091] Based on the process shown in S101-S117 above, this embodiment can realize centralized management of node data obtained from multiple channels. By analyzing, integrating and processing node data, it can use a time-series display format to display the progress of the matter and the query results of each query task under the matter in the same system, thereby reducing the difficulty of the query, improving the convenience, and increasing the efficiency of the query, thereby achieving: from the perspective of displaying the global execution status of the matter, the query results of each query task under the matter are displayed in the form of a time-series relationship, and the execution status of the matter can be intuitively observed without manually querying the nodes multiple times.
[0092] To sum up, using the solution shown in this embodiment, the user only needs to send a matter query instruction to feedback the calling path of each service function and the information items corresponding to each node to the user. Compared with the existing technology, the user does not need to manually query the node multiple times, the query process is relatively simple, and the efficiency of matter query is effectively improved.
[0093] It should be noted that S101 mentioned in the above embodiment is an optional implementation of the method for querying items shown in this application. In addition, S117 mentioned in the above embodiment is also an optional implementation of the method for querying items shown in this application. To this end, the process mentioned in the above embodiment can be summarized as follows: Figure 2 The method shown.
[0094] like Figure 2 FIG. 1 is a flow chart of another method for querying items provided in an embodiment of the present application, comprising the following steps:
[0095] S201: Upon receiving a matter query instruction sent by a user, obtain a node link associated with the matter indicated in the matter query instruction.
[0096] The node link includes multiple nodes; each node is associated with one or more query tasks of the business system; the query task is used to control the business system to call one or more service functions; the service function is used to query the status of business data in the business system;
[0097] S202: For each query task, control the business system to which the query task belongs to execute the query task to obtain a query result of the query task.
[0098] S203: Based on the query result corresponding to each node, construct node data corresponding to each node.
[0099] S204: Based on the node data corresponding to each node, determine the information item corresponding to each node.
[0100] S205: Display each information item to the user through a preset interface.
[0101] To sum up, using the solution shown in this embodiment, the user only needs to send a matter query instruction to feedback the information item corresponding to each node to the user. Compared with the existing technology, the user does not need to manually query the node multiple times. The query process is relatively simple, which effectively improves the efficiency of matter query.
[0102] Corresponding to the method for querying matters mentioned in the above embodiment, the embodiment of the present application also provides a device for querying matters.
[0103] like Figure 3 FIG. 1 is a schematic diagram of the architecture of a device for querying items provided in an embodiment of the present application, including:
[0104] The system discovery unit 100 is used to periodically obtain service information of each service instance in the business system and upload each service information to a preset registration center so that the registration center records the mapping relationship between the service function and the service address of each service instance; each service instance provides a service function; the service information includes at least the service address.
[0105] The path discovery unit 200 is used to obtain a node link associated with the matter indicated by the matter query instruction when receiving the matter query instruction sent by the user; the node link includes multiple nodes; each node is associated with one or more query tasks of the business system; the query task is used to control the business system to call one or more service functions; the service function is used to query the status of the business data in the business system;
[0106] The path discovery unit 200 is further used to: parse the node links to obtain the calling path of each service function, and display the calling path to the user through a preset interface.
[0107] The information acquisition unit 300 is used to control the business system to which the query task belongs to execute the query task for each query task, and obtain the query result of the query task.
[0108] The information acquisition unit 300 is specifically used to: for each query task, determine whether the query task has a high real-time requirement; if the query task has a high real-time requirement, control the business system to which the query task belongs to execute the query task to obtain the query result of the query task.
[0109] The information acquisition unit 300 is also used for: when the query task does not have a high real-time requirement, determining whether the query task belongs to only one business system; when the query task belongs to only one business system, creating a custom task with the business system to which the query task belongs as the main body, and controlling the business system to which the query task belongs to execute the custom task to obtain the query result of the custom task; when the query task does not belong to only one business system, determining whether the query task involves the collection of batch information; when the query task involves the collection of batch information, timingly controlling the business system to which the query task belongs to execute the query task, obtaining the query result of the query task within each preset time period, and persisting each query result in the database; when the query task does not involve the collection of batch information, determining that the query task cannot be executed, and prompting the user that the query task execution has failed.
[0110] The data regularization unit 400 is used to construct node data corresponding to each node based on the query result corresponding to each node.
[0111] The information abstraction unit 500 is used to determine the information item corresponding to each node based on the node data corresponding to each node.
[0112] The information abstraction unit 500 is specifically used for: extracting key information from each node data to obtain key information of each node data; abstracting the key information of each node data to obtain information items corresponding to each node.
[0113] The item display unit 600 is used to display each information item to the user through a preset interface.
[0114] The event display unit 600 is specifically used to: for each information item, determine whether the user has the query authority for the business system associated with the information item; if the user has the query authority for the business system associated with the information item, display the information item to the user through a preset interface.
[0115] To sum up, using the solution shown in this embodiment, the user only needs to send a matter query instruction to feedback the information item corresponding to each node to the user. Compared with the existing technology, the user does not need to manually query the node multiple times. The query process is relatively simple, which effectively improves the efficiency of matter query.
[0116] The present application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the method for querying matters provided by the present application.
[0117] The present application also provides a device for querying items, including: a processor, a memory, and a bus. The processor and the memory are connected via a bus, the memory is used to store programs, and the processor is used to run programs, wherein when the program is run, the method for querying items provided by the present application is executed, including the following steps:
[0118] Upon receiving a matter query instruction sent by a user, a node link associated with the matter indicated by the matter query instruction is obtained; the node link includes a plurality of nodes; each of the nodes is associated with a query task of one or more business systems; the query task is used to control the business system to call one or more service functions; the service function is used to query the status of business data in the business system;
[0119] For each of the query tasks, controlling the business system to which the query task belongs to execute the query task to obtain the query result of the query task;
[0120] Based on the query results corresponding to each of the nodes, construct node data corresponding to each of the nodes;
[0121] Determining an information item corresponding to each of the nodes based on the node data corresponding to each of the nodes;
[0122] Each of the information items is presented to the user through a preset interface.
[0123] Specifically, based on the above embodiment, it also includes:
[0124] The service information of each service instance in the business system is obtained regularly, and each service information is uploaded to a preset registration center, so that the registration center records the mapping relationship between the service function and the service address of each service instance; each service instance provides one service function; the service information at least includes the service address.
[0125] Specifically, based on the above embodiment, after obtaining the node link associated with the matter indicated by the matter query instruction, it also includes:
[0126] The node links are parsed to obtain the calling paths of the various service functions, and the calling paths are displayed to the user through a preset interface.
[0127] Specifically, based on the above embodiment, for each query task, controlling the business system to which the query task belongs to execute the query task to obtain the query result of the query task includes:
[0128] For each of the query tasks, determining whether the query task has a high real-time requirement;
[0129] In the case where the query task has a high real-time requirement, the business system to which the query task belongs is controlled to execute the query task to obtain a query result of the query task.
[0130] Specifically, based on the above embodiment, it also includes:
[0131] In the case where the query task does not have a high real-time requirement, determining whether the query task belongs to only one of the business systems;
[0132] In the case where the query task belongs to only one business system, a custom task is created with the business system to which the query task belongs as the main body, and the business system to which the query task belongs is controlled to execute the custom task to obtain the query result of the custom task;
[0133] In the case where the query task does not belong to only one of the business systems, determining whether the query task involves the collection of batch information;
[0134] In the case where the query task involves the collection of batch information, the business system to which the query task belongs is controlled to execute the query task in a timely manner, the query results of the query task within each preset time period are obtained, and each query result is persisted in the database;
[0135] In the case that the query task does not involve the collection of batch information, it is determined that the query task cannot be executed, and the user is prompted that the query task execution has failed.
[0136] Specifically, based on the above embodiment, determining the information item corresponding to each of the nodes based on the node data corresponding to each of the nodes includes:
[0137] Extract key information from each of the node data to obtain key information from each of the node data;
[0138] Abstract processing is performed on the key information of each node data to obtain information items corresponding to each node.
[0139] Specifically, based on the above embodiment, presenting each information item to the user through a preset interface includes:
[0140] For each of the information items, determining whether the user has query authority for the business system associated with the information item;
[0141] In the case where the user has query authority for the business system associated with the information item, the information item is displayed to the user through a preset interface.
[0142] If the functions described in the method of the embodiment of the present application are implemented in the form of software functional units and sold or used as independent products, they can be stored in a storage medium readable by a computing device. Based on this understanding, the part of the embodiment of the present application that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a computing device (which can be a personal computer, server, mobile computing device or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0143] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0144] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for querying matters, characterized in that: include: When receiving a matter query instruction sent by a user, obtaining a node link associated with the matter indicated by the matter query instruction; the node link includes a plurality of nodes; each of the nodes is associated with a query task of one or more business systems; The query task is used to control the business system to call one or more service functions; the service function is used to query the status of business data in the business system; For each of the query tasks, controlling the business system to which the query task belongs to execute the query task to obtain the query result of the query task; Based on the query results corresponding to each of the nodes, construct node data corresponding to each of the nodes; Determining an information item corresponding to each of the nodes based on the node data corresponding to each of the nodes; Displaying each of the information items to the user through a preset interface; For each of the query tasks, controlling the business system to which the query task belongs to execute the query task to obtain the query result of the query task includes: For each of the query tasks, determining whether the query task has a high real-time requirement; In the case where the query task has a high real-time requirement, controlling the business system to which the query task belongs to execute the query task to obtain a query result of the query task; In the case where the query task does not have a high real-time requirement, determining whether the query task belongs to only one of the business systems; In the case where the query task belongs to only one business system, a custom task is created with the business system to which the query task belongs as the main body, and the business system to which the query task belongs is controlled to execute the custom task to obtain the query result of the custom task; In the case where the query task does not belong to only one of the business systems, determining whether the query task involves the collection of batch information; In the case where the query task involves the collection of batch information, the business system to which the query task belongs is controlled to execute the query task in a timely manner, the query results of the query task within each preset time period are obtained, and each query result is persisted in the database; In the case that the query task does not involve the collection of batch information, it is determined that the query task cannot be executed, and the user is prompted that the query task execution has failed.
2. The method according to claim 1, characterized in that Also includes: The service information of each service instance in the business system is obtained regularly, and each service information is uploaded to a preset registration center, so that the registration center records the mapping relationship between the service function and the service address of each service instance; each service instance provides one service function; the service information at least includes the service address.
3. The method according to claim 1, characterized in that After obtaining the node link associated with the matter indicated by the matter query instruction, the method further includes: The node links are parsed to obtain the calling paths of the various service functions, and the calling paths are displayed to the user through a preset interface.
4. The method according to claim 1, characterized in that The determining, based on the node data corresponding to each of the nodes, the information item corresponding to each of the nodes comprises: Extract key information from each of the node data to obtain key information from each of the node data; Abstract processing is performed on the key information of each node data to obtain information items corresponding to each node.
5. The method according to claim 1, characterized in that The presenting each of the information items to the user through a preset interface includes: For each of the information items, determining whether the user has query authority for the business system associated with the information item; In the case where the user has query authority for the business system associated with the information item, the information item is displayed to the user through a preset interface.
6. A device for querying matters, characterized in that: include: A path discovery unit is used to obtain a node link associated with the matter indicated by the matter query instruction when receiving the matter query instruction sent by the user; the node link includes a plurality of nodes; each of the nodes is associated with a query task of one or more business systems; The query task is used to control the business system to call one or more service functions; the service function is used to query the status of business data in the business system; An information acquisition unit, configured to control the business system to which the query task belongs to execute the query task for each query task, and obtain a query result of the query task; A data regularization unit, configured to construct node data corresponding to each of the nodes based on the query results corresponding to each of the nodes; An information abstraction unit, configured to determine an information item corresponding to each of the nodes based on the node data corresponding to each of the nodes; An item display unit, used to display each of the information items to the user through a preset interface; The information acquisition unit is specifically used to: for each query task, determine whether the query task has a high real-time requirement; if the query task has a high real-time requirement, control the business system to which the query task belongs to execute the query task to obtain the query result of the query task; The information acquisition unit is also used for: when the query task does not have a high real-time requirement, judging whether the query task belongs to only one of the business systems; when the query task belongs to only one of the business systems, creating a custom task with the business system to which the query task belongs as the main body, and controlling the business system to which the query task belongs to execute the custom task to obtain the query result of the custom task; when the query task does not belong to only one of the business systems, judging whether the query task involves the collection of batch information; when the query task involves the collection of batch information, timing controlling the business system to which the query task belongs to execute the query task, obtaining the query result of the query task within each preset time period, and persisting each of the query results in the database; when the query task does not involve the collection of batch information, determining that the query task cannot be executed, and prompting the user that the query task execution has failed.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the method for querying items as described in any one of claims 1-5.
8. A device for querying items, characterized in that: include: processor, memory, and bus; The processor is connected to the memory via the bus; The memory is used to store programs, and the processor is used to run programs, wherein the program executes the method for querying items described in any one of claims 1-5 when running.
Citation Information
Patent Citations
Business process monitoring method and device, storage medium and electronic equipment
CN113222309A