A method for realizing unified return of application system data in a componentized manner
Customizing and configuring unified return components through componentization, the problem of inconsistent data return format of business system is solved, and unified and efficient processing of data return is realized, reducing development costs and repetitive construction.
Patent Information
- Application Number
- CN202410362000.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-28
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-03-28
AI Technical Summary
Existing business systems lack a unified data format in terms of data return, which makes it difficult for front-end or other external systems to process, and each system needs to write its own data format processing code, which is time-consuming and labor-intensive.
Using componentization, custom components are designed and configured in the form of a unified return component to achieve unified return of application system data. The specific steps include customizing the components based on development requirements, introducing and configuring a unified return component, and activate the target component and intercepting and wrapping the return content when an interface call occurs.
It realizes the unified data return format of each business system, reduces repetitive construction, reduces development costs, and improves the efficiency and maintainability of the application system.
Smart Images

Figure CN118377822B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method for realizing unified return of application system data in a componentized manner. Background Art
[0002] Now we have entered the information age, and information management is achieved through information systems. The amount of enterprise data is large and cannot be managed by human brain or tables; the system helps to record and manage information manually, and users can enter, modify, query, and delete operations independently, greatly reducing the cost of personnel communication; through data accumulation, statistical analysis of enterprise data is more conducive to enterprises to analyze operations and grasp the direction of business. It is basically impossible for enterprises to improve their competitiveness and grow and develop without the help of business systems. Only with the help of business systems and systematic operations can core competitiveness be enhanced.
[0003] During the development of the business system, the following problems exist in terms of data return:
[0004] 1. Most business systems do not define a unified data format for return, and the data format returned by each interface is inconsistent, making it difficult for the front-end or other external systems to handle;
[0005] 2. Some business systems define a unified returned data format, but each business system defines its own data format, making it difficult to interact between systems;
[0006] 3. Each business system must write its own unified data format and process related data, which is time-consuming and laborious.
[0007] Therefore, the present invention provides a method for realizing unified return of application system data in a componentized manner. Summary of the invention
[0008] The present invention provides a method for realizing unified return of application system data in a componentized manner, so as to solve the problems raised in the background technology.
[0009] A method for realizing unified return of application system data in a componentized manner, comprising:
[0010] S1: Based on the development requirements uniformly returned by the data, the components to be developed are customized to obtain component customization information, and the components to be developed are designed based on the component customization information to obtain uniformly returned components;
[0011] S2: Based on the business requirements of the application system, the unified return component is introduced, and the unified return component is configured accordingly to obtain a usable unified return component;
[0012] S3: when it is detected that the application system makes an interface call, according to the interface call request, a target unified return component is determined from available unified return components, and the target unified return component is activated;
[0013] S4: Use the target unified return component to intercept and package the return content of the interface call request and then return it.
[0014] Preferably, in S1, based on the development requirements uniformly returned by the data, the components to be developed are customized to obtain component customization information, including:
[0015] The development requirements uniformly returned by the data are parsed according to the data attributes to obtain multiple sets of requirement data;
[0016] Obtaining common attribute information of the component to be developed, matching the common attribute information with multiple sets of demand data, and determining the data content corresponding to the common attribute information;
[0017] Acquire unmatched demand data from multiple sets of demand data, determine unique attribute information of the unmatched demand data, and determine data content of the unique attribute information;
[0018] An initial component custom template is created based on the general attribute information, and the initial custom template is specifically expanded based on the specific attribute information to obtain a target custom template;
[0019] Based on the content configuration type of the target custom template, the data content of the common attribute information and the unique attribute information is standardized to obtain the standard data content, and the standard data content is used as the component custom information.
[0020] Preferably, in S1, the component to be developed is designed based on the component custom information to obtain a unified return component, including:
[0021] Configure the component custom information to the corresponding position of the component to be developed to obtain the development component;
[0022] Run the test on the development component. If the test passes, the development component will be used as the final unified return component. Otherwise, the development component will be reconfigured based on the component custom information until the test passes.
[0023] Preferably, in S2, based on the business requirements of the application system, the unified return component is introduced, including:
[0024] Based on the business requirements of the application system, determine the unified return components that need to be introduced;
[0025] Obtain the storage address of the unified return component, and establish a communication connection between the application system and the unified return component based on the storage address;
[0026] Based on the communication connection, the unified return component is introduced.
[0027] Preferably, in S2, the unified return component is configured accordingly to obtain a usable unified return component, including:
[0028] Get the component identifier and component application parameters of the unified returned component;
[0029] Obtain the application interface and applicable call type of the unified return component in the application system, obtain the interface attribute parameters and interface characteristic parameters of the application interface, and obtain the call information parameters of the call type;
[0030] Obtaining component structure features of the uniformly returned component, obtaining a target configuration template matching the component structure features from a configuration template library, and obtaining a target configuration scheme corresponding to the target configuration template;
[0031] Based on the component identifier and the component application parameter, perform a first configuration on the unified return component according to the target configuration scheme to obtain a first configuration result;
[0032] Based on the interface attribute parameters, the interface characteristic parameters and the call information parameters, performing a second configuration on the unified return component according to the target configuration scheme to obtain a second configuration result;
[0033] Based on the first configuration result and the second configuration result, obtaining a configured unified return component;
[0034] Obtain a historical unified return component whose matching degree with the unified return component is greater than a preset matching degree, obtain reference configuration information of the historical unified return component, and perform correlation matching on the configuration information of the configured unified return component with the reference configuration information. If the correlation is greater than the preset correlation degree, determine that the configured unified return component is operable and is a usable unified return component. Otherwise, reconfigure the unified return component.
[0035] Preferably, the reconfiguring of the unified return component includes:
[0036] Based on the component identifier and component application parameters, as well as interface attribute parameters, interface feature parameters and call information parameters, the unified return component is reconfigured according to the standard configuration scheme to obtain the latest configuration result and the latest configuration information, and the above configuration process is repeated until the correlation between the latest configuration information and the reference configuration information is greater than the preset correlation.
[0037] Preferably, in S3, when it is detected that the application system makes an interface call, determining the target unified return component from the available unified return components according to the interface call request includes:
[0038] Based on the interface call request, obtain the interface identifier and the call identifier;
[0039] The interface identifier and the call identifier are matched with the component parameters that can use the unified return component, and the target unified return component is determined according to the matching result.
[0040] Preferably, in S3, activating the target unified return component includes:
[0041] Obtaining description information of the target unified return component, dividing the description information into multiple groups of feature description information according to the component application characteristics, and determining the component application attributes of each group of feature description information;
[0042] Obtain component association analysis rules corresponding to component application attributes, and according to the association analysis rules, uniformly analyze the feature description information corresponding to the component application attributes of all target uniformly returned components, and determine the feature association relationship between components under the component application attributes of all target uniformly returned components;
[0043] Obtaining the influence weight of the component application attribute in the target unified return component, obtaining the attribute association characteristics between all component application attributes, and constructing the feature association relationship within the component based on the attribute association characteristics and the influence weight;
[0044] Based on the inter-component feature association relationship, determine the first activation configuration information of the target unified return component, and based on the intra-component feature association relationship, determine the second activation configuration information of the target unified return component;
[0045] Obtain activation configuration rules corresponding to the first activation configuration information and the second activation configuration information from the information-rule database, and perform activation configuration on the target unified return component according to the activation configuration rules in combination with the first activation configuration information and the second activation configuration information to achieve activation of the target unified return component.
[0046] Preferably, in S4, the target unified return component is used to intercept and package the return content of the interface call request and then return it, including:
[0047] The target unified return component is used to intercept the return content of the interface call request, determine the data format of the return content, and judge whether the data format is a unified return format;
[0048] If so, the returned content is returned;
[0049] Otherwise, the target unified return component is used to package the return content in a unified return format, and the return content is returned after packaging.
[0050] Preferably, the determining whether the data format is a unified return format includes:
[0051] Get the return identifier, return code and return object from the return content;
[0052] Obtain the unified identification format, the unified encoding format and the unified object data format from the unified return format;
[0053] The data formats of the return identifier, return code and return object are compared with the unified identifier format, unified code format and unified object data format respectively. If the formats are all the same, it is determined that the data format is the unified return format; otherwise, it is determined that the data format is not the unified return data format.
[0054] Compared with the prior art, the present invention has achieved the following beneficial effects:
[0055] Based on the development requirements of unified data return, the components to be developed are customized to obtain component customization information, and the components to be developed are designed based on the component customization information to obtain a unified return component, so that the components can be developed once and used multiple times, and the duplication of construction of various application systems can be avoided, which helps the application system to reduce costs and increase efficiency. Based on the business requirements of the application system, the unified return component is introduced and the unified return component is configured accordingly to obtain an available unified return component. When it is detected that the application system makes an interface call, the target unified return component is determined from the available unified return component according to the interface call request, and the target unified return component is activated to achieve integration into the business system in a zero-code intrusion, out-of-the-box component manner, and achieve the unification of data return formats of various business systems. Finally, the target unified return component is used to intercept and package the return content of the interface call request and return it to obtain a unified data format, which solves various problems caused by the non-uniform data format during the interaction between the front-end and back-end or between application systems during the development of the business system.
[0056] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.
[0057] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0059] Figure 1A flowchart of a method for realizing unified return of application system data in a componentized manner in an embodiment of the present invention;
[0060] Figure 2 A flowchart of obtaining component custom information in an embodiment of the present invention;
[0061] Figure 3 This is a flow chart for introducing a unified return component in an embodiment of the present invention. DETAILED DESCRIPTION
[0062] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0063] Embodiment 1:
[0064] Based on Example 1, this embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner, such as Figure 1 As shown, including:
[0065] S1: Based on the development requirements uniformly returned by the data, the components to be developed are customized to obtain component customization information, and the components to be developed are designed based on the component customization information to obtain uniformly returned components;
[0066] S2: Based on the business requirements of the application system, the unified return component is introduced, and the unified return component is configured accordingly to obtain a usable unified return component;
[0067] S3: when it is detected that the application system makes an interface call, according to the interface call request, a target unified return component is determined from available unified return components, and the target unified return component is activated;
[0068] S4: Use the target unified return component to intercept and package the return content of the interface call request and then return it.
[0069] In this embodiment, after obtaining the unified return component, it is also necessary to upload it to a designated private server for reference by subsequent application systems.
[0070] In this embodiment, the target unified return component is used to intercept and package the return content of the interface call request. Specifically, if the return format is the unified return format, it is directly returned; if the return format is not the unified return format, it is packaged and returned.
[0071] In this embodiment, activating the target unified return component implements the startup of the target unified return component.
[0072] In this embodiment, the development requirements include unified data return type, unified data return application interface characteristics, etc.
[0073] In this embodiment, the interface calling request includes called interface information, called data information, and the like.
[0074] The beneficial effects of the above design scheme are: by customizing the components to be developed based on the development requirements of unified data return, obtaining component customization information, and designing the components to be developed based on the component customization information to obtain a unified return component, so as to realize one-time development and multiple uses of components, eliminate the duplication of construction of various application systems, and help the application system reduce costs and increase efficiency; by introducing the unified return component based on the business needs of the application system, and configuring the unified return component accordingly, to obtain an available unified return component; when it is detected that the application system makes an interface call, according to the interface call request, the target unified return component is determined from the available unified return component, and the target unified return component is activated, so as to realize integration into the business system in a component manner with zero code intrusion and ready to use out of the box, so as to realize the unification of data return formats of various business systems; finally, the target unified return component is used to intercept and package the return content of the interface call request and return it, so as to obtain a unified data format, so as to solve various problems caused by the non-uniform data format when the front-end and back-end interact or the interaction between application systems during the development of the business system.
[0075] Embodiment 2:
[0076] Based on Example 1, this embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner, such as Figure 2 As shown, in S1, based on the development requirements uniformly returned by the data, the component to be developed is customized to obtain component customization information, including:
[0077] The development requirements uniformly returned by the data are parsed according to the data attributes to obtain multiple sets of requirement data;
[0078] Obtaining common attribute information of the component to be developed, matching the common attribute information with multiple sets of demand data, and determining the data content corresponding to the common attribute information;
[0079] Acquire unmatched demand data from multiple sets of demand data, determine unique attribute information of the unmatched demand data, and determine data content of the unique attribute information;
[0080] An initial component custom template is created based on the general attribute information, and the initial custom template is specifically expanded based on the specific attribute information to obtain a target custom template;
[0081] Based on the content configuration type of the target custom template, the data content of the common attribute information and the unique attribute information is standardized to obtain the standard data content, and the standard data content is used as the component custom information.
[0082] The beneficial effects of the above design scheme are: by customizing the components to be developed based on the development requirements uniformly returned by the data, obtaining component customization information, and designing the components to be developed based on the component customization information, obtaining uniformly returned components, realizing one-time development and multiple uses of components, eliminating the need for repetitive construction of various application systems, and helping the application system to reduce costs and increase efficiency.
[0083] Embodiment 3:
[0084] Based on Example 1, the embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner. In S1, the component to be developed is designed based on the component custom information to obtain a unified return component, including:
[0085] Configure the component custom information to the corresponding position of the component to be developed to obtain the development component;
[0086] Run the test on the development component. If the test passes, the development component will be used as the final unified return component. Otherwise, the development component will be reconfigured based on the component custom information until the test passes.
[0087] The beneficial effect of the above design scheme is: by designing the components to be developed based on the component custom information, a unified return component is obtained, the components can be developed once and used multiple times, the repetitive construction of each application system is eliminated, and the application system is helped to reduce costs and increase efficiency.
[0088] Embodiment 4:
[0089] Based on Example 1, this embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner, such as Figure 3 As shown, in S2, based on the business requirements of the application system, the unified return component is introduced, including:
[0090] Based on the business requirements of the application system, determine the unified return components that need to be introduced;
[0091] Obtain the storage address of the unified return component, and establish a communication connection between the application system and the unified return component based on the storage address;
[0092] Based on the communication connection, the unified return component is introduced.
[0093] The beneficial effect of the above design scheme is: through the communication connection, the application system can introduce the unified return component, and integrate it into the business system in a zero-code intrusion, out-of-the-box component manner.
[0094] Embodiment 5:
[0095] Based on Example 1, the embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner. In S2, the unified return component is configured accordingly to obtain a usable unified return component, including:
[0096] Get the component identifier and component application parameters of the unified returned component;
[0097] Obtain the application interface and applicable call type of the unified return component in the application system, obtain the interface attribute parameters and interface characteristic parameters of the application interface, and obtain the call information parameters of the call type;
[0098] Obtaining component structure features of the uniformly returned component, obtaining a target configuration template matching the component structure features from a configuration template library, and obtaining a target configuration scheme corresponding to the target configuration template;
[0099] Based on the component identifier and the component application parameter, perform a first configuration on the unified return component according to the target configuration scheme to obtain a first configuration result;
[0100] Based on the interface attribute parameters, the interface characteristic parameters and the call information parameters, performing a second configuration on the unified return component according to the target configuration scheme to obtain a second configuration result;
[0101] Based on the first configuration result and the second configuration result, obtaining a configured unified return component;
[0102] Obtain a historical unified return component whose matching degree with the unified return component is greater than a preset matching degree, obtain reference configuration information of the historical unified return component, and perform correlation matching on the configuration information of the configured unified return component with the reference configuration information. If the correlation is greater than the preset correlation degree, determine that the configured unified return component is operable and is a usable unified return component. Otherwise, reconfigure the unified return component.
[0103] In this embodiment, the first configuration result implements the configuration of the component itself, and the second configuration result implements the configuration of the component function.
[0104] The beneficial effect of the above design scheme is: by configuring the component from the aspects of component identifier and component application parameters, as well as interface attribute parameters, interface feature parameters and call information parameters, and after the configuration is completed, the configured unified return component is verified according to the reference configuration information of the historical unified return component, and finally a usable unified return component is obtained, thereby ensuring the executable nature of the obtained usable unified return component.
[0105] Embodiment 6:
[0106] Based on Example 5, the embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner, wherein reconfiguring the unified return component includes:
[0107] Based on the component identifier and component application parameters, as well as interface attribute parameters, interface feature parameters and call information parameters, the unified return component is reconfigured according to the standard configuration scheme to obtain the latest configuration result and the latest configuration information, and the above configuration process is repeated until the correlation between the latest configuration information and the reference configuration information is greater than the preset correlation.
[0108] The beneficial effect of the above design scheme is: by reconfiguring the unified return component until the correlation between the latest configuration information and the reference configuration information is greater than the preset correlation, high-precision configuration of the unified return component is achieved, ensuring the executable nature of the final usable unified return component.
[0109] Embodiment 7:
[0110] Based on Example 1, the embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner. In S3, when it is detected that the application system makes an interface call, according to the interface call request, a target unified return component is determined from the available unified return components, including:
[0111] Based on the interface call request, obtain the interface identifier and the call identifier;
[0112] The interface identifier and the call identifier are matched with the component parameters that can use the unified return component, and the target unified return component is determined according to the matching result.
[0113] The beneficial effect of the above design scheme is: by matching the interface identifier and call identifier with the component parameters that can use the unified return component, the target unified return component is determined according to the matching result, and the selection of the unified return component is realized, providing a basis for realizing the unified return of application system data in a componentized manner.
[0114] Embodiment 8:
[0115] Based on Example 1, the embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner. In S3, activating the target unified return component includes:
[0116] Obtaining description information of the target unified return component, dividing the description information into multiple groups of feature description information according to the component application characteristics, and determining the component application attributes of each group of feature description information;
[0117] Obtain component association analysis rules corresponding to component application attributes, and according to the association analysis rules, uniformly analyze the feature description information corresponding to the component application attributes of all target uniformly returned components, and determine the feature association relationship between components under the component application attributes of all target uniformly returned components;
[0118] Obtaining the influence weight of the component application attribute in the target unified return component, obtaining the attribute association characteristics between all component application attributes, and constructing the feature association relationship within the component based on the attribute association characteristics and the influence weight;
[0119] Based on the inter-component feature association relationship, determine the first activation configuration information of the target unified return component, and based on the intra-component feature association relationship, determine the second activation configuration information of the target unified return component;
[0120] Obtain activation configuration rules corresponding to the first activation configuration information and the second activation configuration information from the information-rule database, and perform activation configuration on the target unified return component according to the activation configuration rules in combination with the first activation configuration information and the second activation configuration information to achieve activation of the target unified return component.
[0121] The beneficial effect of the above design scheme is: by realizing the activation configuration of the target unified return component from the feature association relationship between components and the feature association relationship within components, the association connection between the target unified return components is realized, providing a high-quality component foundation for the target unified return component to realize the unified return of application system data.
[0122] Embodiment 9:
[0123] Based on Example 1, the embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner. In S4, the target unified return component is used to intercept and package the return content of the interface call request and then return it, including:
[0124] The target unified return component is used to intercept the return content of the interface call request, determine the data format of the return content, and judge whether the data format is a unified return format;
[0125] If so, the returned content is returned;
[0126] Otherwise, the target unified return component is used to package the return content in a unified return format, and the return content is returned after packaging.
[0127] The beneficial effect of the above design scheme is: using the target unified return component to intercept and package the return content of the interface call request and then return it to obtain a unified data format, which solves various problems caused by inconsistent data formats when the front-end and back-end interact or when the application systems interact during the business system development process.
[0128] Embodiment 10:
[0129] Based on Example 9, the embodiment of the present invention provides a method for realizing unified return of application system data in a componentized manner, wherein the determination of whether the data format is a unified return format includes:
[0130] Get the return identifier, return code and return object from the return content;
[0131] Obtain the unified identification format, the unified encoding format and the unified object data format from the unified return format;
[0132] The data formats of the return identifier, return code and return object are compared with the unified identifier format, unified code format and unified object data format respectively. If the formats are all the same, it is determined that the data format is the unified return format; otherwise, it is determined that the data format is not the unified return data format.
[0133] The beneficial effect of the above design scheme is: by analyzing and comparing the format of the data content from the return identifier, return code and return object, the data format of the data content can be judged, the uniformity of the returned data format is ensured, and various problems caused by inconsistent data formats during the interaction between the front-end and back-end or between business systems during the development of the business system are solved.
[0134] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention belong to the scope of this application document and its equivalent technology, the present invention is also intended to include these changes and variations.
Claims
1. A method for realizing unified return of application system data in a componentized manner, characterized in that: include: S1: Based on the development requirements uniformly returned by the data, the components to be developed are customized to obtain component customization information, and the components to be developed are designed based on the component customization information to obtain uniformly returned components; S2: Based on the business requirements of the application system, the unified return component is introduced and the unified return component is configured accordingly to obtain a usable unified return component; wherein, Get the component identifier and component application parameters of the unified returned component; Obtain the application interface and applicable call type of the unified return component in the application system, obtain the interface attribute parameters and interface characteristic parameters of the application interface, and obtain the call information parameters of the call type; Obtaining component structure features of the uniformly returned component, obtaining a target configuration template matching the component structure features from a configuration template library, and obtaining a target configuration scheme corresponding to the target configuration template; Based on the component identifier and the component application parameter, perform a first configuration on the unified return component according to the target configuration scheme to obtain a first configuration result; Based on the interface attribute parameters, the interface characteristic parameters and the call information parameters, performing a second configuration on the unified return component according to the target configuration scheme to obtain a second configuration result; Based on the first configuration result and the second configuration result, obtaining a configured unified return component; Obtain a historical unified return component whose matching degree with the unified return component is greater than a preset matching degree, obtain reference configuration information of the historical unified return component, and perform correlation matching between the configuration information of the configured unified return component and the reference configuration information. If the correlation is greater than the preset correlation, determine that the configured unified return component is operable and is a usable unified return component; otherwise, reconfigure the unified return component; S3: when it is detected that the application system makes an interface call, according to the interface call request, a target unified return component is determined from available unified return components, and the target unified return component is activated; S4: Use the target unified return component to intercept and package the return content of the interface call request and then return it.
2. According to the method of realizing unified return of application system data in a componentized manner in claim 1, it is characterized in that: In S1, based on the development requirements uniformly returned by the data, the components to be developed are customized to obtain component customization information, including: The development requirements uniformly returned by the data are parsed according to the data attributes to obtain multiple sets of requirement data; Obtaining common attribute information of the component to be developed, matching the common attribute information with multiple sets of demand data, and determining the data content corresponding to the common attribute information; Acquire unmatched demand data from multiple sets of demand data, determine unique attribute information of the unmatched demand data, and determine data content of the unique attribute information; An initial component custom template is created based on the general attribute information, and the initial custom template is specifically expanded based on the specific attribute information to obtain a target custom template; Based on the content configuration type of the target custom template, the data content of the common attribute information and the unique attribute information is standardized to obtain the standard data content, and the standard data content is used as the component custom information.
3. The method for realizing unified return of application system data in a componentized manner according to claim 1, characterized in that: In S1, the component to be developed is designed based on the component custom information to obtain a unified return component, including: Configure the component custom information to the corresponding position of the component to be developed to obtain the development component; Run the test on the development component. If the test passes, the development component will be used as the final unified return component. Otherwise, the development component will be reconfigured based on the component custom information until the test passes.
4. The method for realizing unified return of application system data in a componentized manner according to claim 1, characterized in that: In S2, based on the business requirements of the application system, the unified return component is introduced, including: Based on the business requirements of the application system, determine the unified return components that need to be introduced; Obtain the storage address of the unified return component, and establish a communication connection between the application system and the unified return component based on the storage address; Based on the communication connection, the unified return component is introduced.
5. The method for realizing unified return of application system data in a componentized manner according to claim 1, characterized in that: The reconfiguring of the unified return component includes: Based on the component identifier and component application parameters, as well as interface attribute parameters, interface feature parameters and call information parameters, the unified return component is reconfigured according to the target configuration scheme to obtain the latest configuration result and the latest configuration information, and this configuration process is repeated until the correlation between the latest configuration information and the reference configuration information is greater than the preset correlation.
6. The method for realizing unified return of application system data in a componentized manner according to claim 1, characterized in that: In S3, when it is detected that the application system makes an interface call, a target unified return component is determined from available unified return components according to the interface call request, including: Based on the interface call request, obtain the interface identifier and the call identifier; The interface identifier and the call identifier are matched with the component parameters that can use the unified return component, and the target unified return component is determined according to the matching result.
7. The method for realizing unified return of application system data in a componentized manner according to claim 1, characterized in that: In S3, the target unified return component is activated, including: Obtaining description information of the target unified return component, dividing the description information into multiple groups of feature description information according to the component application characteristics, and determining the component application attributes of each group of feature description information; Obtain component association analysis rules corresponding to component application attributes, and according to the association analysis rules, uniformly analyze the feature description information corresponding to the component application attributes of all target uniformly returned components, and determine the feature association relationship between components under the component application attributes of all target uniformly returned components; Obtaining the influence weight of the component application attribute in the target unified return component, obtaining the attribute association characteristics between all component application attributes, and constructing the feature association relationship within the component based on the attribute association characteristics and the influence weight; Based on the inter-component feature association relationship, determine the first activation configuration information of the target unified return component, and based on the intra-component feature association relationship, determine the second activation configuration information of the target unified return component; Obtain activation configuration rules corresponding to the first activation configuration information and the second activation configuration information from the information-rule database, and perform activation configuration on the target unified return component according to the activation configuration rules in combination with the first activation configuration information and the second activation configuration information to achieve activation of the target unified return component.
8. The method for realizing unified return of application system data in a componentized manner according to claim 1, characterized in that: In S4, the target unified return component is used to intercept and package the return content of the interface call request and then return it, including: The target unified return component is used to intercept the return content of the interface call request, determine the data format of the return content, and judge whether the data format is a unified return format; If so, the returned content is returned; Otherwise, the target unified return component is used to package the return content in a unified return format, and the return content is returned after packaging.
9. The method for realizing unified return of application system data in a componentized manner according to claim 8, characterized in that: The step of determining whether the data format is a unified return format includes: Get the return identifier, return code and return object from the return content; Obtain the unified identification format, the unified encoding format and the unified object data format from the unified return format; The data formats of the return identifier, return code and return object are compared with the unified identifier format, unified code format and unified object data format respectively. If the formats are all the same, it is determined that the data format is the unified return format; otherwise, it is determined that the data format is not the unified return data format.
Citation Information
Patent Citations
Component-based information rapid development framework and method
CN108984160A
Extended common component of power service system
CN109522003A