CN115328617A - Internet of things interactive intelligent configuration method facing virtual sensor - Google Patents

Internet of things interactive intelligent configuration method facing virtual sensor Download PDF

Info

Publication number
CN115328617A
CN115328617A CN202210996719.XA CN202210996719A CN115328617A CN 115328617 A CN115328617 A CN 115328617A CN 202210996719 A CN202210996719 A CN 202210996719A CN 115328617 A CN115328617 A CN 115328617A
Authority
CN
China
Prior art keywords
information
internet
virtual sensor
user side
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210996719.XA
Other languages
Chinese (zh)
Inventor
高艺
董玮
李经纬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN202210996719.XA priority Critical patent/CN115328617A/en
Publication of CN115328617A publication Critical patent/CN115328617A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

A virtual sensor-oriented Internet of things interactive intelligent configuration method comprises the following steps: (1) A user creates or modifies a sensing model, and a user side automatically modifies a configuration file at the same time; (2) The method comprises the steps that a user side sends a configuration file to the Internet of things equipment and sends a sensing model to a virtual sensor; (3) the user side sends a virtual peripheral instruction to the equipment; (4) The method comprises the steps that a user side receives sensing information from a virtual sensor and peripheral control instruction information from equipment of the Internet of things; (5) And (4) classifying the information in the step (4), and determining to print the information or change a front end node according to the type of the information after the information is processed, so as to render a page in real time. The invention can solve the configuration conflict between the virtual sensor and the Internet of things equipment, and the user can modify the required configuration at any time in the interaction process without concerning the synchronization problem of the configuration, thereby realizing the intelligent configuration of the Internet of things interaction facing the virtual sensor and reducing the development and test cost.

Description

