An internet of things interaction intelligent configuration method for virtual sensors

By automatically configuring virtual sensors and IoT devices remotely, the problem of high configuration costs for virtual sensors is solved, enabling low-cost development and testing, and simplifying the configuration process for users.

CN115328617BActive Publication Date: 2026-03-27ZHEJIANG UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-19
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing technologies, the configuration of virtual sensors requires users to purchase and build the equipment, which is costly and requires high development capabilities from users, making development and testing difficult.

Method used

An IoT interactive intelligent configuration method for virtual sensors is adopted. Through a remote device automatic configuration process, the user end creates or modifies the sensing model and sends the configuration file to achieve synchronous configuration of virtual sensors and IoT devices.

Benefits of technology

It reduces the cost of configuring virtual sensors, eliminates the need for users to worry about configuration synchronization issues, and enables development and testing on remote devices, thereby improving development and testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115328617B_ABST
    Figure CN115328617B_ABST
Patent Text Reader

Abstract

A kind of virtual sensor-oriented internet of things interactive intelligent configuration method, comprising: (1) user creates or modifies sensing model, and user terminal is simultaneously automatically modified configuration file;(2) user terminal sends configuration file to internet of things device, and sends sensing model to virtual sensor;(3) user terminal sends virtual peripheral instruction to device;(4) user terminal receives sensing information from virtual sensor and peripheral control instruction information from internet of things device;(5) the information in step (4) is classified and processed, and after processing, according to message type, it is decided to print information or change front-end node, and real-time rendering page.The present application can solve the configuration conflict of virtual sensor and internet of things device, and user can modify the required configuration at any time in the interactive process without worrying about the synchronization problem of configuration, realizes the intelligent configuration of virtual sensor-oriented internet of things interaction, and reduces the cost of development and test.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of virtual sensor, in particular, to an intelligent configuration method of virtual sensor interaction. BACKGROUND

[0002] At present, the terminal device installed with physical sensor can perceive terminal information and environment information of the terminal device through the sensor, and then make different operations through the perceived information. In order to save resources and achieve the purpose of development and test, virtual sensor is used to generate terminal information and environment information, and different operations are made according to the information generated by the virtual sensor.

[0003] Patent application No. 201410665417.X "Method and device for providing sensor data to application of base sensor" discloses a method of using virtual sensor simulation data on mobile terminal.

[0004] Patent application No. 201510358820.2 "Configuration method and device of virtual sensor" discloses a method of creating virtual sensor of different algorithm library.

[0005] The configuration method of virtual sensor in the above-mentioned disclosed documents is based on local device, and the user must purchase corresponding device and build virtual sensor, which is too high in cost and requires the development ability of the user. SUMMARY

[0006] The present application overcomes the above-mentioned defects in the prior art, and proposes an intelligent configuration method of Internet of Things interaction for virtual sensor.

[0007] The configuration method of the present application for remote device and virtual sensor can automatically configure and execute the whole process remotely, and the user can complete development and test with low cost without paying attention to configuration problem.

[0008] An intelligent configuration method of Internet of Things interaction for virtual sensor, comprising the following steps:

[0009] Step 1: the user creates or modifies the sensor model, and the user terminal automatically modifies the configuration file at the same time;

[0010] Step 2: the user terminal sends the configuration file to the Internet of Things device, and sends the sensor model to the virtual sensor;

[0011] Step 3: the user terminal sends virtual peripheral instruction to the device;

[0012] Step 4: the user terminal receives sensor information from the virtual sensor and peripheral control instruction information from the Internet of Things device;

[0013] Step 5: classifying the information in step 4, after the processing, deciding to display the information on the user interface or change the user end node to complete the response of the virtual peripheral according to the message type;

[0014] It should be noted that the remote device needs to have serial communication function in order to receive the information of the user end and the virtual sensor and send information and instructions to the user end.

[0015] Further, step 1 includes:

[0016] Step 1.1: the user creates a sensor model, and the user end automatically modifies the configuration file, and the sensor model information is cached in the user end;

[0017] Step 1.2: selecting a new sensor model, which includes two cases:

[0018] When the sensor model is cached in the user end, the model parameters cached in the user end are modified; when the sensor model is not cached in the user end, the operation of step 1.1 is performed.

[0019] Further, the execution of step 2 includes two cases: if a new model is not created, the sensor model parameters are directly sent to the virtual sensor; if a new sensor model is created, the operation of step 2 is performed.

[0020] Further, step 3 includes: the user operates the virtual peripheral on the user end, and the user end sends the virtual peripheral information to the Internet of Things device; if the virtual peripheral does not need to be operated, this step is skipped.

[0021] Further, step 5 includes:

[0022] Step 5.1: according to the information type, the information is divided into sensor data and peripheral control instructions;

[0023] Step 5.2: for sensor data, display on the user end;

[0024] Step 5.3: for peripheral control instructions, change the related user end node and re-render.

[0025] The above steps simulate the environmental information of the sensor and the terminal information of the device by the operation of the user on the user end, and synchronize the model information of the device and the virtual sensor by the user end, the device receives the simulated information, processes the information, and sends instruction information and sensor information of the virtual sensor, and finally the user end classifies the information.

[0026] The present application realizes the method of developing and testing using remote devices and virtual sensors, and reduces the cost of purchasing devices and building virtual sensors.

[0027] The application can develop and test related applications and experiments when the user does not have a local virtual sensor and an Internet of Things device, make the configuration of the Internet of Things device and the virtual sensor transparent to the user, enable the user to focus on function development, and reduce the cost of user development and testing.

