A low-code voice switch device control method and system

Through the combination of the touch control window and the voice monitoring device, the on-off action of the relay is directly controlled, which solves the complexity of IoT device control and realizes low-code operation and efficient and stable device control.

CN115881117BActive Publication Date: 2025-08-08HANGZHOU ZHONGQIAN NUMERICAL CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211187494.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-26
Publication Date
2025-08-08
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

The control of existing IoT devices requires a large number of program writing and complex hardware and software connection, resulting in high R&D costs, long time, and incompatible systems, making it difficult to achieve low-code operations.

Method used

By establishing a touch control window and a sound generating device, the host command is directly connected to the host command issuing end and receiving end, the voice monitoring device is used to judge the voice content and generate judgment information, control the on-off action of the relay, reduce the docking of the compiler program, and improve the stability of the command transmission.

Benefits of technology

Low code control is realized, reducing signal transmission chaos and errors, improving the stability and efficiency of equipment control, and reducing R&D costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115881117B_ABST
    Figure CN115881117B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of voice switch device control technology, specifically, to a low-code voice switch device control method and system. It includes establishing a touch control window, and the touch control window presets a control button end. The present invention is directly connected to the host instruction issuing end through a sound-emitting device, and the host instruction receiving end receives different operation instruction signals issued by the control button end, and converts the different operation instruction signals into corresponding system signals. The host instruction issuing end is connected to the sound-emitting device, and the sound-emitting device receives the system signal. The host controls the voice signal through the sound-emitting device, and the signal distribution is precise, which reduces the confusion of signal transmission. There is no need to perform compiler docking in advance, which reduces problems such as software incompatibility and non-openness of the system, improves the stability of instruction transmission, and avoids signal transmission errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of voice switch device control technology, and in particular to a low-code voice switch device control method and system. Background Art

[0002] Common IoT products currently on the market include shared bicycles, smart door locks, and Bluetooth relays. Smart switches often use WiFi relays. Complex and multifunctional IoT devices based on multi-channel control and data interaction are often executed using single-chip microcomputers or PLC controllers. Regardless of the various IoT solutions mentioned above, a large amount of programming is required to implement control, matching hardware with software and systems, as well as versions, and program docking between devices. Some require secondary development to support them. Most of them do not open APIs, SDK interfaces, or source code to the outside world. Even if they do, the fees for open APIs and source code are not cheap, and they also require a large number of technical engineers to compile program docking. Software incompatibility and non-open systems, the diversity of system hardware interfaces, and other issues will lead to a large amount of manpower, financial resources, and time difficulties in the product development process. Therefore, there is an urgent need for a low-code voice switch device control method and system. Summary of the Invention

[0003] The purpose of the present invention is to provide a low-code voice switch device control method and system to solve the problems raised in the above background technology.

[0004] To achieve the above objectives, one of the objectives of the present invention is to provide a low-code voice switch device control method, comprising the following steps:

[0005] S1. Establish a touch control window, preset a control button end in the touch control window, and connect the control button end to the host command receiving end;

[0006] S2. A sound generating device is set up, and the host command issuing end is connected to the sound generating device;

[0007] S3. According to the sound-generating device, the offline voice switch is equipped with a voice monitoring device, and the receiving end of the voice monitoring device is connected to the output end of the sound-generating device;

[0008] S4. The voice monitoring device determines the monitored voice content and generates judgment information;

[0009] S5. The offline voice switch receives the judgment information and issues a corresponding on-off action to connect or disconnect the relay according to the judgment information.

[0010] As a further improvement of the present technical solution, the touch control window preset control button end preset method in S1 is as follows:

[0011] S1.1. According to the actual operation of the equipment, formulate the corresponding operation program according to the action and determine the number of steps required for the actual movement;

[0012] S1.2. Copy the running program corresponding to the action into the touch control window. Set the corresponding number of control buttons in the touch control window according to the number of steps required for the actual movement.

[0013] S1.3. The touch control window identifies each control button and corresponds to the corresponding operation action.

