Industrial data analysis method and device

By configuring the WASM runtime environment in user interaction devices and drivers, and utilizing hardware APIs and data interaction APIs, the problem of high hardware performance requirements in existing technologies is solved, enabling industrial data analysis for low-performance devices, expanding application scenarios, and improving the flexibility and efficiency of applications.

CN121636043APending Publication Date: 2026-03-10SIEMENS AG
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

Existing industrial data analysis systems have high hardware performance requirements, requiring large amounts of RAM and storage space, which limits their application scenarios.

Method used

Configure a WASM-based runtime environment in user interaction devices and drivers, load and run applications using WebAssembly technology, and acquire and analyze industrial data through hardware APIs and data interaction APIs.

Benefits of technology

It reduces the demand on equipment performance, expands the application scenarios of industrial data analysis, and improves the flexibility and efficiency of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121636043A_ABST
    Figure CN121636043A_ABST
Patent Text Reader

Abstract

The invention provides an industrial data analysis method which comprises the steps that a first runtime environment based on a WASM, a first hardware API and a first data interaction API are configured in user interaction equipment, and the user interaction equipment is provided with an operating system; an application program based on the WASM is received, and the application program based on the WASM is loaded in the first runtime environment; and running the application program based on the WASM, and calling the first hardware API and the first data interaction API to obtain industrial data from a driver so as to analyze the industrial data on user interaction equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application mainly relates to the field of industrial digitalization, and in particular to an industrial data analysis method and apparatus. Background Technology

[0002] Current technologies for analyzing industrial data primarily utilize edge devices (such as industrial computers) and Industrial Internet of Things (IIoT) devices. Edge devices acquire industrial data from drives via IIoT devices and then analyze and display this data. Existing industrial data analysis solutions place high demands on hardware performance; the firmware for edge devices and IIoT devices needs to be in the MB to GB range, and the applications require substantial RAM and storage. Furthermore, the development and deployment of industrial data analysis systems require massive amounts of data acquisition and analysis, as well as real-time application requirements, further increasing the performance demands on the hardware. Summary of the Invention

[0003] To address the aforementioned technical problems, this application provides an industrial data analysis method and apparatus to reduce the performance requirements of industrial data analysis systems and expand the application scenarios of industrial data analysis.

[0004] To achieve the above objectives, this application proposes an industrial data analysis method, the method comprising:

[0005] A first runtime environment, a first hardware API, and a first data interaction API based on WASM are configured in a user interaction device, and the user interaction device has an operating system.

[0006] Receive a WASM-based application and load the WASM-based application in the first runtime environment;

[0007] The WASM-based application is run, and the first hardware API and the first data interaction API are called to obtain industrial data from the driver, so as to analyze the industrial data on the user interaction device.

[0008] Therefore, embodiments of this application provide an industrial data analysis method. An industrial interactive device is configured with a WASM-based runtime environment. This WASM-based runtime environment allows for the direct loading and running of WASM-based applications, reducing the demand for computing power and memory, thereby lowering the performance requirements of the device. Even low-performance industrial interactive devices can run WASM-based applications, reducing the performance requirements of the industrial data analysis system and expanding the application scenarios of industrial data analysis.

[0009] Optionally, the method further includes:

[0010] Configure a second WASM-based runtime environment in the driver;

[0011] The WASM-based application is separated into a first application package and a second application package;

[0012] The first application package is loaded and run in the first runtime environment to obtain a first running result, and the second application package is loaded and run in the second runtime environment to obtain a second running result;

[0013] The industrial data is analyzed by the user interaction device based on the first and second operating results.

[0014] To address this, by configuring a runtime environment in the driver, the driver can directly load and run WASM-based applications, utilizing the driver's computing power and storage space to share the computing power and storage space of the user interaction device, further reducing the performance requirements of the user interaction device.

[0015] Optionally, the first application package corresponds to the front-end portion of the application, and the second application package corresponds to the back-end portion of the application.

