An architecture requirement processing method and device, electronic equipment and storage medium

By automatically selecting matching target service nodes from the service node cluster and constructing node combinations, the problem of low business processing efficiency caused by users manually deploying algorithms is solved, and efficient business processing is achieved.

CN116048786BActive Publication Date: 2026-06-09BEIJING INST OF ARCHITECTURAL DESIGN

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING INST OF ARCHITECTURAL DESIGN
Filing Date
2022-12-26
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

When faced with multiple business needs or building a business framework, existing technologies require users to manually deploy or write algorithms, resulting in low business processing efficiency.

Method used

By acquiring the architectural requirements of the business to be processed, the system automatically selects matching target service nodes from the service node cluster, constructs node combinations, and executes task information to achieve automated processing.

Benefits of technology

It improved business processing efficiency, reduced the need for manual deployment by users, and enhanced processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116048786B_ABST
    Figure CN116048786B_ABST
Patent Text Reader

Abstract

The application discloses a processing method and device of architecture requirements, electronic equipment and storage medium. The method comprises the following steps: obtaining architecture requirements corresponding to a to-be-processed service, wherein the architecture requirements comprise at least one function information required by the to-be-processed service; selecting at least one target service node matched with the function information from a service node cluster, and constructing a node combination corresponding to the function information based on the target service node; obtaining task information of each function information in the to-be-processed service; and delivering the task information to the node combination corresponding to the function information, so that the target service node in the node combination executes the task information, and a service processing result corresponding to the to-be-processed service is obtained. The application only needs to obtain the architecture requirements uploaded by a user, obtain the function information required by the user, automatically match the corresponding target service node, construct the node combination of the function information, and subsequently directly process the task information of the related service by using the node combination, so that the service processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more particularly to a method for processing architectural requirements, a device, an electronic device, and a storage medium. Background Technology

[0002] With the rapid development of technology, it has indeed gradually become possible to serve the general public. However, barriers still exist, to the point that certain internet giants have achieved a kind of monopoly in certain industries. From a development perspective, when facing multiple business needs or building a framework for a particular business, different algorithmic solutions are required. If the algorithms for implementing certain functions are currently lacking, users need to manually deploy or write them, resulting in low business processing efficiency. 5. Summary of the Invention

[0003] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, this application provides a method, apparatus, electronic device and storage medium for processing architectural requirements.

[0004] According to one aspect of the embodiments of this application, a method for processing architectural requirements is provided, characterized in that it includes:

[0005] 0. Obtain the architecture requirements corresponding to the business to be processed, wherein the architecture requirements include at least one functional information required by the business to be processed;

[0006] Select at least one target service node from the service node cluster that matches the functional information, and construct a node combination corresponding to the functional information based on the target service node;

[0007] Obtain task information for each function in the pending service;

[0008] The task information is transmitted to the node combination corresponding to the function information, so that the

[0009] The target service node in the node combination executes the task information to obtain the business processing result corresponding to the pending business 5.

[0010] Furthermore, selecting at least one target service node from the service node cluster that matches the functional information includes:

[0011] Obtain information on at least one algorithm deployed on each service node in the service node cluster;

[0012] 0. Determine the service type corresponding to the service node based on the algorithm information;

[0013] The service node whose service type matches the functional information is identified as the target service node.

[0014] Furthermore, the step of determining the service corresponding to the service node based on the algorithm information...

[0015] Types, including:

[0016] 5. Obtain the priority corresponding to each algorithm information in the service node;

[0017] The algorithm information with the highest priority is determined as the target algorithm information, and the service type of the service node is determined according to the algorithm type corresponding to the target algorithm information.

[0018] Furthermore, the construction of the functional information corresponding to the target service node...

[0019] Node combinations include:

[0020] 0. Obtain the path length between every two target service nodes in each functional information;

[0021] The connection strategy corresponding to each target service node is determined using the path length.

[0022] The target service node is connected based on the connection strategy to obtain the node combination corresponding to the functional information.

[0023] Furthermore, determining the connection strategy corresponding to each target service node using the path length includes:

[0024] Based on the path length between every two target service nodes in the functional information, at least one candidate connection link is determined.

[0025] Obtain the link length corresponding to each candidate connection link;