[0014] As a further improvement of this technical solution, the method for formulating the sound-generating device in S2 is as follows:

[0015] S2.1. Determine the number of steps required for the actual movement based on the actual operation type of the equipment;

[0016] S2.2. The host is equipped with a sound-generating device.

[0017] S2.3. Connect the host output terminal to the sound device;

[0018] S2.4. The host sends a system signal to the sound device, and the sound device converts the system signal into a voice signal.

[0019] As a further improvement of the present technical solution, the method for determining the voice monitoring device in S4 includes the following steps:

[0020] S4.1. The sound-generating device transmits the voice signal to the voice monitoring device;

[0021] S4.2. The voice monitoring device determines the content represented by the voice signal based on the voice signal;

[0022] S4.3. The voice monitoring device converts the judgment result into judgment information that can be recognized by the offline voice switch.

[0023] As a further improvement of this technical solution, the judgment result conversion method in S4.3 includes the following steps:

[0024] S4.3.1. Develop an information database;

[0025] S4.3.2. Store program codes corresponding to different voice signals;

[0026] S4.3.3. Compare the program code corresponding to the emitted voice signal with the program code corresponding to the voice signal stored in the information database, and generate a comparison result;

[0027] S4.3.4. Preset the comparison threshold and determine whether the comparison result exceeds the comparison threshold.

[0028] As a further improvement of this technical solution, the program code comparison in S4.3 adopts a code comparison algorithm, and its algorithm formula is as follows:

[0029] A=[a1,a2,…,a n ];

[0030]

[0031] Among them, A is the program code set corresponding to each voice signal stored in the information database, a1 to a n is the program code corresponding to each voice signal stored in the information database, f(b) is the sending end program code comparison function, b is the program code corresponding to the sending end voice signal, a is the program code corresponding to the voice signal with the highest overlap rate with the program code b corresponding to the sending end voice signal called by the program code set A corresponding to each voice signal stored in the information database, For comparison results, is the comparison threshold, when the comparison result value Exceeding the matching threshold f(b) output is 1, indicating that the program code b corresponding to the voice signal of the sending end is successfully compared with the voice signal stored in the information database. At this time, the voice monitoring device sends the voice signal stored in the information database that has been successfully compared. Below the matching threshold The output of f(b) is 0. The program code b corresponding to the voice signal at the sending end fails to be compared with the voice signal stored in the information database, and a re-comparison is required.

[0032] The second object of the present invention is to provide a low-code voice switch device control system, including any one of the low-code voice switch device control methods described above, including the following method steps: the host in S1 includes a touch-end allocation unit, the touch-end allocation unit is used to allocate the host touch-end buttons, the output end of the touch-end allocation unit is connected to a command response unit, the command response unit is used to respond to the operation command issued by the touch-end allocation unit, and the output end of the command response unit is connected to a command information transmission unit.

[0033] As a further improvement of the present technical solution, the host includes an information receiving unit, the host includes an information receiving unit output end connected to an information identification unit, the information identification unit is used to identify signal instructions issued by different hosts, the output end of the information identification unit is connected to the input end of the touch end allocation unit, the host also includes an information formulation unit, the output end of the information formulation unit is connected to an information delivery unit, and the output end of the information delivery unit is connected to the input end of the information receiving unit.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] 1. This low-code device control method and system uses a voice switch, which is directly connected to the host command issuing end through a sound-emitting device. The host command receiving end receives different operation command signals issued by the control button end and converts the different operation command signals into corresponding system signals. The host command issuing end is connected to the sound-emitting device, and the sound-emitting device receives the system signal. The host controls the voice signal through the sound-emitting device, and the signal distribution is precise, which reduces the confusion of signal transmission. There is no need to compile the program in advance, which reduces the problems of software incompatibility and system non-openness, improves the stability of command transmission, and avoids signal transmission errors.