[0016] Therefore, by running the front-end of the application on the user interaction device and the back-end of the application on the driver, the computing power of the user interaction device and the driver is fully utilized, thereby improving the flexibility and efficiency of application operation.

[0017] Optionally, the method further includes:

[0018] Obtain the idle computing power of the user interaction device and the driver;

[0019] Based on the idle computing power of the user interaction device and the driver, the WASM-based application is separated into a first application package and a second application package.

[0020] Therefore, applications are run on the user interaction device and the driver respectively based on the idle computing power of the user interaction device and the driver, making full use of the computing power of the user interaction device and the driver, and improving the flexibility and efficiency of application operation.

[0021] Optionally, configuring the hardware API in the user interaction device includes:

[0022] Define and develop hardware configuration functions and hardware operation functions;

[0023] Export the hardware configuration API of the hardware configuration function and the hardware operation API of the hardware operation function.

[0024] To this end, the hardware API was configured so that applications could access the hardware interface.

[0025] Optionally, the method further includes: connecting the user interaction device and / or drive to the cloud, and obtaining the WASM-based application from the cloud. To this end, the user interaction device and / or drive can connect to the cloud and download the application from the cloud to meet the user's application needs.

[0026] This application also proposes an industrial data analysis device, the device comprising:

[0027] The configuration module configures a first runtime environment, a first hardware API, and a first data interaction API based on WASM in a user interaction device, wherein the user interaction device has an operating system;

[0028] The receiving module receives a WASM-based application and loads the WASM-based application in the first runtime environment.

[0029] The analysis module runs the WASM-based application, calls the first hardware API and the first data interaction API to obtain industrial data from the driver, and analyzes the industrial data on the user interaction device.

[0030] This application also proposes an industrial data analysis system, which includes a user interaction device and a driver.

[0031] The user interaction device is configured with a first runtime environment, a first hardware API, and a first data interaction API based on WASM, and the user interaction device has an operating system.

[0032] The user interaction device is suitable for:

[0033] Receive a WASM-based application and load the WASM-based application in the first runtime environment;

[0034] The WASM-based application is run to call the first hardware API and the first data interaction API to obtain industrial data from the driver, so as to analyze the industrial data on the user interaction device.

[0035] This application also proposes an industrial data analysis system, which includes a user interaction device and a driver.

[0036] The user interaction device is configured with a first runtime environment, a first hardware API, and a first data interaction API based on WASM, and the user interaction device has an operating system.

[0037] The driver is configured with a second runtime environment based on WASM;

[0038] The user interaction device is suitable for:

[0039] Receive a WASM-based application and separate the WASM-based application into a first application package and a second application package;

[0040] The first application package is loaded and run in the first runtime environment to obtain a first running result, and the second application package is loaded and run in the second runtime environment to obtain a second running result;

[0041] The industrial data is analyzed by the user interaction device based on the first and second operating results.

[0042] This application also proposes an electronic device including a processor, a memory, and instructions stored in the memory, wherein the instructions, when executed by the processor, implement the method described above.

[0043] This application also proposes a computer-readable storage medium having computer instructions stored thereon, which, when executed, perform the methods described above.

[0044] This application also proposes a computer program product, including a computer program that, when executed by a processor, implements the method described above. Attached Figure Description

[0045] The accompanying drawings are intended only to illustrate and explain this application and do not limit the scope of this application.

[0046] Figure 1 This is a flowchart of an industrial data analysis method according to an embodiment of this application;

[0047] Figure 2 This is a schematic diagram of an industrial data analysis system according to an embodiment of this application;

[0048] Figure 3 This is a schematic diagram of another industrial data analysis system according to an embodiment of this application;

[0049] Figure 4 This is a schematic diagram illustrating the interaction between a user interaction device, a driver, and an industrial edge device according to an embodiment of this application;

