Olfactory experience design processing method and device based on cloud service

Through the cloud-based olfactory experience design processing method, the tree data structure of the odor event panel and database is used to solve the problem of low processing efficiency of olfactory experience design in the existing technology, and achieve more efficient olfactory experience design and control.

CN120215309APending Publication Date: 2025-06-27TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510271219.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-07
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In the prior art, the olfactory experience design processing solution is low, resulting in poor design processing efficiency.

Method used

The olfactory experience design processing method based on cloud services is adopted to obtain the odor event configuration parameters entered by the odor event panel, generate the corresponding odor event condition action rules, and store them in the database in a tree-shaped data structure. Match analysis is performed based on the detected odor trigger event, and control instructions are generated and sent to the odor release device to control the odor release operation.

Benefits of technology

Improves the efficiency of olfactory experience design processing, enabling users to create and control complex olfactory augmentation applications without programming expertise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120215309A_ABST
    Figure CN120215309A_ABST
Patent Text Reader

Abstract

The invention provides an olfactory experience design processing method and device based on cloud service, and the method comprises the steps: obtaining an odor event configuration parameter inputted by a user based on a preset odor event panel, and generating a corresponding odor event condition action rule based on the odor event configuration parameter; storing the odor event condition action rule in a database in the form of a tree data structure relationship; performing matching analysis in the database according to a detected smell triggering event, and generating a corresponding control instruction under the condition that the smell triggering event meets a smell event triggering condition in at least one smell event condition action rule in the database; and sending the control instruction to at least one corresponding odor release device to control the at least one odor release device to execute a corresponding odor release operation. According to the method provided by the invention, the cloud service-based olfactory experience design processing efficiency can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technologies, and in particular, to an olfactory experience design processing method and device based on cloud services. Additionally, it also relates to an electronic device, a non-transitory computer-readable storage medium, and a computer program product. Background Art

[0002] In recent years, with the rapid development of artificial intelligence technologies, various intelligent electronic devices have been increasingly widely used in people's daily production and life. For example, VR (Virtual Reality) glasses, head-mounted display devices, etc. As consumers' requirements for the intelligent functions and human perception experiences of electronic devices continue to increase, higher requirements are put forward for the production design and software programming of electronic devices. This prompts production enterprises and users to actively improve relevant design capabilities and efficiency to meet market demands. Based on this background, there is an urgent need for a set of efficient olfactory experience design processing solutions, enabling users without professional programming knowledge to create and control complex olfactory enhancement applications, and enhancing the olfactory perception experience during the use of electronic products has become the focus of current research. Summary of the Invention

[0003] The present invention provides an olfactory experience design processing method based on cloud services to solve the defect in the prior art that the limitations of the olfactory experience design processing solution are relatively high, resulting in poor design processing efficiency.

[0004] The present invention provides an olfactory experience design processing method based on cloud services, including: Obtaining odor event configuration parameters input by a user based on a preset odor event panel, and generating corresponding odor event conditional action rules based on the odor event configuration parameters; Storing the odor event conditional action rules in a database in the form of a tree data structure relationship; Performing matching analysis in the database according to a detected odor trigger event, and generating a corresponding control instruction when the odor trigger event satisfies the odor event trigger condition in at least one of the odor event conditional action rules in the database; Sending the control instruction to at least one corresponding odor release device to control the at least one odor release device to perform a corresponding odor release operation.

[0005] According to the olfactory experience design processing method based on cloud services of the present invention, the obtaining of odor event configuration parameters input by a user based on a preset odor event panel and generating corresponding odor event conditional action rules based on the odor event configuration parameters specifically includes: Role information parameters of each client configured based on the role definition module in the odor event panel; Odor release device information parameters configured based on the device management module in the odor event panel; Odor type parameters of different odor events configured based on the odor module in the odor event panel; Odor event list parameters configured based on the event whiteboard module in the odor event panel; Based on the role information parameters, the odor release device information parameters, the odor type parameters, and the odor event list parameters, obtain the odor event condition-action rules corresponding to the main odor event for editing and / or the odor event condition-action rules corresponding to the sub-odor event for editing; wherein, the sub-odor event is an affiliated odor event of the main odor event.

[0006] According to the olfactory experience design processing method based on cloud service of the present invention, the obtaining of the odor event condition-action rules corresponding to the main odor event for editing and / or the odor event condition-action rules corresponding to the sub-odor event for editing based on the role information parameters, the odor release device information parameters, the odor type parameters, and the odor event list parameters specifically includes: When it is detected that the user triggers an event editing operation on the odor event panel, generate and display a corresponding editing event template; wherein, the editing event template includes a name input option for the odor event, a role definition option for the odor event, a device configuration option for the odor event, an odor type configuration option for the odor event, an odor release port configuration option, an odor release duration configuration option, an odor release intensity configuration option, and a time sequence line drag-and-drop option for triggering the odor event; Obtain the odor event trigger conditions and odor configuration information configured by the user through the editing event template for different roles and different odor release devices respectively; wherein, the odor event trigger conditions include the effective detection time window corresponding to the odor trigger event and its threshold information; the odor configuration information includes odor type, odor release port, odor release duration, odor release intensity, and the time sequence of triggering the odor event; Based on the odor event trigger conditions and odor configuration information configured for different roles and different odor release devices respectively, obtain the odor event condition-action rules corresponding to the main odor event for editing and / or the odor event condition-action rules corresponding to the sub-odor event for editing.

