A cross-software data transmission method and system

By establishing data reading and writing channel interfaces, directly associated with the storage fields of software, it solves the problem of inconsistent data formats between software and difficulty in interface modification caused by version upgrades, and achieves efficient and safe data transmission and versioning between software. Adaptability.

CN114896204BActive Publication Date: 2024-10-01北京月新时代科技股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210408869.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-19
Publication Date
2024-10-01
Estimated Expiration
2042-04-19

AI Technical Summary

Technical Problem

In the existing technology, there are problems such as data format inconsistency, format conversion errors, and difficulty in interface modification caused by version upgrades in data transmission between software, resulting in inconvenient and unsafe data transmission.

Method used

By establishing a data reading channel interface and a data writing channel interface, and using tables to associate the storage fields of multiple software, only the public model and data interface are modified during direct data transmission and version upgrade, avoiding format conversion and enhancing security.

Benefits of technology

It realizes a data format bridge between any two software, simplifies data interaction, improves the security and convenience of transmission, and adapts to changes in different software versions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114896204B_ABST
    Figure CN114896204B_ABST
Patent Text Reader

Abstract

The present application relates to a cross-software data transmission method and system, including the following steps: obtaining storage fields of data information in several different software databases, and storing the storage fields in different pre-established data field storage tables respectively; according to the actual meaning of the data information, associating the storage fields in different data field storage tables; according to the storage locations of the storage fields and the data information, establishing a data reading channel interface and a data writing channel interface; obtaining data information in a software database for data interaction; according to the data information in the software database, selecting a data reading channel interface and a data writing channel interface; according to the associated storage fields, docking the data reading channel interface with the corresponding data writing channel interface to read and write data. The scheme of the embodiment of the present invention mainly provides a data format conversion bridge for the two softwares LandMark and GeoEast, making data interaction between different software more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of exploration information processing technology, and in particular to a cross-software data transmission method and system. Background Art

[0002] The types of software used in various stages of petroleum business are complex and diverse, such as LandMark, GeoEast and other software related to exploration business, Petrel and other software related to development business, and edmc and other software related to engineering business. The data between various businesses are more or less related, so the data between various software needs to be verified and used with each other during the work process. Data transmission between software is an important part of the work of business personnel. However, the formats of various types of data in different software are different, and the data formats between software are not universal.

[0003] Currently, there are two ways for business personnel to achieve data transmission between software. Method 1: ① Export the data in software A to form a data file with data format a; ② Convert the data file format from a to format b suitable for software B; ③ Import the data file with data format b into software B for use. Method 2: It can achieve single-point link transmission from a single version of one software to a single version of another software. The unified fields of the same data type exist in different software databases, but the information stored in each field in different software databases is inconsistent. Directly establishing a relationship between the interfaces of the two is method 2.

[0004] Regarding the above-mentioned related technologies, method one requires exporting data files and using format conversion software to convert the data format. When the data is exported to the computer storage area, the data is prone to errors and the data format conversion is also prone to abnormalities. It is inconvenient for personnel to identify data packets. Method two can only realize single-point link transmission between single versions. If a certain software version is upgraded, all other versions of the software links connected to it need to be modified, which is inconvenient. Summary of the invention

[0005] In order to facilitate data transmission between various software, the present application provides a cross-software data transmission method and system.

[0006] The cross-software data transmission method provided by this application adopts the following technical solution:

[0007] A cross-software data transmission method comprises the following steps:

[0008] Acquire storage fields of data information in a number of different software databases, and store the storage fields in different pre-established data field storage tables;

[0009] According to the actual meaning of the data information, associate the storage fields in different data field storage tables;

[0010] According to the storage fields and the storage location of the data information in each corresponding software database, a data reading channel interface and a data writing channel interface are established;

[0011] Obtain data information from the software database for data interaction;

[0012] According to the data information in the software database for data interaction, select the corresponding data reading channel interface and data writing channel interface;