[0050] Figure 5 This is a schematic diagram illustrating the distributed operation of an application according to an embodiment of this application;

[0051] Figure 6This is a schematic diagram of an industrial data analysis device according to an embodiment of this application;

[0052] Figure 7 This is a schematic diagram of an electronic device according to an embodiment of the present application.

[0053] Explanation of reference numerals in the attached figures

[0054] 100 Industrial Data Analysis Methods

[0055] Steps 110-130

[0056] 20 User Interaction Devices

[0057] 21 First Firmware

[0058] 211 First Runtime Environment

[0059] 211a First User Module

[0060] 211b First Protocol Module

[0061] 211c First UI Module

[0062] 212 First Hardware Operation Module

[0063] 212a Hardware Configuration API

[0064] 212b Hardware Operation API

[0065] 213 First Data Interaction API

[0066] 22 First Device Interface

[0067] 23 First Data Interface

[0068] 30 drives

[0069] 31 Second Firmware

[0070] 311 Second Runtime Environment

[0071] 311a Second User Module

[0072] 311b Second UI Module

[0073] 311c Second Protocol Module

[0074] 311d backend module

[0075] 312 Second Hardware Operation Module

[0076] 313 Second Data Interaction API

[0077] 32 Second device interface

[0078] 33 Second Data Interface

[0079] 40 Cloud

[0080] 50 Industrial Edge Devices

[0081] 51 Third Firmware

[0082] 511 Operating System

[0083] 511a application

[0084] 512 Third Hardware Operation Module

[0085] 513 Third Data Interaction Module

[0086] 510 Computing Devices

[0087] 501 Application

[0088] 501a First Application Package

[0089] 501b Second Application Package

[0090] 520 User Interaction Devices

[0091] 521 First Runtime Environment

[0092] 530 drive

[0093] 531 Second Runtime Environment

[0094] 600 Industrial Data Analysis Device

[0095] 610 Configuration Module

[0096] 620 receiver module

[0097] 630 Analysis Module

[0098] 700 electronic devices

[0099] 710 processor

[0100] 720 memory Detailed Implementation

[0101] To provide a clearer understanding of the technical features, objectives, and effects of this application, specific embodiments of this application will now be described with reference to the accompanying drawings.

[0102] Many specific details are set forth in the following description in order to provide a full understanding of this application. However, this application may also be implemented in other ways different from those described herein, and therefore this application is not limited to the specific embodiments described below.

[0103] As indicated in this application and claims, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" are not specifically singular and may include plural forms. Generally speaking, the terms "comprising" and "including" only indicate the inclusion of explicitly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.

[0104] This application proposes an industrial data analysis method. Figure 1 This is a flowchart of an industrial data analysis method 100 according to an embodiment of this application, as follows: Figure 1 As shown, method 100 includes:

[0105] Step 110: Configure a first runtime environment, a first hardware API, and a first data interaction API based on WASM in the user interaction device, wherein the user interaction device has an operating system;

[0106] User interaction devices are devices that allow users to interact with industrial data analysis systems. In some embodiments, user interaction devices may include HMIs, mobile phones, tablets, and smart screens. User interaction devices have an operating system, enabling them to run applications. For example, HMIs may have a WinCC operating system, while mobile phones, tablets, and smart screens may have Android or iOS operating systems.

[0107] WebAssembly (WASM) is an open, portable binary instruction set designed to provide a high-performance runtime environment for web platforms. WebAssembly is designed to enable high-performance computing and computationally intensive tasks within web browsers, such as games, graphics rendering, and audio / video processing. It can be written in various programming languages ​​and run by compiling it into WebAssembly modules. WebAssembly is a low-level virtual machine that directly executes binary instructions without parsing or compilation, resulting in faster execution speeds than JavaScript and thus high performance. Furthermore, WebAssembly's binary format can run on various platforms and devices without recompilation, thus ensuring portability.

