A voice intelligent control method based on Bluetooth beacon positioning
By deploying the AOA base station and setting up an electronic fence area in the target area, the use of Bluetooth benchmark positioning technology to automatically control intelligent control equipment, solving the problem that the existing technology cannot automatically switch and control the equipment according to the user's location, improve interaction efficiency and response to response. speed.
Patent Information
- Application Number
- CN202410583569.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-11
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-05-11
AI Technical Summary
The prior art cannot automatically switch and control intelligent control devices based on the user's location, making it difficult to accurately realize user needs in complex application scenarios.
By deploying AOA base stations, drawing electronic fence areas, and setting Bluetooth signal receivers and area identifiers in these areas, the Bluetooth beacon positioning algorithm is used to obtain the user's location information, and then control the activation and dormancy states of smart control devices.
The automatic instructions that automatically switch the smart control equipment and execute presets according to the user's action trajectory are realized, and the interaction efficiency and response speed of the user and the intelligent control equipment are improved.
Smart Images

Figure CN118488383B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of Internet of Things intelligent device control, and specifically is a voice intelligent control method based on Bluetooth beacon positioning. Background Art
[0002] With the rapid development of artificial intelligence and Internet of Things technologies, voice intelligent control technology has become an important means of human-computer interaction and is widely used in exhibition hall explanations, smart exhibitions, scenic spots, medical care, education and other fields. Traditional voice intelligent control methods mainly rely on speech recognition and natural language processing technologies to control the corresponding equipment to perform operations by recognizing the user's voice commands. However, in complex application scenarios, relying solely on voice commands cannot accurately meet user needs.
[0003] In the prior art, software is installed in the smart terminal, a list of smart control devices is saved in the software, and the user selects a specific smart control device and performs voice interaction, thereby realizing the switching of user interaction with multiple smart control devices to a certain extent; however, the prior art cannot automatically switch between several smart control devices according to the user's movement trajectory; at the same time, the smart control device cannot automatically execute instructions according to the user's location.
[0004] The present invention proposes a voice intelligent control method based on Bluetooth beacon positioning to solve the above technical problems. Summary of the invention
[0005] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a voice intelligent control method based on Bluetooth beacon positioning, which is used to solve the technical problem that the prior art cannot control the intelligent control device according to the user's location; at the same time, the intelligent control device cannot automatically execute instructions according to the user's location.
[0006] To achieve the above object, the first aspect of the present invention provides a voice intelligent control method based on Bluetooth beacon positioning, comprising:
[0007] S1: deploy AOA base stations to obtain a plan view of the target area;
[0008] S2: Draw several electronic fence areas on the plane map of the target area through the AOA base station background, and calculate the coordinate range corresponding to the boundary of the electronic fence area;
[0009] S3: setting area identifiers and Bluetooth signal receivers in several electronic fence areas respectively;
[0010] S4: acquiring a Bluetooth signal based on a Bluetooth signal receiver, and acquiring the coordinates of the Bluetooth signal and a corresponding area identifier based on a Bluetooth positioning algorithm; and sending the coordinates of the Bluetooth signal and the corresponding area identifier to the intelligent control engine; wherein the Bluetooth signal is emitted by a Bluetooth beacon carried by the user, and the coordinates of the Bluetooth signal are the coordinates of a source emitting the Bluetooth signal;
[0011] S5: operating the control state of the intelligent control device in the electronic fence area based on the intelligent control engine; wherein the control state includes the activation state and the dormant state of the control device; wherein the intelligent control device is the device to be controlled by the user;
[0012] S6: Establish interaction with the user based on the control state of the intelligent control device.
[0013] It should be noted that the installation location of the intelligent control equipment is marked in the floor plan of the target area.
[0014] Preferably, the coverage range of the AOA base station is larger than the range of the target area.
[0015] Preferably, the step of drawing a plurality of electronic fence areas on the plan view of the target area through the AOA base station backend includes:
[0016] Extract the plan of the target area, upload the plan to the AOA base station backend, and edit the plan through drawing software; obtain the location coordinates of the AOA base station and the coverage range of the AOA base station;
[0017] The location coordinates of the AOA base station are marked in the plan view of the target area. Based on the installation location and demand planning of the intelligent control device in the plan view, several electronic fence areas are drawn in the plan view through drawing software. It is required that there is at least one intelligent control device in each electronic fence area to obtain an electronic fence drawing; wherein, the several electronic fence areas do not overlap with each other and the shape of the electronic fence area is a rectangle.
[0018] Preferably, the coordinate range corresponding to the calculation of the boundary of the electronic fence area is automatically generated by the AOA base station background according to the electronic fence drawing.
[0019] Preferably, the step of respectively setting area identifiers and Bluetooth signal receivers in a plurality of electronic fence areas includes:
[0020] The area identifiers of several electronic fence areas are marked as Qi respectively; wherein i is a positive integer;
[0021] Install a Bluetooth signal receiver at the center of each electronic fence area.
[0022] Preferably, obtaining the coordinates of the Bluetooth signal and the corresponding area identifier based on the Bluetooth positioning algorithm includes:
[0023] The coordinates of the Bluetooth signal are obtained based on the Bluetooth positioning algorithm; the coordinates of the Bluetooth signal are matched with the coordinate range of the electronic fence area to obtain the electronic fence area where the user is actually located; the corresponding area identifier is matched according to the electronic fence area where the user is actually located; wherein the actual location of the user is represented by the coordinates of the Bluetooth signal.
[0024] Preferably, the Bluetooth positioning algorithm includes:
[0025] When the Bluetooth signal passes through the antenna array inside the AOA base station, a phase difference will occur when the Bluetooth signal is at unequal distances from different antennas. Therefore, the relative direction of the Bluetooth signal is calculated by comparing the phase difference of the Bluetooth signal received by different antennas.
[0026] Obtain the relative direction of the Bluetooth signal, obtain the arrival angle of the Bluetooth signal based on the position relationship between any two antennas inside the AOA base station, and finally calculate the position coordinates of the Bluetooth signal based on the calculation formula of the triangulation principle by combining the position coordinates of each antenna in the antenna array; the calculation formula is:
[0027] tan(θ1)=(y-y1) / (x-x1),
[0028] tan(θ2)=(y-y2) / (x-x2);
[0029] Among them, (x, y) is the spatial position of the Bluetooth transmitter, (x1, y1) and (x2, y2) are the coordinates of antenna one and antenna two, respectively, and θ1 and θ2 are the angles at which the Bluetooth signal reaches antenna one and antenna two, respectively.
[0030] Preferably, the Bluetooth beacon also includes an electronic device with Bluetooth communication function.
[0031] Preferably, the operation of the control state of the intelligent control device within the electronic fence area based on the intelligent control engine includes:
[0032] The coordinates of the Bluetooth signal and the corresponding area identifier are retrieved through the intelligent control engine, and the intelligent control device in the electronic fence area corresponding to the corresponding area identifier is activated. The intelligent control device executes the preset control instructions and turns on the intelligent voice function; wherein the preset instructions include automatic explanation and automatic playback, and the intelligent voice function includes voice recognition, voice transcription and semantic understanding;
[0033] Determine whether the coordinates of the current Bluetooth signal are within the coordinate range of the current electronic fence area; if yes, continue to keep the smart control device in the current electronic fence area in an activated state; if no, put the smart control device in the current electronic fence area into hibernation.
[0034] Preferably, the establishing interaction with the user based on the control state of the intelligent control device includes:
[0035] Determine whether the control status of the intelligent control device is activated; if yes, the intelligent control device receives the user's voice information, recognizes the voice information, extracts the instructions corresponding to the intelligent control instruction type and performs the corresponding operation; if no, the control status of the intelligent control device in the electronic fence area is operated based on the intelligent control engine; among them, the intelligent control instruction types include data broadcasting, web page control, audio and video playback, exhibition hall explanation and file retrieval.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] 1. The present invention draws out several electronic fence areas through the AOA base station background, obtains the electronic fence area where the Bluetooth beacon carried by the user is actually located, activates the intelligent control device in the corresponding electronic fence area when the Bluetooth signal enters the electronic fence area, and puts the intelligent control device in the corresponding electronic fence area into sleep mode when the Bluetooth signal leaves the electronic fence area, thereby realizing automatic switching of the intelligent control device according to the user's movement trajectory, which is beneficial to improving the interaction efficiency between the user and the intelligent control device.
[0038] 2. The present invention presets automatic instructions in the intelligent control device. When the Bluetooth signal emitted by the Bluetooth beacon carried by the user enters the electronic fence area where the intelligent control device is located, the intelligent control device is activated and triggers the execution of the preset automatic instructions, thereby realizing the function of the intelligent control device to automatically execute instructions based on the user's location, which is beneficial to improving the response speed of the intelligent control device. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 It is a flow chart of the voice intelligent control method based on Bluetooth beacon positioning of the present invention;
[0041] Figure 2 It is a schematic diagram of the principle of the present invention. DETAILED DESCRIPTION
[0042] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] See also Figure 1-Figure 2 The first aspect of the present invention provides a voice intelligent control method based on Bluetooth beacon positioning, comprising:
[0044] S1: Deploy an AOA base station, the coverage range of which is larger than that of the target area; obtain a plan view of the target area; the plan view of the target area indicates the installation locations of four intelligent control devices A, B, C and D;
[0045] S2: Draw several electronic fence areas on the plane map of the target area through the AOA base station background, and calculate the coordinate range corresponding to the boundary of the electronic fence area, including:
[0046] Extract the plan of the target area, upload the plan to the AOA base station backend, and edit the plan through CAD drawing software; obtain the location coordinates of the AOA base station and the coverage range of the AOA base station;
[0047] Draw several electronic fence areas: mark the location coordinates of the AOA base station in the plan view of the target area, and draw three electronic fence areas in the plan view based on the installation location and demand planning of the intelligent control device in the plan view through CAD drawing software. It is required that there is at least one intelligent control device in each electronic fence area, and the intelligent control device B and the intelligent control device C are located in the same electronic fence area, and the electronic fence drawing is obtained; wherein, the several electronic fence areas do not overlap with each other and the shape of the electronic fence area is rectangular;
[0048] Calculate the coordinate range corresponding to the boundary of the electronic fence area: Since the shape of the electronic fence area is a rectangle, it is only necessary to mark the coordinates of the four vertices of each electronic fence area boundary to represent the coordinate range of the boundary;
[0049] In this embodiment, the coordinate ranges corresponding to the boundaries of the three electronic fence areas are
[0050] S3: Setting area identifiers and Bluetooth signal receivers in several electronic fence areas respectively, including:
[0051] Respectively
[0052] The corresponding electronic fence area is marked as Q1.
[0053] The corresponding electronic fence area is marked as Q2.
[0054] The identifier of the corresponding electronic fence area is marked as Q3;
[0055] Among them, the intelligent control device A is located in the electronic fence area corresponding to Q1, the intelligent control devices B and C are located in the electronic fence area corresponding to Q2, and the intelligent control device D is located in the electronic fence area corresponding to Q3;
[0056] Install a Bluetooth signal receiver at the center of the electronic fence area corresponding to Q1, Q2 and Q3;
[0057] S4: obtaining a Bluetooth signal based on a Bluetooth signal receiver, and obtaining the coordinates of the Bluetooth signal and a corresponding area identifier based on a Bluetooth positioning algorithm; wherein the Bluetooth signal is emitted by a Bluetooth beacon carried by the user, and the coordinates of the Bluetooth signal are the coordinates of a source emitting the Bluetooth signal; the specific steps include:
[0058] When the Bluetooth signal passes through the antenna array inside the AOA base station, a phase difference will occur when the Bluetooth signal is at unequal distances from different antennas. Therefore, the relative direction of the Bluetooth signal is calculated by comparing the phase difference of the Bluetooth signal received by different antennas.
[0059] Obtain the relative direction of the Bluetooth signal, obtain the arrival angle of the Bluetooth signal based on the position relationship between any two antennas inside the AOA base station, and finally calculate the position coordinates of the Bluetooth signal based on the calculation formula of the triangulation principle by combining the position coordinates of each antenna in the antenna array; the calculation formula is:
[0060] tan(θ1)=(y-y1) / (x-x1),
[0061] tan(θ2)=(y-y2) / (x-x2);
[0062] Where (x, y) is the coordinate of the Bluetooth signal, (x1, y1) and (x2, y2) are the coordinates of antenna one and antenna two, respectively, and θ1 and θ2 are the angles at which the Bluetooth signal reaches antenna one and antenna two, respectively.
[0063] In this embodiment, the coordinates of antenna one (x1, y1) = (0, 0), the coordinates of antenna two (x2, y2) = (10, 0), the unit is meter; the angle θ1 of the Bluetooth signal reaching antenna one is 45°, the angle θ2 of the Bluetooth signal reaching antenna one is 30°; the Bluetooth signal coordinates (x, y) = (17.3, 17.3) are calculated according to the calculation formula;
[0064] The Bluetooth signal coordinates (17.3, 17.3) are matched with the coordinate ranges corresponding to the boundaries of the electronic fence areas corresponding to Q1, Q2 and Q3, and it is obtained that the Bluetooth signal coordinates (17.3, 17.3) are located in the electronic fence area corresponding to the identifier Q2.
[0065] Send the coordinates (17.3, 17.3) of the Bluetooth signal and the corresponding area identifier Q2 to the intelligent control engine;
[0066] S5: Based on the intelligent control engine, operate the control state of the intelligent control device in the electronic fence area; wherein the control state includes the activation state and the dormant state of the control device; wherein the intelligent control device is the device to be controlled by the user; including:
[0067] The coordinates (17.3, 17.3) of the Bluetooth signal and the corresponding area identifier Q2 are retrieved through the intelligent control engine, and the intelligent control devices B and C in the electronic fence area corresponding to the area identifier Q2 are activated. The intelligent control device B executes the preset automatic explanation instruction and turns on the intelligent voice function, and the intelligent control device C executes the preset automatic playback instruction and turns on the intelligent voice function; wherein the intelligent voice function includes voice recognition, voice transcription and semantic understanding;
[0068] Determine whether the coordinates of the current Bluetooth signal are within the coordinate range of the Q2 electronic fence area; if yes, continue to keep the smart control devices B and C in the electronic fence area corresponding to Q2 in an activated state; if not, put the smart control devices B and C in the electronic fence area corresponding to Q2 into sleep mode.
[0069] The present invention is based on the position of the user's Bluetooth beacon in the electronic fence area, and realizes automatic switching of intelligent control devices according to the user's trajectory and execution of operations corresponding to preset automatic instructions through an intelligent control engine, which is beneficial to improving the system interaction efficiency.
[0070] S6: Establishing interaction with the user based on the control state of the intelligent control device, including:
[0071] Determine whether the control status of the intelligent control device is activated; if yes, the intelligent control device receives the user's voice information, recognizes the voice information, extracts the instructions corresponding to the intelligent control instruction type and performs the corresponding operation; if no, the control status of the intelligent control device in the electronic fence area is operated based on the intelligent control engine; among them, the intelligent control instruction types include data broadcasting, web page control, audio and video playback, exhibition hall explanation and file retrieval.
[0072] Part of the data in the above formula is calculated by removing the dimension and taking its numerical value. The formula is a formula closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.
[0073] Working principle of the present invention:
[0074] The present invention deploys an AOA base station, obtains a plan of a target area, uploads the plan to a background of the AOA base station, draws a plurality of electronic fence areas on the plan of the target area according to the position of an intelligent control device through drawing software of the background of the AOA base station to obtain an electronic fence drawing, automatically generates a coordinate range corresponding to a boundary of the electronic fence area according to the electronic fence drawing through the background of the AOA base station, respectively sets a Bluetooth signal receiver and a region identifier in a plurality of electronic fence areas, obtains a Bluetooth signal transmitted by a Bluetooth beacon carried by a user based on the Bluetooth signal receiver, obtains the coordinates of the Bluetooth signal and the corresponding region identifier based on a Bluetooth positioning algorithm, sends the coordinates of the Bluetooth signal and the corresponding region identifier to an intelligent control engine, operates the control state of the intelligent control device in the electronic fence area corresponding to the region identifier based on the intelligent control engine, and establishes interaction with the user based on the control state of the intelligent control device.
[0075] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A voice intelligent control method based on Bluetooth beacon positioning, characterized in that: include: S1: deploy AOA base stations to obtain a plan view of the target area; S2: Draw several electronic fence areas on the plane map of the target area through the AOA base station background, and calculate the coordinate range corresponding to the boundary of the electronic fence area; S3: setting area identifiers and Bluetooth signal receivers in several electronic fence areas respectively; S4: acquiring a Bluetooth signal based on a Bluetooth signal receiver, and acquiring the coordinates of the Bluetooth signal and a corresponding area identifier based on a Bluetooth positioning algorithm; and sending the coordinates of the Bluetooth signal and the corresponding area identifier to the intelligent control engine; wherein the Bluetooth signal is emitted by a Bluetooth beacon carried by the user, and the coordinates of the Bluetooth signal are the coordinates of a source emitting the Bluetooth signal; S5: operating the control state of the intelligent control device in the electronic fence area based on the intelligent control engine; wherein the control state includes the activation state and the dormant state of the control device; wherein the intelligent control device is the device to be controlled by the user; S6: Establish interaction with the user based on the control state of the intelligent control device; The AOA base station backend is used to draw a number of electronic fence areas on the plane map of the target area, including: Extract the plan of the target area, upload the plan to the AOA base station backend, and edit the plan through drawing software; obtain the location coordinates of the AOA base station and the coverage range of the AOA base station; The location coordinates of the AOA base station are marked in the plan view of the target area, and based on the installation location and demand planning of the intelligent control device in the plan view, several electronic fence areas are drawn in the plan view through drawing software to obtain an electronic fence drawing; there is at least one intelligent control device in each electronic fence area; wherein the several electronic fence areas do not overlap with each other and the shape of the electronic fence area is a rectangle; The Bluetooth positioning algorithm includes: Obtain the relative direction of the Bluetooth signal, obtain the arrival angle of the Bluetooth signal based on the position relationship between any two antennas inside the AOA base station, and calculate the position coordinates of the Bluetooth signal according to the calculation formula based on the triangulation principle in combination with the position coordinates of each antenna in the antenna array; the calculation formula is: tan(θ1)=(y-y1) / (x-x1), tan(θ2)=(y-y2) / (x-x2); Among them, (x, y) is the spatial position of the Bluetooth transmitter, (x1, y1) and (x2, y2) are the coordinates of antenna one and antenna two, respectively, and θ1 and θ2 are the angles at which the Bluetooth signal reaches antenna one and antenna two, respectively.
2. According to claim 1, a voice intelligent control method based on Bluetooth beacon positioning is characterized in that: The coverage range of the AOA base station is larger than the spatial range of the target area.
3. The voice intelligent control method based on Bluetooth beacon positioning according to claim 1, characterized in that: The method of respectively setting area identifiers and Bluetooth signal receivers in a plurality of electronic fence areas includes: The area identifiers of several electronic fence areas are marked as Qi respectively; wherein i is a positive integer; Install a Bluetooth signal receiver at the center of each electronic fence area.
4. The voice intelligent control method based on Bluetooth beacon positioning according to claim 3 is characterized in that: The obtaining of the coordinates of the Bluetooth signal and the corresponding area identifier based on the Bluetooth positioning algorithm includes: The coordinates of the Bluetooth signal are obtained based on the Bluetooth positioning algorithm; the coordinates of the Bluetooth signal are matched with the coordinate range of the electronic fence area to obtain the electronic fence area where the user is actually located; and the corresponding area identifier is matched according to the electronic fence area where the user is actually located.
5. The voice intelligent control method based on Bluetooth beacon positioning according to claim 1, characterized in that: The Bluetooth beacon also includes an electronic device with Bluetooth communication function.
6. The voice intelligent control method based on Bluetooth beacon positioning according to claim 1, characterized in that: The operation of the control state of the intelligent control device within the electronic fence area based on the intelligent control engine includes: The coordinates of the Bluetooth signal and the corresponding area identifier are retrieved through the intelligent control engine, and the intelligent control device in the electronic fence area corresponding to the corresponding area identifier is activated. The intelligent control device executes the preset control instructions and turns on the intelligent voice function; wherein the preset instructions include automatic explanation and automatic playback, and the intelligent voice function includes voice recognition, voice transcription and semantic understanding; Determine whether the coordinates of the current Bluetooth signal are within the coordinate range of the current electronic fence area; if yes, continue to keep the smart control device in the current electronic fence area in an activated state; if no, put the smart control device in the current electronic fence area into hibernation.
7. The voice intelligent control method based on Bluetooth beacon positioning according to claim 6, characterized in that: The establishing interaction with the user based on the control state of the intelligent control device includes: Determine whether the control status of the intelligent control device is activated; if yes, the intelligent control device receives the user's voice information, recognizes the voice information, extracts the instructions corresponding to the intelligent control instruction type and performs the corresponding operation; if no, the control status of the intelligent control device in the electronic fence area is operated based on the intelligent control engine; among them, the intelligent control instruction types include data broadcasting, web page control, audio and video playback, exhibition hall explanation and file retrieval.
Citation Information
Patent Citations
Smart home control method and system based on Bluetooth technology
CN105159132A
Intention nearest neighbor query system and method for automatic explanation of exhibition hall
CN116600276A