Voice broadcast method, system and electronic device

By setting up a beacon ID matrix in the scenic area and providing voice broadcasts in real time based on the location relationship of tourists, the problem of poor experience of existing tour guide methods is solved, and clear tour guide information transmission and flexible tour path selection is achieved.

CN113870061BActive Publication Date: 2025-03-28HANGZHOU DIANDIAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111170934.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-08
Publication Date
2025-03-28
Estimated Expiration
2041-10-08

AI Technical Summary

Technical Problem

The existing tour guide experience is poor, making it difficult for tourists to clearly understand the introduction of attractions in noisy environments, and accidents are prone to occur as the crowd increases, and the tour paths are limited, so there is a lack of the opportunity to choose freely.

Method used

By setting an m×n matrix in the target area, each sub-matrix corresponds to a beacon ID, each explanation point is located in a sub-matrix and corresponds to a beacon ID, obtain the beacon ID of the previous explanation point and the current explanation point, calculate its position relationship in the matrix, determine the voice broadcast content based on the position relationship, and adapt to different tour paths.

Benefits of technology

It realizes clear voice broadcasting in noisy environments, avoids the safety risks caused by crowd gathering, provides flexible tour path selection, and improves tourists' tour guide experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113870061B_ABST
    Figure CN113870061B_ABST
Patent Text Reader

Abstract

The present invention provides a voice broadcast method, system and electronic device, and belongs to the field of voice broadcast technology. A beacon ID is set for each explanation point in a target area by establishing a matrix, and the position relationship between the previous explanation point and the current explanation point in the matrix is ​​calculated according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point. According to the position relationship between the previous explanation point and the current explanation point in the matrix, the current tour path is determined and the corresponding voice broadcast content is played; the highest quality explanation experience is achieved with the lowest power consumption and cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of voice broadcast technology, and in particular to a voice broadcast method, system and electronic equipment. Background Art

[0002] With the improvement of living quality, people are increasingly fond of visiting different scenic spots, and different attractions are also set up in the scenic spots.

[0003] The existing tour guide method usually involves a staff member or a tour guide of a tour group telling tourists about various scenic spots along the way in the scenic area. Tourists need to follow the staff or tour guide to learn various stories. However, in actual situations, tourists often cannot hear the explanations clearly due to various noisy sounds or other reasons. Moreover, due to the limited number of tour guides, accidents are likely to occur as the number of people behind each tour guide increases. In addition, there is a lack of many opportunities for free choice when only following the staff or tour guide for sightseeing. Therefore, there is an urgent need for an intelligent tour guide method that can provide corresponding voice broadcasts according to the different tour routes of tourists. Summary of the invention

[0004] The purpose of the present invention is to overcome the problem of poor experience of existing tour guide methods, and to provide a voice broadcast method, system and electronic equipment.

[0005] In order to achieve the above-mentioned purpose, the present invention provides a voice broadcast method, comprising: obtaining a beacon ID of a previous explanation point and a beacon ID of a current explanation point in a target area, wherein the target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID; calculating the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point; determining corresponding voice broadcast content according to the positional relationship between the previous explanation point and the current explanation point in the matrix, wherein, when there are multiple tour paths to reach the current explanation point, different explanation points adjacent to the current explanation point on different tour paths have different positional relationships with the current explanation point, and different voice broadcast contents are preset according to the different positional relationships.

[0006] As an implementation method, the target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID. The step includes: obtaining a sub-matrix arranged in the form of a matrix with m rows and n columns in the target area, setting the beacon IDs of the sub-matrix in the first row to: 1, 2, 3, ..., n, respectively, and the beacon IDs of the sub-matrix in the second row to: n+1, n+2, n+3, ..., 2n, respectively, and setting the beacon IDs of each row of the sub-matrix in turn until the beacon IDs of the sub-matrix in the mth row are: (m-1) ×n+1, (m-1)×n+2, ..., mn, respectively, to obtain a beacon ID matrix m×n of the sub-matrix, wherein each explanation point is located in one of the sub-matrices and corresponds to a beacon ID.

[0007] As an implementable method, the corresponding voice broadcast content is determined according to the positional relationship between the previous explanation point and the current explanation point in the matrix, wherein the step of presetting different voice broadcast contents according to the different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point specifically includes:

[0008] Obtain the beacon ID of the current explanation point and the beacon IDs of explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point;

[0009] Calculate different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point;

[0010] According to different positional relationships between the current explanation point and explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point in the matrix, voice broadcast contents corresponding to tour paths in different directions are preset;

[0011] According to the positional relationship between the current explanation point and the previous explanation point in the matrix, a comparison is made with the different positional relationships between the preset current explanation point and explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point, so as to determine the tour path direction and voice broadcast content corresponding to the positional relationship between the current explanation point and the previous explanation point.

[0012] As an implementable method, the beacon ID of the previous explanation point is the beacon ID of the previous explanation point, and the beacon ID of the current explanation point is the beacon ID of the explanation point adjacent to the previous explanation point reached from the previous explanation point in the direction of the tour route.

[0013] As an implementable method, the step of calculating different position relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point includes:

[0014] Compare the beacon ID of the current explanation point with the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point to obtain multiple size comparison results; calculate the number of rows of the current explanation point in the matrix and the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point; compare the number of rows of the current explanation point in the matrix with the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point to obtain multiple row number comparison results; determine different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the size comparison results and row number comparison results corresponding to the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point;

[0015] Alternatively, the beacon ID of the current explanation point is compared with the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point to obtain a plurality of size comparison results; the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point in the matrix are respectively calculated according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point; the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point are respectively compared to obtain a plurality of column number comparison results; different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point in the matrix are determined according to the corresponding size comparison results and column number comparison results of the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point;

[0016] Alternatively, according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are calculated respectively, and the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are compared respectively to obtain multiple column number comparison results, and according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are calculated respectively. Calculate the number of rows of the current explanation point and the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix, respectively compare the number of rows of the current explanation point in the matrix with the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, and obtain multiple row number comparison results; determine different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the obtained row number comparison results and column number comparison results corresponding to the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point.

[0017] As an implementable method, the step of calculating the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point specifically includes:

[0018] Compare the beacon ID of the current explanation point with the beacon ID of the previous explanation point to obtain a beacon ID size comparison result, calculate the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, compare the number of rows of the current explanation point in the matrix with the number of rows of the previous explanation point in the matrix to obtain a row number comparison result, and determine the positional relationship between the current explanation point and the previous explanation point in the matrix according to the size comparison result and the row number comparison result;