[0108] User interaction devices have an operating system, enabling them to be configured with a WASM-based primary runtime environment. User interaction devices configured with a WASM-based primary runtime environment can directly load and run WASM-based applications. Furthermore, they can run on various platforms and devices, improving platform and device compatibility.

[0109] Step 120: Receive the WASM-based application and load the WASM-based application in the first runtime environment;

[0110] Development can be done using programming languages ​​that support WebAssembly (such as C / C++, JavaScript, etc.). This involves writing code in a WebAssembly-enabled language and compiling it into a WebAssembly-formatted binary file. WASM-based applications can be developed on industrial edge devices and then retrieved from those devices. Alternatively, developers can upload their completed WASM-based applications to the cloud, where users can access them from an application store. WASM-based applications can implement data analysis functions, such as analyzing motor speeds on a given day.

[0111] The WASM-based application is loaded in the first runtime environment, enabling the user interaction device to perform corresponding operations and calculations according to the instructions of the application.

[0112] Step 130: Run the WASM-based application, call the first hardware API and the first data interaction API to obtain industrial data from the driver, and analyze the industrial data on the user interaction device.

[0113] A user interaction device configured with a WASM-based first runtime environment can directly load and run WASM-based applications without parsing and compilation, thus improving application performance. Running the WASM-based application in the first runtime environment allows the application to call a first hardware API and a first data interaction API. The first hardware API enables the application to access hardware, while the first data interaction API allows the application to acquire and send data from the hardware. In the industrial data analysis application scenario of this application, the application can acquire industrial data from the driver by calling the first hardware API and the first data interaction API, and then analyze the industrial data on the user interaction device, such as analyzing a day's worth of motor speed data acquired from the driver.

[0114] Therefore, embodiments of this application provide an industrial data analysis method. An industrial interactive device is configured with a WASM-based runtime environment. This WASM-based runtime environment allows for the direct loading and running of WASM-based applications, reducing the demand for computing power and memory, thereby lowering the performance requirements of the device. Even low-performance industrial interactive devices can run WASM-based applications, reducing the performance requirements of the industrial data analysis system and expanding the application scenarios of industrial data analysis.

[0115] Figure 2 This is a schematic diagram of an industrial data analysis system according to an embodiment of this application. Figure 2 As shown, the industrial data analysis system includes a user interaction device 20 and a driver 30. The driver 30 is used to collect industrial data from field devices such as motors. The user interaction device 20 includes first firmware 21, a first hardware interface 22, and a first data interface 23. The first firmware 21 includes a first runtime environment 211, a first hardware operation module 212, and a first data interaction API 213. The first runtime environment 211 includes a first user module 211a, a first protocol module 211b, and a first UI module 211c. The first hardware operation module 212 includes a hardware configuration API 212a and a hardware operation API 212b.

[0116] The first runtime environment 211 can directly load and run WASM-based applications. These applications can call the hardware configuration API 212a and hardware operation API 212b of the first hardware operation module 212 to access the first hardware interface 22 and call the first data interaction API 213 to obtain industrial data from the driver 30. The applications then analyze the obtained industrial data on the user interaction device 20.

[0117] In some embodiments of this application, the method further includes:

[0118] Configure a WASM-based second runtime environment in the driver;

[0119] Separate the WASM-based application into a first application package and a second application package;

[0120] The first application package is loaded and run in the first runtime environment to obtain the first running result, and the second application package is loaded and run in the second runtime environment to obtain the second running result;

[0121] The user interaction device analyzes industrial data based on the first and second operating results.

[0122] Figure 3 This is a schematic diagram of another industrial data analysis system according to an embodiment of this application. Figure 3 exist Figure 2 Based on this, the driver 30 is also configured with a second runtime environment 31. Specifically, the driver 30 includes second firmware 31, a second device interface 32, and a second data interface 33. The second firmware 31 includes a second runtime environment 311, a second hardware operation module 312, and a second data interaction API 313. The second runtime environment 311 includes a second user module 311a, a second UI module 311b, a second protocol module 311c, and a backend module 311d.