Internet of things interactive intelligent configuration method for virtual sensor
Technical Field
The invention relates to the technical field of virtual sensors, in particular to an intelligent configuration method for virtual sensor interaction.
Background
Currently, a terminal device equipped with a physical sensor may sense terminal information and environmental information of the terminal device through the sensor, and then perform a determination through the sensed information to perform different operations. In order to save resources and achieve the purposes of development and testing, the virtual sensor is used for generating terminal information and environment information, and different operations are performed according to the information generated by the virtual sensor.
Patent application No. 201410665417.X "method and apparatus for providing sensor data to an application of an underlying sensor" discloses a method of using virtual sensors to simulate data and use at a mobile end.
Patent application No. 201510358820.2, "a method and apparatus for configuring virtual sensors," discloses a method of creating virtual sensors of different algorithm libraries.
The configuration method for the virtual sensor in the above-mentioned published documents is based on local equipment, and the user must purchase the corresponding equipment and construct the virtual sensor, which is too costly and requires development capability of the user.
Disclosure of Invention
The invention provides a virtual sensor-oriented Internet of things interactive intelligent configuration method, aiming at overcoming the defects in the prior art.
The configuration method facing the remote equipment and the virtual sensor can automatically configure and remotely execute the whole process, and a user can complete development and test with lower cost without paying attention to the configuration problem.
A virtual sensor-oriented Internet of things interactive intelligent configuration method comprises the following steps:
step 1, a user creates or modifies a sensing model, and a user side automatically modifies a configuration file at the same time;
step 2, the user side sends a configuration file to the Internet of things equipment and sends a sensing model to the virtual sensor;
step 3, the user side sends a virtual peripheral instruction to the equipment;
step 4, the user side receives sensing information from the virtual sensor and peripheral control instruction information from the Internet of things equipment;
step 5, classifying the information in the step 4, and determining to display the information on a user side interface or change a user side node to finish the response of the virtual peripheral according to the type of the information after the information is processed;
it should be noted that 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.
Further, step 1 comprises:
step 1.1: a user creates a sensing model, a user side can automatically modify a configuration file, and sensing model information is cached at the user side;
step 1.2: selecting a new sensing model, and dividing the new sensing model into two cases:
when the sensing model has cache at the user side, modifying model parameters cached at the user side; when the sensing model is not cached at the user side, the operation of step 1.1 is executed.
Further, the execution of step 2 is divided into two cases: if no new model is created, directly sending the sensing model parameters to the virtual sensor; if a new sensing model is created, the operation of step 2 is performed.
Further, step 3 comprises: the user operates the virtual peripheral equipment at the user side, and the user side sends the virtual peripheral equipment information to the Internet of things equipment; if no operation is required for the virtual peripheral, this step is skipped.
Further, the step 5 comprises:
step 5.1: dividing the information into sensing data and a peripheral control instruction according to the information type;
step 5.2: for the sensing data, displaying the sensing data at the user side;
step 5.3: for the peripheral control instruction, the relevant client node is changed and re-rendered.
The method comprises the steps that environment information of the simulation sensor and terminal information of the device are operated by a user at a user side, model information of the device and model information of the virtual sensor are synchronized by the user side, the device processes the information after receiving the simulated information, sends instruction information and sensing information of the virtual sensor, and finally the user side classifies the information.
The invention realizes a method for developing and testing by using remote equipment and the virtual sensor, and reduces the cost for purchasing the equipment and constructing the virtual sensor.
According to the invention, when a user does not have a local virtual sensor and an Internet of things device, related applications and experiments can be developed and tested, so that the configuration of the Internet of things device and the virtual sensor is transparent to the user, the user can concentrate on function development, and the development and test cost of the user is reduced.
The invention has the advantages that: can solve the configuration conflict between the virtual sensor and the equipment of the Internet of things, can modify the required configuration at any time without concerning the synchronization problem of the configuration in the interaction process by a user, realizes the intelligent configuration of the interaction of the Internet of things facing the virtual sensor, simultaneously uses the equipment of the remote Internet of things and the virtual sensor, reduces the development and test cost,
drawings
Fig. 1 is a schematic flow chart of creating a virtual sensor model at a user end.
Fig. 2 is a schematic flow chart of the user operating the virtual peripheral, and the flow chart of fig. 2 should be started after the flow chart of fig. 1 is finished.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way.
A virtual sensor-oriented Internet of things interactive intelligent configuration method comprises the following steps:
step 1, a user creates or modifies a sensing model, and a user side automatically modifies a configuration file at the same time;
step 2, the user side sends a configuration file to the Internet of things equipment and sends a sensing model to the virtual sensor;
step 3, the user side sends a virtual peripheral instruction to the equipment;
step 4, the user side receives sensing information from the virtual sensor and peripheral control instruction information from the Internet of things equipment;
step 5, classifying the information in the step 4, and determining to display the information on a user side interface or change a user end node according to the type of the information after the information is processed;
it should be noted that 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.
The step 1 comprises the following steps:
step 1.1: a user creates or modifies a sensing model in a user-friendly mode such as clicking a button;
and 1.2, if a new sensing model needs to be created, the user side automatically modifies the configuration file and adds the selected model into the configuration file.
The step 2 comprises the following steps:
step 2.1, the user side sends the configuration file to a compiling interface of the Internet of things equipment, and if the configuration file is sent before and a new sensing model is not created, the step 2.1 is skipped;
step 2.2, the user side sends the sensing model to a sensing model interface of the virtual sensor;
after the user completes the operation of the step 1, the user side can automatically complete the step 2, namely the configuration of the equipment and the virtual sensor is not sensible to the user, the configuration file of the invention is visible to the user, and the user with the development experience of the internet of things can modify the configuration file by himself.
Step 3 includes that a user sends peripheral request information to the Internet of things equipment by clicking a button or inputting the peripheral request information by a keyboard, the configuration of the equipment and the virtual sensor needs to be waited for to be effective before the step 3 is executed, and the user can operate the virtual peripheral when the user side prompts that the configuration is completed.
The step 5 comprises the following steps:
step 5.1: displaying the sensing information of the virtual sensor in the step 4 on the user end;
and step 5.2: and (5) for the peripheral control instruction information in the step (4), the user side changes the nodes and re-renders the page.
Step 5.3: for the peripheral control instruction, the related user terminal node is changed and re-rendered, and if the opening instruction of the fan is received, the fan of the user terminal page is rotated.
Using the ESP32 fan experiment example, the user selects the temperature model on the user side page, if the temperature is slowly increased, the user side sends information to the device and the virtual sensor to synchronize the sensor model, and the user side continuously receives and displays the temperature data from the virtual sensor. The user can select to access the fan on the equipment, the equipment receives the instruction of accessing the fan, when the temperature is higher than the threshold value, the equipment sends the instruction of opening the fan, and the user side changes the node to enable the fan to rotate after receiving the instruction.
The foregoing description of specific embodiments of the present invention has been presented. It is to be understood that the present invention is not limited to the specific embodiments described above, and that various changes or modifications may be made by one skilled in the art within the scope of the appended claims without departing from the spirit of the invention.

Claims (5)