[0026] The connection strategy is determined by the connection order of each target service node in the candidate connection link with the shortest link length.

[0027] Furthermore, after constructing the node combination corresponding to the functional information, the method further includes:

[0028] Check if there are any remaining target service nodes;

[0029] If the remaining target service nodes exist, determine the algorithm information other than the target algorithm information in the remaining target service nodes;

[0030] Based on the algorithm type corresponding to the other algorithm information, find the target node combination that belongs to the remaining target service node, and add the remaining target service node to the target node combination.

[0031] Furthermore, after transmitting the task information to the node combination corresponding to the functional information, the method further includes:

[0032] Obtain node execution information corresponding to each target service node from the business processing results, wherein the node execution information is obtained from the target service node's task execution information;

[0033] The validity of the execution information of each node is verified to obtain the verification result.

[0034] The target service node corresponding to the node execution information with the invalid verification result is identified as an abnormal service node, and the node status corresponding to the abnormal service node is obtained.

[0035] If the node is in an abnormal state, a substitute service node with similar functional information to the abnormal service node is obtained, and the task information is re-executed using the substitute service node.

[0036] According to another aspect of the embodiments of this application, an apparatus for processing architectural requirements is also provided, comprising:

[0037] The acquisition module is used to acquire the architecture requirements corresponding to the business to be processed, wherein the architecture requirements include at least one functional information required by the business to be processed;

[0038] A construction module is used to select at least one target service node from the service node cluster that matches the functional information, and to construct a node combination corresponding to the functional information based on the target service node;

[0039] The query module is used to obtain task information for each function in the pending business;

[0040] An execution module is used to transmit the task information to the node combination corresponding to the function information, so that the target service node in the node combination executes the task information and obtains the business processing result corresponding to the business to be processed.

[0041] According to another aspect of the embodiments of this application, a storage medium is also provided, the storage medium including a stored program that executes the above steps when the program is run.

[0042] According to another aspect of the embodiments of this application, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the programs stored in the memory.

[0043] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps in the above-described method.

[0044] Compared with the prior art, the above-mentioned technical solution provided in this application embodiment has the following advantages: The method provided in this application embodiment only needs to obtain the architecture requirements uploaded by the user, obtain the functional information that the user wants from it, then automatically match the corresponding target service nodes, and construct the node combination of the functional information. Subsequently, the task information of related business is directly processed using the node combination, and the user no longer needs to deploy manually, thereby improving the efficiency of business processing. Attached Figure Description

[0045] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0046] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 A flowchart illustrating a method for processing architectural requirements as provided in an embodiment of this application;

[0048] Figure 2 A block diagram of a processing apparatus for an architectural requirement provided in an embodiment of this application;

[0049] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an improper limitation of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0051] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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 limitations, 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.

[0052] This application provides a method, apparatus, electronic device, and storage medium for processing architectural requirements. The method provided by this invention can be applied to any electronic device as needed, such as a server, terminal, or other electronic device. No specific limitation is made here, and for ease of description, it will be referred to as an electronic device below.

[0053] According to one aspect of the embodiments of this application, a method embodiment for processing architectural requirements is provided. Figure 1 A flowchart illustrating a method for processing architectural requirements provided in an embodiment of this application is shown below. Figure 1 As shown, the method includes:

[0054] Step S11: Obtain the architecture requirements corresponding to the business to be processed, wherein the architecture requirements include at least one functional information required by the business to be processed.

[0055] The method provided in this application is applied to any one of the service nodes in a service node cluster. A service node is a server deployed with at least one algorithm, such as an image recognition algorithm, clustering algorithm, filtering algorithm, etc. When a user has business needs to be processed, the user can pre-write the architectural requirements for the business to be processed. These requirements include the functional information needed for the business, such as image processing, data search, sorting, etc. The user can then upload the architectural requirements corresponding to the business to be processed to the service node. The service node will automatically select a matching service node from the service node cluster using the functional information in the architectural requirements.

[0056] Step S12: Select at least one target service node from the service node cluster that matches the functional information, and construct a node combination corresponding to the functional information based on the target service node.

[0057] In this embodiment of the application, selecting at least one target service node from the service node cluster that matches the functional information includes the following steps A1-A3:

[0058] Step A1: Obtain information on at least one algorithm deployed on each service node in the service node cluster.

[0059] In this embodiment of the application, since there is a communication connection between the service nodes in the service node cluster, when a service node queries the functional information in the architecture requirements, it can first send a query request to each service node in the service node cluster to obtain the algorithm information deployed on each service node in the service node cluster. The algorithm information includes: algorithm type and algorithm model.

[0060] Step A2: Determine the service type corresponding to the service node based on the algorithm information.

[0061] In this embodiment of the application, determining the service type corresponding to the service node based on the algorithm information includes: obtaining the priority corresponding to each algorithm information in the service node; determining the algorithm information with the highest priority as the target algorithm information; and determining the service type of the service node based on the algorithm type corresponding to the target algorithm information.

[0062] In this embodiment, when multiple algorithm information is deployed on a service node, the current service node can also query the algorithm priority list from that service node to obtain the priority corresponding to each algorithm information, and then determine the algorithm information with the highest priority as the target algorithm information. Specifically, the service node currently performing the query operation will obtain the pre-configured algorithm priority list on each service node, obtain the priority corresponding to each algorithm information from the algorithm priority list, and determine the algorithm type corresponding to the algorithm information with the highest priority as the service type of the service node.

[0063] In this embodiment, when a service node contains at least two highest-priority algorithm information entries, the service node can calculate the target score for that algorithm information. Specifically, the service node queries the usage count and current version corresponding to the highest-priority algorithm information, determines the first score corresponding to the usage count from the list of relationships between usage counts and scores, and determines the second score corresponding to the current version from the list of relationships between versions and scores. The target score is determined based on the sum of the first and second scores. The algorithm information with the highest target score is identified as the target algorithm information, and the algorithm type corresponding to the target algorithm information is designated as the service type of the service node.

[0064] As an example, service node A deploys algorithm information 1 and algorithm information 2, both with the highest priority. Algorithm information 1 has been used 8 times and is currently version V2. Algorithm information 2 has been used 3 times and is currently version V1. The scores for 8 uses and 3 uses are obtained from the list of uses versus scores, and then the scores for V2 and V1 are obtained from the list of versions versus scores. Finally, the target scores for algorithm information 1 and algorithm information 2 are obtained, and the algorithm with the higher target score is selected as the target algorithm information.

[0065] Step A3: Identify the service nodes whose service types and functional information match as the target service nodes.

[0066] In this embodiment, after determining the service type by identifying the target algorithm information in each service node, the service type is matched with the functional information. Service nodes with a high degree of similarity between their service type and functional information are identified as target service nodes. For example, if the functional information is image processing, the service type corresponding to service node A is image transformation, the service type corresponding to service node B is image enhancement and restoration, and the service type of service node C is data sorting. Therefore, the target service nodes that match the functional information include service node A and service node B.

[0067] In this embodiment of the application, constructing a node combination corresponding to the functional information based on the target service node includes the following steps B1-B3:

[0068] Step B1: Obtain the path length between every two target service nodes in each functional information;

[0069] In this embodiment, after obtaining all target service nodes, the target service node corresponding to each functional information is acquired. For example, if the functional information is image processing, the corresponding service nodes are A, B, C, and H; if the functional information is data sorting, the corresponding service nodes are E, F, and D. The path length between service nodes is the path length of the transmission path. The path length between the target service nodes corresponding to the functional information of image processing includes: path length L1 between service node A and service node B, path length L2 between service node A and service node C, path length L3 between service node A and service node H, path length L4 between service node B and service node C, path length L5 between service node B and service node H, and path length L6 between service node C and service node H.

[0070] Step B2: Determine the connection strategy for each target service node using the path length;

[0071] In this embodiment of the application, determining the target service node to be connected corresponding to each target service node using path length includes: determining at least one candidate connection link based on the path length between every two target service nodes in the functional information; obtaining the link length corresponding to each candidate connection link; and determining the connection order of each target service node in the candidate connection link with the shortest link length as the connection strategy.