[0036] 2. In the low-code voice switch device control method and system, the sound-emitting device transmits the converted voice signal to the voice monitoring device. The voice monitoring device determines the content represented by the voice signal based on the voice signal. Different voice signals correspond to different program codes. When the voice monitoring device receives a voice signal indicating forward movement, it will judge and process the program code represented by the voice signal indicating forward movement, generate a judgment result, and convert the judgment result into judgment information that can be recognized by the offline voice switch, which can be directly recognized when transmitted to the offline voice switch.

[0037] 3. In the low-code voice switch device control method and system, the voice monitoring device formulates a judgment information database, different voice signals correspond to different program codes, and these different voice signals are identified and stored. When the output end of the sound-emitting device sends the voice signal to the voice monitoring device, the voice monitoring device generates a sending end program code for the program code corresponding to the sent voice signal, and compares the program codes corresponding to each voice signal in the information database to generate a comparison result, and presets a comparison threshold in advance to determine whether the comparison result exceeds the comparison threshold. Exceeding the comparison threshold indicates that the sending end program code is successfully compared with the program code corresponding to the voice signal in the information database, and the voice monitoring device recognizes the voice signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is an overall flow chart of Example 1 of the present invention;

[0039] Figure 2 This is a flow chart of the preset method of Example 1 of the present invention;

[0040] Figure 3 This is a flow chart of a method for formulating a sound-generating device according to embodiment 1 of the present invention;

[0041] Figure 4 This is a flow chart of the judgment method of the voice monitoring device according to embodiment 1 of the present invention;

[0042] Figure 5 Flowchart of the method for converting judgment results according to Example 1 of the present invention;

[0043] Figure 6 This is a host operation flow chart of Example 1 of the present invention.

[0044] The meaning of each number in the figure is:

[0045] 10. Touch terminal distribution unit;

[0046] 20. Command response unit;

[0047] 30. Command information transmission unit;

[0048] 40. Information receiving unit;

[0049] 50. Information identification unit;

[0050] 60. Information formulation unit;

[0051] 70. Information transmission unit. DETAILED DESCRIPTION

[0052] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0053] Example 1

[0054] See also Figures 1-6 As shown, one of the purposes of this embodiment is to provide a low-code voice switch device control method, including the following steps:

[0055] S1. Establish a touch control window, preset a control button end in the touch control window, and connect the control button end to the host command receiving end;

[0056] S2. A sound generating device is set up, and the host command issuing end is connected to the sound generating device;

[0057] S3. According to the sound-generating device, the offline voice switch is equipped with a voice monitoring device, and the receiving end of the voice monitoring device is connected to the output end of the sound-generating device;

[0058] S4. The voice monitoring device determines the monitored voice content and generates judgment information;

[0059] S5. The offline voice switch receives the judgment information and issues a corresponding on-off action to connect or disconnect the relay according to the judgment information.

[0060] During specific use, a touch control window is established, and the touch control window presets a control button end. Each control button end corresponds to a different operation command signal. The control button end is connected to the host command receiving end. The host command receiving end receives different operation command signals issued by the control button end and converts the different operation command signals into corresponding system signals. The host command issuing end is connected to the sound generating device. The host command issuing end is connected to the sound generating device. Each time the host command issuing end issues a system signal, the sound generating device receives the system signal and converts the system signal into a voice signal. The offline voice switch is equipped with a voice monitoring device. The voice monitoring device receiving end is connected to the sound generating device output end. The voice monitoring device receives the voice signal. The voice monitoring device judges the content of the voice signal, generates judgment information, and transmits the judgment information to the offline voice switch. The offline voice switch receives the judgment information and issues a corresponding on-off action according to the judgment information to connect or disconnect the relay.

[0061] The present invention is directly connected to the host command issuing end through a sound-emitting device, and the host command receiving end receives different operation command signals issued by the control button end and converts the different operation command signals into corresponding system signals. The host command issuing end is connected to the sound-emitting device, and the host command issuing end is connected to the sound-emitting device. The host command issuing end sends a system signal to the sound-emitting device, and the host controls the sound-emitting device to send a voice signal, so that the voice signal distribution is accurate, the signal transmission confusion is reduced, there is no need to perform compiler docking in advance, and problems such as software incompatibility and system non-openness are reduced, the stability of command transmission is improved, and signal transmission errors are avoided.