1. A virtual sensor-oriented Internet of things interactive intelligent configuration method comprises the following steps:
step 1, a user creates or modifies a sensing model, and a user side automatically modifies a configuration file at the same time;
step 2, the user side sends a configuration file to the Internet of things equipment and sends a sensing model to the virtual sensor;
step 3, the user side sends a virtual peripheral instruction to the equipment;
step 4, the user side receives sensing information from the virtual sensor and peripheral control instruction information from the Internet of things equipment;
step 5, classifying the information in the step 4, determining to print the information or change a front end node according to the type of the information after the information is processed, and rendering a page in real time;
the remote device needs to have a serial communication function so as to receive information of the user terminal and the virtual sensor and send information and instructions to the user terminal.
2. The interactive intelligent configuration method for the internet of things facing the virtual sensor, according to claim 1, wherein the step 1 comprises:
step 1.1: the user creates the sensing model, the user terminal automatically modifies the configuration file, and the sensing model information is cached in the user terminal.
Step 1.2: selecting a new sensing model, and dividing the new sensing model into two cases: when the sensing model has cache at the user side, modifying model parameters cached at the user side; when the sensing model is not cached at the user side, the operation of step 1.1 is executed.
3. The interactive intelligent configuration method of the internet of things for the virtual sensor as claimed in claim 1, wherein the step 2 is executed in two cases:
if no new model is created, directly sending the sensing model parameters to the virtual sensor; if a new sensing model is created, the operation of step 2 is performed.
4. The interactive intelligent configuration method of the internet of things for the virtual sensor as claimed in claim 1, wherein the step 3 comprises: and the user operates the virtual peripheral equipment at the user side, and the user side sends corresponding information to the Internet of things equipment, and if the virtual peripheral equipment does not need to be operated, the step is skipped.
5. The interactive intelligent configuration method for the internet of things facing the virtual sensor, according to claim 1, wherein the step 5 comprises:
step 5.1: dividing the information into sensing data and a peripheral control instruction according to the information type;
step 5.2: for the sensing data, displaying the sensing data at the user side;
step 5.3: for the peripheral control instruction, the relevant user end node is changed, and the user side page is re-rendered.
CN202210996719.XA 2022-08-19 2022-08-19 Internet of things interactive intelligent configuration method facing virtual sensor Pending CN115328617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210996719.XA CN115328617A (en) 2022-08-19 2022-08-19 Internet of things interactive intelligent configuration method facing virtual sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210996719.XA CN115328617A (en) 2022-08-19 2022-08-19 Internet of things interactive intelligent configuration method facing virtual sensor

Publications (1)

Publication Number Publication Date
CN115328617A true CN115328617A (en) 2022-11-11

Family

ID=83926433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210996719.XA Pending CN115328617A (en) 2022-08-19 2022-08-19 Internet of things interactive intelligent configuration method facing virtual sensor

Country Status (1)

Country Link
CN (1) CN115328617A (en)

Similar Documents

Publication Publication Date Title
US20020130834A1 (en) System and method for universal control of devices
US7289120B2 (en) Graphic display control apparatus and program
Danado et al. Puzzle: A mobile application development environment using a jigsaw metaphor
CN108170611A (en) Automated testing method and device, storage medium, electronic equipment
CN108280026A (en) Automated testing method and device, storage medium, electronic equipment
JP2018536952A (en) Method and apparatus for controlling a smart device and computer storage medium
CN108345543A (en) A kind of data processing method, device, equipment and storage medium
CN110855482A (en) Three-dimensional dynamic communication network analog simulation method, system and storage medium
CN107357487B (en) Application control method, electronic equipment and computer storage media
US11615581B2 (en) Systems and methods for securely providing virtual reality environments
CN111416756B (en) Protocol testing method, device, computer equipment and storage medium
US11763527B2 (en) Systems and methods for providing virtual reality environment-based training and certification
Montero et al. IdealXML: An Interaction Design Tool: A Task-based Approach to User Interface Design
CN110781067A (en) Method, device, equipment and storage medium for calculating starting time consumption
CN111597465A (en) Display method and device and electronic equipment
CN115328617A (en) Internet of things interactive intelligent configuration method facing virtual sensor
US11915370B2 (en) Method and system for 3D modeling based on irregular-shaped sketch
CN114035725A (en) Teaching method and device of ultrasonic equipment, ultrasonic imaging equipment and storage medium
CN114090002A (en) Front-end interface construction method and device, electronic equipment and storage medium
CN114820090A (en) Virtual environment arrangement and configuration
CN114905501A (en) Generation method, application method and device of robot simulator
CN112614403A (en) Hardware simulation method and device
CN110221930A (en) The interface display method and device of onboard system
CN116013130B (en) VR simulation-based deep sea Christmas tree operation method and system
Al Ahmadi Survey of designing user interface for mobile applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination