Single-process-based multi-interface data processing method

A data processing and multi-interface technology, which is applied in the computer field, can solve problems such as unusable data interfaces, abnormal crashes of data interfaces, and excessive resource occupation, so as to reduce the probability of abnormal risks and reduce the occupation of system resources.

Pending Publication Date: 2018-05-08
ZHEJIANG SUPCON SOFTWARE +1
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] After actual use, the developers found that although the first solution can guarantee the relative independence of each interface, it will take up a lot of resources and is inconvenient to manage; while the second solution takes up less resources, but because of different data interface functions in the In the same process, there may be a risk that one data interface crashes abnormally, making other data interfaces unusable

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Single-process-based multi-interface data processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] The present invention provides a multi-interface data processing method based on a single process, and the multi-interface data processing method is used for data transmission between an upper-layer application and a bottom-layer data source, such as figure 1 As shown, the processing method includes:

[0044] 11. Determine the transmission rules to be followed for data transmission. On the premise of conforming to the transmission rules, generate the dynamic link library file corresponding to the sample data interface, and save the dynamic link library file in the folder;

[0045] 12. When there is a data transfer request, start the transfer process, generate an application domain, perform the content retrieval step of the folder in the application domain, generate a data interface instance according to the retrieval result, and initialize the data interface instance to obtain the initialization Data interface instance;

[0046] 13. Based on the initialized data interf...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a single-process-based multi-interface data processing method, belongs to the field of computer and applies to transmit data between an upper application and an underlying datasource. The method comprises: generating a dynamic link library file corresponding to a sample data interface, and saving the dynamic link library file in a file folder; starting a transmission process to generate an application domain, retrieving the file folder in the application domain, and acquiring an initialized data interface instance according to retrieval results; transmitting data duringthe transmission process based on the initialized data interface instance. Data interfaces that are mutually independent are called in the application domain to transmit data; the data interfaces inthe application domains are independent of one another; even if a certain data source is abnormally terminated, abnormality can be isolated in time so that the use of other data interfaces is unaffected; finally multi-line data transmission is performed within the single process, and abnormality risk occurring chances are slimmed at the premise of using fewer system resources.

Description

technical field [0001] The invention belongs to the field of computers, in particular to a multi-interface data processing method based on a single process. Background technique [0002] In the field of industrial control, it is often necessary to obtain real-time data from various data sources such as real-time databases as an important basis for production control. The acquisition of these real-time data often requires the help of specific data interface software. Since these data sources often come from different software developers, each data source has its own characteristics and cannot communicate with each other, so it is necessary to customize different data interfaces for different developers. [0003] In the customization process, two main solutions are adopted. One is to use the "one-to-one" mode to start independent processes, and each process independently loads a data interface; the other only occupies one process, but at the same time within this process. Loa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F13/10
CPCG06F9/44521G06F13/102
Inventor 卜梓琴苏宏业叶建位
Owner ZHEJIANG SUPCON SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products