[0062] Furthermore, the preset method of the touch control window preset control button end in S1 is as follows:

[0063] S1.1. According to the actual operation of the equipment, formulate the corresponding operation program according to the action and determine the number of steps required for the actual movement;

[0064] S1.2. Copy the running program corresponding to the action into the touch control window. Set the corresponding number of control buttons in the touch control window according to the number of steps required for the actual movement.

[0065] S1.3. The touch control window identifies each control button and corresponds to the corresponding operation action.

[0066] During specific use, the actions required during the actual observation of the equipment operation process, such as forward, backward, and lifting and lowering, are formulated according to the running actions during the equipment operation process. The corresponding running program formulated according to the action is copied into the touch control window. The touch control window is provided with multiple control buttons, each control button corresponds to an action program, and the touch control window marks each control button. For example, the control button corresponding to forward will display "forward". Each time the operator presses the control button, the corresponding action program is started, and the host receives the running action instruction. Each running action corresponds to a control button, realizing the single instruction running function and avoiding improving the button control accuracy.

[0067] Furthermore, the method for formulating the sound-generating device in S2 is as follows:

[0068] S2.1. Determine the number of steps required for the actual movement based on the actual operation type of the equipment;

[0069] S2.2. The host is equipped with a sound-generating device.

[0070] S2.3. Connect the host output terminal to the sound device;

[0071] S2.4. The host sends a system signal to the sound device, and the sound device converts the system signal into a voice signal.

[0072] During specific use, the number of steps required for the actual movement is judged according to the actual operating action type of the equipment, and a sound-emitting device is developed based on the judgment result. Each time the operator presses the control button, the corresponding action program is started, and the host receives the operating action instruction. Each operating action corresponds to a control button, and the control button is connected to the host instruction receiving end. After the button is started, the host receiving end receives the instruction, and the host sending end sends the system signal to the sound-emitting device. The sound-emitting device converts the system signal into a corresponding voice signal.

[0073] In addition, the voice monitoring device determination method in S4 includes the following steps:

[0074] S4.1. The sound-generating device transmits the voice signal to the voice monitoring device;

[0075] S4.2. The voice monitoring device determines the content represented by the voice signal based on the voice signal;

[0076] S4.3. The voice monitoring device converts the judgment result into judgment information that can be recognized by the offline voice switch.

[0077] During specific use, the sound-emitting device transmits the converted voice signal to the voice monitoring device, and the voice monitoring device determines the content represented by the voice signal. For example, the voice signal represents moving forward, and the voice signal corresponding to moving forward is transmitted to the voice monitoring device through the sound-emitting device. Different voice signals correspond to different program codes. When the voice monitoring device receives the voice signal representing moving forward, it will judge and process the program code represented by the voice signal representing moving forward, generate a judgment result, and convert the judgment result into judgment information that can be recognized by the offline voice switch, which can be directly recognized when transmitted to the offline voice switch.

[0078] In addition, the judgment result conversion method in S4.3 includes the following steps:

[0079] S4.3.1. Develop an information database;

[0080] S4.3.2. Store program codes corresponding to different voice signals;

[0081] S4.3.3. Compare the program code corresponding to the emitted voice signal with the program code corresponding to the voice signal stored in the information database, and generate a comparison result;

[0082] S4.3.4. Preset the comparison threshold and determine whether the comparison result exceeds the comparison threshold.

[0083] During specific use, the voice monitoring device formulates a judgment information database, different voice signals correspond to different program codes, and these different voice signals are identified and stored. When the output end of the sound-generating device sends the voice signal to the voice monitoring device, the voice monitoring device generates a sending end program code for the program code corresponding to the sent voice signal, and compares the program codes corresponding to each voice signal in the information database to generate a comparison result, and presets a comparison threshold in advance to determine whether the comparison result exceeds the comparison threshold. Exceeding the comparison threshold indicates that the sending end program code is successfully compared with the program code corresponding to the voice signal in the information database, and the voice monitoring device recognizes the voice signal.