[0072] It should be noted that, based on the path length between every two target service nodes in the functional information and the permutation and combination of the target service nodes, at least one candidate connection link is obtained. For example, if there are two target service nodes, there is one candidate connection link obtained by permutation and combination. If there are three target service nodes, there are four candidate connection links obtained by permutation and combination. In addition, if among multiple target service nodes matching a certain functional information, there is a target service node whose path length with all other target service nodes is greater than a preset length, then that target service node is discarded.

[0073] Step B3: Connect the target service node based on the connection strategy to obtain the node combination corresponding to the functional information.

[0074] This application embodiment forms a combination of nodes corresponding to the same functional information by selecting the shortest connection path. The purpose is to facilitate the processing of task information by the node combination, and to effectively improve the data transmission efficiency between service nodes based on the path.

[0075] Step S13: Obtain task information for each function in the pending business.

[0076] In this embodiment, task information for each function in the pending business is obtained. Specifically, after constructing node combinations according to the user-uploaded architecture requirements, the user is prompted to upload task information corresponding to each function. Upon receiving the uploaded file, the file is parsed to obtain task packages corresponding to each function. Each task package includes task information to be executed by each node combination. For example, the file may include a first task package and a second task package. The task information included in the first task package may be image segmentation and image enhancement. The task information included in the second task package may be data sorting.

[0077] Step S14: The task information is transmitted to the node combination corresponding to the function information, so that the target service node in the node combination executes the task information and obtains the business processing result corresponding to the business to be processed.

[0078] In this embodiment, the service node currently used by the user transmits task information to the node combination corresponding to each function. Upon receiving the task information, each target service node in the node combination automatically executes the task. It should be noted that when multiple tasks exist in the task information and have a specific order, the target service node executing the tasks in the node combination will determine whether the current connection path matches the order. If it matches, the current connection path remains unchanged; otherwise, it changes the current connection path according to the task order. Finally, after each target service node completes its corresponding task, the last target service node to finish summarizing the execution information of all nodes within the node combination to obtain the business processing result corresponding to that node combination.

[0079] The method provided in this application only needs to obtain the architecture requirements uploaded by the user, extract the functional information that the user wants, then automatically match the corresponding target service nodes, and construct the node combination of the functional information. Subsequently, the task information of related business is directly processed using the node combination, eliminating the need for manual deployment by the user, thereby improving business processing efficiency.

[0080] In this embodiment of the application, after constructing the node combination corresponding to the functional information, the method further includes the following steps C1-C3:

[0081] Step C1: Check if there are any remaining target service nodes;

[0082] Step C2: If there are remaining target service nodes, determine the algorithm information other than the target algorithm information in the remaining target service nodes;

[0083] Step C3: Based on the algorithm type corresponding to other algorithm information, find the target node combination that belongs to the remaining target service nodes, and add the remaining target service nodes to the target node combination.

[0084] In this embodiment, after constructing the node combination, it is possible to detect whether there are any remaining target service nodes in the service node cluster. If there are remaining target service nodes, it indicates that the remaining target service nodes are related to each functional information, and the algorithm information other than the target algorithm information in the remaining target service nodes is determined. The priority of the other algorithm information is obtained, and the algorithm type corresponding to the highest priority algorithm information in the other algorithm information is used to query the matching target node combination. Then, the remaining target service nodes are added to the target node combination.

[0085] As an example, the target service nodes corresponding to function information 1 include: node A, node B, and node C. The transmission path between node C and nodes A and B is longer than a preset path length, so node C is a remaining node. The algorithm information in node C, excluding the algorithm information matching function information 1, is queried. Using the algorithm type of the other algorithm information with the highest priority, the target node combination corresponding to function information 2 is obtained. If the path length between node C and each node in the target node combination is less than a preset path length, then node C is added to the target node combination. This achieves reasonable allocation of service nodes and enhances the service capability of the node combination.

[0086] In this embodiment of the application, after transmitting the task information to the node combination corresponding to the functional information, the method further includes the following steps D1-D4:

[0087] Step D1: Obtain the node execution information corresponding to each target service node from the business processing results. The node execution information is obtained from the target service node's task execution information.

[0088] Step D2: Verify the validity of the execution information of each node and obtain the verification results.

[0089] Step D3: Identify the target service node corresponding to the node execution information with invalid verification results as an abnormal service node, and obtain the node status corresponding to the abnormal service node.