[0123] The WASM-based application is separated into a first application package and a second application package. The first application package is loaded and run in the first runtime environment 211 of the user interaction device 20, and the second application package is loaded and run in the second runtime environment 311 of the driver 30. The second runtime environment 311 can call the second hardware operation module 312 and the second data interaction API 313 to access the second device interface 32 and the second data interface 33. The second runtime environment 311 sends the running results of the second application package to the first application package, and the first application package performs industrial data analysis based on its own running results and the running results of the second application package. Therefore, by configuring the runtime environment in the driver, the driver can directly load and run the WASM-based application, utilizing the computing power and storage space of the driver, distributing the computing power and storage space of the user interaction device, and further reducing the performance requirements of the user interaction device.

[0124] In some embodiments of this application, the first application package corresponds to the front-end portion of the application, and the second application package corresponds to the back-end portion of the application.

[0125] Continue to refer to Figure 3 The WASM-based application is divided into a first application package and a second application package; the first application package corresponds to the front-end of the application, and the second application package corresponds to the back-end of the application. The back-end module 311d of the second runtime environment 311 runs the back-end of the application and sends the results of the back-end execution to the first application package. The first application package then runs the front-end based on the back-end execution results to perform industrial data analysis. Therefore, by running the front-end of the application on the user interaction device and the back-end of the application on the driver, the computing power of both the user interaction device and the driver is fully utilized, improving the flexibility and efficiency of application execution.

[0126] In some embodiments of this application, the method further includes:

[0127] Acquire the idle computing power of user interaction devices and drivers;

[0128] Based on the idle computing power of the user interaction device and the driver, WASM-based applications are separated into a first application package and a second application package.

[0129] like Figure 3As shown, if the idle computing power of the user interaction device is determined to be 10 GFLOPS and the idle computing power of the driver is 20 GFLOPS, then 1 / 3 of the application can be deployed to run on the user interaction device and 2 / 3 of the application can be deployed to run on the driver. Therefore, by running the application on the user interaction device and the driver respectively according to their idle computing power, the computing power of the user interaction device and the driver is fully utilized, improving the flexibility and efficiency of application operation.

[0130] Figure 5 This is a schematic diagram illustrating the distributed operation of an application according to an embodiment of this application. Figure 5 As shown, the application 501 on the computing device 510 is separated into a first application package 501a and a second application package 501b. The first application package 501a can be directly loaded and run in the first runtime environment 521 of the user interaction device 520. The second application package 501b can be directly loaded and run in the second runtime environment 531 of the driver 530. The first application package 501a and the second application package 501b can be separated according to the front-end and back-end, or they can be separated based on the spare computing power of the user interaction device 520 and the driver 530.

[0131] In some embodiments of this application, configuring hardware APIs in a user interaction device includes:

[0132] Define and develop hardware configuration functions and hardware operation functions;

[0133] Export the hardware configuration API for hardware configuration functions and the hardware operation API for hardware operation functions.

[0134] Specifically, developers first define the hardware configuration API, then use a programming language to write hardware configuration functions and hardware operation functions, and export the hardware configuration API for the hardware configuration functions and the hardware operation API for the hardware operation functions. The hardware configuration API is a programming interface used to obtain and manage hardware configuration information, while the hardware operation API is a programming interface used to control and operate hardware devices. Both the hardware configuration API and the hardware operation API can be called by WASM-based applications to access hardware and retrieve data.

[0135] In some embodiments of this application, the method further includes: connecting a user interaction device and / or a driver to the cloud, and obtaining a WASM-based application from the cloud. Figure 2 and 3As shown, the industrial data acquisition system also includes a cloud 40. User interaction devices 20 and / or drivers 30 can obtain applications from the cloud 40. After developing their applications, application developers upload them to the cloud 40, which offers a vast selection of applications. User interaction devices 20 and / or drivers 30 can connect to the cloud and download applications from it to meet user needs.