[0028] The application has the advantages that the configuration conflict of the virtual sensor and the Internet of Things device can be solved, the user can modify the required configuration at any time during the interaction without caring about the synchronization problem of the configuration, the intelligent configuration of the Internet of Things interaction facing the virtual sensor is realized, the development and testing cost is reduced by using the remote Internet of Things device and the virtual sensor, BRIEF DESCRIPTION OF DRAWINGS

[0029] Figure 1 Fig. 1 is a flowchart of the process of creating a virtual sensor model at the user end.

[0030] Figure 2 Fig. 2 is a flowchart of the process of the user operating a virtual peripheral, Figure 2 The flowchart of Fig. 1 should be performed before Figure 1 The flowchart of Fig. 2 should be performed after DETAILED DESCRIPTION

[0031] The application will be described in detail below with specific embodiments. The following embodiments will help those skilled in the art to further understand the application, but do not limit the application in any form.

[0032] A method for intelligent configuration of Internet of Things interaction facing a virtual sensor, comprising the following steps:

[0033] Step 1: The user creates or modifies a sensor model, and the user end automatically modifies a configuration file at the same time;

[0034] Step 2: The user end sends the configuration file to the Internet of Things device and sends the sensor model to the virtual sensor;

[0035] Step 3: The user end sends a virtual peripheral instruction to the device;

[0036] Step 4: The user end receives sensor information from the virtual sensor and peripheral control instruction information from the Internet of Things device;

[0037] Step 5: The information in step 4 is classified and processed, and after the processing is completed, it is decided according to the message type whether to display the information on the user end interface or to change the user end node;

[0038] It should be noted that the remote device needs to have a serial communication function in order to receive the information of the user end and the virtual sensor and send information and instructions to the user end.

[0039] Step 1 includes:

[0040] Step 1.1: The user creates or modifies a sensor model by clicking a button or other user-friendly means;

[0041] Step 1.2: If a new sensor model needs to be created, the user terminal automatically modifies the configuration file and adds the selected model to the configuration file.

[0042] Step 2 includes:

[0043] Step 2.1: The user terminal sends the configuration file to the compilation interface of the Internet of Things device. If the configuration file has already been sent and no new sensor model has been created, step 2.1 will be skipped.

[0044] Step 2.2: The user terminal sends the sensor model to the sensor model interface of the virtual sensor.

[0045] After the user completes step 1, the user terminal automatically completes step 2, which is the configuration of the device and virtual sensor. The user is not aware of this process. The configuration file of the present application is visible to the user, and users with experience in Internet of Things development can also modify it.

[0046] Step 3 includes: The user sends peripheral device request information to the Internet of Things device by clicking a button or entering it through the keyboard. Before step 3 is executed, the configuration of the device and virtual sensor needs to be effective. When the user terminal prompts that the configuration has been completed, the user can operate the virtual peripheral device.

[0047] Step 5 includes:

[0048] Step 5.1: The sensor information of the virtual sensor in step 4 is displayed on the user terminal.

[0049] Step 5.2: The user terminal changes the node and re-renders the page for the peripheral device control instruction information in step 4.

[0050] Step 5.3: For peripheral device control instructions, change the relevant user terminal node and re-render, such as receiving an open instruction for a fan, and make the fan on the user terminal page spin.

[0051] Using an ESP32 fan experiment as an example, the user first selects a temperature model on the user terminal page. If the temperature slowly rises, the user terminal will send information to the device and virtual sensor to synchronize the sensor model. The user terminal continuously receives temperature data from the virtual sensor and displays it. The user can choose to connect a fan to the device. When the temperature is greater than the threshold value, the device sends an instruction to turn on the fan. After receiving the instruction, the user terminal changes the node to make the fan spin.

[0052] The specific embodiments of the present application are described above. It needs to be understood that the present application is not limited to the specific embodiments described above, and various changes or modifications can be made by those skilled in the art within the scope of the claims, which do not affect the essential content of the present application.

Claims

1. A virtual sensor-oriented Internet of Things interaction intelligent configuration method, comprising the following steps: Step 1: User creates or modifies a sensor model, and the user terminal automatically modifies a configuration file; including: Step 1.1: User creates a sensor model, and the user terminal automatically modifies a configuration file, and the sensor model information is cached in the user terminal; Step 1.2: Select a new sensor model, which is divided into two cases: when the sensor model is cached in the user terminal, modify the model parameters cached in the user terminal; when the sensor model is not cached in the user terminal, perform the operation of step 1.1; Step 2: If a new model is not created, directly send the sensor model parameters to the virtual sensor; if a new sensor model is created, the user terminal sends the configuration file to the Internet of Things device and sends the sensor model to the virtual sensor; Step 3: The user terminal sends a virtual peripheral instruction to the device; the user operates the virtual peripheral on the user terminal, and the user terminal sends corresponding information to the Internet of Things device, such as not needing to operate the virtual peripheral, then skip this step; Step 4: The user terminal receives sensor information from the virtual sensor and peripheral control instruction information from the Internet of Things device; Step 5: Classify the information in step 4, and after processing, decide to print the information or change the front-end node according to the message type, and render the page in real time; The remote device needs to have a serial communication function to receive information from the user terminal and the virtual sensor and send information and instructions to the user terminal.

2. The virtual sensor-oriented IoT interaction intelligent configuration method according to claim 1, characterized in that, The step 5 includes: Step 5.1: According to the information type, the information is divided into sensor data and peripheral control instructions; Step 5.2: For sensor data, display on the user terminal; Step 5.3: For peripheral control instructions, change the related user terminal node, and re-render the user terminal page.

Citation Information

Patent Citations

  • Method and device for providing sensor data for application program based on sensor

    CN104461686A

  • A virtual sensor configuration method and apparatus

    CN104991798B

  • Multi-user co-simulation resource scheduling method for aero-engine control system

    CN107292500A

  • Simulation method, terminal device and flight controller of unmanned aerial vehicle

    CN109074091A