[0084] Furthermore, the program code comparison in S4.3 adopts a code comparison algorithm, and its algorithm formula is as follows:

[0085] A=[a1,a2,…,a n ];

[0086]

[0087] Among them, A is the program code set corresponding to each voice signal stored in the information database, a1 to a nis the program code corresponding to each voice signal stored in the information database, f(b) is the sending end program code comparison function, b is the program code corresponding to the sending end voice signal, a is the program code corresponding to the voice signal with the highest overlap rate with the program code b corresponding to the sending end voice signal called by the program code set A corresponding to each voice signal stored in the information database, is the comparison result value, b is the comparison threshold, when the comparison result value When the comparison threshold value b is exceeded, f(b) output is 1, indicating that the program code b corresponding to the voice signal of the sending end is successfully compared with the voice signal stored in the information database. At this time, the voice monitoring device sends the voice signal stored in the information database that has been successfully compared. If the value is lower than the comparison threshold b, the output of f(b) is 0. The program code b corresponding to the voice signal at the sending end fails to be compared with the voice signal stored in the information database, and a re-comparison is required.

[0088] The second purpose of this embodiment is to provide a low-code voice-activated device control system, including any one of the above-mentioned low-code voice-activated device control methods, wherein the host in S1 includes a touch-end allocation unit 10, which is used to allocate buttons on the host touch-end, and the output end of the touch-end allocation unit 10 is connected to a command response unit 20, which is used to respond to operation instructions issued by the touch-end allocation unit 10, and the output end of the command response unit 20 is connected to a command information transmission unit 30. During specific use, the touch-end allocation unit 10 allocates buttons on the host touch-end, each button corresponds to an operation instruction, and the command response unit 20 responds to the operation instruction issued by the touch-end allocation unit 10. When a button is pressed, the corresponding command response unit 20 issues a command, generates command response information, and transmits the command response information to the command information transmission unit 30, which outputs the command response information through the command information transmission unit 30.

[0089] Specifically, the host includes an information receiving unit 40, and the output end of the information receiving unit 40 is connected to the information identification unit 50. The information identification unit 50 is used to identify signal instructions issued by different hosts. The output end of the information identification unit 50 is connected to the input end of the touch end allocation unit 10. The host also includes an information formulation unit 60. The output end of the information formulation unit 60 is connected to the information transmission unit 70. The output end of the information transmission unit 70 is connected to the input end of the information receiving unit 40. During specific use, the two hosts are connected wirelessly or wired, and the second host transmits information to the information receiving unit 40 of the first host through the information transmission unit 70. For example, the mobile phone or computer remotely sends command information to the host (tablet). After the host receives the information, it converts the sound signal into a voice signal in three ways. The first is that the host (tablet) receives the command information sent remotely by the mobile phone or computer, determines the content of the command information, and then calls the system signal pre-stored in the host (tablet) according to the command information, and then controls the relay. The second is that the mobile phone or computer remotely directly sends the voice command to the host (tablet) voice terminal, and the mobile phone or computer directly sends the voice command through the voice port. The host (tablet) synchronously receives the voice command from the mobile phone or computer and directly controls the relay. The third is that the mobile phone or computer remotely sends the command information, the host (tablet) receives the command information and directly converts it into a voice signal, and remotely controls the first host through the second host, thereby realizing remote control of the relay.

[0090] The above shows and describes the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are merely preferred examples of the present invention and are not intended to limit the present invention. Various changes and improvements may be made to the present invention without departing from the spirit and scope of the present invention. Such changes and improvements fall within the scope of the present invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.

Claims

1. A low-code voice switch device control method, characterized in that: The steps include: S1. Establish a touch control window, preset a control button end in the touch control window, and connect the control button end to the host command receiving end; The preset method of the touch control window preset control button end in S1 is as follows: S1.

1. According to the actual operation of the equipment, formulate the corresponding operation program according to the action and determine the number of steps required for the actual movement; S1.

2. Copy the running program corresponding to the action into the touch control window. Set the corresponding number of control buttons in the touch control window according to the number of steps required for the actual movement. S1.