[0019] Alternatively, the beacon ID of the current explanation point is compared with the beacon ID of the previous explanation point to obtain a comparison result of the beacon ID size, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are calculated according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are compared to obtain a column number comparison result, and the positional relationship between the current explanation point and the previous explanation point in the matrix is ​​determined according to the size comparison result and the column number comparison result;

[0020] Alternatively, according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are calculated respectively, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are compared to obtain a column number comparison result; according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix are calculated respectively, and the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix are compared to obtain a row number comparison result; and the positional relationship between the current explanation point and the previous explanation point in the matrix is ​​determined according to the obtained row number comparison result and column number comparison result.

[0021] As an implementable embodiment, according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, respectively, the calculation method of calculating the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix, and according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, respectively, the calculation method of calculating the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix includes:

[0022] The number of rows m of the previous explanation point in the matrix i = beacon ID of the previous explanation point / n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, wherein, when the value of beacon ID / n of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m i ;

[0023] The number of rows m of the current explanation point in the matrix j = beacon ID of the current explanation point / n, n is the number of columns of the matrix, j is the beacon ID of the current explanation point, wherein, when the value of the beacon ID / n of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m j ;

[0024] The number of columns n of the previous explanation point in the matrix i = beacon ID of the previous explanation point - (m i -1)×n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, m i is the row number of the previous explanation point in the matrix, wherein when the value of the beacon ID / m of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n i ;

[0025] The number of columns n of the current explanation point in the matrix j = beacon ID of the previous explanation point - (m j -1)×n, n is the number of rows in the matrix, j is the beacon ID of the current explanation point, m j is the row number of the current explanation point in the matrix, wherein when the value of the beacon ID / m of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n j .

[0026] Accordingly, the present invention also provides a voice broadcast system, comprising:

[0027] An acquisition module is used to acquire the beacon ID of the previous explanation point and the beacon ID of the current explanation point in the target area, wherein the target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID;

[0028] A calculation module, which calculates the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point;

[0029] Determination module: Determine the corresponding voice broadcast content according to the positional relationship between the previous explanation point and the current explanation point in the matrix, wherein, when there are multiple tour paths to the current explanation point, different explanation points adjacent to the current explanation point on different tour paths have different positional relationships with the current explanation point, and different voice broadcast contents are preset according to the different positional relationships.

[0030] Correspondingly, the present invention also provides an electronic device, comprising: at least one processor, and a memory communicatively connected to at least one of the processors; at least one of the processors is used to read the program in the memory to execute the above method.

[0031] Correspondingly, the present invention also provides a computer storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the above method.

[0032] Beneficial effects of the invention: The invention provides a voice broadcast method, system and electronic device, including: obtaining the beacon ID of the last explanation point and the beacon ID of the current explanation point in the target area, wherein the target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID; according to the beacon ID of the last explanation point and the beacon ID of the current explanation point, calculating the position relationship between the last explanation point and the current explanation point in the matrix; according to the position relationship between the last explanation point and the current explanation point in the matrix, determining the corresponding voice broadcast content, wherein different tour paths to the current explanation point are Corresponding voice broadcast contents are preset, and the different tour paths are distinguished according to different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths reaching the current explanation point, and different voice broadcast contents are preset according to different positional relationships; the present invention sets a beacon ID for each explanation point in the target area by establishing a matrix, calculates the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point, determines the current tour path according to the positional relationship between the previous explanation point and the current explanation point in the matrix, and plays the corresponding voice broadcast contents; and completes the best quality explanation experience with the lowest power consumption and cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flow chart of the voice broadcasting method of the present invention.

[0034] Figure 2 Schematic diagram of the beacon ID matrix of the sub-matrix in the voice broadcasting method of the present invention.

[0035] Figure 3 It is a schematic diagram of a scenic area map when the target area in the voice broadcasting method of the present invention is a scenic area. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 creative work are within the scope of protection of the present invention.

[0037] Example 1, see Figure 1 This embodiment provides a technical solution: a voice broadcast method, comprising:

[0038] Step S100: Obtain the beacon ID of the previous explanation point and the beacon ID of the current explanation point in the target area, wherein the target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID;

[0039] Step S200: Calculating the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point;

[0040] Step S300: Determine corresponding voice broadcast content according to the positional relationship between the previous explanation point and the current explanation point in the matrix, wherein, when there are multiple tour paths to the current explanation point, different explanation points adjacent to the current explanation point on different tour paths have different positional relationships with the current explanation point, and different voice broadcast contents are preset according to the different positional relationships.

[0041] The target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID. The steps include:

[0042] A submatrix with m rows and n columns arranged in matrix form is obtained in the target area, and the beacon IDs of the submatrix in the first row are set to 1, 2, 3, ..., n, respectively, and the beacon IDs of the submatrix in the second row are set to n+1, n+2, n+3, ..., 2n, respectively. The beacon IDs of each row of the submatrix are set in turn until the beacon IDs of the submatrix in the mth row are: (m-1)×n+1, (m-1)×n+2, ..., mn, respectively, to obtain a beacon ID matrix m×n of the submatrix, wherein each explanation point is located in one of the submatrices and corresponds to a beacon ID.

[0043] For example: Figure 2 The generated matrix of 16 rows and 16 columns is shown, and each circle represents a sub-matrix. The beacon IDs of the sub-matrix in the first row are set to 1, 2, 3, ..., 16, the beacon IDs of the sub-matrix in the second row are set to 17, 18, 19, ..., 34, and the beacon IDs of the sub-matrix in the third row are set to 35, 36, 37, ..., 70. The beacon IDs of the sub-matrix in each row are set in turn until the beacon IDs of the sub-matrix in the 16th row are 241, 242, 243, ..., 256, respectively. Each explanation point is located in one of the sub-matrices and corresponds to a beacon ID. For example, there is one explanation point in each sub-matrix with beacon ID 89, beacon ID 90, and beacon ID 123.

[0044] The target area may be a scenic spot. According to the map of the target area, a matrix is ​​set, for example: Figure 3 FIG. 1 shows a map of a scenic spot, on which explanation points corresponding to 15 scenic spots are marked. An m×n matrix is ​​set according to the 15 explanation points. It is necessary to ensure that each of the explanation points is located in a submatrix of the same matrix. In this embodiment, Figure 2 What is shown is a square matrix, but in other embodiments, the target area may also be a circle, a rectangle or other irregular shapes, etc., and the sub-matrices are filled on the map directly according to the shape of the target area on the map and the preset spacing.

[0045] The beacon ID of the previous explanation point is the beacon ID of the previous explanation point, and the beacon ID of the current explanation point is the beacon ID of the explanation point adjacent to the previous explanation point reached from the previous explanation point in the direction of the tour route.

