Industrial data processing method, device, electronic device and readable storage medium

By generating custom operators in industrial software and using XML to process industrial data, the problems of high data coupling and complex interaction in traditional data processing methods are solved, data processing efficiency and flexibility are improved, and data efficient interaction is achieved.

CN117390225BActive Publication Date: 2025-01-07SUZHOU SHUSHE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311146959.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-06
Publication Date
2025-01-07
Estimated Expiration
2043-09-06

AI Technical Summary

Technical Problem

Traditional industrial data processing methods lead to excessive coupling between different industrial software, low processing efficiency, and complex data interactions, making it difficult to reuse.

Method used

By generating custom operators in industrial software, using Extensible Markup Language (XML) to process data, simplify data format, realize data flexibility and self-descriptiveness, and reduce data interaction complexity.

Benefits of technology

It improves data processing efficiency, shortens the development time of custom operators, improves the flexibility and openness of data processing, and simplifies the synchronization model of heterogeneous data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117390225B_ABST
    Figure CN117390225B_ABST
Patent Text Reader

Abstract

An embodiment of the present application discloses an industrial data processing method, device, electronic device and readable storage medium, the method comprising: inputting first data into first industrial software; obtaining a custom operator based on the first data, the custom operator being generated by at least one native operator, and the first industrial software comprising multiple native operators; performing data processing on the first data based on the custom operator to obtain second data, wherein the data format of the first data and the second data are both extensible markup language XML.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of information processing technology, and in particular, relates to an industrial data processing method, device, electronic device and readable storage medium. Background Art

[0002] At present, the traditional data field processing method is written according to the rules agreed upon by both parties. If industrial software wants to be interoperable, it is necessary to decompose the data through specific programs, extract the corresponding field data, and finally obtain the required data.

[0003] However, the data storage method is too highly coupled and difficult to reuse in different industrial software. Moreover, the data processing units in the industrial software are too complex, making data interaction between different industrial software very difficult, resulting in low efficiency in industrial data processing. Summary of the invention

[0004] The embodiments of the present application provide an industrial data processing method, device, equipment and readable storage medium, which can solve the current problem of low efficiency in processing industrial data.

[0005] In a first aspect, an embodiment of the present application provides an industrial data processing method, the method comprising:

[0006] inputting the first data into the first industrial software;

[0007] Acquire a custom operator according to the first data, where the custom operator is generated by at least one native operator, and the first industrial software includes multiple native operators;

[0008] The first data is processed based on a custom operator to obtain second data, wherein the data formats of the first data and the second data are both extensible markup language XML.

[0009] In a second aspect, an embodiment of the present application provides an industrial data processing device, the device comprising:

[0010] An input module, used for inputting first data into first industrial software;

[0011] An acquisition module, used for acquiring a custom operator according to the first data, where the custom operator is generated by at least one native operator, and the first industrial software includes multiple native operators;

[0012] The processing module is used to perform data processing on the first data based on the user-defined operator to obtain the second data, wherein the data formats of the first data and the second data are both extensible markup language XML.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the method in the first aspect or any possible implementation of the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the method in the first aspect or any possible implementation of the first aspect is implemented.

[0015] In the embodiment of the present application, by inputting the first data into the first industrial software; obtaining the custom operator according to the first data, the custom operator is generated by at least one native operator, and the first industrial software includes multiple native operators; performing data processing on the first data based on the custom operator to obtain the second data, here, by reusing the custom operator obtained by at least one native operator to process the first data, the development time of the custom operator can be shortened to improve the data processing efficiency, wherein the data format of the first data and the second data are both extensible markup language XML. Since the XML data structure has clear semantics and custom levels, the data is highly self-descriptive and flexible, which is in line with the data processing of industrial software and can improve the data processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0017] Figure 1 is a flow chart of an industrial data processing method provided by an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of industrial data provided by an embodiment of the present application;

[0019] Figure 3 is a schematic diagram of original data and custom data provided in an embodiment of the present application;

[0020] Figure 4 It is a schematic diagram of data processing of an industrial software provided by an embodiment of the present application;

[0021] Figure 5 It is a structural schematic diagram of an industrial data processing device provided in an embodiment of the present application;

[0022] Figure 6 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0024] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0025] First, the technical terms involved in the embodiments of the present application are introduced.

[0026] Extensible Markup Language (XML) describes the stored data in a self-defined way. The description information includes not only the content of various data, but also the relationship between the data. For industrial software, data interaction between different software is a major problem. Because XML technology is scalable, structured and platform independent, it can describe various structured and unstructured data, and can effectively solve the data synchronization problem between two systems, between different applications, and between different data sources.

