Information sending method, system, device and medium based on information integration system
By introducing information interfaces, control units, optional adapters and middleware into the information integration system, flexible forwarding of cross-system communication is realized, solving the problem of configuring multiple forwarding interfaces in the prior art, improving efficiency and reducing maintenance costs.
Patent Information
- Application Number
- CN202411799903.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-12-09
AI Technical Summary
When implementing cross-system communication, the prior art requires multiple forwarding interfaces to be configured in each source system, resulting in long development time, poor configuration flexibility and high maintenance costs.
An information transmission method based on an information integration system is proposed, which receives and transmits the demand information and source information through the information interface, and uses a control unit and multiple optional adapters and middleware to realize flexible conversion and forwarding of information without configuring a functional interface for cross-system interaction in the system application.
It realizes flexible configuration of information forwarding, improves information forwarding efficiency, reduces maintenance costs, and avoids the complexity of configuring multiple forwarding interfaces in system applications.
Smart Images

Figure CN119271437B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information forwarding, and in particular to an information sending method, system, device and medium based on an information integration system. Background Art
[0002] At present, property management has achieved online management. Since property management involves internal management and owner management, and internal management involves more management matters, the property management system usually includes multiple system applications, such as property APP used by owners, internal process system, budget management system, etc. Since different system applications use different system frameworks when they are developed, the data format of each system application is not necessarily the same. This requires that before cross-system communication, the information of the source system must be converted into a format that the target system can recognize. For example, before sending the budget table made by the budget management system to the internal process system for review, the budget table must first be converted into a format that the internal process system can recognize.
[0003] In related technologies, the data format is unified mainly through interface technology. In the source system, a forwarding interface is developed for the target system. The information sent by the source system is converted into a format recognizable by the target system using the forwarding interface, and then the information is forwarded to the target system using information middleware such as RabbitMQ and Kafka. However, each forwarding interface can only correspond to a pair of source and target systems. When the number of system applications and the number of optional forwarding middleware are large, multiple forwarding interfaces need to be configured in each source system, which not only takes a long time to develop, but also has poor configuration flexibility and high maintenance costs. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes an information sending method, system, device, and medium based on an information integration system, which can realize flexible configuration of information forwarding, improve information forwarding efficiency, and reduce maintenance costs.
[0005] In a first aspect, an embodiment of the present invention provides an information sending method based on an information integration system, which is applied to the information integration system. The information integration system includes a control unit, an information interface, multiple optional adapters and multiple optional middlewares, each of the optional adapters is associated with at least one of the optional middlewares, the input format of each of the optional adapters is a preset first format, and the output format of each of the optional adapters is different from each other. The information interface is communicatively connected to multiple optional system applications, and the method includes:
[0006] Receiving transmission requirement information and source information sent by the first system application through the information interface, and converting the source information into intermediate information based on the first format, wherein the transmission requirement information carries a first identifier and a second identifier, the first identifier is used to indicate the target middleware, the second identifier is used to indicate the second system application, and the first system application and the second system application are different optional system applications;
[0007] The control unit determines a target adapter from the plurality of optional adapters based on the first identifier, and controls the information interface to send the intermediate information and the transmission requirement information to the target adapter;
[0008] The target adapter determines the target middleware from the plurality of optional middleware based on the first identifier, converts the intermediate information into target information based on a second format, and sends the target information and the second identifier to the target middleware, wherein the second format is a preset output format of the target adapter;
[0009] The target middleware determines the second system application from the plurality of selectable system applications based on the second identifier, and forwards the target information to the second system application.
[0010] According to some embodiments of the present invention, the information interface includes a plurality of preset parsing modules, the input format of each of the preset parsing modules is different from each other, the output format of each of the preset parsing modules is the first format, and the information interface converts the source information into intermediate information based on the first format, including:
[0011] determining, through the information interface, a third format of the source information;
[0012] Determining a target parsing module from a plurality of preset parsing modules based on the third format, wherein an input format of the target parsing module is the third format;
[0013] The source information is converted into the intermediate information based on the target parsing module.
[0014] According to some embodiments of the present invention, the second system application includes a plurality of information receiving objects, the transmission requirement information also includes a preset transmission strategy, and forwarding the target information to the second system application includes:
[0015] The control unit parses information classification conditions and a plurality of transmission path information from the preset transmission strategy, and sends the information classification conditions and the transmission path information to the target middleware, wherein the transmission path information includes at least one of the information receiving objects;
[0016] The target middleware decomposes the target information into a plurality of target sub-information based on the information classification condition, determines the transmission path information corresponding to each target sub-information, and encapsulates the target sub-information and the corresponding transmission path information into a decomposed information packet;
[0017] The target middleware allocates a target channel to each of the decomposed information packets, and sends each of the decomposed information packets to the second system application in parallel through the corresponding target channel;
[0018] After parsing any of the decomposed information packets, the second system application determines the information receiving object recorded in the transmission path information as the target receiving object, and sends the target sub-information to each of the target receiving objects.
[0019] According to some embodiments of the present invention, the transmission requirement information further includes an encryption strategy, and before encapsulating the target sub-information and the corresponding transmission path information into a decomposition information packet, the method further includes:
[0020] The control unit parses the encryption algorithm associated with each target sub-information from the encryption strategy, and sends the encryption algorithm to the target middleware;
[0021] The target middleware encrypts the target sub-information based on the corresponding encryption algorithm.
[0022] According to some embodiments of the present invention, after determining the information receiving object recorded in the transmission path information as the target receiving object, the method further includes:
[0023] Based on any of the decomposed information packets, whenever the target sub-information is sent to one of the target receiving objects, the second system application feeds back the target object information to the control unit, wherein the target object information is used to describe the target receiving object currently receiving the target sub-information;
[0024] The control unit constructs transmission trajectory information based on any of the target sub-information and based on the acquisition order of each of the target object information, constructs a visualization interface in the information integration system, and displays the transmission trajectory information corresponding to each of the target sub-information in the visualization interface.
[0025] According to some embodiments of the present invention, after receiving the transmission requirement information and the source information sent by the first system application through the information interface, the method further includes:
[0026] Monitoring the information interface, the optional adapter and the optional middleware by the control unit;
[0027] Constructing a first record and a second record corresponding to the information interface, wherein the first record is used to indicate the information interaction process between the information interface and the first system application, and the second record is used to indicate the data processing process of converting the source information into the intermediate information;
[0028] Constructing a third record and a fourth record of the target adapter, wherein the third record is used to indicate the information interaction process between the target adapter and the information interface, and the fourth record is used to indicate the data processing process of the target adapter converting the intermediate information into the target information;
[0029] Constructing a fifth record and a sixth record of the target middleware, wherein the fifth record is used to indicate the information interaction process between the target middleware and the target adapter, and the sixth record is used to indicate the information interaction process between the target middleware and the second system application.
[0030] According to some embodiments of the present invention, after forwarding the target information to the second system application, the method further includes:
[0031] The target middleware sends a forwarding completion signal to the control unit;
[0032] The control unit generates an information forwarding record based on the first record, the second record, the third record, the fourth record, the fifth record, and the sixth record in response to the forwarding completion signal.
[0033] In the second aspect, an embodiment of the present invention provides an information sending system based on an information integration system, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the information sending method based on the information integration system as described in the first aspect above.
[0034] In a third aspect, an embodiment of the present invention provides an electronic device, comprising an information sending system based on the information integration system as described in the second aspect above.
[0035] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the information sending method based on the information integration system as described in the first aspect above.
[0036] According to the information sending method based on the information integration system of the embodiment of the present invention, there are at least the following beneficial effects: receiving the transmission requirement information and source information sent by the first system application through the information interface, converting the source information into intermediate information based on the first format, wherein the transmission requirement information carries a first identifier and a second identifier, the first identifier is used to indicate the target middleware, and the second identifier is used to indicate the second system application, and the first system application and the second system application are the optional system applications that are different from each other; the control unit determines the target adapter from the multiple optional adapters based on the first identifier, and controls the information interface to send the intermediate information and the transmission requirement information to the target adapter; the target adapter determines the target middleware from the multiple optional middleware based on the first identifier, converts the intermediate information into target information based on the second format, and sends the target information and the second identifier to the target middleware, wherein the second format is the output format preset by the target adapter; the target middleware determines the second system application from the multiple optional system applications based on the second identifier, and forwards the target information to the second system application. According to the technical solution of the embodiment of the present invention, it is possible to integrate information interfaces and multiple middleware in the information integration system, the first system application can flexibly configure the transmission requirements between the first system application and the second system application, and the information integration system flexibly selects the target middleware according to the transmission requirements to complete information forwarding. There is no need to configure a cross-system interaction functional interface in any system application, thereby reducing the maintenance cost of the system application and improving the efficiency of information forwarding. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 is a schematic diagram of an information integration system provided by an embodiment of the present invention;
[0038] Figure 2 is a flow chart of an information sending method based on an information integration system provided by another embodiment of the present invention;
[0039] Figure 3 is a complete flow chart of an information sending method based on an information integration system provided by another embodiment of the present invention;
[0040] Figure 4 It is a structural diagram of an information sending system based on an information integration system provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0041] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0042] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0043] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0044] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0045] An embodiment of the present invention provides an information sending method, system, device, and medium based on an information integration system, wherein the information sending method based on the information integration system includes: receiving transmission requirement information and source information sent by a first system application through the information interface, and converting the source information into intermediate information based on the first format, wherein the transmission requirement information carries a first identifier and a second identifier, the first identifier is used to indicate a target middleware, and the second identifier is used to indicate a second system application, and the first system application and the second system application are different optional system applications; the control unit determines a target adapter from a plurality of optional adapters based on the first identifier, and controls the information interface to send the intermediate information and the transmission requirement information to the target adapter; the target adapter determines the target middleware from a plurality of optional middlewares based on the first identifier, converts the intermediate information into target information based on the second format, and sends the target information and the second identifier to the target middleware, wherein the second format is an output format preset by the target adapter; the target middleware determines the second system application from a plurality of optional system applications based on the second identifier, and forwards the target information to the second system application. According to the technical solution of the embodiment of the present invention, it is possible to integrate information interfaces and multiple middleware in the information integration system, the first system application can flexibly configure the transmission requirements between the first system application and the second system application, and the information integration system flexibly selects the target middleware according to the transmission requirements to complete information forwarding. There is no need to configure a cross-system interaction functional interface in any system application, thereby reducing the maintenance cost of the system application and improving the efficiency of information forwarding.
[0046] First, refer to Figure 1 , Figure 1 A schematic diagram of an information integration system provided in an embodiment of the present invention, the information integration system 20 of this embodiment includes a control unit 21, an information interface 22, multiple optional adapters 23 and multiple optional middleware 24, each optional adapter 23 is associated with at least one optional middleware 24, the input format of each optional adapter 23 is a preset first format, the output format of each optional adapter 23 is different from each other, and the information interface 22 is communicatively connected to multiple optional system applications.
[0047] It should be noted that the optional system applications can be common system applications in the property management field, such as budget systems, owner APPs, internal approval systems, internal OA systems, etc., which will not be elaborated here.
[0048] It should be noted that the information integration system 20 is a system independent of the optional system applications. In this embodiment, a control unit 21 and an information interface 22 are set in the information integration system 20. The information interface 22 is the information entrance of the information integration system 20. Each optional system application is connected to the information interface 22. The information interface 22 can communicate with any number of optional system applications at the same time. Each optional system application that sends source information to the information interface 22 is the first system application 10 of this embodiment, and the optional system application that receives target information is the second system application 30 of this embodiment.
[0049] It should be noted that the input formats of all optional adapters 23 in the embodiment are the same, but the output formats are different. For example, the input format of each optional adapter 23 is text. After the information interface 22 obtains the source information sent by any first system application 10, the source information is converted into intermediate information in text format. The intermediate information can be recognized by any optional adapter 23. After selecting the target middleware, the intermediate information can be converted by any target adapter into a format that conforms to the target middleware.
[0050] It should be noted that the number of optional adapters 23 and the number of optional middleware 24 can be the same or different. The optional middleware 24 can uniquely correspond to the optional adapter 23. For example, an optional adapter 23 can be configured for each optional middleware 24. Multiple optional middleware 24 can also share one optional adapter 23. For example, several optional middleware 24 whose input format is extensible markup language (XML) can share the same optional adapter 23 whose output format is XML.
[0051] It should be noted that the optional middleware 24 is a common information transmission middleware, such as RabbitMQ, Kafka, ActiveMQ, etc. This embodiment does not limit the number and type of the optional middleware 24. The optional middleware 24 can be added or reduced in the information integration system 20 according to actual needs.
[0052] In addition, the information interface 22 includes a plurality of preset analysis modules, the input format of each preset analysis module is different from each other, and the output format of each preset analysis module is the first format.
[0053] It should be noted that the information interface 22, as an information entry, needs to receive and parse the source information sent by each optional system application. In this embodiment, a plurality of preset parsing modules are set in the information interface 22. The input format of each preset parsing module is different to adapt to different source information. The output format of each preset parsing module is the first format, so that any input format can match the preset parsing module in the information interface 22 and finally be converted into intermediate information in the first format.
[0054] The following is based on the Figure 1 The information integration system shown further illustrates the technical solution of the embodiment of the present invention.
[0055] Reference Figure 2 , Figure 2 A flowchart of an information sending method based on an information integration system provided by an embodiment of the present invention, the information sending method based on the information integration system includes but is not limited to the following steps:
[0056] S10, receiving transmission requirement information and source information sent by the first system application through an information interface, and converting the source information into intermediate information based on a first format, wherein the transmission requirement information carries a first identifier and a second identifier, the first identifier is used to indicate a target middleware, and the second identifier is used to indicate a second system application, and the first system application and the second system application are different optional system applications;
[0057] S20, the control unit determines a target adapter from a plurality of optional adapters based on the first identifier, and controls the information interface to send the intermediate information and the transmission requirement information to the target adapter;
[0058] S30, the target adapter determines the target middleware from the multiple optional middlewares based on the first identifier, converts the intermediate information into the target information based on the second format, and sends the target information and the second identifier to the target middleware, wherein the second format is an output format preset by the target adapter;
[0059] S40: The target middleware determines a second system application from a plurality of optional system applications based on the second identifier, and forwards the target information to the second system application.
[0060] It should be noted that, referring to the above Figure 1 In the description of the illustrated embodiment, the information interface 22 is connected to various optional system applications, such as a property APP, a pre-examination management system, and an internal process system. Each optional system application does not need to develop multiple communication interfaces, but only needs to configure one communication interface to communicate with the information interface 22 of the information integration system 20.
[0061] It should be noted that the first format and the second format of this embodiment can be common file formats, such as text, XML, JSON, etc. This embodiment does not limit the specific format type, and the specific types of the first format and the second format can be selected according to actual needs.
[0062] It should be noted that, refer to Figure 1In this embodiment, the information integration system 20 is used as a transfer station for cross-system interaction, and the information interface 22 is used as the information entry of the transfer station. Since the information formats output by different optional system applications may be different, in order to achieve integrated transfer, this embodiment sets the first format as a fixed output format in the information interface 22. After the information interface 22 receives the source information sent by any first system application, it converts the source information into the intermediate information of the first format to achieve internal format unification, and uses the first format as the standard format for internal circulation of the information integration system 20 to ensure the accuracy of data circulation. Of course, if the source information itself belongs to the first format, the source information can also be directly used as the intermediate information, which will not be repeated later.
[0063] For example, Figure 1 As shown, the first format takes XML as an example. Two first system applications 10 send source information to the information interface 22 respectively, which are source information 1 and source information 2. Source information 1 is in XML format, and source information 2 is in JSON format. The information interface 22 recognizes that source information 1 is in XML format, which meets the first format, and directly uses source information 1 as intermediate information 1; the information interface 22 recognizes that source information 2 is in JSON format, and converts source information 2 in JSON format into intermediate information 2 in XML format, so that the information format input to the optional adapter 23 is fixed to the first format, ensuring the accuracy of information transfer.
[0064] It should be noted that in the prior art, since the communication interface between two system applications is uniquely bound, the first system application simply outputs the source information through the communication interface, without configuring the middleware and the application receiving the information. However, the output of the first system application in this embodiment includes not only the source information, but also the transmission requirement information. The first identifier and the second identifier are set in the transmission requirement information set. The first identifier specifies the target middleware for forwarding the information, and the second identifier specifies the second system application for receiving the information, so that the first system application can flexibly configure the information transmission.
[0065] For example, the first system application is a budget management system, the source information is a budget table, the first system application sets the target middleware as RabbitMQ through the transmission requirement information, and sets the second system application as the internal process system. After obtaining the source information and transmission requirement information, the information integration system forwards the budget table to the internal process system through RabbitMQ for process approval. When the internal process system completes the approval, the budget management system can configure new transmission requirement information, specify the target middleware as Kafka, and the second system application is the internal office system. The information integration system forwards the approved budget table to the internal office system through Kafka, and then distributes the budget table to each relevant employee.
[0066] It should be noted that, in order to adapt to different transmission requirements, this embodiment presets multiple optional adapters and optional middleware in the information integration system. Figure 1 In the description of the illustrated embodiment, the optional adapter and the optional middleware can be one-to-one or one-to-many, which will not be repeated here. The optional adapter and the optional middleware can be added according to actual needs during use. With each additional optional adapter and optional middleware, any optional system application can use the corresponding components to forward information, so that the information integration system can meet more transmission requirements. For example, after the information integration system adds RabbitMQ as an optional middleware, all optional system applications can specify RabbitMQ as the target middleware in the transmission requirement information without any code development in the optional system applications.
[0067] It should be noted that since there are multiple optional adapters and optional middleware preset in the information integration system, and the number of optional system applications is large, the format of the source information of each optional system application may be different. In order to ensure the consistency of data during transfer, this embodiment sets the first format as the internal standard format in the information interface, and converts the source information into the intermediate information of the first format after obtaining it. Of course, when the source information itself is in the first format, there is no need to convert it. The first format of this embodiment is the input format of all optional adapters. For example, if the first format is XML, then the input format of all optional adapters is XML. Figure 1 As shown, adapter 1 is used to convert intermediate information in XML format into target information in JSON format, and adapter 2 is used to convert intermediate information in XML format into target information in text format, ensuring that the input format of each optional adapter is the first format and the output second format is different from each other. For example, two optional adapters with output formats in JSON format will not be set to avoid waste of resources.
[0068] It should be noted that the input formats of multiple optional middlewares can be the same. For example, if the input formats of two optional middlewares are both in JSON format, the two optional middlewares can share the same optional adapter. Therefore, after the information interface obtains the transmission requirement information, the control unit can determine the target middleware according to the first identifier, determine the optional adapter corresponding to the target middleware as the target adapter, and then send the address of the target adapter to the information interface, so that the information interface sends the source information to the corresponding target adapter.
[0069] It should be noted that the information flow control of this embodiment is completed by the control unit. Therefore, after the control unit sends the address of the target adapter to the information interface, the information interface sends the converted intermediate information and transmission requirement information to the target adapter. Since each optional adapter can correspond to multiple optional middleware, the target adapter needs to determine the target middleware according to the first identifier and send the converted target information to the target middleware. Although the target adapter does not use the second identifier, the second identifier is transferred to the target middleware through the target adapter. The target middleware can determine the second system application according to the second identifier to complete the forwarding of the target information. The first system application only needs to simply configure the identifier to realize the flexible selection of the middleware and the second system application, and realize the accurate forwarding of the information flow through the identifier transmission and identifier matching in the information integration system.
[0070] For example, Figure 1 As shown, after the first system application 10 sends the source information 1 and the transmission requirement information 1, the first identifier carried by the transmission requirement information 1 is the identifier 1-1. The control unit 21 determines that the middleware 1 is the target middleware based on the identifier 1-1, and informs the information interface 22 that the corresponding optional adapter 23 is the adapter 1. The information interface 22 sends the converted intermediate information 1 and the transmission requirement information 1 to the adapter 1, so that after the adapter 1 converts the target information 1, the middleware 1 is determined as the target middleware according to the identifier 1-1, and the target information 1 is sent to the middleware 1. The middleware 1 determines the second system application 30 according to the identifier 2-1 and completes the forwarding of the target information 1. Another first system application 10 can send the source information 2 and the transmission requirement information 2 synchronously, record the identifier 1-2 and the identifier 2-2 in the transmission requirement information 2, determine the middleware 2 and the adapter 2 based on the identifier 1-2, and determine the corresponding second system application based on the identifier 2-2, which will not be repeated here. The optional system applications identified as 2-3 and 2-4 are not recorded in the transmission requirement information and therefore will not be determined as the second system application. Of course, identifications 2-3 and 2-4 may also be recorded in the transmission requirement information during the next transmission so that the corresponding optional system applications are determined as the second system application.
[0071] In addition, in one embodiment, referring to Figure 3 Step S10 specifically includes but is not limited to the following steps:
[0072] S11, determining a third format of the source information through an information interface;
[0073] S12, determining a target parsing module from a plurality of preset parsing modules based on the third format, wherein an input format of the target parsing module is the third format;
[0074] S13, converting the source information into intermediate information based on the target parsing module.
[0075] It should be noted that, according to the description of the above embodiment, the information interface is the information entrance of the information integration system, and the first system application can be any optional system application. After the information interface obtains the source information, it can perform format detection on the source information to determine the third format, such as identifying the file suffix and identifying the file content to determine a specific format.
[0076] It should be noted that in order to achieve conversion between different formats, this embodiment sets up multiple preset parsing modules in the information interface, and each preset parsing module is used to convert one input format into a second format. After determining the third format, the target parsing module can be determined by matching the third format with the input format of the preset parsing module, and the target parsing module is used to convert the source information in the third format into intermediate information in the second format.
[0077] Exemplarily, for example, if the second format is XML, parsing module 1 can be set to convert the JSON format into XML, and parsing module 2 can be set to convert the text format into XML. When it is detected that the third format of the source information is JSON, parsing module 1 is used to convert the source information into intermediate information in XML format.
[0078] In addition, in one embodiment, referring to Figure 3 The second system application includes multiple information receiving objects, and the transmission requirement information also includes a preset transmission strategy. Step S40 specifically includes but is not limited to the following steps:
[0079] S41, parsing information classification conditions and multiple transmission path information from a preset transmission strategy through a control unit, and sending the information classification conditions and the transmission path information to a target middleware, wherein the transmission path information includes at least one information receiving object;
[0080] S42, the target middleware decomposes the target information into a plurality of target sub-information based on the information classification condition, determines the transmission path information corresponding to each target sub-information, and encapsulates the target sub-information and the corresponding transmission path information into a decomposed information packet;
[0081] S43, the target middleware allocates a target channel to each decomposed information packet, and sends each decomposed information packet to the second system application in parallel through the corresponding target channel;
[0082] S44, after parsing any decomposed information packet, the second system application determines the information receiving object recorded in the transmission path information as the target receiving object, and sends the target sub-information to each target receiving object.
[0083] It should be noted that each optional system application can set up multiple information receiving objects. For example, the second system application is a property APP, the first system application is a property management system, the source information is the property management fee bill of each owner, and each owner account of the second system application is an information receiving object. The corresponding property management fee account is sent to each owner account through the information integration system.
[0084] It should be noted that the preset transmission strategy includes information classification conditions and multiple transmission path information. The information classification conditions are the basis for splitting the target information, such as classification by title, classification by tag, etc. The transmission path information is used to characterize the propagation path of each target sub-information, such as the same target sub-information is sent to multiple information receiving objects in sequence, or each target sub-information is sent to one information receiving object. By presetting the transmission strategy, the transmission method of the source information can be flexibly configured in the first system application to realize the customization of information forwarding.
[0085] For example, in the example of the property management fee bill mentioned above, the information classification condition can be the owner account. After the target middleware obtains the target information, it splits it into multiple target sub-information based on the owner account. Each target sub-information is a property management fee bill corresponding to an owner account, and the transmission path information is for each owner account.
[0086] Exemplarily, the first system application takes the budget management system as an example, the source information is the company budget table, the second system application is the internal employee system, the information classification condition is the budget department, the transmission path information is used to characterize all accounts of each department, and after conversion to the target information, the target information is the company budget table in the second format. According to the information classification condition, the company budget table is split into multiple department budget tables according to different budget departments. Each department budget table is a target sub-information. The target middleware sends each department budget table to all employee accounts under the corresponding budget department in the internal employee system, and each employee account is a target receiving object.
[0087] It should be noted that after the target middleware is split into multiple target sub-information, it is encapsulated into a decomposed information packet based on the target sub-information and the transmission path information, and parallel transmission is achieved through the corresponding target channel, effectively improving the data transmission efficiency. After the second system application obtains the decomposed information packet, it parses the transmission path information and executes the distribution. For example, in the above-mentioned company budget table example, each department budget table and transmission path information are encapsulated into decomposed information packets, and the internal employee system obtains multiple decomposed information packets. After parsing a decomposed information packet, it determines the departmental transmission according to the transmission path information, and determines the multiple employee accounts under the corresponding budget department as the target receiving objects according to the department budget table, and distributes the department budget table to all employee accounts of the corresponding budget department.
[0088] In addition, in one embodiment, referring to Figure 3 The transmission requirement information also includes an encryption strategy. In step S42, before encapsulating the target sub-information and the corresponding transmission path information into a decomposition information packet, the method further includes but is not limited to the following steps:
[0089] S421, the control unit parses the encryption algorithm associated with each target sub-information from the encryption strategy, and sends the encryption algorithm to the target middleware;
[0090] S422, the target middleware encrypts the target sub-information based on the corresponding encryption algorithm.
[0091] It should be noted that, referring to the description of the above information classification conditions, this embodiment further configures an encryption strategy for each target sub-information in the transmission requirement information to improve the flexibility of information classification transmission. The encryption algorithm associated with each target sub-information is recorded in the encryption strategy, and the parsing of the transmission requirement information is completed by the control unit. After the control unit parses the encryption algorithm, it directly sends the encryption algorithm to the target middleware. The target middleware pairs the target sub-information with the encryption algorithm based on the information classification conditions, thereby realizing multi-channel encryption.
[0092] It should be noted that the encryption algorithm associated with each target sub-information can be the same. This embodiment does not limit the encryption algorithm of each target sub-information to be different, and it can be set according to actual needs. The encryption algorithm can adopt any algorithm in the prior art. The encryption algorithm is not improved here and will not be repeated later.
[0093] Exemplarily, referring to the example of the property management fee bill mentioned above, only one encryption algorithm can be recorded in the encryption policy, so that the target middleware encrypts each property management fee bill in the same way and sends it, and then decrypts it through the second system application to obtain each property management fee account number and then sends it down.
[0094] For example, referring to the example of the budget management system mentioned above, each budget department has different requirements for information security. Therefore, in the encryption policy, the associated encryption algorithm is set based on the department label. The control unit parses multiple encryption algorithms and sends them to the target middleware. The target middleware determines the encryption algorithm corresponding to each target sub-information according to the department label, executes encryption and sends it. The secret keys of various encryption algorithms are preset in the internal system of the employee, and the corresponding secret keys are matched according to the department label for decryption. This embodiment does not elaborate on the encryption and decryption process.
[0095] In addition, in one embodiment, referring to Figure 3 After executing step S44, the method further includes but is not limited to the following steps:
[0096] S45, based on any decomposed information packet, whenever the target sub-information is sent to a target receiving object, the second system application feeds back target object information to the control unit, wherein the target object information is used to describe the target receiving object currently receiving the target sub-information;
[0097] S46, the control unit constructs transmission trajectory information based on any target sub-information and based on the acquisition order of each target object information, constructs a visualization interface in the information integration system, and displays the transmission trajectory information corresponding to each target sub-information in the visualization interface.
[0098] It should be noted that, according to the description of the above embodiment, the target information is split into multiple target sub-information, such as Figure 1 As shown, the target information 1 can be split into sub-information 1-1, sub-information 1-2, etc.; the target object information of the target sub-information is received through the feedback of the second system application, and the target object information can be the object description information or object identification of the target receiving object. The control unit constructs the transmission trajectory information after counting the target object information and displays it through a visual interface, so as to monitor the transmission process of each target sub-information in real time.
[0099] Exemplarily, referring to the example of the above-mentioned property management fee bill, after the second system application issues each property management fee bill, the corresponding owner account will be fed back to the control unit as the target object information. The control unit displays the owner account that has received the property management fee bill in the visual interface. Each owner account corresponds to a transmission path information, so each owner account is displayed independently as a transmission track information.
[0100] Exemplarily, referring to the example of the above-mentioned pre-review management system, the department budget form needs to be sent to all employee accounts under the corresponding budget department. Each time the internal employee system completes the issuance, it will feedback the employee account that received the department budget form to the control unit. The control unit builds transmission track information based on multiple employee accounts of the same budget department to monitor the sending status of the department budget form corresponding to the budget department in real time.
[0101] In addition, in one embodiment, referring to Figure 3 After executing step S10, the method further includes but is not limited to the following steps:
[0102] S51, monitoring information interface, optional adapter and optional middleware via control unit;
[0103] S52, constructing a first record and a second record corresponding to the information interface, wherein the first record is used to indicate the information interaction process between the information interface and the first system application, and the second record is used to indicate the data processing process of converting the source information into the intermediate information;
[0104] S53, constructing a third record and a fourth record of the target adapter, wherein the third record is used to indicate the information interaction process between the target adapter and the information interface, and the fourth record is used to indicate the data processing process of the target adapter converting the intermediate information into the target information;
[0105] S54, constructing a fifth record and a sixth record of the target middleware, wherein the fifth record is used to indicate the information interaction process between the target middleware and the target adapter, and the sixth record is used to indicate the information interaction process between the target middleware and the second system application.
[0106] It should be noted that if Figure 1 As shown, the control unit 21 of this embodiment can monitor various responses of the information interface 22, the optional adapter 23 and the optional middleware 24. The data transfer process is monitored through the control unit 21. When a transfer abnormality occurs, the root cause diagnosis can be carried out in time according to different records, thereby improving the operational reliability of the information integration system.
[0107] It should be noted that the operations involved in the information interface include receiving source information of the first system application and format conversion. Therefore, a first record is generated based on the information interaction process with the first system application. For example, the application identifier of the first system application is recorded in the first record, and the sent source information and transmission requirement information are recorded; at the same time, after the information interface 2 converts the source information into intermediate information, the data processing process is recorded, such as the respective formats of the source information and the intermediate information, the preset parsing module called, etc.
[0108] It should be noted that the target adapter is used to obtain the intermediate information converted by the information interface, and convert the intermediate information into target information and then send it to the target middleware. Therefore, this embodiment generates a third record based on the interaction process between the target adapter and the information interface, such as recording the specific intermediate information, the first identifier carried when sending the intermediate information, and the process of determining the target middleware according to the first identifier. At the same time, the data processing process of the target adapter converting the intermediate information into the target information is recorded as a fourth record, such as recording the format of the intermediate information and the format of the target information, the data before and after each step of conversion, etc.
[0109] It should be noted that the target middleware is used to send target information to the second system application. Therefore, this embodiment generates a fifth record based on the information interaction process between the target middleware and the target adapter. The fifth record records the acquired target information and the corresponding target adapter. When an error occurs, the corresponding target adapter can be traced back based on the fifth record. At the same time, the sixth record can record the data processing flow of the target middleware splitting the target information, the matching of the second system application based on the second identifier, and the process of sending each target sub-information to the second system application in parallel.
[0110] In addition, in one embodiment, referring to Figure 3 After executing step S40, the method further includes but is not limited to the following steps:
[0111] S61, the target middleware sends a forwarding completion signal to the control unit;
[0112] S62, the control unit generates an information forwarding record based on the first record, the second record, the third record, the fourth record, the fifth record and the sixth record in response to the forwarding completion signal.
[0113] It should be noted that, according to the description of the above embodiment, the control unit records the interaction process and data processing flow of each device during the data transfer process. When the target middleware completes the forwarding of the target information, the remaining processing flow of the target information is completed by the second system application. The information forwarding has been completed, and all the transmission track information has been constructed in the control unit. In this embodiment, the target middleware initiates a forwarding completion signal. For example, after the target middleware completes the sending of all target sub-information, when it detects that the sending queue is empty, a forwarding completion signal is generated. In response to the forwarding completion signal, the control unit generates an information forwarding record for the first record, second record, third record, fourth record, fifth record and sixth record generated in real time, thereby recording this forwarding. Specific source information, transmission requirement information, first system application, target information and second system application can also be recorded in the information forwarding record to facilitate subsequent analysis and processing of the data forwarding process.
[0114] like Figure 4 As shown, Figure 4 : is a structural diagram of an information sending system based on an information integration system provided by an embodiment of the present invention. The present invention also provides an information sending system based on an information integration system, comprising:
[0115] The processor 401 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0116] The memory 402 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 402 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 402, and the processor 401 calls and executes the information sending method based on the information integration system of the embodiment of this application;
[0117] Input / output interface 403, used to implement information input and output;
[0118] Communication interface 404, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0119] A bus 405 that transmits information between various components of the device (e.g., processor 401, memory 402, input / output interface 403, and communication interface 404);
[0120] The processor 401 , the memory 402 , the input / output interface 403 and the communication interface 404 are connected to each other in communication within the device via the bus 405 .
[0121] An embodiment of the present application also provides an electronic device, including the information sending system based on the information integration system as described above.
[0122] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned information sending method based on the information integration system is implemented.
[0123] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0124] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0125] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. An information sending method based on an information integration system, characterized in that: Applied to an information integration system, the information integration system includes a control unit, an information interface, a plurality of optional adapters and a plurality of optional middlewares, each of the optional adapters is associated with at least one of the optional middlewares, the input format of each of the optional adapters is a preset first format, the output format of each of the optional adapters is different from each other, the information interface is communicatively connected to a plurality of optional system applications, and the method includes: Receiving transmission requirement information and source information sent by the first system application through the information interface, and converting the source information into intermediate information based on the first format, wherein the transmission requirement information carries a first identifier and a second identifier, the first identifier is used to indicate the target middleware, the second identifier is used to indicate the second system application, and the first system application and the second system application are different optional system applications; The control unit determines a target adapter from the plurality of optional adapters based on the first identifier, and controls the information interface to send the intermediate information and the transmission requirement information to the target adapter; The target adapter determines the target middleware from the plurality of optional middleware based on the first identifier, converts the intermediate information into target information based on a second format, and sends the target information and the second identifier to the target middleware, wherein the second format is a preset output format of the target adapter; The target middleware determines the second system application from the plurality of selectable system applications based on the second identifier, and forwards the target information to the second system application; The second system application includes a plurality of information receiving objects, the transmission requirement information also includes a preset transmission strategy, and forwarding the target information to the second system application includes: The control unit parses information classification conditions and a plurality of transmission path information from the preset transmission strategy, and sends the information classification conditions and the transmission path information to the target middleware, wherein the transmission path information includes at least one of the information receiving objects; The target middleware decomposes the target information into a plurality of target sub-information based on the information classification condition, determines the transmission path information corresponding to each target sub-information, and encapsulates the target sub-information and the corresponding transmission path information into a decomposed information packet; The target middleware allocates a target channel to each of the decomposed information packets, and sends each of the decomposed information packets to the second system application in parallel through the corresponding target channel; After parsing any of the decomposed information packets, the second system application determines the information receiving object recorded in the transmission path information as a target receiving object, and sends the target sub-information to each of the target receiving objects; After receiving the transmission requirement information and the source information sent by the first system application through the information interface, the method further includes: Monitoring the information interface, the optional adapter and the optional middleware by the control unit; Constructing a first record and a second record corresponding to the information interface, wherein the first record is used to indicate the information interaction process between the information interface and the first system application, and the second record is used to indicate the data processing process of converting the source information into the intermediate information; Constructing a third record and a fourth record of the target adapter, wherein the third record is used to indicate the information interaction process between the target adapter and the information interface, and the fourth record is used to indicate the data processing process of the target adapter converting the intermediate information into the target information; Constructing a fifth record and a sixth record of the target middleware, wherein the fifth record is used to indicate the information interaction process between the target middleware and the target adapter, and the sixth record is used to indicate the information interaction process between the target middleware and the second system application.
2. The information sending method based on the information integration system according to claim 1, characterized in that: The information interface includes a plurality of preset parsing modules, each of which has a different input format and an output format of each of which is the first format. The information interface converts the source information into intermediate information based on the first format, including: determining, through the information interface, a third format of the source information; Determining a target parsing module from a plurality of preset parsing modules based on the third format, wherein an input format of the target parsing module is the third format; The source information is converted into the intermediate information based on the target parsing module.
3. The information sending method based on the information integration system according to claim 1, characterized in that: The transmission requirement information further includes an encryption strategy. Before encapsulating the target sub-information and the corresponding transmission path information into a decomposition information packet, the method further includes: The control unit parses the encryption algorithm associated with each target sub-information from the encryption strategy, and sends the encryption algorithm to the target middleware; The target middleware encrypts the target sub-information based on the corresponding encryption algorithm.
4. The information sending method based on the information integration system according to claim 1, characterized in that: After determining the information receiving object recorded in the transmission path information as the target receiving object, the method further includes: Based on any of the decomposed information packets, whenever the target sub-information is sent to one of the target receiving objects, the second system application feeds back target object information to the control unit, wherein the target object information is used to describe the target receiving object currently receiving the target sub-information; The control unit constructs transmission trajectory information based on any of the target sub-information and based on the acquisition order of each of the target object information, constructs a visualization interface in the information integration system, and displays the transmission trajectory information corresponding to each of the target sub-information in the visualization interface.
5. The information sending method based on the information integration system according to claim 1, characterized in that: After forwarding the target information to the second system application, the method further includes: The target middleware sends a forwarding completion signal to the control unit; The control unit generates an information forwarding record based on the first record, the second record, the third record, the fourth record, the fifth record, and the sixth record in response to the forwarding completion signal.
6. An information sending system based on an information integration system, characterized in that: It includes at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to execute the information sending method based on the information integration system as described in any one of claims 1 to 5.
7. An electronic device, characterized in that: Including the information sending system based on the information integration system as described in claim 6.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the information sending method based on the information integration system according to any one of claims 1 to 5.
Citation Information
Patent Citations
Integration of control and business applications using integration servers
US20060133412A1
Net-centric adapter for interfacing enterprises systems to legacy systems
US20140201418A1