[0007] According to the olfactory experience design processing method based on cloud service of the present invention, when matching and analyzing in the database according to the detected odor trigger event, and when the odor trigger event meets the odor event trigger condition in at least one of the odor event conditional action rules in the database, a corresponding control instruction is generated, which specifically includes: Detecting an odor trigger event within a preset effective detection time window; Matching and analyzing the odor trigger event with the data stored in the database in the form of a tree data structure relationship. When the odor trigger event meets the odor event trigger condition in at least one of the odor event conditional action rules in the database, a corresponding control instruction is generated based on the odor configuration information in the odor event conditional action rule.

[0008] According to the olfactory experience design processing method based on cloud service of the present invention, the odor release device is a piezoelectric air pump type, and the piezoelectric air pump type includes a first control main board, a drive board, a piezoelectric air pump, and a plastic air pump tube; the first control main board, the drive board, and the piezoelectric air pump are electrically connected, and the output end of the piezoelectric air pump is communicated with the plastic air pump tube; the air pump tube is composed of a smell storage tube, a connecting tube, and a one-way valve; Sending the control instruction to the corresponding at least one odor release device to control the at least one odor release device to perform a corresponding odor release operation, which specifically includes: Sending the control instruction to the first control main board of the corresponding at least one odor release device, and sending an instruction to the drive board through the first control main board to control the piezoelectric air pump to generate an air flow through the drive board and then push the gas into the plastic air pump tube to complete the corresponding odor release operation.

[0009] According to the olfactory experience design processing method based on cloud service of the present invention, the odor release device is an atomization sheet type, and the atomization sheet type includes a second control main board and a piezoelectric atomizer, and the piezoelectric atomizer includes a container for storing odor essential oil; Sending the control instruction to the corresponding at least one odor release device to control the at least one odor release device to perform a corresponding odor release operation, which specifically includes: Sending the control instruction to the second control main board of the corresponding at least one odor release device to control the piezoelectric atomizer to operate through the second control main board and then atomize the odor essential oil in the container for storing odor essential oil in the piezoelectric atomizer to complete the corresponding odor release operation.

[0010] The present invention also provides an olfactory experience design processing device based on cloud service, including: An odor event parameter configuration unit, configured to obtain odor event configuration parameters input by a user based on a preset odor event panel, and generate corresponding odor event conditional action rules based on the odor event configuration parameters; An odor event information storage unit, configured to store the odor event conditional action rules in a database in the form of a tree data structure relationship; An odor event information matching and analyzing unit, configured to perform matching analysis in the database according to a detected odor trigger event, and generate a corresponding control instruction when the odor trigger event meets the odor event trigger condition in at least one of the odor event conditional action rules in the database; An odor release control unit, configured to send the control instruction to at least one corresponding odor release device to control the at least one odor release device to perform a corresponding odor release operation.

[0011] For the olfactory experience design processing device based on cloud service according to the present invention, the odor event parameter configuration unit is specifically configured to: Based on the role information parameters of each client configured by the role definition module in the odor event panel; Based on the odor release device information parameters configured by the device management module in the odor event panel; Based on the odor type parameters of different odor events configured by the odor module in the odor event panel; Based on the odor event list parameters configured by the event whiteboard module in the odor event panel; Based on the role information parameters, the odor release device information parameters, the odor type parameters, and the odor event list parameters, obtain the odor event conditional action rules corresponding to the main odor event for editing and / or the odor event conditional action rules corresponding to the sub-odor event for editing; wherein, the sub-odor event is an affiliated odor event of the main odor event.

[0012] For the olfactory experience design processing device based on cloud service according to the present invention, the obtaining of the odor event conditional action rules corresponding to the main odor event for editing and / or the odor event conditional action rules corresponding to the sub-odor event for editing based on the role information parameters, the odor release device information parameters, the odor type parameters, and the odor event list parameters specifically includes: When it is detected that the user triggers an event editing operation on the smell event panel, a corresponding editing event template is generated and displayed; wherein, the editing event template includes an input option for the name of the smell event, a role definition option for the smell event, a device configuration option for the smell event, a smell type configuration option for the smell event, a smell release port configuration option, a smell release duration configuration option, a smell release intensity configuration option, and a time sequence line drop - and - drag option for triggering the smell event. Obtain the smell event trigger conditions and smell configuration information configured for different roles and different smell release devices respectively that are edited and input by the user through the editing event template; wherein, the smell event trigger conditions include the effective detection time window corresponding to the smell trigger event and its threshold information; the smell configuration information includes smell type, smell release port, smell release duration, smell release intensity, and the time sequence of triggering the smell event. Based on the smell event trigger conditions and smell configuration information configured for different roles and different smell release devices respectively, obtain the smell event condition - action rules corresponding to the main smell event and / or the smell event condition - action rules corresponding to the sub - smell events.

[0013] According to the cloud - service - based olfactory experience design processing device of the present invention, the smell event information matching and analyzing unit is specifically used for: Detect smell trigger events within a preset effective detection time window. Match and analyze the smell trigger events with the data stored in the database in the form of a tree - type data structure relationship. When the smell trigger event meets the smell event trigger conditions in at least one of the smell event condition - action rules in the database, generate corresponding control instructions based on the smell configuration information in the smell event condition - action rules.

[0014] According to the cloud - service - based olfactory experience design processing device of the present invention, the smell release device is a piezoelectric air - pump type, and the piezoelectric air - pump type includes a first control main board, a drive board, a piezoelectric air - pump, and a plastic air - pump tube; the first control main board, the drive board, and the piezoelectric air - pump are electrically connected, and the output end of the piezoelectric air - pump is communicated with the plastic air - pump tube; the air - pump tube is composed of a smell storage tube, a connecting tube, and a one - way valve. The smell release control unit is specifically used for: Send the control instructions to the first control main board of the corresponding at least one smell release device, and send instructions to the drive board through the first control main board, so as to control the piezoelectric air - pump to generate an air flow through the drive board and then push the gas into the plastic air - pump tube to complete the corresponding smell release operation.

[0015] The olfactory experience design processing device based on cloud service according to the present invention, wherein the odor release device is of an atomization sheet type, the atomization sheet type includes a second control main board and a piezoelectric atomizer, and the piezoelectric atomizer includes a container for storing odor essential oil; The odor release control unit is specifically configured to: Send the control instruction to the second control main board of at least one corresponding odor release device, so as to control the piezoelectric atomizer to operate through the second control main board, and then atomize the odor essential oil in the container for storing odor essential oil in the piezoelectric atomizer, so as to complete the corresponding odor release operation.

[0016] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the olfactory experience design processing method based on cloud service as described in any one of the above is implemented.

[0017] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the olfactory experience design processing method based on cloud service as described in any one of the above is implemented.

[0018] The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the olfactory experience design processing method based on cloud service as described in any one of the above is implemented.

[0019] The olfactory experience design processing method based on cloud service provided by the present invention obtains the odor event configuration parameters input by a user through an odor event panel, generates corresponding odor event conditional action rules based on the odor event configuration parameters, stores the odor event conditional action rules in a database in the form of a tree data structure relationship, performs matching analysis in the database according to the detected odor trigger event, and when the odor trigger event meets the odor event trigger condition in at least one of the odor event conditional action rules in the database, generates a corresponding control instruction, and sends the control instruction to at least one corresponding odor release device to control the at least one odor release device to perform the corresponding odor release operation, which can effectively improve the efficiency of olfactory experience design processing based on cloud service. Description of the Drawings

[0020] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0021] Figure 1 It is a schematic flow chart of the olfactory experience design processing method based on cloud service provided by the present invention.

[0022] Figure 2 It is a schematic diagram of the tree - shaped data structure relationship provided by the present invention.

[0023] Figure 3 It is a schematic diagram of the piezoelectric air pump type provided by the present invention.

[0024] Figure 4 It is a schematic diagram of the atomizing sheet type provided by the present invention.

[0025] Figure 5 It is a schematic structural diagram of the olfactory experience design processing device based on cloud service provided by the present invention.

[0026] Figure 6 It is a schematic structural diagram of the electronic device provided by the present invention. Detailed implementation manners

[0027] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Obviously, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without making creative efforts based on the embodiments in the present invention belong to the scope of protection of the present invention.

[0028] The following combines Figures 1 - 6 Describe the olfactory experience design processing method and device based on cloud service of the present invention, and describe its embodiments in detail.

[0029] The following is based on the olfactory experience design processing method based on cloud service described in the present invention, and its embodiments will be described in detail. As Figure 1 shown, it is one of the schematic flow charts of the olfactory experience design processing method based on cloud service provided by the present invention, and the specific implementation process includes the following steps: Step 101: Obtain the odor event configuration parameters input by the user based on a preset odor event panel, and generate corresponding odor event conditional action rules based on the odor event configuration parameters.

[0030] In an embodiment of the present invention, it is possible to base on the role information parameters of each client configured by the role definition module in the odor event panel; base on the odor release device information parameters configured by the device management module in the odor event panel; base on the odor type parameters of different odor events configured by the odor module in the odor event panel; base on the odor event list parameters configured by the event whiteboard module in the odor event panel. Further, it is possible to obtain the odor event condition-action rules corresponding to the main odor event and / or the odor event condition-action rules corresponding to the sub-odor event to be edited based on the role information parameters, the odor release device information parameters, the odor type parameters, and the odor event list parameters; wherein the sub-odor event is an affiliated odor event of the main odor event.

[0031] Specifically, when it is detected that a user triggers an event editing operation on the odor event panel, a corresponding editing event template is generated and displayed. The editing event template includes a name input option for the odor event, a role definition option for the odor event, a device configuration option for the odor event, an odor type configuration option for the odor event, an odor release port configuration option, an odor release duration configuration option, an odor release intensity configuration option, and a time sequence line drag-and-drop option for triggering the odor event. Based on the editing event template, it is possible to obtain the odor event trigger conditions and odor configuration information respectively configured for different roles and different odor release devices input by the user through the editing event template. The odor event trigger conditions include the effective detection time window corresponding to the odor trigger event and its threshold information; the odor configuration information includes the odor type, the odor release port, the odor release duration, the odor release intensity, and the time sequence of triggering the odor event. Based on the odor event trigger conditions and odor configuration information respectively configured for different roles and different odor release devices, the odor event condition-action rules corresponding to the main odor event and / or the odor event condition-action rules corresponding to the sub-odor event to be edited are obtained.

[0032] The odor event panel is a web user interface for creating and editing interactive olfactory events, an odor design panel, an interface server for receiving information from third-party platform applications, an odor playback management interface, and an event simulation interface for quickly validating and iterating prototypes. The odor event panel is a new type of interactive component that enables users to create an interactive olfactory experience mechanism, namely an "odor event", without programming. The odor interaction mechanism created by the user can be securely stored in the database of the backend system for future reuse or iterative updates. The application programming interface (i.e., API interface) provided by the present invention allows access to external third-party platforms (such as Unity or Python) as trigger conditions to send data to the olfactory experience design platform based on cloud services corresponding to the odor event panel of the present invention, so as to trigger corresponding "odor events" and control olfactory hardware (such as odor release devices) and display clients in the network.

[0033] The present invention is designed with an API interface corresponding to the olfactory experience design platform based on cloud services. The olfactory experience design platform based on cloud services can receive instructions sent by the host computer through the designed API interface, and then trigger corresponding olfactory playback events.

[0034] Specifically, the olfactory experience design platform based on cloud services of the present invention can receive the command signal sent by the host computer through the designed API interface. After receiving the command signal sent by the host computer, it triggers the program corresponding to the olfactory experience design processing method based on cloud services of the present invention to run on the olfactory experience design platform based on cloud services, and then controls the connected lower computer (i.e., odor release device) to release the corresponding concentration or type of odor through the program. In the actual implementation process, the port number, concentration, etc. of the odor release device port can be determined, for example, according to the intensity of the pulse signal.

[0035] For example, in a specific scenario, the host computer can be a VR headset with a game program. During the process of the user wearing the VR headset to play the game, the rules of the preset script are triggered, and then the corresponding command signal is triggered and sent to the olfactory experience design platform based on cloud services through the designed API interface. Then, there are some pre-designed odor playback specifications on the olfactory experience design platform based on cloud services. If one of the odor playback specifications is triggered, it controls the odor release device corresponding to the olfactory experience design platform based on cloud services to play the odor.

[0036] It should be noted that the olfactory experience design platform based on cloud services described in the present invention is in an intermediate state. The olfactory experience design platform based on cloud services has a host computer and a corresponding slave computer. The host computer of the olfactory experience design platform based on cloud services can be a VR headset, other websites, mobile phone and computer applications, etc.

[0037] The present invention also reserves some third-party interfaces for convenience of development to support multiple third-party platforms (host computers), which will not be elaborated in detail here. In addition, the present invention can also support real-time multi-person collaboration. For example, multiple host computers are connected through an API interface and applied to technical scenarios such as real-time communication scenarios (RTC, real-time communication), multi-person online chatting, and multi-person games to achieve multi-person collaborative use.

[0038] Step 102: Store the odor event condition-action rules in the database in the form of a tree data structure relationship.

[0039] In the embodiment of the present invention, the database can be an ER (Entity Relationship) database. The tree data structure relationship can be implemented based on the database ER diagram. In the tree data structure relationship, the template table is located at the core position, representing the template of the odor event. Each template corresponds to an odor event condition-action rule. The output_device_id field of each template is associated with the role table (i.e., the role definition table) as a foreign key to manage the output device (i.e., the odor release device). At the same time, the id field of the template is used as the event_template_id field of the templateodormodel table to establish a many-to-one mapping relationship between the templateodormodel and the template. In addition, the template table also contains a parent_id field, which is used to point to its own id field to identify the parent-child hierarchical relationship of the current odor event. Through this design, different templates can be set with the same parent_id, thus forming Figure 2The tree structure of the odor events shown, that is, storing the odor event conditional action rules in the form of a tree data structure relationship in the database. Through the design of the above tree data structure relationship, the present invention can clearly display the associations between odor events and can be presented in a user-friendly manner on the front-end interface, improving the usability and visibility of the system. Through the input function of the odor event panel, users can create and control complex olfactory enhancement applications even without professional programming knowledge. Users can design the dynamic relationship between odors and specific situations or user behaviors and implement these designs through the provided interfaces and hardware. The odor trigger events include specific situations or user behaviors, etc. For example, when a specific scenario is met or a certain user behavior is detected, corresponding control instructions can be generated.

[0040] It should be noted that the ER database, that is, the entity-relationship database, is a database design method based on entities and the relationships between entities. This ER database can be implemented in a preset cloud platform system (i.e., the platform corresponding to the technical solution of the present invention). The cloud service platform system conducts data interaction between the cloud coordinator and the hardware olfactory playback device (i.e., the odor release device). It should be noted that during the construction of the cloud service platform system, in order to develop an efficient, stable, and user-friendly toolkit, a series of tools and technologies are utilized, such as PyCharm, Django, Bootstrap, Ajax, MySQL, etc. PyCharm is a powerful Python integrated development environment. On the server side, the model-view-template (MVT) architecture pattern of Django helps to quickly develop powerful web applications (i.e., Internet of Things device control). On the front end, the cloud platform system simplifies the traversal and event handling of HTML documents and simplifies the design of complex interaction logic by using the responsive jQuery of Bootstrap. Processing simplifies the implementation of complex interaction logic. Ajax can perform seamless data exchange with the server of the cloud platform system without reloading the entire page, allowing partial content updates. MySQL provides powerful data storage, query, and indexing functions and promotes Python-based database interaction through object-relational mapping (ORM). The graphical user interface of Navicat helps to intuitively manage multiple databases of MySQL. Communication relies on the Transmission Control Protocol (TCP) to ensure the stable transmission of data packets over the network.

[0041] Step 103: Perform matching analysis in the database based on the detected odor trigger event. When the odor trigger event meets the odor event trigger condition in at least one of the odor event conditional action rules in the database, generate a corresponding control instruction.