[0027] XML can write data from multiple programs into the same XML file and transmit it. The server that receives the file obtains information by parsing the XML file, and then implements local editing operations. In view of the excellent characteristics of XML, its application in the data synchronization mechanism not only meets the needs of various industrial software conversions, but also simplifies heterogeneous data and reduces the complexity of the synchronization model.

[0028] The industrial data processing method provided in the embodiment of the present application is described in detail below.

[0029] Figure 1 A flowchart of an industrial data processing method provided in an embodiment of the present application.

[0030] like Figure 1 As shown, the industrial data processing method may include steps 110 to 130, and the method is applied to an industrial data processing device, as shown below:

[0031] Step 110, inputting the first data into the first industrial software;

[0032] Step 120, obtaining a custom operator according to the first data, where the custom operator is generated by at least one native operator, and the first industrial software includes multiple native operators;

[0033] Step 130: The user-defined operator processes the first data to obtain second data, wherein the data formats of the first data and the second data are both extensible markup language XML.

[0034] In the embodiment of the present application, by inputting the first data into the first industrial software; obtaining the custom operator according to the first data, the custom operator is generated by at least one native operator, and the first industrial software includes multiple native operators; performing data processing on the first data based on the custom operator to obtain the second data, here, by reusing the custom operator obtained by at least one native operator to process the first data, the development time of the custom operator can be shortened to improve the data processing efficiency, wherein the data format of the first data and the second data are both extensible markup language XML. Since the XML data structure has clear semantics and custom levels, the data is highly self-descriptive and flexible, which is in line with the data processing of industrial software and can improve the data processing efficiency.

[0035] The contents of step 110 to step 130 are described below respectively:

[0036] Step 110, inputting the first data into the first industrial software.

[0037] Step 120: Obtain a custom operator according to the first data, where the custom operator is generated by at least one native operator, and the first industrial software includes multiple native operators.

[0038] Since industrial software involves a lot of calculations, operators are added during the XML design process, which are divided into native operators and custom operators.

[0039] At the same time, when calling operators of different data, it is often necessary to find the operator corresponding to the required data type and number of data from many operators of the same type, which is relatively inefficient. Therefore, when designing operators, you can classify operators according to their own characteristics. Operators with generally consistent functions, such as splicing personnel dimension and time dimension data, can be unified into one splicing operator.

[0040] Therefore, the system can determine how to operate according to different input data types, so that there is an overload of the splicing operator. Ensure the openness and flexibility of the industrial software system and ensure that the design conforms to the data type used.

[0041] In a possible embodiment, step 120 includes:

[0042] Acquire at least one native operator according to the first data;

[0043] Splice at least one native operator into a custom operator.

[0044] When setting up custom operators, you can design custom operators according to different industrial software systems. Using XML to describe operators provides an open platform for designing custom operators. In the process of designing custom operators, nested calls are used for development. By taking advantage of the fact that operators can call and nest each other, operators can be designed through reuse, thereby reducing the development cycle of custom operators.

[0045] The custom operators required in the design process have good design planning. The method of describing custom operators is exactly the same as the method of describing the native operators of the measurement and control system.

[0046] The main work of specific operator development is the conversion of data values, and the conversion of data values ​​is expressed as the function correspondence between data values ​​and data in the array; first design a conversion operator address that is responsible for performing numerical conversion operations on each element in the array according to the specific numerical value, and then design a transformation function operator to convert the specific numerical value obtained by the conversion operator through the transformation function operator.

[0047] The above XML unified data model greatly reduces the coupling relationship between industrial software and improves the scalability and maintainability of data.

[0048] The above-mentioned step of acquiring at least one native operator according to the first data may specifically include:

[0049] Determine the data type and data quantity of the first data;

[0050] Get at least one native operator based on the data type and data quantity.

[0051] Through the basic data and derived data defined in the XML specification architecture, the native data and custom data generated in the industrial software are redefined, where the native data refers to the original input data in the industrial software, and the custom data refers to the data generated during the use of the industrial software. Combined with the five-dimensional and four-layer unified model, the product dimension, method dimension, location dimension, time dimension and the data of the system layer, parameter layer, and data layer are integrated in XML documents to clarify the native data and custom data. Since the typical XML data structure has clear semantics and customization levels, the data is highly self-descriptive and flexible.

[0052] Among them, the four layers include: system layer, unit layer, parameter layer and data layer.

[0053] Among them, the system layer is used to define the system name of the industrial system and the objects included in the industrial system, the unit layer is used to define the structural information between objects, the parameter layer is used to define the parameters of the object, and the data layer is used to define the parameter values ​​of the parameters. The system layer is used to define the system name, the unit layer is used to define the object, and it is defined according to the object dimension. It is a tree-like hierarchical structure; the parameter layer and the data layer are vector space structures.

[0054] The five dimensions include: product dimension, method dimension, personnel dimension, time dimension and location dimension;