[0046] According to the positional relationship between the previous explanation point and the current explanation point in the matrix, the corresponding voice broadcast content is determined, wherein when there are multiple tour paths to the current explanation point, different explanation points adjacent to the current explanation point on different tour paths have different positional relationships with the current explanation point, and different voice broadcast contents are preset according to different positional relationships, specifically including:

[0047] According to the positional relationship between the current explanation point and the previous explanation point in the matrix, the different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point are compared with the preset different positional relationships in the matrix, and the tour path direction corresponding to the positional relationship between the current explanation point and the previous explanation point and the corresponding voice broadcast content are determined, wherein the preset process includes: obtaining the beacon ID of the current explanation point and the beacon IDs of all explanation points adjacent to the current explanation point on different tour paths to the current explanation point, calculating the different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of all explanation points adjacent to the current explanation point on different tour paths to the current explanation point, and presetting the voice broadcast content corresponding to the different positional relationships according to the different positional relationships.

[0048] Specifically, the beacon ID of the current explanation point and the beacon IDs of explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point are obtained;

[0049] Calculate different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point;

[0050] According to different positional relationships between the current explanation point and explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point in the matrix, voice broadcast contents corresponding to tour paths in different directions are preset;

[0051] According to the obtained positional relationship between the current explanation point and the previous explanation point in the matrix, a comparison is made with the preset different positional relationships between the current explanation point and explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point in the matrix, and the tour path direction and voice broadcast content corresponding to the positional relationship between the current explanation point and the previous explanation point are determined.

[0052] The step of calculating different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point comprises:

[0053] According to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are calculated respectively, and the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are compared respectively to obtain multiple column number comparison results, and according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, the number of rows of the current explanation point and the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are calculated respectively, The number of rows of the current explanation point in the matrix and the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are compared to obtain a plurality of row number comparison results. Different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are determined according to the row number comparison results and column number comparison results corresponding to the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point.

[0054] Specifically, the number of rows of the current explanation point in the matrix is ​​m i = the beacon ID of the current explanation point / n, where n is the number of columns of the matrix, and i is the beacon ID of the current explanation point. When the value of the beacon ID / n of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m i ;

[0055] The number of columns n of the current explanation point in the matrix i = the beacon ID of the current teaching point - (m i -1)×n, n is the number of columns of the matrix, i is the ID of the beacon at the explanation point, m i is the row number of the explanation point adjacent to the explanation point in the matrix, wherein when the value of the beacon ID / m of the explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n i ;

[0056] The number of rows m of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix j= beacon ID of a point adjacent to the current explanation point on a different tour path to the current explanation point / n, where n is the number of columns of the matrix, and j is the beacon ID of a point adjacent to the current explanation point. When the value of beacon ID / n of a point adjacent to the current explanation point on a different tour path to the current explanation point has a decimal place, it is rounded up to 1 to obtain an integer m j ;

[0057] The number of columns n of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix j = beacon ID of the explanation point adjacent to the current explanation point on different tour paths leading to the current explanation point - (m j -1)×n, n is the number of columns of the matrix, j is the beacon ID of the explanation point adjacent to the current explanation point on different tour paths to the current explanation point, m j is the number of rows in the matrix of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point, wherein when the value of the beacon ID / m of the explanation point adjacent to the current explanation point on different tour paths to the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n j .

[0058] After obtaining the row and column numbers of the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point according to the above calculation method, compare the row number of the current explanation point with the row number of the explanation points adjacent to the current explanation point on each different tour path to the current explanation point to obtain a plurality of row number comparison results, compare the column number of the current explanation point with the column number of the explanation points adjacent to the current explanation point on each different tour path to the current explanation point to obtain a plurality of column number comparison results, determine the corresponding positional relationship according to the obtained row number comparison results and column number comparison results corresponding to the row number of the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point, determine different positional relationships according to the obtained row number of the current explanation point and the different row number comparison results and column number comparison results corresponding to different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, distinguish the tour paths in different directions according to the different positional relationships, and preset the voice broadcast contents corresponding to the tour paths in different directions: for example, Figure 2As shown, it is a 16×16 sub-matrix matrix. According to the above steps, a beacon ID is set on each of the sub-matrices, wherein the explanation points with beacon IDs of 89, 90, 91, 105, 106, 107, 121, 122, and 123 all fall on the sub-matrix. Taking explanation point 106 as the current explanation point as an example, the current explanation point 106 refers to the current explanation point with beacon ID 106, and the following description is made:

[0059] There are 8 tour paths to the current explanation point 106. On the 8 different tour paths, the beacon IDs of the explanation points adjacent to the current explanation point 106 are 89, 90, 91, 105, 107, 121, 122, and 123, respectively, corresponding to the voice broadcast contents numbered 1061, 1062, 1063, 1064, 1065, 1066, 1067, and 1068;

[0060] The number of rows m of the current explanation point 106 in the matrix 106 =106 / 16=7;

[0061] The number of rows m of the explanation points 89 adjacent to the current explanation point 106 in the matrix 89 =89 / 16=6;

[0062] The number of rows m of the explanation points 90 adjacent to the current explanation point 106 in the matrix 90 =90 / 16=6;

[0063] The number of rows m of the explanation points 91 adjacent to the current explanation point 106 in the matrix 91 =91 / 16=6;

[0064] The number of rows m of the explanation points 105 adjacent to the current explanation point 106 in the matrix 105 =105 / 16=7;

[0065] The number of rows m of the explanation points 107 adjacent to the current explanation point 106 in the matrix 107 =107 / 16=7;

[0066] The number of rows m of the explanation points 121 adjacent to the current explanation point 106 in the matrix 121 =121 / 16=8;

[0067] The number of rows m of the explanation points 122 adjacent to the current explanation point 106 in the matrix 122 =122 / 16=8;

[0068] The number of rows m of the explanation points 123 adjacent to the current explanation point 106 in the matrix 123=123 / 16=8;

[0069] The number n of columns of the current explanation point 106 in the matrix 106 =106-6×16=10;

[0070] The number of columns n of the explanation points 89 adjacent to the current explanation point 106 in the matrix 89 =89-5×16=9;

[0071] The number of columns n of the explanation points 90 adjacent to the current explanation point 106 in the matrix 90 =90-5×16=10;

[0072] The number of columns n of the explanation points 91 adjacent to the current explanation point 106 in the matrix 91 =91-5×16=11;

[0073] The number of columns n of the explanation points 105 adjacent to the current explanation point 106 in the matrix 105 =105-6×16=9;