[0136] Figure 4 This is a schematic diagram illustrating the interaction between a user interaction device, a driver, and an industrial edge device according to an embodiment of this application. Figure 4 As shown, the industrial edge device 50 includes third firmware 51. The third firmware 51 includes an operating system 511, a third hardware operation module 512, and a third data interaction module 513. The operating system 511 can run an application program 511a. The application program 511a can interact with the driver 30 through the third hardware operation module 512 and the third data interaction module 513, thereby enabling the WASM-based driver to be compatible with the industrial edge device.

[0137] This application also proposes an industrial data analysis device. Figure 6 This is a schematic diagram of an industrial data analysis device 600 according to an embodiment of this application, as shown below. Figure 6 As shown, the device 600 includes:

[0138] Configuration module 610 configures a first runtime environment, a first hardware API, and a first data interaction API based on WASM in a user interaction device, which has an operating system;

[0139] The receiving module 620 receives a WASM-based application and loads the WASM-based application in the first runtime environment.

[0140] The analysis module 630 runs a WASM-based application that calls a first hardware API and a first data interaction API to obtain industrial data from the driver in order to analyze the industrial data on the user interaction device.

[0141] This application also proposes an industrial data analysis system, which includes a user interaction device and a driver.

[0142] The user interaction device is configured with a first runtime environment, a first hardware API, and a first data interaction API based on WASM, and the user interaction device has an operating system.

[0143] User interaction devices are suitable for:

[0144] Receive WASM-based applications and load them in the first runtime environment;

[0145] Run a WASM-based application that calls the first hardware API and the first data interaction API to obtain industrial data from the driver, so as to analyze the industrial data on the user interaction device.

[0146] This application also proposes an industrial data analysis system, which includes a user interaction device and a driver.

[0147] The user interaction device is configured with a first runtime environment, a first hardware API, and a first data interaction API based on WASM, and the user interaction device has an operating system.

[0148] The driver is configured with a second runtime environment based on WASM;

[0149] User interaction devices are suitable for:

[0150] Receive a WASM-based application and separate the WASM-based application into a first application package and a second application package;

[0151] The first application package is loaded and run in the first runtime environment to obtain the first running result, and the second application package is loaded and run in the second runtime environment to obtain the second running result;

[0152] The user interaction device analyzes industrial data based on the first and second operating results.

[0153] This application also proposes an electronic device 700. Figure 7 This is a schematic diagram of an electronic device 700 according to an embodiment of this application. Figure 7 As shown, the electronic device 700 includes a processor 710 and a memory 720. The memory 720 stores instructions, which, when executed by the processor 710, implement the method 100 described above.

[0154] This application also proposes a computer-readable storage medium having computer instructions stored thereon, which, when executed, perform the method 100 described above.

[0155] This application also proposes a computer program product, including a computer program that, when executed by a processor, performs the method 100 described above.

[0156] Some aspects of the methods and apparatus of this application can be executed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The aforementioned hardware or software may be referred to as a "data block," "module," "engine," "unit," "component," or "system." The processor may be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DAPDs), programmable logic devices (PLCs), field-programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, or combinations thereof. Furthermore, aspects of this application may manifest as a computer product residing in one or more computer-readable media, including computer-readable program code. For example, computer-readable media may include, but are not limited to, magnetic storage devices (e.g., hard disks, floppy disks, magnetic tapes, etc.), optical discs (e.g., compact discs (CDs), digital multifunction discs (DVDs), etc.), smart cards, and flash memory devices (e.g., cards, sticks, key drives, etc.).

[0157] Flowcharts are used herein to illustrate the operations performed by the method according to embodiments of this application. It should be understood that the preceding operations are not necessarily performed in exact order. Instead, the steps can be processed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more steps may be removed from them.

[0158] It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This way of describing the specification is only for clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.