[0055] The product dimension refers to the specific physical objects and their related parameters and data in the industrial production process; the method dimension refers to the abstract or specific methods and their related parameters and corresponding data generated in the production process; the personnel dimension refers to the personnel information and its related parameters and data generated in the personnel management process in the industrial production process; the time dimension refers to the time information and its parameters and data generated in the time plan of industrial production; the location dimension refers to the specific location information and its related parameters and data where industrial production is carried out.

[0056] In line with the specific industrial software field data processing, the XML structured data model structure is defined as Figure 2 As shown, the data type can be clearly determined, and it is convenient for subsequent data processing and interaction.

[0057] Different operator types are designed in the process of saving XML files based on native data and custom data. For native data, operators are classified according to their functions based on their own characteristics.

[0058] like Figure 3 As shown, the personnel dimension, time dimension and location dimension data can be spliced ​​together to unify them into a splicing operator, and according to different input data types, the industrial software can determine how to operate by itself, thus resulting in overloading of the splicing operator.

[0059] Step 130: The user-defined operator processes the first data to obtain second data, wherein the data formats of the first data and the second data are both extensible markup language XML.

[0060] When setting custom operators, you can design custom operators according to different industrial software systems. The main work of specific operator development is the conversion of data values, and the conversion of data values ​​is manifested as the function correspondence between data values ​​and data in the array; first design a conversion operator address to perform numerical conversion operations on each element in the array according to the specific value, and then design a transformation function operator to convert the specific value transferred by the conversion operator through the transformation function operator.

[0061] For example, in Figure 3 The units of the middle leaf body surface can be converted into different units such as meters, centimeters, etc. according to different industrial software.

[0062] For example, for blade milling industrial software, we first need to determine the native data and custom data, combine the five-dimensional and four-layer unified model of the industrial system, and clarify the data types in the product dimension, method dimension, location dimension, time dimension and the system layer, parameter layer, and data layer.

[0063] by Figure 3 For example, different data types are saved as XML file types.

[0064] Specifically, by determining the aircraft engine blade milling system, the original data is clarified and divided into different dimensions: product dimension - aircraft engine blades, method dimension - milling, personnel dimension, time dimension, location dimension, etc.

[0065] In combination with the specific milling process, the different data generated are defined as custom data. Only using the data classes defined in the native data of the aircraft engine blade milling system cannot meet all the communication needs between the various parts of the system. Therefore, the unique data structure that is customized in the system process and interacts between or within the software is defined as a separate XML file format to ensure the openness and flexibility of industrial software data.

[0066] Therefore, by designing native operators and custom operators, the problem of inconsistent units or ranges among industrial software data can be solved.

[0067] In a possible embodiment, after step 130, the method further includes:

[0068] The second data is sent to the second industrial software, so that the second industrial software processes the second data to obtain the third data, wherein the data formats of the second data and the third data are both XML.

[0069] The interactive data structure between components is formed through the XML standard architecture, which has a standard structure system, and is simple to handle and convenient to interact in the process of data parsing, packaging and transmission. Figure 4 shown.

[0070] It can realize the separation of information storage and display of various data generated in the process of enterprise industrial software development, and provide a basis for data analysis, processing, optimization and other issues; for the problem of data islands in industrial software, establish an effective solution of XML method, accelerate the data processing speed in industrial software, and improve the efficiency of industrial software.

[0071] The use of XML specification system makes industrial software data processing simple and convenient. There is no need to agree on field data in the traditional way. Data interaction between different industrial software can be carried out by parsing specific data.

[0072] In the industrial data processing method provided in the embodiment of the present application, first data is input into the first industrial software; a custom operator is obtained according to the first data, the custom operator is generated by at least one native operator, and the first industrial software includes multiple native operators; the first data is processed based on the custom operator to obtain the second data. Here, by reusing the custom operator obtained by at least one native operator to process the first data, the development time of the custom operator can be shortened to improve the data processing efficiency, wherein the data format of the first data and the second data are both extensible markup language XML. Since the XML data structure has clear semantics and custom levels, the data is highly self-descriptive and flexible, which is in line with the data processing of industrial software and can improve the data processing efficiency.

[0073] Based on the above Figure 1 The industrial data processing method shown in the embodiment of the present application also provides an industrial data processing device, such as Figure 5 As shown, the apparatus 500 may include:

[0074] An input module 510, used for inputting first data into the first industrial software;

[0075] An acquisition module 520, configured to acquire a custom operator according to the first data, wherein the custom operator is generated by at least one native operator, and the first industrial software includes a plurality of the native operators;

[0076] The processing module 530 is used to perform data processing on the first data based on the custom operator to obtain second data, wherein the data format of the first data and the second data are both extensible markup language XML.

[0077] In a possible embodiment, the acquisition module 520 is specifically configured to:

[0078] Acquire the at least one native operator according to the first data;

[0079] The at least one native operator is concatenated into the custom operator.

[0080] In a possible embodiment, the acquisition module 520 is specifically configured to: determine the data type and data quantity of the first data;

[0081] According to the data type and the data quantity, the at least one native operator is acquired.

[0082] In a possible embodiment, the device 500 may include:

[0083] A sending module is used to send the second data to the second industrial software, so that the second industrial software processes the second data to obtain the third data, wherein the data formats of the second data and the third data are both the XML.

[0084] In summary, in the embodiment of the present application, by inputting the first data into the first industrial software; obtaining the custom operator according to the first data, the custom operator is generated by at least one native operator, and the first industrial software includes multiple native operators; performing data processing on the first data based on the custom operator to obtain the second data, here, by reusing the custom operator obtained by at least one native operator to process the first data, the development time of the custom operator can be shortened to improve the data processing efficiency, wherein the data format of the first data and the second data are both extensible markup language XML. Since the XML data structure has clear semantics and custom hierarchy, the data is highly self-descriptive and flexible, which is in line with the data processing of industrial software and can improve the data processing efficiency.

[0085] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0086] The electronic device may include a processor 601 and a memory 602 storing computer program instructions.

[0087] Specifically, the processor 601 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0088] The memory 602 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 602 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 602 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 602 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 602 is a non-volatile solid-state memory. In a specific embodiment, the memory 602 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0089] The processor 601 implements any one of the industrial data processing methods in the embodiments shown in the figure by reading and executing computer program instructions stored in the memory 602.

[0090] In one example, the electronic device may further include a communication interface 603 and a bus 610. Figure 6 As shown, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 and communicate with each other.

[0091] The communication interface 603 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0092] Bus 610 includes hardware, software or both, and the parts of electronic equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 610 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0093] The electronic device can execute the industrial data processing method in the embodiment of the present application, thereby realizing the combination Figures 1 to 4 Describes industrial data processing methods.

[0094] In addition, in combination with the industrial data processing method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the Figures 1 to 4 Industrial data processing methods in .

[0095] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0096] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0097] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0098] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. An industrial data processing method, characterized in that: The method comprises: inputting the first data into the first industrial software; Acquire at least one native operator according to the first data, and splice the at least one native operator into a custom operator, where the custom operator is generated by at least one native operator, and the first industrial software includes a plurality of the native operators; Performing data processing on the first data based on the custom operator to obtain second data, wherein the data formats of the first data and the second data are both extensible markup language XML; The work of the custom operator includes the conversion of data values, and the conversion of data values ​​is used to indicate the functional correspondence between the data values ​​and the data in the array. The conversion of data values ​​includes: Setting a conversion operator address, wherein the conversion operator address is used to perform a numerical conversion operation on each element in the array according to the data value; Setting a transformation function operator, and transforming the data value obtained by the conversion operator address through the transformation function operator; The step of acquiring at least one native operator according to the first data includes: Determine a data type and a data quantity of the first data, and obtain the at least one native operator according to the data type and the data quantity.

2. The method according to claim 1, characterized in that After the first data is processed based on the custom operator to obtain the second data, the method further includes: The second data is sent to the second industrial software so that the second industrial software processes the second data to obtain the third data, wherein the data formats of the second data and the third data are both the XML.

3. An industrial data processing device, characterized in that: The device comprises: An input module, used for inputting first data into first industrial software; an acquisition module, configured to acquire at least one native operator according to the first data, and splice the at least one native operator into a custom operator, wherein the custom operator is generated by at least one native operator, and the first industrial software includes a plurality of the native operators; A processing module is used to perform data processing on the first data based on the custom operator to obtain second data, wherein the data formats of the first data and the second data are both extensible markup language XML; wherein the operation of the custom operator includes conversion of data values, and the conversion of data values ​​is used to indicate the functional correspondence between the data values ​​and the data in the array, and the conversion of data values ​​includes: setting a conversion operator address, and the conversion operator address is used to perform a numerical conversion operation on each element in the array according to the data value; setting a transformation function operator, and converting the data value obtained by the conversion operator address through the transformation function operator; The acquisition module is specifically used to determine the data type and data quantity of the first data, and acquire the at least one native operator according to the data type and the data quantity.

4. The device according to claim 3, characterized in that The device also includes: A sending module is used to send the second data to the second industrial software, so that the second industrial software processes the second data to obtain the third data, wherein the data formats of the second data and the third data are both the XML.

5. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the industrial data processing method according to any one of claims 1 to 2 is implemented.

6. A readable storage medium, characterized in that: The readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the industrial data processing method according to any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • Knowledge mining system and method

    CN112163017A

  • Industrial data processing method and device, equipment and medium

    CN114691723A