[0013] According to the associated storage field, the data read channel interface is connected to the corresponding data write channel interface to perform data reading and writing.

[0014] By adopting the above technical solution, the storage fields of multiple software are associated in the form of a table, and then the storage location of the data information is associated with the storage field in the table, and a read channel interface and a data write channel interface are established. When data interaction is required between two software, the corresponding data read channel interface or data write channel interface can be matched according to the data information in one of the software databases. The data is read from one software through the data read channel interface and then written to the target software through the data write channel interface to complete the data transmission without the need for data format conversion. When the version of a certain software is upgraded, only the data format of the software and the data interface between the public model need to be modified, which is more convenient.

[0015] Preferably, before selecting the corresponding data reading channel interface and data writing channel interface according to the data information in the software database for data interaction, the following steps are also included:

[0016] Establish data connection with personnel working end through network;

[0017] The conversion software selection information sent by the personnel working terminal is obtained, and the corresponding software database in the personnel working terminal is identified.

[0018] By adopting the above technical solution, personnel can complete the information interaction between the two software through network access in other terminals, which is more convenient.

[0019] Preferably, the conversion software selection information includes reading software information and writing software information, the reading software information corresponds to a data reading channel interface, and the writing software information corresponds to a data writing channel interface.

[0020] By adopting the above technical solution, when the read software information is obtained, the corresponding data read channel interface is selected to read the data information in the software database, and when the write software information is obtained, the corresponding data write channel interface is selected to write the data information in the software database.

[0021] Preferably, in establishing a data connection with a personnel working terminal through a network, the following steps are also included:

[0022] Obtain user access account information and password information;

[0023] Verify the user's access account information and password information and obtain verification results, where the verification results include pass results and fail results;

[0024] Based on the passing result, a data connection is established to allow the personnel working end to access it.

[0025] By adopting the above technical solution, the user accesses the account information and password information, so that the security of the present application is increased.

[0026] Preferably, after obtaining the verification result, the method further includes:

[0027] Based on the failure result, the personnel work end is blocked from access.

[0028] By adopting the above technical solution, the security of the present application is increased.

[0029] Preferably, the access protocol used by the personnel work terminal to access is the POST protocol.

[0030] By adopting the above technical solution, during the data transmission process, all operations of Post are invisible to the user, and Post can transmit a large amount of data with the advantages of high security and fast transmission speed.

[0031] Preferably, after establishing the data reading channel interface and the data writing channel interface, the following steps are also included:

[0032] Obtain software version information, compare the software version information with the preset standard version information, and if they are different, update the software database, read channel interface, and data write channel interface, and replace the standard version information with the software version information.

[0033] By adopting the above technical solution, the present application can update the software database, read the channel interface and write data to the channel interface according to the software version information, so as to facilitate data interaction between different versions of software.

[0034] The present application also provides a system for a cross-software data transmission method.

[0035] A system for a cross-software data transmission method, comprising:

[0036] A storage field storage module is used to obtain storage fields of data information in several different software databases, and store the storage fields in different pre-established data field storage tables;

[0037] The association module is used to associate storage fields in different data field storage tables according to the actual meaning of the data information;

[0038] A data interface establishment module, used to establish a data reading channel interface and a data writing channel interface according to the storage fields and the storage location of the data information in each corresponding software database;

[0039] A data information acquisition module is used to acquire data information in a data interaction software database;

[0040] A data interface selection module, used to select a corresponding data reading channel interface and a data writing channel interface according to data information in a software database for data interaction; and

[0041] The data interaction module is used to connect the data reading channel interface with the corresponding data writing channel interface to read and write data according to the associated storage field.

[0042] In summary, the present application includes at least one of the following beneficial technical effects:

[0043] 1. Through the method provided by the embodiment of the present invention, a conversion bridge for the data formats of any two software is realized. When the version of a certain software is upgraded, only the conversion of the data format of the software and the interface between the public model is modified, making data interaction between different software more convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a flow chart of a cross-software data transmission method according to an embodiment of the present application.