[0042] In an embodiment of the present invention, first, an odor trigger event within a preset effective detection time window can be detected. Further, the odor trigger event is matched and analyzed with the data stored in the database in the form of a tree data structure relationship. When the odor trigger event meets the odor event trigger condition in at least one of the odor event conditional action rules in the database, a corresponding control instruction is generated based on the odor configuration information in the odor event conditional action rule.

[0043] Specifically, in terms of software implementation, the tools used include a complete Internet of Things device control program, which involves connecting to a Wi-Fi network, starting an HTTP (Hypertext Transfer Protocol) server, receiving TCP data, and controlling the duty cycle (Pulse Width Modulation, PWM) value of the odor release device.

[0044] The control main board in the odor release device uses an ESP32 microcontroller integrated with Wi-Fi and Bluetooth. The Python optimized with the ESP32 microcontroller implements MicroPython and Thonny IDE, and programming can be carried out for hardware control and data acquisition functions with protection. The combination of these development tools, network frameworks, user interface libraries, databases, network protocols, and hardware platforms lays a technical foundation for the efficient, stable, and user-friendly toolkit design of the cloud platform system. The following are the data blocks used in the Internet of Things device control program: time: provides time-related functions; sys: system-specific parameters and functions; machine: the hardware interface module of MicroPython; network: the network interface module; socket: provides a low-level network interface; uasyncio: an asynchronous programming library used to simplify the handling of concurrent tasks; Pin: used to control the hardware pins of the device.

[0045] In the specific implementation process, after running the specified program function, it is possible to first connect to the specified Wi-Fi network and start the HTTP server after successful connection. The asynchronous function starts an HTTP server and listens on the port on all interfaces. The asynchronous function will issue processing of HTTP requests: if a GET request is received and the path is / check_device, the connection status (connected or disconnected) of the device will be returned. For other request paths, 404 Not Found will be returned. After the cloud server is started, it processes the incoming HTTP requests. The asynchronous function can check the device connection status every 5 seconds and update the global variable isDeviceConnected. Secondly, the main() function is the entry point of the program. First, the do_connect() function is called to connect to the Wi-Fi network, and then the device status update task is started. Then, a TCP socket is created to connect to the specified server, and after successful connection, it enters an infinite loop to receive and process the control commands from the server, and control the PWM value of different odor release devices according to the control commands. The specific program functions used may include: the do_connect() function connects to the Wi-Fi network and starts the HTTP server; the start_http_server() function starts and maintains the HTTP server; the handle_http_request() function processes the HTTP requests and checks the device connection status; the update_device_status() function periodically updates the device connection status; the main() function, as the program entry, starts the device status update task and establishes a TCP connection after connecting to the Wi-Fi, processes the control commands from the server, and controls the hardware device. The cloud platform system and the odor release device can be networked, provide HTTP services, accept TCP commands, and control the odor playback situation.

[0046] Step 104: Send the control instruction to the corresponding at least one odor release device to control the at least one odor release device to perform the corresponding odor release operation.

[0047] In the embodiment of the present invention, the odor release device is composed of a miniature control main board, a driver board, a modular operating system, and a physical playback device. The miniature control main board has WIFI and Bluetooth communication functions. When the IP address of the wireless network used by the miniature control main board is the same as that of the cloud platform system, the cloud platform system can transmit data to and from the control main board to control the odor release device. It should be noted that the odor release port is user-defined, so the user needs to modify the corresponding function code according to the odor release port and pin values designed by himself. The control main board includes a first control main board and a second control main board. Correspondingly, the odor release device can be a piezoelectric air pump type or an atomization sheet type.

[0048] The piezoelectric air pump type includes a first control main board, a drive board, a piezoelectric air pump, and a plastic air pump tube; the first control main board, the drive board, and the piezoelectric air pump are electrically connected, and the output end of the piezoelectric air pump is communicated with the plastic air pump tube; the air pump tube is composed of a smell storage tube, a connecting tube, and a check valve. The physical playback device includes a piezoelectric air pump and a plastic air pump tube.

[0049] When the smell release device is of the piezoelectric air pump type, the control instruction can be sent to the first control main board of the corresponding at least one smell release device, and an instruction is sent from the first control main board to the drive board to control the piezoelectric air pump to generate an air flow through the drive board, and then push the gas into the plastic air pump tube to complete the corresponding smell release operation.

[0050] When the smell release device is of the atomizing sheet type, the control instruction can be sent to the second control main board of the corresponding at least one smell release device to control the piezoelectric atomizer to operate through the second control main board, and then atomize the smell essential oil in the container storing the smell essential oil in the piezoelectric atomizer to complete the corresponding smell release operation.

[0051] In terms of the hardware of the smell release device, a semi-encapsulated smell release device, accessories, and materials are provided for users. Specifically, the present invention provides two sets of electronic components to meet the playback requirements for short distances and long distances. The smell release devices are divided into two categories: piezoelectric air pump type and atomizing sheet type. Their main functional components correspond to two smell emission technologies - micropump air blowing and liquid atomization. Due to the small size and silent characteristics of the micropump, it can be used to manufacture a wearable near-nose smell emission device because its smell release is not too strong and will not cause discomfort to the user. The working principle of the piezoelectric atomizer is to vibrate the liquid containing smell components into a mist and spray it out. Since the spraying intensity is too high, it often causes discomfort to the user within a short distance and can be used for long-distance playback requirements. The cloud platform system described in the present invention can provide a drive board, a control main board, and accessories for these two components. The control main board can adjust the duty cycle to control the smell release intensity of the two components. The accessories provided for the micro air pump (i.e., the piezoelectric air pump) are solid air storage materials and containers, and the accessories provided for the atomizer are cotton swabs and fixing parts. In addition, the cloud platform system also includes a control main board of ESP32 (with Wi-Fi communication function), and an embedded Internet of Things device control program is burned on this main board to execute the steps of the smell experience design processing method based on cloud services described in the present invention, providing Wi-Fi network communication and smell release control functions.