[0074] The number of columns n of the explanation points 107 adjacent to the current explanation point 106 in the matrix 107 =107-6×16=11;

[0075] The number of columns n of the explanation points 121 adjacent to the current explanation point 106 in the matrix 121 =121-7×16=9;

[0076] The number of columns n of the explanation points 122 adjacent to the current explanation point 106 in the matrix 122 =122-7×16=10;

[0077] The number of columns n of the explanation points 123 adjacent to the current explanation point 106 in the matrix 123 =123-7×16=11;

[0078] According to the above results, the voice broadcast contents of preset numbers 1061, 1062, 1063, 1064, 1065, 1066, 1067, and 1068 are j Represents the number of rows in the matrix of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point, n j represents the number of columns in the matrix of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point, m 106 represents the row number of the current explanation point 106 in the matrix, n 106represents the column number of the current explanation point 106 in the matrix, specifically as follows:

[0079] When m j Less than m 106 、n j Less than n 106 When the number is 1061, it can be determined that the tourist is coming from the upper left direction, and the voice announcement content numbered 1061 is preset to play the upper left direction tour path;

[0080] When m j Less than m 106 、n j Equal to n 106 When the number is 1062, it can be determined that the tourist is coming from the upward direction, and the voice announcement content numbered 1062 is preset to play the corresponding upward direction tour path;

[0081] When m j Less than m 106 、n j Greater than n 106 When the number is 1063, it can be determined that the tourist is coming from the upper right direction, and the voice announcement content numbered 1063 is preset to play the upper right direction tour path;

[0082] When m j Equal to m 106 、n j Less than n 106 When the number is 1064, it can be determined that the tourist is coming from the left direction, and the voice announcement content numbered 1064 corresponding to the left direction tour path is preset;

[0083] When m j Equal to m 106 、n j Greater than n 106 When the number is 1065, it can be determined that the tourist is coming from the right direction, and the voice announcement content numbered 1065 is preset to play corresponding to the right direction tour path;

[0084] When m j Greater than m 106 、n j Less than n 106 When the number is 1066, it can be determined that the tourist is coming from the lower left direction, and the voice announcement content numbered 1066 corresponding to the lower left direction tour path is preset;

[0085] When m j Greater than m 106 、n j Equal to n 106 When the number is 1067, it can be determined that the tourist is coming from the downward direction, and the voice announcement content numbered 1067 is preset to play the corresponding downward direction tour path;

[0086] When m j Greater than m 106 、n j Greater than n 106 When the number is 1068, it can be determined that the tourist is coming from the lower right direction, and the voice announcement content numbered 1068 is preset to play the corresponding lower right direction tour path;

[0087] It should be noted that this situation is applicable to the case where there are at most 8 paths to reach one of the explanation points. If there are more than 8, the number of tour paths to reach each of the explanation points can be limited to no more than 8 by reducing the matrix ratio, reducing the distance between sub-matrices, and increasing the number of sub-matrices.

[0088] According to the beacon ID of the previous explanation point and the beacon ID of the current explanation point, the step of calculating the positional relationship between the previous explanation point and the current explanation point in the matrix comprises:

[0089] According to the beacon ID of the previous explanation point and the beacon ID of the current explanation point, the number of rows of the previous explanation point in the matrix and the number of rows of the current explanation point in the matrix are calculated, and the number of rows of the previous explanation point in the matrix and the number of rows of the current explanation point in the matrix are compared to obtain a row number comparison result; according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point, the number of columns of the previous explanation point in the matrix and the number of columns of the current explanation point in the matrix are calculated, and the number of columns of the previous explanation point in the matrix and the number of columns of the current explanation point in the matrix are compared to obtain a column number comparison result; according to the obtained row number comparison result and column number comparison result, the positional relationship between the previous explanation point and the current explanation point in the matrix is ​​determined.

[0090] The number of rows m of the previous explanation point in the matrix i = beacon ID of the previous explanation point / n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, wherein, when the value of beacon ID / n of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m i ;

[0091] The number of rows m of the current explanation point in the matrix j = beacon ID of the current explanation point / n, n is the number of columns of the matrix, j is the beacon ID of the current explanation point, wherein, when the value of the beacon ID / n of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m j ;

[0092] The number of columns n of the previous explanation point in the matrix i= beacon ID of the previous explanation point - (m i -1)×n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, m i is the row number of the previous explanation point in the matrix, wherein when the value of the beacon ID / m of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n i ;

[0093] The number of columns n of the current explanation point in the matrix j = beacon ID of the previous explanation point - (m j -1)×n, n is the number of rows in the matrix, j is the beacon ID of the current explanation point, m j is the row number of the current explanation point in the matrix, wherein when the value of the beacon ID / m of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n j .

[0094] According to the positional relationship between the previous explanation point and the current explanation point in the matrix, the step of determining the current tour path and playing the corresponding voice broadcast content specifically includes:

[0095] According to the comparison result of the number of rows and the number of columns of the previous explanation point and the current explanation point in the matrix, the direction of the current tour path is determined and the corresponding voice broadcast content is played;

[0096] For example, according to the above preset content, there are 8 tour paths to the explanation point 106 shown, the beacon ID of the current explanation point where the user is currently located is 106, and the user arrives at the current explanation point 106 from the previous explanation point with a beacon ID of 89 according to the tour path, that is, the user first passes through the previous explanation point, obtains a beacon ID of 89, and departs according to the tour path to the explanation point with a beacon ID of 106, arrives at the current explanation point with a beacon ID of 106, obtains a beacon ID of 106, determines the position relationship according to the received beacon ID of the previous explanation point and the beacon ID of the current explanation point, and obtains the row number m of the current explanation point 106 in the matrix 106 =106 / 16=7, the number of columns n of the current explanation point 106 in the matrix 106 =106-6×16=10; the number of rows m of the previous explanation point 89 in the matrix 89 =89 / 16=6, the number of columns n in the matrix of the previous explanation point 89 89 =89-5×16=9, and the row number comparison result is m 89 Less than m 106, the column number comparison result is n 89 Less than n 106 According to the preset conditions, it is determined that the user comes from the upper left direction of the tour path, and the preset voice broadcast content numbered 1061 corresponding to the upper left direction of the tour path is broadcast.

[0097] Embodiment 2: This embodiment further provides a technical solution, wherein this embodiment differs from Embodiment 1 in the following aspects:

[0098] The step of calculating different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point comprises:

[0099] The beacon ID of the current explanation point is compared with the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point to obtain a plurality of size comparison results. According to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, the number of rows of the current explanation point in the matrix and the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are respectively calculated. The number of rows of the current explanation point in the matrix and the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are respectively compared to obtain a plurality of row number comparison results. According to the size comparison results and the row number comparison results corresponding to the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, different positional relationships between the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix are determined.