[0045] Figure 2 It is a schematic diagram of a data field storage table storing LandMark software storage fields in a cross-software data transmission method in an embodiment of the present application.

[0046] Figure 3 It is a schematic diagram of a data field storage table storing GeoEast software storage fields in a cross-software data transmission method according to an embodiment of the present application;

[0047] Figure 4 It is a schematic diagram of a public mapping comparison table in a cross-software data transmission method in an embodiment of the present application;

[0048] Figure 5 It is a schematic diagram of the architecture of a cross-software data transmission system in an embodiment of the present application.

[0049] Explanation of the accompanying drawings: 1. Storage field storage module; 2. Association module; 3. Data interface establishment module; 4. Data information acquisition module; 5. Data interface selection module; 6. Data interaction module. DETAILED DESCRIPTION

[0050] The embodiment of the present application discloses a cross-software data transmission method.

[0051] Reference Figure 1 , a cross-software data transmission method, comprising the following steps:

[0052] S1: obtaining storage fields of data information in several different software databases, and storing the storage fields in different pre-established data field storage tables respectively;

[0053] Specifically: unified fields of the same data type exist in different software databases, but the information stored in each field in different software databases is inconsistent. The interfaces of the two can directly establish a relationship to implement the solution of method 2 and read and write with each other. Therefore, this application obtains the storage fields of data information in the same software database through manual input or software reading, and stores the obtained storage fields of the same software into the same data field storage table to form a corresponding number of data field storage tables according to the type of software.

[0054] S2: according to the actual meaning of the data information, associate the storage fields in the different data field storage tables;

[0055] Specifically, because the storage fields in different software databases store inconsistent information, refer to Figure 2 and Figure 3 For example, the storage fields in LandMark software are "wellbore_uwi" and the storage fields in GeoEast software are "WELL_NAME". Therefore, the storage fields of the same data type in each data field storage table are associated by mapping. Figure 4, by establishing a public mapping comparison table "wellbore_uwi", "WELL_NAME" uniformly corresponds to the "WELL_UWI" field in the public mapping comparison table. The specific mapping process can be to map and associate the storage fields with the operating information of the receiving personnel. In other embodiments, automatic association can also be performed by identifying the pre-stored association table. The association table includes all software and storage fields in the public mapping comparison table and the actual meanings corresponding to the storage fields. The public mapping comparison table stores mapping storage fields corresponding to different storage fields, so that the server can find the storage fields of the same type of data in different software according to the data field storage table and the public mapping comparison table. Each field in the public mapping comparison table has a corresponding data storage file in the server.

[0056] S3: Continue to refer to Figure 1 , establish a data reading channel interface and a data writing channel interface according to the storage fields and the storage location of the data information in each corresponding software database;

[0057] Specifically, each storage field has a storage location or folder for storing data information in the corresponding software database. Then, a read channel interface and a data write channel interface are established from the storage location to the storage field. The write channel interface and the read channel interface are both configured with corresponding format conversion algorithms. The read channel interface is used to convert the data format of the read storage data information into a preset custom data standard format. The write channel interface is used to convert the data in the custom data standard format into the data format of the corresponding software and write it into the software storage location to generate a common model on the server. It should be noted that the software storage location is the location of the data file in the software folder, and the data interaction between the two software is completed. The establishment of the write channel interface and the read channel interface can be achieved by identifying the file name suffix or data type of the storage data file, matching the corresponding data identification program module data write channel interface and data read channel interface. The data identification program module is an existing technology for identifying a certain type of data.

[0058] S4: Obtain software version information, compare the software version information with preset standard version information, and if they are different, update the software database, read channel interface, and data write channel interface, and replace the standard version information with the software version information;