[0052] It should be noted that as Figure 3As shown in the figure, the piezoelectric air pump is composed of a control main board 301 (i.e., the first control main board), a MOS module (i.e., the drive board 302), a piezoelectric air pump 303 and a plastic air pump tube. The air pump tube is composed of a smell storage tube, a connecting tube and a check valve. After the air pump generates an air flow, it pushes the gas into the smell storage tube to be evenly mixed with the essential oil, and then discharges it through the check valve to complete the smell playback. When the air pump does not generate an air flow, the check valve remains closed, and the smell in the smell storage tube is difficult to volatilize into the air, thus ensuring the accuracy of smell playback. In addition, the atomization sheet type is composed of a control main board 401 (i.e., the second control main board) and a container 404 for storing the smell essential oil, and operates through a modular operating system 402 and a drive board 403. The 3D printed container for storing the smell essential oil is equipped with a polytetrafluoroethylene plastic tube, a spring and a cotton swab, and the atomization sheet is fixed by a rotating buckle. When in use, the tube is filled with a mixture of water and essential oil, and the combination of the spring and the cotton swab makes the liquid in close contact with the atomization sheet, realizing stable smell playback. In terms of hardware, the present invention provides electronic components and accessories that support two noise-free smell release technologies. The noise-free smell release technology can reduce the influence of hearing on the olfactory experience and provide a more comfortable and interference-free olfactory experience environment for users.

[0053] It should be noted that the present invention supports expansion through a third-party interface to connect with a third-party platform. Through the third-party interface, it is possible to receive instructions given by a host computer (such as a VR device, a website or an application program), and after giving them to the olfactory experience design platform based on cloud services corresponding to the solution of the present invention, trigger the corresponding editing event template on the olfactory experience design platform based on cloud services.

[0054] In addition, the present invention also supports real-time multi-person collaboration, such as being applied to technical scenarios such as real-time communication scenarios (RTC, real-time communication), multi-person online chat, multi-person games, etc., to realize multi-person collaborative use, which will not be elaborated in detail here.

[0055] The olfactory experience design processing method based on cloud services provided by the present invention obtains the smell event configuration parameters input by the user through a smell event panel, generates corresponding smell event conditional action rules based on the smell event configuration parameters, stores the smell event conditional action rules in a database in the form of a tree data structure relationship, performs matching analysis in the database according to the detected smell trigger event, and when the smell trigger event meets the smell event trigger condition in at least one of the smell event conditional action rules in the database, generates a corresponding control instruction, and sends the control instruction to the corresponding at least one smell release device to control the at least one smell release device to perform the corresponding smell release operation, which can effectively improve the efficiency of olfactory experience design processing based on cloud services.

[0056] The following describes the olfactory experience design processing device based on cloud service provided by the present invention. The olfactory experience design processing device based on cloud service described below can be correspondingly referred to the olfactory experience design method based on cloud service described above. Refer to Figure 5 As shown, it is a schematic structural diagram of the olfactory experience design processing device based on cloud service provided by the present invention. The olfactory experience design processing device based on cloud service of the present invention specifically includes the following parts: An odor event parameter configuration unit 501, configured to obtain odor event configuration parameters input by a user based on a preset odor event panel, and generate corresponding odor event condition-action rules based on the odor event configuration parameters.

[0057] An odor event information storage unit 502, configured to store the odor event condition-action rules in a database in the form of a tree data structure relationship.

[0058] An odor event information matching and analyzing unit 503, configured to perform matching analysis in the database according to a detected odor trigger event, and generate a corresponding control instruction when the odor trigger event meets the odor event trigger condition in at least one of the odor event condition-action rules in the database.

[0059] An odor release control unit 504, configured to send the control instruction to at least one corresponding odor release device to control the at least one odor release device to perform a corresponding odor release operation.

[0060] According to the olfactory experience design processing device based on cloud service of the present invention, the odor event parameter configuration unit is specifically configured to: Based on the role information parameters of each client configured by the role definition module in the odor event panel; Based on the odor release device information parameters configured by the device management module in the odor event panel; Based on the odor type parameters of different odor events configured by the odor module in the odor event panel; Based on the odor event list parameters configured by the event whiteboard module in the odor event panel; Based on the role information parameters, the odor release device information parameters, the odor type parameters, and the odor event list parameters, obtain the odor event condition-action rules edited corresponding to the main odor event and / or the odor event condition-action rules edited corresponding to the sub-odor event; wherein, the sub-odor event is an affiliated odor event of the main odor event.