[0100] Specifically, the number of rows of the current explanation point in the matrix is ​​m i = the beacon ID of the current explanation point / n, where n is the number of columns of the matrix, and i is the beacon ID of the current explanation point. When the value of the beacon ID / n of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m i ;

[0101] The number of rows m of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix j= beacon ID of a point adjacent to the current explanation point on different tour paths leading to the current explanation point / n, where n is the number of columns of the matrix, and j is the beacon ID of a point adjacent to the current explanation point on different tour paths leading to the current explanation point, wherein when the value of beacon ID / n of a point adjacent to the current explanation point on different tour paths leading to the current explanation point has decimal places, the integer is rounded up to 1 to obtain the integer m j .

[0102] After obtaining the row numbers of the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point according to the above calculation method, compare the row number of the current explanation point with the row number of the explanation points adjacent to the explanation point on each different tour path to the current explanation point to obtain a plurality of row number comparison results, and then compare the beacon ID of the explanation point with the size of the beacon ID of each explanation point adjacent to the explanation point on different tour paths to the current explanation point to obtain a plurality of size comparison results, determine the corresponding positional relationship according to the row number comparison result and the size comparison result corresponding to the beacon ID of the current explanation point and the beacon ID of the explanation point adjacent to the current explanation point on different tour paths to the current explanation point, determine different positional relationships according to different row number comparison results and the size comparison results corresponding to the beacon ID of the current explanation point and the beacon ID of the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, distinguish the tour paths in different directions according to different positional relationships and preset the voice broadcast content corresponding to the tour paths in different directions;

[0103] In this embodiment, the size of the beacon ID is compared first and then the number of rows is compared for distinction. In other embodiments, the number of rows may be compared first and then the size of the beacon ID may be compared, for example. Figure 2 As shown, it is a 16×16 sub-matrix matrix. According to the above steps, a beacon ID is set on each of the sub-matrices, wherein the explanation points with beacon IDs of 90, 105, 106, 107, and 122 all fall on the sub-matrix. Taking explanation point 106 as the current explanation point as an example, the current explanation point 106 refers to the current explanation point with beacon ID 106, and the following description is made:

[0104] There are 4 different tour paths to reach the current explanation point 106. The current explanation point 106 refers to the current explanation point with a beacon ID of 106. On the 4 different tour paths, the beacon IDs of the explanation points adjacent to the current explanation point 106 are 90, 105, 107, and 122, respectively, corresponding to the voice broadcast contents numbered 1061, 1062, 1063, and 1064, respectively.

[0105] The number of rows m of the current explanation point 106 in the matrix 106 =106 / 16=7;

[0106] The number of rows m of the explanation points 90 adjacent to the current explanation point 106 in the matrix 90 =90 / 16=6;

[0107] The number of rows m of the explanation points 105 adjacent to the current explanation point 106 in the matrix 105 =105 / 16=7;

[0108] The number of rows m of the explanation points 107 adjacent to the current explanation point 106 in the matrix 107 =107 / 16=7;

[0109] The number of rows m of the explanation points 122 adjacent to the current explanation point 106 in the matrix 122 =122 / 16=8;

[0110] According to the above results, the voice broadcast contents with preset numbers 1061, 1062, 1063, and 1064 are as follows: j is the row number of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix, j is the beacon ID of the explanation point adjacent to the current explanation point on different tour paths to the current explanation point, m 106 is the row number of the current explanation point 106 in the matrix, specifically as follows:

[0111] When the beacon ID of the adjacent explanation point is smaller than the beacon ID of the explanation point, that is, 106, and m j Less than m 106 When the tourist is judged to be coming from the upper direction, the voice announcement content numbered 1061 corresponding to the upper left direction tour path is preset. Otherwise, if m j Not less than m 106 , it can be judged that the tourist is coming from the left direction, and the voice broadcast content numbered 1062 corresponding to the tour path in the left direction is preset. When the beacon ID of the explanation point adjacent to the explanation point is greater than the beacon ID of the explanation point, that is, 106, and mj Greater than m 106 When it is greater than , it can be judged that the tourist is coming from the downward direction, and the voice broadcast content numbered 1064 corresponding to the tour path in the downward direction is preset; otherwise, if it is not greater than , it is judged that the tourist is coming from the right direction, and the voice broadcast content numbered 1063 corresponding to the tour path in the right direction is preset;

[0112] The preset steps are thus completed. It should be noted that this situation is applicable to a situation where there are at most 4 tour paths to reach one of the explanation points. If there are more than 4, the matrix ratio can be reduced. The distance between sub-matrices can be reduced and the number of sub-matrices can be increased to ensure that the number of tour paths to each of the explanation points does not exceed 4.

[0113] The step of calculating the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point comprises:

[0114] Compare the beacon ID of the current explanation point with the beacon ID of the previous explanation point to obtain a beacon ID size comparison result, calculate the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, compare the number of rows of the current explanation point in the matrix with the number of rows of the previous explanation point in the matrix to obtain a row number comparison result, and determine the positional relationship between the current explanation point and the previous explanation point in the matrix according to the size comparison result and the row number comparison result;

[0115] The number of rows m of the previous explanation point in the matrix i = beacon ID of the previous explanation point / n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, wherein, when the value of beacon ID / n of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m i ;

[0116] The number of rows m of the current explanation point in the matrix j = beacon ID of the current explanation point / n, n is the number of columns of the matrix, j is the beacon ID of the current explanation point, wherein, when the value of the beacon ID / n of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m j ;

[0117] After the positional relationship between the previous explanation point and the current explanation point in the matrix is ​​obtained according to the above calculation steps, the current tour path is determined and the corresponding voice broadcast content is played; for example: according to the above preset content and the above calculation method, there are 4 tour paths to the current explanation point 106 shown, the beacon ID of the current explanation point where the user is located is 106, and the user arrives at the current explanation point 106 according to the tour path from the previous explanation point with a beacon ID of 90, that is, the user first passes through the previous explanation point, obtains a beacon ID of 90, and departs according to the tour path to the explanation point with a beacon ID of 106, arrives at the current explanation point with a beacon ID of 106, obtains a beacon ID of 106, determines the positional relationship according to the received beacon ID of the previous explanation point and the beacon ID of the current explanation point, and obtains the row number m of the previous explanation point 90 in the matrix. 90 =90 / 16=6, according to the tour path to the current explanation point 106, the number of rows m of the current explanation point 106 in the matrix is ​​obtained 106 =106 / 16=7, we get: m 90 Greater than m 106 , the beacon ID of the previous explanation point is smaller than the beacon ID of the current explanation point; according to the preset content, it is determined that the user is coming from the upward direction, and the voice broadcast content numbered 1061 corresponding to the upward tour path is played.

[0118] Embodiment 3: This embodiment further provides a technical solution, wherein this embodiment differs from Embodiment 1 and Embodiment 2 in the following ways:

[0119] The step of calculating different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point comprises:

[0120] The beacon ID of the current explanation point is compared with the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point to obtain a plurality of size comparison results; the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point in the matrix are respectively calculated according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point; the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are respectively compared to obtain a plurality of column number comparison results; different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix are determined according to the corresponding size comparison results and column number comparison results of the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point.

[0121] Specifically, the number of columns n of the current explanation point in the matrix i = the beacon ID of the current teaching point - (m i -1) ×n, n is the number of columns of the matrix, i is the beacon ID of the current explanation point, m i is the row number of the current explanation point in the matrix, wherein when the value of the beacon ID / m of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n i ;

[0122] The number of columns n of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix j = beacon ID of the explanation point adjacent to the current explanation point on different tour paths leading to the current explanation point - (m j -1)×n, n is the number of columns of the matrix, j is the beacon ID of the explanation point adjacent to the current explanation point on different tour paths to the current explanation point, m j is the number of rows in the matrix of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point, wherein when the value of the beacon ID / m of the explanation point adjacent to the current explanation point on different tour paths to the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n j .

[0123] According to the above calculation method, the column numbers of the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix are obtained, and the column numbers of the current explanation point and the explanation points adjacent to the explanation point on each different tour path to the current explanation point are compared to obtain a plurality of column number comparison results. Then, a plurality of size comparison results are obtained by using the beacon ID of the explanation point and the size of the beacon ID of each explanation point adjacent to the explanation point on different tour paths to the current explanation point. The position relationship is obtained according to the column number comparison result and size comparison result corresponding to the beacon ID of the current explanation point and the beacon ID of the explanation point adjacent to the current explanation point on different tour paths to the current explanation point. Different position relationships are determined according to different column number comparison results and size comparison results corresponding to the beacon ID of the current explanation point and the beacon ID of the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point. According to different position relationships, tour paths in different directions are distinguished and voice broadcast contents corresponding to tour paths in different directions are preset.

[0124] In this embodiment, the beacon ID size is compared first and then the column size is compared to distinguish. In other embodiments, the column size can be compared first and then the beacon ID size can be compared, for example. Figure 2 As shown, it is a 16×16 sub-matrix matrix. According to the above steps, a beacon ID is set on each of the sub-matrices. Among them, the explanation points with beacon IDs of 90, 105, 106, 107, and 122 all fall on the sub-matrix. Taking the explanation point 106 as an example, the following description is given:

[0125] There are 4 different tour paths to reach the current explanation point 106. The current explanation point 106 refers to the current explanation point with a beacon ID of 106. On these 4 different tour paths, the beacon IDs of the explanation points adjacent to the current explanation point 106 are 90, 105, 107, and 122, respectively, corresponding to the voice broadcast contents numbered 1061, 1062, 1063, and 1064, respectively.

[0126] The number n of columns of the current explanation point 106 in the matrix 106 =106-6×16=10;

[0127] The number of columns n of the explanation points 90 adjacent to the current explanation point 106 in the matrix 90 =90-5×16=10;

[0128] The number of columns n of the explanation points 105 adjacent to the current explanation point 106 in the matrix 105=105-6×16=9;

[0129] The number of columns n of the explanation points 107 adjacent to the current explanation point 106 in the matrix 107 =107-6×16=11;

[0130] The number of columns n of the explanation points 122 adjacent to the current explanation point 106 in the matrix 122 =122-7×16=10;

[0131] According to the above results, the voice broadcast contents numbered 1061, 1062, 1063, and 1064 are preset, that is, the beacon ID size comparison result is obtained according to the beacon ID of the current explanation point and the beacon ID of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point, and then the column numbers of the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix are compared to obtain the column number comparison result, and the direction of the tour path is preset and determined according to the beacon ID size comparison result and the column number comparison result and the corresponding voice broadcast content is preset;

[0132] For example, the following preset is made, where n j represents the column number of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix, j is the beacon ID of the explanation point adjacent to the current explanation point on different tour paths to the current explanation point, n 106 Indicates the number of columns of the current explanation point 106:

[0133] The beacon ID of the explanation point adjacent to the current explanation point 106 is smaller than the current beacon ID of the explanation point, i.e., 106, and n j Less than n 106 When the tourist is judged to be coming from the upward direction, the voice announcement content numbered 1061 corresponding to the upward tour path is preset. Otherwise, if n j Not less than n 106 , it is determined that the tourist is coming from the left direction, and the voice broadcast content numbered 1062 corresponding to the tour path in the left direction is preset; when the beacon ID of the explanation point adjacent to the explanation point is greater than the beacon ID of the explanation point, that is, 106, and n j Greater than n 106 When the number is greater than 1064, it is determined that the tourist is coming from the downward direction, and the voice broadcast content numbered 1064 corresponding to the tour path in the downward direction is preset. Otherwise, if the number is not greater than 1064, it can be determined that the tourist is coming from the right direction, and the voice broadcast content numbered 1063 corresponding to the tour path in the right direction is preset.

[0134] The preset steps are completed in this way. It should be noted that this situation is applicable to reaching one of the explanation points. There are at most 4 tour paths. If there are more than 4, the matrix ratio can be reduced. The distance between sub-matrices can be reduced and the number of sub-matrices can be increased to ensure that the number of tour paths to each of the explanation points does not exceed 4.

[0135] The step of calculating the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point comprises:

[0136] Compare the beacon ID of the current explanation point with the beacon ID of the previous explanation point to obtain a comparison result of the beacon ID size, calculate the number of columns of the current explanation point and the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, compare the number of columns of the current explanation point in the matrix with the number of columns of the previous explanation point in the matrix to obtain a column number comparison result, and determine the positional relationship between the current explanation point and the previous explanation point in the matrix according to the size comparison result and the column number comparison result;

[0137] The number of columns n of the previous explanation point in the matrix i = beacon ID of the previous explanation point - (m i -1)×n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, m i is the row number of the previous explanation point in the matrix, wherein when the value of the beacon ID / m of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n i ;

[0138] The number of columns n of the current explanation point in the matrix j = beacon ID of the previous explanation point - (m j -1)×n, n is the number of rows in the matrix, j is the beacon ID of the current explanation point, m j is the row number of the current explanation point in the matrix, wherein when the value of the beacon ID / m of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n j .

[0139] According to the positional relationship between the last explanation point and the current explanation point in the matrix, the current tour path is determined and the corresponding voice broadcast content is played.

[0140] For example, according to the above preset, there are 4 tour paths to the explanation point 106, and the user is currently at the explanation point 90. According to the current tour path to the current explanation point 106, the row number of the current explanation point 106 in the matrix is ​​m. 106 =106 / 16=7, the number of columns n of the current explanation point 106 in the matrix 106 =106-6×16=10; the number of rows m of the previous explanation point 90 in the matrix 90 =90 / 16=6, the number of columns n in the matrix of the previous explanation point 89 89 =90-5×16=10, we get: the beacon ID of the previous explanation point is smaller than the beacon ID of the current explanation point, n 90 Less than n 106 According to the preset content, it is determined that the user is coming from the upward direction, and the voice broadcast content numbered 1061 is played.

[0141] The invention discloses a voice broadcast method, which determines the direction of the current tour path and plays the corresponding voice broadcast content according to the positional relationship between the last explanation point and the current explanation point in the matrix; this is because some explanation points have different tour paths, and in order to increase the user experience, the scenery seen on different routes is different, and different contents should be explained. Therefore, according to the actual scene of the target area, i.e. the scenic spot, the invention sets sub-matrices arranged in the form of a matrix, installs a beacon ID on each sub-matrix, and periodically broadcasts the explanation point beacon ID. When tourists walk to the scenic spot, they will receive the explanation point ID signal, and the direction of the current tour path is determined by judging the positional relationship of the adjacent explanation points on the path and the size of the beacon ID, and the voice broadcast content corresponding to the tour path is played, that is, when the tourists arrive at the explanation point, the explanation machine is triggered to explain the voice broadcast content of the corresponding explanation point, and the highest quality explanation experience is completed with the lowest power consumption and cost.

[0142] In addition, because the beacon ID codes are encoded in ascending order, according to the above algorithm, we have also realized the judgment whether the tourists are entering or leaving the scenic area, and will play a welcome or farewell speech to enhance the explanation experience; and every time the user listens to the voice broadcast content of the explanation point, we will also lock the explanation point, that is, set a flag in the software, when the tourist passes by the scenic spot again, the explanation will not be repeated.

[0143] Based on the same inventive concept, the embodiment of the present invention further provides a voice broadcast system, and regarding the components, please refer to the above related descriptions, and the repeated parts will not be repeated, and the system includes the following modules:

[0144] An acquisition module is used to acquire the beacon ID of the previous explanation point and the beacon ID of the current explanation point in the target area, wherein the target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID;

[0145] A calculation module, which calculates the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point;

[0146] Determination module: Determine the corresponding voice broadcast content according to the positional relationship between the previous explanation point and the current explanation point in the matrix, wherein, when there are multiple tour paths to the current explanation point, different explanation points adjacent to the current explanation point on different tour paths have different positional relationships with the current explanation point, and different voice broadcast contents are preset according to the different positional relationships.

[0147] Based on the same inventive concept, an embodiment of the present invention also provides an electronic device. Regarding the components, please refer to the above-mentioned related descriptions, and the repeated parts will not be repeated here. It includes: at least one processor, and a memory that is communicatively connected to at least one of the processors; at least one of the processors is used to read the program in the memory to execute the above method.

[0148] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium. Regarding the components, please refer to the above-mentioned related descriptions, and the repeated parts will not be repeated. The medium stores instructions, and when the instructions are executed on the computer, the computer executes the above-mentioned method.

[0149] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.

Claims

1. A voice broadcast method, characterized in that: include: Obtain the beacon ID of the previous explanation point and the beacon ID of the current explanation point in the target area, wherein the target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID; Calculate the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point; Compare the beacon ID of the current explanation point with the beacon ID of the previous explanation point to obtain a size comparison result, calculate the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, compare the number of rows of the current explanation point in the matrix with the number of rows of the previous explanation point in the matrix to obtain a row number comparison result, and determine the positional relationship between the current explanation point and the previous explanation point in the matrix according to the size comparison result and the row number comparison result; Alternatively, the beacon ID of the current explanation point is compared with the beacon ID of the previous explanation point to obtain a size comparison result, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are calculated according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are compared to obtain a column number comparison result, and the positional relationship between the current explanation point and the previous explanation point in the matrix is ​​determined according to the size comparison result and the column number comparison result; Alternatively, according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are calculated respectively, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are compared to obtain a column number comparison result; according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix are calculated respectively, and the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix are compared to obtain a row number comparison result; and the positional relationship between the current explanation point and the previous explanation point in the matrix is ​​determined according to the obtained row number comparison result and column number comparison result; Among them, the calculation method of respectively calculating the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, and the calculation method of respectively calculating the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point include: The number of rows m of the previous explanation point in the matrix i = beacon ID of the previous explanation point / n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, wherein, when the value obtained by the beacon ID / n of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m i ; The number of rows m of the current explanation point in the matrix j = beacon ID of the current explanation point / n, n is the number of columns of the matrix, j is the beacon ID of the current explanation point, wherein when the value obtained by the beacon ID / n of the current explanation point has a decimal place, it is rounded up to an integer 1 to obtain an integer m j ; The number of columns n of the previous explanation point in the matrix i = beacon ID of the previous explanation point - (m i -1)×n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, m i is the row number of the previous explanation point in the matrix, wherein when the value of the beacon ID / m of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n i ; The number of columns n of the current explanation point in the matrix j = beacon ID of the previous explanation point - (m j -1)×n, n is the number of rows in the matrix, j is the beacon ID of the current explanation point, m j is the row number of the current explanation point in the matrix, wherein when the value of the beacon ID / m of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n j ; The corresponding voice broadcast content is determined according to the positional relationship between the previous explanation point and the current explanation point in the matrix, wherein, when there are multiple tour paths to reach the current explanation point, different explanation points adjacent to the current explanation point on different tour paths have different positional relationships with the current explanation point, and different voice broadcast contents are preset according to the different positional relationships.

2. The voice broadcast method according to claim 1, characterized in that: The target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID. The steps include: A submatrix with m rows and n columns arranged in matrix form is obtained in the target area, and the beacon IDs of the submatrix in the first row are set to 1, 2, 3, ..., n, respectively, and the beacon IDs of the submatrix in the second row are set to n+1, n+2, n+3, ..., 2n, respectively. The beacon IDs of the submatrix in each row are set in turn until the beacon IDs of the submatrix in the mth row are: (m-1)×n+1, (m-1)×n+2, ..., mn, respectively, to obtain a beacon ID matrix m×n of the submatrix, wherein each explanation point is located in one of the submatrices and corresponds to a beacon ID.

3. The voice broadcast method according to claim 1, characterized in that: According to the positional relationship between the previous explanation point and the current explanation point in the matrix, the corresponding voice broadcast content is determined, wherein when there are multiple tour paths to the current explanation point, different explanation points adjacent to the current explanation point on different tour paths have different positional relationships with the current explanation point, and different voice broadcast contents are preset according to different positional relationships, specifically including: According to the positional relationship between the current explanation point and the previous explanation point in the matrix, the different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point are compared with the preset different positional relationships in the matrix, and the tour path direction corresponding to the positional relationship between the current explanation point and the previous explanation point and the corresponding voice broadcast content are determined, wherein the preset process includes: obtaining the beacon ID of the current explanation point and the beacon IDs of all explanation points adjacent to the current explanation point on different tour paths to the current explanation point, calculating the different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of all explanation points adjacent to the current explanation point on different tour paths to the current explanation point, and presetting the voice broadcast content corresponding to the different positional relationships according to the different positional relationships.

4. The voice broadcast method according to claim 1, characterized in that: The beacon ID of the previous explanation point is the beacon ID of the previous explanation point, and the beacon ID of the current explanation point is the beacon ID of the explanation point adjacent to the previous explanation point reached from the previous explanation point in the direction of the tour route.

5. The voice broadcast method according to claim 3, characterized in that: The step of calculating different positional relationships between the current explanation point and the explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the beacon ID of the current explanation point and the beacon IDs of the explanation points adjacent to the current explanation point on different tour paths to the current explanation point comprises: Compare the beacon ID of the current explanation point with the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point to obtain multiple size comparison results; calculate the number of rows of the current explanation point in the matrix and the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point; compare the number of rows of the current explanation point in the matrix with the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point to obtain multiple row number comparison results; determine different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the size comparison results and row number comparison results corresponding to the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point; Alternatively, the beacon ID of the current explanation point is compared with the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point to obtain a plurality of size comparison results; the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point in the matrix are respectively calculated according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point; the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point are respectively compared to obtain a plurality of column number comparison results; different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point in the matrix are determined according to the corresponding size comparison results and column number comparison results of the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths leading to the current explanation point; Alternatively, according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are calculated respectively, and the number of columns of the current explanation point in the matrix and the number of columns of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are compared respectively to obtain multiple column number comparison results, and according to the beacon ID of the current explanation point and the beacon IDs of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point are calculated respectively. Calculate the number of rows of the current explanation point and the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix, respectively compare the number of rows of the current explanation point in the matrix with the number of rows of different explanation points adjacent to the current explanation point on different tour paths to the current explanation point, and obtain multiple row number comparison results; determine different positional relationships between the current explanation point and different explanation points adjacent to the current explanation point on different tour paths to the current explanation point in the matrix according to the obtained row number comparison results and column number comparison results corresponding to the current explanation point and the different explanation points adjacent to the current explanation point on different tour paths to the current explanation point.

6. A voice broadcast system, characterized in that: include: An acquisition module is used to acquire the beacon ID of the previous explanation point and the beacon ID of the current explanation point in the target area, wherein the target area corresponds to an m×n matrix, each sub-matrix corresponds to a beacon ID, and each explanation point is located in one of the sub-matrices and corresponds to a beacon ID; A calculation module, which calculates the positional relationship between the previous explanation point and the current explanation point in the matrix according to the beacon ID of the previous explanation point and the beacon ID of the current explanation point; Compare the beacon ID of the current explanation point with the beacon ID of the previous explanation point to obtain a size comparison result, calculate the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, compare the number of rows of the current explanation point in the matrix with the number of rows of the previous explanation point in the matrix to obtain a row number comparison result, and determine the positional relationship between the current explanation point and the previous explanation point in the matrix according to the size comparison result and the row number comparison result; Alternatively, the beacon ID of the current explanation point is compared with the beacon ID of the previous explanation point to obtain a size comparison result, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are calculated according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are compared to obtain a column number comparison result, and the positional relationship between the current explanation point and the previous explanation point in the matrix is ​​determined according to the size comparison result and the column number comparison result; Alternatively, according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are calculated respectively, and the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix are compared to obtain a column number comparison result; according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix are calculated respectively, and the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix are compared to obtain a row number comparison result; and the positional relationship between the current explanation point and the previous explanation point in the matrix is ​​determined according to the obtained row number comparison result and column number comparison result; Among them, the calculation method of respectively calculating the number of rows of the current explanation point in the matrix and the number of rows of the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point, and the calculation method of respectively calculating the number of columns of the current explanation point in the matrix and the number of columns of the previous explanation point in the matrix according to the beacon ID of the current explanation point and the beacon ID of the previous explanation point include: The number of rows m of the previous explanation point in the matrix i = beacon ID of the previous explanation point / n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, wherein, when the value of beacon ID / n of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m i ; The number of rows m of the current explanation point in the matrix j = beacon ID of the current explanation point / n, n is the number of columns of the matrix, j is the beacon ID of the current explanation point, wherein, when the value of the beacon ID / n of the current explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer m j ; The number of columns n of the previous explanation point in the matrix i = beacon ID of the previous explanation point - (m i -1)×n, n is the number of columns of the matrix, i is the beacon ID of the previous explanation point, m i is the row number of the previous explanation point in the matrix, wherein when the value of the beacon ID / m of the previous explanation point has decimal places, it is rounded up to an integer of 1 to obtain an integer n i ; The number of columns n of the current explanation point in the matrix j = beacon ID of the previous explanation point - (m j -1)×n, n is the number of rows in the matrix, j is the beacon ID of the current explanation point, m j is the row number of the current explanation point in the matrix, wherein when the beacon ID of the current explanation point / If the value of m has decimal places, it is rounded up to 1 to get the integer n j ; Determination module: Determine the corresponding voice broadcast content according to the positional relationship between the previous explanation point and the current explanation point in the matrix, wherein, when there are multiple tour paths to the current explanation point, different explanation points adjacent to the current explanation point on different tour paths have different positional relationships with the current explanation point, and different voice broadcast contents are preset according to the different positional relationships.

7. An electronic device, characterized in that: include: at least one processor, and a memory communicatively coupled to at least one of the processors; At least one of the processors is used to read the program in the memory to execute the method as claimed in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: The medium stores instructions, and when the instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Intelligent guider interpretation system and its operating method

    CN101018062A

  • Intelligent traveling method and system

    CN107967657A