[0059] Specifically, after the public model is established, due to the phenomenon of version updates between various software, some newly implanted functional files will cause the file position corresponding to the data field in the file storage area of ​​the intelligent terminal to change. To deal with this situation, the server will detect the software and obtain the software version information, or the personnel will input the software version information. After that, the server will compare the software version information with its internal preset standard version information to determine whether the current software version conforms to the data interaction of the public model. When the software version information is different from the standard version information, it means that the software cannot perform data interaction through the public model or that there will be major problems with the software data interaction. The corresponding specific scenario is usually that the software in the enterprise or unit has been uniformly upgraded, resulting in the update of the software version information. At this time, the personnel need to upgrade the public model as well. In this embodiment, this application will re-establish the data reading channel interface and data writing channel interface of the corresponding storage field according to the storage field corresponding to the software and the storage position of the data information in the upgraded software database according to step S3, so that the public model can perform data interaction with the upgraded software. In other embodiments, the storage fields in different versions of software can be stored in different field storage tables by newly establishing a data field storage table, and a data reading channel interface and a data writing channel interface can be established respectively to update the data reading channel interface and the data writing channel interface.

[0060] S5: Acquire data information in a software database for data interaction;

[0061] Specifically, the public model establishes a communication connection with the personnel work end through the network, and the personnel work end accesses the public model in the server based on the POST protocol. The personnel work end sends the user access account information and password information to the server through the user login interface. After the server obtains the user access account information and password information, it will verify the user access account information and password information according to its internal preset registered account and the corresponding account password, and obtain the verification result, wherein the verification result includes a pass result and a fail result; the specific verification process is: determine whether there is a registered account corresponding to the user access account information, after the registered account exists, compare the password information, if the password information is consistent with the account password, then obtain a pass result, if the password information is inconsistent with the account password, then obtain a fail result, and if the registered account does not exist, a fail result will also be obtained.

[0062] Then, according to the passing result, a data connection is established to allow the personnel work end to access the public model in the server and obtain the conversion software selection information sent by the personnel work end; wherein, the conversion software selection information includes reading software information and writing software information, the reading software information includes the name of the software to be transferred and the version number information, and the writing software information includes the name of the target software for data transfer and the version number information. After obtaining the conversion software selection information, the corresponding software database in the personnel work end is identified through information interaction. In addition, after obtaining the failure result, the server will prevent the personnel work end from accessing according to the failure result.

[0063] S6: Selecting a corresponding data reading channel interface and a data writing channel interface according to the data information in the software database for data interaction;

[0064] Specifically, query the data storage location of the software repository, select the file corresponding to the storage field, match the corresponding data reading channel interface to the corresponding file according to the received reading software information, and match the corresponding data writing channel interface to the corresponding file according to the received writing software information;

[0065] S7: According to the associated storage field, the data read channel interface is connected to the corresponding data write channel interface to perform data reading and writing.

[0066] Specifically, after acquiring the data information in the software database, the storage fields contained in the data information are identified and matched with the corresponding field storage table. Each storage field corresponds to a data file in the software folder. After finding all the associated storage fields, the information is selected according to the storage fields and the corresponding conversion software, and the data reading channel interface is selected to connect with the corresponding data writing channel interface, so that the data in the file can be read by the data reading channel interface, converted into a custom data format, and then written into the target file of the target software through the data writing channel interface. For example, the storage fields of wellbore UWI, X coordinate, Y coordinate, elevation type, elevation and remarks in LandMark software are "wellbore_uwi", "x_coordinate", "y_coordinate", "elevation_type", "elevation" and "remark", respectively, and the storage fields in GeoEast software are "WELL_NAME", "WELL_TOP_COOR_X", "WELL_TOP_COOR_Y", "KB", "GROUND_ELEVATION" and "DESCRIPTION", respectively, and the corresponding fields in the public mapping comparison table in the public model are "WELL_UWI", "WL_ORIG_X_LON", "WL_ORIG_Y_LAT", "DEPTH_DATUM_TYPE", "DEPTH_DATUM" and "REMARK", respectively.