[0061] The olfactory experience design processing device based on cloud service according to the present invention, obtaining the odor event conditional action rules edited for the main odor event and / or the odor event conditional action rules edited for the sub-odor event based on the role information parameter, the odor release device information parameter, the odor type parameter, and the odor event list parameter, specifically including: When it is detected that the user triggers an event editing operation on the odor event panel, generating and displaying a corresponding editing event template; wherein, the editing event template includes a name input option for the odor event, a role definition option for the odor event, a device configuration option for the odor event, an odor type configuration option for the odor event, an odor release port configuration option, an odor release duration configuration option, an odor release intensity configuration option, and a time sequence line drag-and-drop option for triggering the odor event; Obtaining the odor event trigger conditions and odor configuration information respectively configured for different roles and different odor release devices input by the user through the editing event template; wherein, the odor event trigger conditions include the effective detection time window corresponding to the odor trigger event and its threshold information; the odor configuration information includes odor type, odor release port, odor release duration, odor release intensity, and the time sequence of triggering the odor event; Based on the odor event trigger conditions and odor configuration information respectively configured for different roles and different odor release devices, obtaining the odor event conditional action rules edited for the main odor event and / or the odor event conditional action rules edited for the sub-odor event.

[0062] The olfactory experience design processing device based on cloud service according to the present invention, the odor event information matching and analyzing unit is specifically used for: Detecting odor trigger events within a preset effective detection time window; Matching and analyzing the odor trigger events with the data stored in the database in the form of a tree data structure relationship. When the odor trigger event meets the odor event trigger conditions in at least one of the odor event conditional action rules in the database, generating a corresponding control instruction based on the odor configuration information in the odor event conditional action rule.

[0063] The odor release device according to the present invention is a piezoelectric air pump type, and the piezoelectric air pump type includes a first control main board, a drive board, a piezoelectric air pump, and a plastic air pump tube; the first control main board, the drive board, and the piezoelectric air pump are electrically connected, and the output end of the piezoelectric air pump is communicated with the plastic air pump tube; the air pump tube is composed of a smell storage tube, a connecting tube, and a one-way valve; The odor release control unit is specifically used for: Send the control instruction to the first control main board of the corresponding at least one odor release device, and send an instruction to the drive board through the first control main board, so as to control the piezoelectric air pump through the drive board to generate an air flow and then push the gas into the plastic air pump tube to complete the corresponding odor release operation.

[0064] According to the olfactory experience design processing device based on cloud service of the present invention, the odor release device is a atomization sheet type, and the atomization sheet type includes a second control main board and a piezoelectric atomizer, and the piezoelectric atomizer includes a container for storing odor essential oil; The odor release control unit is specifically used for: Send the control instruction to the second control main board of the corresponding at least one odor release device, so as to control the piezoelectric atomizer to operate through the second control main board and atomize the odor essential oil in the container for storing odor essential oil in the piezoelectric atomizer to complete the corresponding odor release operation.

[0065] The olfactory experience design processing device based on cloud service provided by the present invention supports non-professional (without olfactory experience design) designers or developers to quickly introduce the olfactory modality in their research fields or target scenarios of concern, and follow a task-oriented method in the design to achieve rapid prototyping development and verification.

[0066] Figure 6 Illustrates a schematic physical structure diagram of an electronic device, as Figure 6 shown, the electronic device may include: a processor 601, a communication interface 604, a memory 602, and a communication bus 603. Among them, the processor 601, the communication interface 604, and the memory 602 complete communication with each other through the communication bus 603. The processor 601 can call the logical instructions in the memory 602 to execute the olfactory experience design processing method based on cloud service, and the method includes: obtaining odor event configuration parameters input by a user based on a preset odor event panel, and generating corresponding odor event condition action rules based on the odor event configuration parameters; storing the odor event condition action rules in a database in the form of a tree data structure relationship; performing matching analysis in the database according to the detected odor trigger event, and generating a corresponding control instruction when the odor trigger event meets the odor event trigger condition in at least one of the odor event condition action rules in the database; sending the control instruction to the corresponding at least one odor release device to control the at least one odor release device to perform the corresponding odor release operation.

[0067] In addition, when the logical instructions in the above-mentioned memory 602 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.

[0068] On the other hand, this application also provides a computer program product. The computer program product includes a computer program that can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the olfactory experience design processing method based on cloud services provided by the above-mentioned various methods. The method includes: obtaining odor event configuration parameters input by a user based on a preset odor event panel, and generating corresponding odor event conditional action rules based on the odor event configuration parameters; storing the odor event conditional action rules in a database in the form of a tree data structure relationship; performing matching analysis in the database according to a detected odor trigger event. When the odor trigger event meets the odor event trigger condition in at least one of the odor event conditional action rules in the database, generating a corresponding control instruction; and sending the control instruction to at least one corresponding odor release device to control the at least one odor release device to perform a corresponding odor release operation.

[0069] In another aspect, the present application also provides a computer-readable storage medium. The computer-readable storage medium includes a stored program, wherein when the program runs, it executes the olfactory experience design processing method based on cloud services provided by the above-mentioned various methods. The method includes: obtaining odor event configuration parameters input by a user based on a preset odor event panel, and generating corresponding odor event conditional action rules based on the odor event configuration parameters; storing the odor event conditional action rules in a database in the form of a tree data structure relationship; performing matching analysis in the database according to a detected odor trigger event, and generating a corresponding control instruction when the odor trigger event meets the odor event trigger condition in at least one of the odor event conditional action rules in the database; and sending the control instruction to at least one corresponding odor release device to control the at least one odor release device to perform a corresponding odor release operation.

[0070] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. A person of ordinary skill in the art can understand and implement it without creative work.

[0071] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disc, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims

1. A cloud service-based olfactory experience design and processing method, characterized in that: include: Acquiring odor event configuration parameters input by a user based on a preset odor event panel, and generating corresponding odor event conditional action rules based on the odor event configuration parameters; Storing the odor event conditional action rules in a database in the form of a tree data structure relationship; Performing matching analysis in the database according to the detected odor trigger event, and generating a corresponding control instruction when the odor trigger event satisfies the odor event trigger condition in at least one of the odor event condition action rules in the database; The control instruction is sent to the corresponding at least one odor release device to control the at least one odor release device to perform a corresponding odor release operation.

2. The olfactory experience design and processing method based on cloud service according to claim 1, characterized in that: The method of obtaining the odor event configuration parameters input by the user based on the preset odor event panel and generating corresponding odor event conditional action rules based on the odor event configuration parameters specifically includes: Role information parameters of each user terminal configured based on the role definition module in the odor event panel; Odor release device information parameters configured based on the device management module in the odor event panel; Odor type parameters of different odor events configured based on the odor module in the odor event panel; Odor event list parameters configured based on the event whiteboard module in the odor event panel; Based on the role information parameters, the odor release device information parameters, the odor type parameters and the odor event list parameters, the odor event conditional action rules edited corresponding to the main odor event and / or the odor event conditional action rules edited corresponding to the sub-odor event are obtained; wherein the sub-odor event is a subsidiary odor event of the main odor event.

3. The olfactory experience design and processing method based on cloud service according to claim 2 is characterized in that: The step of obtaining the edited odor event conditional action rule corresponding to the main odor event and / or the edited odor event conditional action rule corresponding to the sub-odor event based on the role information parameter, the odor release device information parameter, the odor type parameter, and the odor event list parameter specifically includes: When it is detected that the user triggers an event editing operation on the odor event panel, a corresponding event editing template is generated and displayed; wherein the event editing template includes an odor event name input option, an odor event role definition option, an odor event device configuration option, an odor event odor type configuration option, an odor release port configuration option, an odor release duration configuration option, an odor release intensity configuration option, and an odor event triggering time sequence line drag and drop option; Obtaining the odor event triggering conditions and odor configuration information configured for different roles and different odor release devices respectively input by the user through the editing event template; wherein the odor event triggering conditions include the effective detection time window corresponding to the odor triggering event and its threshold information; the odor configuration information includes the odor type, odor release port, odor release duration, odor release intensity and the time sequence of odor event triggering; Based on the odor event trigger conditions and odor configuration information respectively configured for different roles and different odor release devices, the odor event conditional action rules edited corresponding to the main odor event and / or the odor event conditional action rules edited corresponding to the sub-odor event are obtained.

4. The cloud service-based olfactory experience design and processing method according to claim 1, characterized in that: The matching analysis is performed in the database according to the detected odor trigger event, and when the odor trigger event satisfies the odor event trigger condition in at least one odor event condition action rule in the database, a corresponding control instruction is generated, specifically including: Detecting odor trigger events within a preset effective detection time window; The odor trigger event is matched and analyzed with the data stored in the database in the form of a tree data structure relationship. When the odor trigger event satisfies the odor event trigger condition in at least one of the odor event conditional action rules in the database, a corresponding control instruction is generated based on the odor configuration information in the odor event conditional action rule.

5. The method for designing and processing olfactory experience based on cloud service according to claim 1, characterized in that: The odor release device is a piezoelectric pump type, which includes a first control mainboard, a drive board, a piezoelectric air pump and a plastic air pump tube; the first control mainboard, the drive board and the piezoelectric air pump are electrically connected, and the output end of the piezoelectric air pump is connected to the plastic air pump tube; the air pump tube is composed of a odor storage tube, a connecting tube and a one-way valve; The sending of the control instruction to the corresponding at least one odor releasing device to control the at least one odor releasing device to perform the corresponding odor releasing operation specifically includes: The control instruction is sent to the first control main board of the corresponding at least one odor release device, and the instruction is sent to the driving board through the first control main board, so that the piezoelectric air pump is controlled by the driving board to generate airflow and then push the gas into the plastic air pump tube to complete the corresponding odor release operation.

6. The cloud service-based olfactory experience design and processing method according to claim 1, characterized in that: The scent release device is of atomizing type, and the atomizing type includes a second control mainboard and a piezoelectric atomizer, and the piezoelectric atomizer includes a container for storing scent essential oil; The sending of the control instruction to the corresponding at least one odor releasing device to control the at least one odor releasing device to perform the corresponding odor releasing operation specifically includes: The control instruction is sent to the second control mainboard of the corresponding at least one odor release device, so that the piezoelectric atomizer is controlled by the second control mainboard to atomize the odor essential oil in the container storing the odor essential oil in the piezoelectric atomizer to complete the corresponding odor release operation.

7. A cloud service-based olfactory experience design processing device, characterized in that: include: An odor event parameter configuration unit, used to obtain odor event configuration parameters input by a user based on a preset odor event panel, and generate corresponding odor event conditional action rules based on the odor event configuration parameters; An odor event information storage unit, used to store the odor event condition action rules in a database in the form of a tree data structure relationship; an odor event information matching and analysis unit, configured to perform matching analysis on the database according to the detected odor trigger event, and generate a corresponding control instruction when the odor trigger event satisfies the odor event trigger condition in at least one of the odor event condition action rules in the database; The odor release control unit is used to send the control instruction to the corresponding at least one odor release device to control the at least one odor release device to perform a corresponding odor release operation.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the program, the cloud service-based olfactory experience design processing method is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the cloud service-based olfactory experience design and processing method as described in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the cloud service-based olfactory experience design and processing method as described in any one of claims 1 to 6 is implemented.