Device and method for data exchange between multiple systems
By introducing a setting module and processor into the data exchange device between multiple systems, a flexible data exchange method is realized, which solves the problem of low efficiency caused by the single exchange method in the existing technology and improves the data exchange efficiency and device performance.
Patent Information
- Application Number
- CN202011262457.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-12
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2040-11-12
AI Technical Summary
Existing data exchange devices between multiple systems can only use one exchange method, which is cumbersome and reduces data exchange efficiency.
A data exchange device for multiple systems was designed, comprising a setting module, a feedback module, and a processor. The setting module determines the data size and selects between direct processing or scheduled processing. Combined with the sharing module and the processor, the two exchange methods can be flexibly switched.
It improves data exchange efficiency, simplifies operation processes, and enhances the performance of the device by directly processing small data and scheduling large data.
Smart Images

Figure CN112486869B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information communication engineering, and in particular to a device and method for exchanging data between multiple systems. Background Art
[0002] With the rise of SOA (Service-Oriented Architecture) in recent years, more and more application systems have begun to be designed and deployed in a distributed manner. The system has changed from a single technical architecture to a service-oriented multi-system architecture. The business processes that could be completed in one system are now realized through multiple exchanges between multiple systems. In the fields of communication, measurement and control, and information acquisition and processing, a hardware structure combining digital signal processing and programmable gate arrays is often used for data access and exchange. In this structure, the method usually used is to use the external extended address bus of digital signal processing, the data bus and the control bus are directly connected to the programmable gate array to exchange data.
[0003] The existing Chinese patent (publication number: CN205263806U) relates to a data exchange device between multiple systems, including a programmable gate array and a communication bus, the programmable gate array includes a first communication decoder, a second communication decoder, a control signal controller and an address data decoder, the first communication decoder, the second communication decoder and the control signal controller are all provided with a memory, the communication bus includes an address bus, a data bus and a control bus, the address bus, the data bus and the control bus are connected to the address data decoder, the first communication decoder, the second communication decoder and the control signal controller are all connected to the address data decoder, the first communication decoder is connected to a first communication signal source, the second communication decoder is connected to a second communication signal source, the control signal converter is connected to a control signal source, and a structure of digital signal processing and programmable gate array data processing exchange is adopted to realize data exchange between systems.
[0004] When the existing data exchange device between multiple systems is used, only one exchange mode can be used for data exchange, and the process is cumbersome, which reduces the data exchange efficiency.
[0005] Based on this, the present invention designs a device and method for data exchange between multiple systems to solve the above problems. Summary of the invention
[0006] The object of the present invention is to provide a device and method for data exchange between multiple systems to solve the problems raised in the above background technology.
[0007] To achieve the above object, the present invention provides the following technical solution: a device for data exchange between multiple systems, comprising system A, a communication bus and system B, wherein system A and system B are connected via the communication bus, system A is composed of a request module, a first receiving module and a storage module, system B is composed of a feedback module and a processor, a setting module is connected between the request module and system B via communication, and a sharing module is connected between the storage module and the processor;
[0008] The feedback module consists of a first receiving unit and a return unit, the setting module includes a reading unit, a judgment unit, a selection unit and a setting unit, and the three are connected in sequence through communication. The selection unit is connected to the feedback module or the processor, and the reading unit is connected to the request module. The sharing module consists of a sending unit, a storage unit and a second receiving unit. The reading unit is used to read the information of the data sent by the request module, the setting unit is used to set the size of the data that needs to be met, the judgment unit is used to judge the size of the data, and the selection unit is used to select the request information sent by the request module to be transmitted to the feedback module or the processor.
[0009] Preferably, the processor is composed of a timing unit, an acquisition unit, a processing unit and a reply unit, and the first receiving module is connected to the return unit and the reply unit.
[0010] Preferably, the processor adopts a programmable gate array, and the processing unit includes a database.
[0011] Preferably, the system A further comprises an upload module, which is connected to the sharing module and is used to transmit the data to be processed to the sharing module.
[0012] Preferably, a message middleware is provided between system A and system B.
[0013] Preferably, the request module is used to request data processing, the first receiving module is used to receive return information from the feedback module and the processor, and the saving module is used to download the processed modules in the sharing module.
[0014] Preferably, the feedback module is used to process the request sent by system A and make corresponding operations and feedback, and the processor is used to process the data to be processed.
[0015] An operation method for data exchange between multiple systems, comprising the following steps:
[0016] S1: Upload data, upload the data to be processed to the sharing module through the upload module, and store it in the storage unit;
[0017] S2: Request feedback. The request module sends the request processing requirements and the information of the data to be processed to the setting module. The information includes the name and size of the data. The setting module determines whether to perform feedback work based on the data information. If it is, the feedback module is selected to feedback the request to system A and reserve the time to process the data, and then process it. If it is not, the processor is directly selected to extract the data for direct processing, and the processing completion signal is fed back to system A.
[0018] S3: Save data. After receiving the signal that the processing is completed, system A downloads the processed data from the shared module to complete the data exchange between systems.
[0019] Compared with the prior art, the beneficial effects of the present invention are as follows: through the setting module, it is convenient for system B to determine whether to request feedback. For smaller data that needs to be processed, it is directly processed without the step of requesting feedback. For larger data, an appointment time is made for processing, and the feedback module is used to inform system A that the request has been received, which facilitates subsequent data processing, improves data exchange efficiency, and realizes the exchange method between two systems in one device at the same time, thereby improving the performance of the device.
[0020] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0022] Figure 1 It is a schematic diagram of the overall structure of the present invention;
[0023] Figure 2 is a structural block diagram of a setting module of the present invention;
[0024] Figure 3 is a structural block diagram of a sharing module of the present invention;
[0025] Figure 4 is a structural block diagram of a processor of the present invention;
[0026] Figure 5 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] See also Figures 1 to 5 , the present invention provides a device and method for data exchange between multiple systems: a device for data exchange between multiple systems, including system A, a communication bus and system B, system A and system B are connected through the communication bus, system A is composed of a request module, a first receiving module and a storage module, system B is composed of a feedback module and a processor, a setting module is connected between the request module and system B through communication, and a sharing module is connected between the storage module and the processor;
[0029] The feedback module consists of a first receiving unit and a return unit, the setting module includes a reading unit, a judgment unit, a selection unit and a setting unit, and the three are connected in sequence through communication. The selection unit is connected to the feedback module or the processor, and the reading unit is connected to the request module. The sharing module consists of a sending unit, a storage unit and a second receiving unit. The reading unit is used to read the information of the data sent by the request module, the setting unit is used to set the size of the data that needs to be met, the judgment unit is used to judge the size of the data, and the selection unit is used to select the request information sent by the request module to be transmitted to the feedback module or the processor.
[0030] The processor consists of a timing unit, an acquisition unit, a processing unit and a reply unit, and the first receiving module is connected with the return unit and the reply unit.
[0031] The processor adopts a programmable gate array, and the processing unit includes a database.
[0032] System A also includes an upload module, which is connected to the sharing module and is used to transmit data to be processed to the sharing module.
[0033] A message middleware is set between system A and system B.
[0034] The request module is used to request data processing, the first receiving module is used to receive return information from the feedback module and the processor, and the saving module is used to download the processed modules in the sharing module.
[0035] The feedback module is used to process the request sent by system A and make corresponding operations and feedback, and the processor is used to process the data that needs to be processed.
[0036] A method for exchanging data between multiple systems, comprising the following steps:
[0037] S1: Upload data, upload the data to be processed to the sharing module through the upload module, and store it in the storage unit;
[0038] S2: Request feedback. The request module sends the request processing requirements and the information of the data to be processed to the setting module. The information includes the name and size of the data. The setting module determines whether to perform feedback work based on the data information. If it is, the feedback module is selected to feedback the request to system A and reserve the time to process the data, and then process it. If it is not, the processor is directly selected to extract the data for direct processing, and the processing completion signal is fed back to system A.
[0039] S3: Save data. After receiving the signal that the processing is completed, system A downloads the processed data from the shared module to complete the data exchange between systems.
[0040] A specific application of this embodiment is as follows: first, the data to be processed is uploaded to the sharing module through the upload module and stored in the storage unit. The request module in system A sends the name information of the data to be processed to the setting module and performs request processing. The reading unit in the setting module reads the corresponding information and reads the corresponding data from the storage unit of the sharing module. The judgment unit judges whether the size of the data meets the set value. If it meets the set value, the feedback module in system B is connected through the selection unit. The first receiving unit receives the information and feeds back the processing time to the first receiving module through the return unit. Then, the processor in system B extracts the corresponding data from the storage unit according to the information of the data sent by system A through the acquisition unit, and processes it according to the time set by the timing unit. After the processing is completed, the processing is sent back to the reply unit. The situation is fed back to the first receiving module. After receiving the signal of processing completion, system A uses the saving module to download the processed data from the shared module. If the set value is not met, the selection unit directly selects the processor, and the processor processes the data in the shared module, and feeds back the processing situation to the first receiving module through the reply unit. After receiving the signal of processing completion, system A uses the saving module to download the processed data from the shared module, thereby completing the data exchange between the systems. The setting module can facilitate system B to determine whether to request feedback. For smaller data that needs to be processed, it is directly processed, eliminating the step of requesting feedback. For larger data, an appointment time is made for processing, and the feedback module is used to inform system A that the request has been received, thereby improving data exchange efficiency and facilitating subsequent data processing.
[0041] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0042] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A device for exchanging data between multiple systems, characterized in that: It includes system A, a communication bus and system B, wherein system A and system B are connected via the communication bus, system A is composed of a request module, a first receiving module and a storage module, system B is composed of a feedback module and a processor, a setting module is connected between the request module and system B via communication, and a sharing module is connected between the storage module and the processor; the processor is composed of a timing unit, an acquisition unit, a processing unit and a reply unit, and the first receiving module is connected to the return unit and the reply unit; The feedback module is composed of a first receiving unit and a returning unit, the setting module includes a reading unit, a judging unit, a selecting unit and a setting unit, and the four are sequentially connected by communication, the selecting unit is connected to the feedback module or the processor, the reading unit is connected to the request module, the sharing module is composed of a sending unit, a storage unit and a second receiving unit, the reading unit is used to read the information of the data sent by the request module, the setting unit is used to set the size of the data to be satisfied, the judging unit is used to judge the size of the data, and the selecting unit is used to select to transmit the request information sent by the request module to the feedback module or the processor; First, the data to be processed is uploaded to the shared module through the upload module and stored in the storage unit. The request module in system A sends the name information of the data to be processed to the setting module and performs request processing. The reading unit in the setting module reads the corresponding information and reads the corresponding data from the storage unit of the shared module. The judgment unit judges whether the size of the data meets the set value. If it meets the set value, the feedback module in system B is connected through the selection unit. The first receiving unit receives the information and feeds back the processing time to the first receiving module through the return unit. Then the processor in system B extracts the corresponding data from the storage unit according to the information of the data sent by system A through the acquisition unit, and processes it according to the time set by the timing unit. After the processing is completed, the processing situation is fed back to the first receiving module through the reply unit. After receiving the signal of the completion of the processing, system A uses the storage module to download the processed data from the shared module. If it does not meet the set value, the selection unit directly selects the processor, and the processor processes the data in the shared module, and feeds back the processing situation to the first receiving module through the reply unit. After receiving the signal of the completion of the processing, system A uses the storage module to download the processed data from the shared module, thereby completing the data exchange between systems.
2. The device for exchanging data between multiple systems according to claim 1, characterized in that: The processor adopts a programmable gate array, and the processing unit includes a database.
3. The device for data exchange between multiple systems according to claim 1, characterized in that: The system A further comprises an upload module, which is connected to the sharing module and is used to transmit the data to be processed to the sharing module.
4. The device for data exchange between multiple systems according to claim 1, characterized in that: A message middleware is arranged between the system A and the system B.
5. The device for data exchange between multiple systems according to claim 1, characterized in that: The request module is used to request data processing, the first receiving module is used to receive return information from the feedback module and the processor, and the saving module is used to download the processed modules in the sharing module.
6. The device for data exchange between multiple systems according to claim 1, characterized in that: The feedback module is used to process the request sent by system A and make corresponding operations and feedback, and the processor is used to process the data to be processed.
7. The method for operating a device for exchanging data between multiple systems according to any one of claims 1 to 6, characterized in that: The following steps are involved: S1: Upload data, upload the data to be processed to the sharing module through the upload module, and store it in the storage unit; S2: Request feedback. The request module sends the request processing requirements and the information of the data to be processed to the setting module. The information includes the name and size of the data. The setting module determines whether to perform feedback work based on the data information. If it is, the feedback module is selected to feedback the request to system A and reserve the time to process the data, and then process it. If it is not, the processor is directly selected to extract the data for direct processing, and the processing completion signal is fed back to system A. S3: Save data. After receiving the signal that the processing is completed, system A downloads the processed data from the shared module to complete the data exchange between systems.