[0159] The above description is merely an illustrative embodiment of this application and is not intended to limit the scope of this application. Any equivalent changes, modifications, and combinations made by those skilled in the art without departing from the concept and principles of this application shall fall within the scope of protection of this application.

[0160] In this patent application, nouns and pronouns relating to people are not limited to specific genders.

Claims

1. An industrial data analysis method (100), characterized by, The method (100) comprises: configuring a first runtime environment based on WASM, a first hardware API and a first data interaction API in a user interactive device, the user interactive device having an operating system (110); receiving a WASM-based application, loading the WASM-based application in the first runtime environment (120); running the WASM-based application, calling the first hardware API and the first data interaction API to obtain industrial data from a driver, and analyzing the industrial data in the user interactive device (130).

2. The method (100) according to claim 1, characterized in that The method (100) further comprises: configuring a second runtime environment based on WASM in the driver; separating the WASM-based application into a first application package and a second application package; loading and running the first application package in the first runtime environment to obtain a first running result, and loading and running the second application package in the second runtime environment to obtain a second running result; analyzing the industrial data according to the first running result and the second running result in the user interactive device.

3. The method (100) according to claim 2, characterized in that Wherein, the first application package corresponds to a front-end part of the application, and the second application package corresponds to a back-end part of the application.

4. The method (100) according to claim 2, characterized in that The method (100) further comprises: obtaining idle computing power of the user interactive device and the driver; separating the WASM-based application into a first application package and a second application package according to the idle computing power of the user interactive device and the driver.

5. The method (100) according to claim 1, characterized in that Configuring a hardware API in a user interactive device comprises: defining and developing a hardware configuration function and a hardware operation function; exporting a hardware configuration API of the hardware configuration function and a hardware operation API of the hardware operation function.

6. The method (100) according to claim 1, characterized in that The method (100) further comprises: connecting the user interactive device and / or the driver to the cloud, and obtaining the WASM-based application from the cloud.

7. An industrial data analysis apparatus (600) characterized by The device (600) comprises: a configuration module (610) configured to configure a first runtime environment based on WASM, a first hardware API and a first data interaction API in a user interactive device, the user interactive device having an operating system; a receiving module (620) configured to receive a WASM-based application, and load the WASM-based application in the first runtime environment; an analysis module (630) configured to run the WASM-based application, call the first hardware API and the first data interaction API to obtain industrial data from a driver, and analyze the industrial data in the user interactive device.

8. An industrial data analysis system, the system comprising a user interactive device and a driver, characterized in that: a first runtime environment based on WASM, a first hardware API and a first data interaction API are configured in the user interactive device, the user interactive device having an operating system; the user interactive device is adapted to: receive a WASM-based application, and load the WASM-based application in the first runtime environment; running the WASM-based application, calling the first hardware API and the first data interaction API to obtain industrial data from the driver, and analyzing the industrial data by the user interaction device. 9.An industrial data analysis system, the system comprising a user interaction device and a driver, characterized in that: the user interaction device is configured with a first runtime environment based on WASM, a first hardware API and a first data interaction API, and the user interaction device has an operating system; the driver is configured with a second runtime environment based on WASM; the user interaction device is adapted to: receive a WASM-based application, and separate the WASM-based application into a first application package and a second application package; load and run the first application package in the first runtime environment to obtain a first running result, and load and run the second application package in the second runtime environment to obtain a second running result; analyze the industrial data according to the first running result and the second running result by the user interaction device. 10.An electronic device (700) comprising a processor (710), a memory (720) and instructions stored in the memory (720), wherein the instructions, when executed by the processor (710), implement the method (100) of any one of claims 1-6. 11.A computer readable storage medium having stored thereon computer instructions, the computer instructions, when executed, perform the method (100) of any one of claims 1-6.

12. A computer program product, characterised in that, including a computer program, the computer program, when executed by a processor, implements the method (100) of any one of claims 1-6.