[0067] According to the reading software information and the "wellbore_uwi" field, select the data reading channel interface to read the data information in the "wellbore_uwi" storage file, convert the read data information into a custom public data format and store it in the data storage file whose storage field is "WELL_UWI" corresponding to the server where the public model is located. Then, according to the writing software information and the "WELL_NAME" storage field, convert the data information in the file whose storage field is "WELL_UWI" into the data format in the GeoEast software through the data writing channel interface and write it into the file corresponding to "WELL_NAME".

[0068] The implementation principle of a cross-software data transmission method in an embodiment of the present application is: establish a unified public model, map the dispersedly stored databases to the common public model according to the correlation of business rules on different software, and read and write the data of any two software through the public model and the custom data format to realize software data interaction. When the version of a certain software is upgraded, only the interface between the data format of the software and the public model and the conversion program between the data format and the custom data format are modified, so that the data of any two software can communicate normally, which is more convenient.

[0069] The present application also discloses a cross-software data transmission system. Figure 2 , a cross-software data transmission system, comprising:

[0070] The storage field storage module 1 is used to obtain the storage fields of data information in several different software databases, and store the storage fields in different pre-established data field storage tables respectively;

[0071] The association module 2 is used to associate storage fields in different data field storage tables according to the actual meaning of the data information;

[0072] A data interface establishment module 3, used to establish a data reading channel interface and a data writing channel interface according to the storage fields and the storage location of the data information in each corresponding software database;

[0073] A data information acquisition module 4, used to acquire data information in a data interaction software database;

[0074] A data interface selection module 5, used to select a corresponding data reading channel interface and a data writing channel interface according to the data information in the software database for data interaction;

[0075] And a data interaction module 6 is used to connect the data reading channel interface with the corresponding data writing channel interface to perform data reading and writing according to the associated storage field.

[0076] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A cross-software data transmission method, It is characterized in that The following steps are involved: Acquire storage fields of data information in a number of different software databases, and store the storage fields in different pre-established data field storage tables; According to the actual meaning of the data information, associate the storage fields in different data field storage tables; According to the storage fields and the storage location of the data information in each corresponding software database, a data reading channel interface and a data writing channel interface are established; Obtain data information from the software database for data interaction; According to the data information in the software database for data interaction, select the corresponding data reading channel interface and data writing channel interface; According to the associated storage field, the data reading channel interface is connected with the corresponding data writing channel interface to read and write data; wherein, according to the associated storage field, the data reading channel interface is connected with the corresponding data writing channel interface to read and write data, including: after determining the associated storage field, according to the storage field and the corresponding conversion software selection information, the data reading channel interface is selected to connect with the corresponding data writing channel interface, and the public model is used as a conversion bridge for the data format of the two softwares, wherein the public mapping comparison table in the public model stores the mapping storage fields corresponding to different storage fields; the conversion software selection information is issued by the personnel work end, the conversion software selection information includes reading software information and writing software information, the reading software information corresponds to the data reading channel interface, and the writing software information corresponds to the data writing channel interface; wherein, establishing a data connection allows the personnel work end to access the public model in the server; the reading software information includes information including the name and version number information of the software to be transferred, and the writing software information includes information including the name and version number information of the target software for data transfer, and after obtaining the conversion software selection information, the corresponding software database in the personnel work end is identified by information interaction; Among them, the storage fields of the same data type in each data field storage table are associated by mapping to establish a public mapping comparison table; the public mapping comparison table stores mapping storage fields corresponding to different storage fields, so that the server can find the storage fields of the same type of data in different software according to the data field storage table and the public mapping comparison table, and each field in the public mapping comparison table has a corresponding data storage file in the server; each storage field has a storage location or folder for storing data information in the corresponding software database, and then a reading channel interface and a data writing channel interface are established from the storage location to the storage field. The writing channel interface and the reading channel interface are both configured with corresponding format conversion algorithms. The reading channel interface is used to convert the data format of the read storage data information into a preset custom data standard format, and the writing channel interface is used to convert the data in the custom data standard format into the data format of the corresponding software and write it into the software storage location to generate a public model on the server.