3. Touch the control window to mark each control button and correspond to the corresponding operation action; S2. A sound generating device is set up, and the host command issuing end is connected to the sound generating device; The method for formulating the sound generating device in S2 is as follows: S2.

1. Determine the number of steps required for the actual movement based on the actual operation type of the equipment; S2.

2. The host is equipped with a sound-generating device; S2.

3. Connect the host output terminal to the sound device; S2.

4. The host sends a system signal to the sound device, which converts the system signal into a voice signal. S3. According to the sound-generating device, the offline voice switch is equipped with a voice monitoring device, and the receiving end of the voice monitoring device is connected to the output end of the sound-generating device; S4. The voice monitoring device determines the monitored voice content and generates judgment information; S5. The offline voice switch receives the judgment information and issues a corresponding on-off action to connect or disconnect the relay according to the judgment information.

2. The low-code voice switch device control method according to claim 1 is characterized in that: The method for determining the voice monitoring device in S4 includes the following steps: S4.

1. The sound-generating device transmits the voice signal to the voice monitoring device; S4.

2. The voice monitoring device determines the content represented by the voice signal based on the voice signal; S4.

3. The voice monitoring device converts the judgment result into judgment information that can be recognized by the offline voice switch.

3. The low-code voice switch device control method according to claim 2 is characterized in that: The method for converting the judgment result in step S4.3 includes the following steps: S4.3.

1. Develop an information database; S4.3.

2. Store program codes corresponding to different voice signals; S4.3.

3. Compare the program code corresponding to the emitted voice signal with the program code corresponding to the voice signal stored in the information database, and generate a comparison result; S4.3.

4. Preset the comparison threshold and determine whether the comparison result exceeds the comparison threshold.

4. The low-code voice switch device control method according to claim 3 is characterized in that: The program code comparison in S4.3 adopts a code comparison algorithm, and its algorithm formula is as follows: <h2 style=";text-align:left;direction:ltr">A=[a1, a2,…,a<h2 style=";text-align:left;direction:ltr"> n <h2 style=";text-align:left;direction:ltr"> ]; Among them, A is the program code set corresponding to each voice signal stored in the information database, a1 to a n is the program code corresponding to each voice signal stored in the information database, f(b) is the sending end program code comparison function, b is the program code corresponding to the sending end voice signal, a is the program code corresponding to the voice signal with the highest overlap rate with the program code b corresponding to the sending end voice signal called by the program code set A corresponding to each voice signal stored in the information database, For comparison results, is the comparison threshold, when the comparison result value Exceeding the matching threshold f(b) output is 1, indicating that the program code b corresponding to the voice signal of the sending end is successfully compared with the voice signal stored in the information database. At this time, the voice monitoring device sends the voice signal stored in the information database that has been successfully compared. Below the matching threshold The output of f(b) is 0. The program code b corresponding to the voice signal at the sending end fails to be compared with the voice signal stored in the information database, and a re-comparison is required.

5. A low-code voice-activated device control system, comprising the low-code voice-activated device control method according to any one of claims 1 to 4, characterized in that: The host in S1 includes a touch terminal allocation unit (10), the touch terminal allocation unit (10) is used to allocate buttons on the host touch terminal, the output end of the touch terminal allocation unit (10) is connected to a command response unit (20), the command response unit (20) is used to respond to an operation command issued by the touch terminal allocation unit (10), and the output end of the command response unit (20) is connected to a command information transmission unit (30).

6. The low-code voice switch device control system according to claim 5 is characterized in that: The host comprises an information receiving unit (40), wherein the output end of the information receiving unit (40) is connected to an information identification unit (50), and the information identification unit (50) is used to identify signal instructions sent by different hosts, and the output end of the information identification unit (50) is connected to the input end of the touch terminal allocation unit (10). The host further comprises an information formulation unit (60), and the output end of the information formulation unit (60) is connected to an information delivery unit (70), and the output end of the information delivery unit (70) is connected to the input end of the information receiving unit (40).