[0090] Step D4: If the node status is abnormal, obtain a substitute service node with similar functional information to the abnormal service node, and use the substitute service node to re-execute the task information.

[0091] The method provided in this application verifies the validity of the execution information of each node in the final business processing result. This can involve displaying the node execution information and obtaining user input. The validity of the node execution information is determined based on the user input. If invalid, the node status of the service node is further checked. The node status can be determined based on the service node's running information and algorithm information. For example, if the service node is not currently running, has high memory usage, or the algorithm model in the algorithm information shows an anomaly, the node status can be determined to be abnormal. In the case of an abnormal node status, a substitute service node with similar functional information to the abnormal service node can be directly obtained from the service node cluster, and the task information corresponding to the abnormal service node can be re-executed using the substitute service node.

[0092] Figure 2 This is a block diagram of a processing device with architectural requirements provided in an embodiment of this application. This device can be implemented as part or all of an electronic device through software, hardware, or a combination of both.Figure 2 As shown, the device includes:

[0093] The acquisition module 21 is used to acquire the architecture requirements corresponding to the business to be processed, wherein the architecture requirements include at least one functional information required by the business to be processed.

[0094] The construction module 22 is used to select at least one target service node from the service node cluster that matches the functional information, and to construct a node combination corresponding to the functional information based on the target service node;

[0095] Query module 23 is used to obtain task information for each function in the pending business;

[0096] The execution module 24 is used to pass task information to the node combination corresponding to the function information, so that the target service node in the node combination can execute the task information and obtain the business processing result corresponding to the business to be processed.

[0097] In this embodiment of the application, the construction module 22 is used to obtain at least one algorithm information deployed on each service node in the service node cluster; determine the service type corresponding to the service node based on the algorithm information; and determine the service node whose service type matches the functional information as the target service node.

[0098] In this embodiment of the application, the construction module 22 is used to obtain the priority corresponding to each algorithm information in the service node; determine the algorithm information with the highest priority as the target algorithm information; and determine the service type of the service node according to the algorithm type corresponding to the target algorithm information.

[0099] In this embodiment of the application, the construction module 22 is used to obtain the path length between every two target service nodes in each functional information; determine the connection strategy corresponding to each target service node using the path length; and connect the target service nodes based on the connection strategy to obtain the node combination corresponding to the functional information.

[0100] In this embodiment of the application, the construction module 22 is used to determine at least one candidate connection link based on the path length between every two target service nodes in the functional information; obtain the link length corresponding to each candidate connection link; and determine the connection order of each target service node in the candidate connection link with the shortest link length as the connection strategy.

[0101] In this embodiment of the application, the processing device for the architecture requirements further includes: a processing module, used to detect whether there are any remaining target service nodes; if there are remaining target service nodes, to determine other algorithm information in the remaining target service nodes besides the target algorithm information; to find the target node combination belonging to the remaining target service nodes according to the algorithm type corresponding to the other algorithm information, and to add the remaining target service nodes to the target node combination.

[0102] In this embodiment of the application, the processing device for the architecture requirements further includes: an exception handling module, used to obtain node execution information corresponding to each target service node from the business processing results, wherein the node execution information is obtained from the target service node's task execution information; to perform validity verification on each node execution information and obtain a verification result; to determine the target service node corresponding to the node execution information with invalid verification results as an abnormal service node, and to obtain the node status corresponding to the abnormal service node; and, if the node status is abnormal, to obtain a substitute service node with similar functional information to the abnormal service node, and to re-execute the task information using the substitute service node.

[0103] This application also provides an electronic device, such as... Figure 3 As shown, the electronic device may include: a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504, wherein the processor 1501, the communication interface 1502, and the memory 1503 communicate with each other through the communication bus 1504.

[0104] Memory 1503 is used to store computer programs;

[0105] When the processor 1501 executes the computer program stored in the memory 1503, it implements the steps of the above embodiments.

[0106] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0107] The communication interface is used for communication between the aforementioned terminal and other devices.

[0108] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0109] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0110] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores instructions that, when executed on a computer, cause the computer to perform any of the methods described in the above embodiments.