2. A cross-software data transmission method according to claim 1, It is characterized in that Before selecting the corresponding data reading channel interface and data writing channel interface according to the data information in the software database for data interaction, the following steps are also included: Establish data connection with personnel working end through network; Acquire the conversion software selection information sent by the personnel work end, and identify the corresponding software database in the personnel work end.

3. A cross-software data transmission method according to claim 2, It is characterized in that The process of establishing a data connection with a human workstation through a network also includes the following steps: Obtain user access account information and password information; Verify the user's access account information and password information and obtain verification results, where the verification results include pass results and fail results; Based on the passing result, a data connection is established to allow the personnel working end to access it.

4. A cross-software data transmission method according to claim 3, It is characterized in that After obtaining the verification results, it also includes: Based on the failure result, the personnel work end is blocked from access.

5. A cross-software data transmission method according to claim 4, Features: The access protocol used by the personnel work end to access is the POST protocol.

6. A cross-software data transmission method according to claim 1, It is characterized in that After establishing the data reading channel interface and the data writing channel interface, the following steps are also included: Obtain software version information, compare the software version information with the preset standard version information, and if they are different, update the software database, read channel interface, and data write channel interface, and replace the standard version information with the software version information.

7. A system based on the cross-software data transmission method according to any one of claims 1 to 6, It is characterized in that include: A storage field storage module (1) is used to obtain storage fields of data information in a number of different software databases, and store the storage fields in different pre-established data field storage tables; An association module (2) is used to associate storage fields in different data field storage tables according to the actual meaning of the data information; A data interface establishment module (3) is used to establish a data reading channel interface and a data writing channel interface according to the storage fields and the storage locations of the data information in each corresponding software database; A data information acquisition module (4), used to acquire data information in a data interaction software database; A data interface selection module (5), used to select a corresponding data reading channel interface and a data writing channel interface according to data information in a software database for data interaction; as well as A data interaction module (6) is used to connect the data reading channel interface with the corresponding data writing channel interface according to the associated storage field to perform data reading and writing; wherein, according to the associated storage field, connecting the data reading channel interface with the corresponding data writing channel interface to perform data reading and writing comprises: after determining the associated storage field, according to the storage field and the corresponding conversion software selection information, selecting the data reading channel interface and the corresponding data writing channel interface for connection, and using the common model as a conversion bridge for the data formats of the two softwares, wherein the common mapping comparison table in the common model stores mapping storage fields corresponding to different storage fields; the conversion software selection information is issued by the personnel work end, the conversion software selection information includes reading software information and writing software information, the reading software information corresponds to the data reading channel interface, and the writing software information corresponds to the data writing channel interface; wherein, establishing a data connection allows the personnel work end to access the common model in the server; the reading software information includes information including the name and version number information of the software to be transferred, and the writing software information includes information including the name and version number information of the target software for data transfer, and after obtaining the conversion software selection information, identifying the corresponding software database in the personnel work end by means of information interaction; Among them, the storage fields of the same data type in each data field storage table are associated by mapping to establish a public mapping comparison table; the public mapping comparison table stores mapping storage fields corresponding to different storage fields, so that the server can find the storage fields of the same type of data in different software according to the data field storage table and the public mapping comparison table, and each field in the public mapping comparison table has a corresponding data storage file in the server; each storage field has a storage location or folder for storing data information in the corresponding software database, and then a reading channel interface and a data writing channel interface are established from the storage location to the storage field. The writing channel interface and the reading channel interface are both configured with corresponding format conversion algorithms. The reading channel interface is used to convert the data format of the read storage data information into a preset custom data standard format, and the writing channel interface is used to convert the data in the custom data standard format into the data format of the corresponding software and write it into the software storage location to generate a public model on the server.