[0111] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the methods described in the above embodiments.

[0112] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., a solid-state drive).

[0113] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

[0114] The above description is merely a specific embodiment of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily 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 this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for handling architectural requirements, characterized in that, include: Obtain the architecture requirements corresponding to the business to be processed, wherein the architecture requirements include at least one functional information required by the business to be processed; Select at least one target service node from the service node cluster that matches the functional information, and construct a node combination corresponding to the functional information based on the target service node; Obtain task information for each function in the pending service; The task information is transmitted to the node combination corresponding to the function information, so that the target service node in the node combination executes the task information to obtain the business processing result corresponding to the business to be processed. The step of constructing the node combination corresponding to the functional information based on the target service node includes: obtaining the path length between every two target service nodes in each functional information; determining the connection strategy corresponding to each target service node using the path length; and connecting the target service nodes based on the connection strategy to obtain the node combination corresponding to the functional information. After constructing the node combination corresponding to the functional information, it is detected whether there are any remaining target service nodes; if there are any remaining target service nodes, other algorithm information besides the target algorithm information is determined in the remaining target service nodes; according to the algorithm type corresponding to the other algorithm information, the target node combination belonging to the remaining target service nodes is found, and the remaining target service nodes are added to the target node combination.

2. The method according to claim 1, characterized in that, Selecting at least one target service node from the service node cluster that matches the functional information includes: Obtain information on at least one algorithm deployed on each service node in the service node cluster; The service type corresponding to the service node is determined based on the algorithm information; The service node whose service type matches the functional information is identified as the target service node.

3. The method according to claim 2, characterized in that, Determining the service type corresponding to the service node based on the algorithm information includes: Obtain the priority corresponding to each algorithm information in the service node; The algorithm information with the highest priority is determined as the target algorithm information, and the service type of the service node is determined according to the algorithm type corresponding to the target algorithm information.

4. The method according to claim 1, characterized in that, The step of determining the connection strategy corresponding to each target service node using the path length includes: Based on the path length between every two target service nodes in the functional information, at least one candidate connection link is determined. Obtain the link length corresponding to each candidate connection link; The connection strategy is determined by the connection order of each target service node in the candidate connection link with the shortest link length.

5. The method according to claim 1, characterized in that, After transmitting the task information to the node combination corresponding to the function information, the method further includes: Obtain node execution information corresponding to each target service node from the business processing results, wherein the node execution information is obtained from the target service node's task execution information; The validity of the execution information of each node is verified to obtain the verification result. The target service node corresponding to the node execution information with the invalid verification result is identified as an abnormal service node, and the node status corresponding to the abnormal service node is obtained. If the node is in an abnormal state, a substitute service node with similar functional information to the abnormal service node is obtained, and the task information is re-executed using the substitute service node.

6. A processing apparatus for architectural requirements, characterized in that, include: The acquisition module is used to acquire the architecture requirements corresponding to the business to be processed, wherein the architecture requirements include at least one functional information required by the business to be processed; A construction module is used to select at least one target service node from the service node cluster that matches the functional information, and to construct a node combination corresponding to the functional information based on the target service node; The query module is used to obtain task information for each function in the pending business; The execution module is used to transmit the task information to the node combination corresponding to the function information, so that the target service node in the node combination executes the task information and obtains the business processing result corresponding to the business to be processed. The construction module is further configured to obtain the path length between every two target service nodes in each functional information; determine the connection strategy corresponding to each target service node using the path length; and connect the target service nodes based on the connection strategy to obtain the node combination corresponding to the functional information. The processing module is used to detect whether there are any remaining target service nodes after constructing the node combination corresponding to the functional information; if there are remaining target service nodes, determine other algorithm information in the remaining target service nodes besides the target algorithm information; find the target node combination belonging to the remaining target service nodes according to the algorithm type corresponding to the other algorithm information, and add the remaining target service nodes to the target node combination.

7. A storage medium, characterized in that, The storage medium includes a stored program, wherein the program, when executed, performs the method steps of any one of claims 1 to 5.

8. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, communication interface, and memory communicate with each other through the communication bus; wherein: Memory, used to store computer programs; A processor for executing the method steps of any one of claims 1 to 5 by running a program stored in memory.