WO2018039965A1 - Method for acquiring position information, magnetic field beacon apparatus, and terminal device - Google Patents
Method for acquiring position information, magnetic field beacon apparatus, and terminal device Download PDFInfo
- Publication number
- WO2018039965A1 WO2018039965A1 PCT/CN2016/097508 CN2016097508W WO2018039965A1 WO 2018039965 A1 WO2018039965 A1 WO 2018039965A1 CN 2016097508 W CN2016097508 W CN 2016097508W WO 2018039965 A1 WO2018039965 A1 WO 2018039965A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- magnetic field
- beacon device
- field beacon
- terminal device
- characteristic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method for acquiring location information, a magnetic field beacon device, and a terminal device.
- the terminal devices are capable of supporting positioning technologies such as electronic compass functions.
- the user can use the earth's own magnetic field to realize the positional positioning, that is, the terminal device is placed at a certain point in the air, and then the geomagnetic sensor and the intensity of the current position of the terminal device are determined by the geomagnetic sensor disposed inside the terminal device, and the transformation operation is performed. Further, the deflection angle of the terminal with respect to the geomagnetic direction is obtained. In this way, the geomagnetic sensor can be used to realize the electronic compass function, thereby completing the positional positioning of the terminal.
- the terminal device In the actual application process, there will be external electronic devices such as computer equipment, electric equipment, and magnetic components, and these devices will generate electromagnetic disturbances. At this time, the above method will be caused by the presence of large devices around the terminal equipment.
- the interference makes the terminal device unable to sense the Earth's own magnetic field; in addition, due to the penetration loss of the building, the terminal device cannot sense the Earth's own magnetic field in the indoor scene.
- the invention provides a method for acquiring position information, a magnetic field beacon device and a terminal device, which can solve the problem that the terminal device cannot perform the subsequent position due to the inability to sense the earth's own magnetic field by setting a magnetic field beacon device capable of generating a magnetic field. Problems with positioning and other operations.
- an embodiment of the present invention provides a method for acquiring location information.
- the method comprises: the terminal device inducing a magnetic field generated by the magnetic field beacon device, acquiring a magnetic field characteristic of the magnetic field, and acquiring the identification of the magnetic field beacon device according to the magnetic field characteristic, and then acquiring the position of the magnetic field beacon device according to the identification and the corresponding relationship.
- the magnetic field is characterized in the time dimension
- the terminal device correspondence relationship is the correspondence between the identification and the position of the magnetic field beacon device. It can be seen that the present invention can be provided with a magnetic field beacon device capable of generating an artificial magnetic field.
- the user can control the magnetic field characteristics of the magnetic field generated by the same magnetic field beacon device at different times by controlling the input parameters of the magnetic field beacon device, that is, Generate a controlled and variable magnetic field to change the magnetic field characteristics at different times.
- the identity of the magnetic field beacon device can be determined by acquiring the magnetic field characteristics of the magnetic field to determine the position of the magnetic field beacon device. Therefore, it is possible to solve the problem that the terminal device cannot perform the subsequent positional positioning and the like due to the inability to sense the earth's own magnetic field by providing a magnetic field beacon device that can generate a magnetic field.
- the terminal device acquires the identifier of the magnetic field beacon device according to the magnetic field characteristic, and specifically, the terminal device determines the information coding sequence used by the magnetic field beacon device to transmit the magnetic field characteristic according to the magnetic field characteristic, and then according to the information.
- the coding sequence acquires the identity of the magnetic field beacon device. It can be seen that the introduced information coding sequence can be used as a reference for effectively distinguishing the artificial magnetic field from other magnetic fields, considering that the information coding sequence can carry the input parameters of the magnetic field beacon device, and therefore, the terminal device deducts the information coding sequence according to the magnetic field characteristics. It is also possible to obtain a representation of the magnetic field beacon device from which the position of the magnetic field beacon device can be accurately determined.
- the information coding sequence may include a signal carrying a magnetic field signature and a silence signal indicating that the current magnetic field beacon device does not generate a magnetic field.
- the signal carrying the magnetic field characteristic is interleaved with the silence signal. This makes it possible to avoid interference of other electromagnets in the space with the magnetic field characteristics transmitted by the magnetic field beacon device, and to cause the terminal to determine the identity of the magnetic field beacon device based on the interlaced signals.
- the terminal device acquires the identifier of the magnetic field beacon device according to the information coding sequence, which may be implemented by: the terminal device is adjacent to the signal carrying the magnetic field characteristic and the signal carrying the magnetic field characteristic. The next silence signal is subjected to a differential operation to obtain the identification of the magnetic field beacon device. It can be seen that the transmission mode of the above magnetic field feature can effectively avoid interference of other electromagnetic objects in the space on the magnetic field characteristics transmitted by the magnetic field beacon device. The terminal device can then be based on a digital building structure The identification of each of the magnetic field beacon devices to determine the position of the magnetic field beacon device that transmits the magnetic field characteristics.
- the terminal device can determine the location of the terminal device based on the location of the magnetic field beacon device. Considering the number of magnetic field beacon devices, it also affects the process by which the terminal device locates itself. Therefore, when the number of magnetic field beacon devices is one, the terminal device determines the location of the magnetic field beacon device as the location of the terminal device; when the number of magnetic field beacon devices is two, the magnetic field beacon device includes the first magnetic field signal.
- the terminal device determines the signal strength of the first magnetic field beacon device according to the magnetic field characteristic of the first magnetic field beacon device, and determines the second magnetic field according to the magnetic field characteristic of the second magnetic field beacon device The signal strength of the beacon device, and then determining the position of the terminal device according to the difference between the signal strength of the first magnetic field beacon device and the signal strength of the second magnetic field beacon device; when the number of magnetic field beacon devices is three, the magnetic field The beacon device includes a first magnetic field beacon device, a second magnetic field beacon device, and a third magnetic field beacon device, and the terminal device determines a signal strength of the first magnetic field beacon device according to a magnetic field characteristic of the first magnetic field beacon device, and Determining a signal strength of the second magnetic field beacon device according to a magnetic field characteristic of the second magnetic field beacon device, and according to a magnetic field characteristic of the third magnetic field beacon device, Determining the signal strength of the third magnetic field beacon device, and then determining the terminal according to the magnitude relationship between the signal strength of the first
- the present invention provides a method of acquiring location information, the method comprising: a magnetic field beacon device generating a magnetic field signature based on an input parameter, the input parameter including a parameter for indicating a location of the magnetic field beacon device, and a magnetic field beacon
- the hardware sequence identification code of the device, the magnetic field characteristic is a three-axis spatial magnetic induction intensity value in a time dimension; the magnetic field beacon device generates a magnetic field by using the magnetic field characteristic, and the magnetic field is used for the terminal device to perform magnetic field induction and acquire the magnetic field characteristic of the magnetic field beacon device.
- the magnetic field beacon device generates a magnetic field characteristic according to the input parameter, and specifically can be realized as: the magnetic field beacon device generates the information coding sequence by digitally encoding the input parameter, and converts the information coding sequence into the magnetic field characteristic.
- the information coding sequence may include a signal carrying a magnetic field signature and a silence signal indicating that the current magnetic field beacon device does not generate a magnetic field.
- the signal carrying the magnetic field characteristic is interleaved with the silence signal.
- the magnetic field beacon device converts the information coding sequence into a magnetic field characteristic, and specifically, the magnetic field beacon device encodes the information by controlling at least one of a current, a coil, a power-on time, and a power-on interval.
- the sequence is converted to a magnetic field characteristic.
- the above mentioned parameters can be used as parameters for controlling the input of the magnetic field characteristics, and also as a necessary condition for the controllable artificial magnetic field. It is precisely because the staff can adjust the magnetic field characteristics of the magnetic field beacon device in real time according to actual needs, so that the terminal device can perceive the artificial magnetic field generated by the invention without external interference, thereby effectively positioning the magnetic field beacon.
- the location of the device which in turn determines the location of the terminal device.
- the present invention provides a terminal device.
- the terminal device is used to complete the functions performed by the terminal device in the example of the foregoing method, and the function may be implemented by using hardware or by executing corresponding software through hardware.
- the hardware or software includes at least one module corresponding to the above functions.
- the terminal device includes a processor and a transceiver configured to support the terminal device to perform a corresponding function in the above method.
- the transceiver is for supporting communication between the terminal device and the magnetic field beacon device.
- the terminal device can also include a memory for coupling with the processor that retains the program instructions and data necessary for the terminal device.
- the present invention provides a magnetic field beacon device.
- the magnetic field beacon device is used to perform the functions performed by the host in the above method example, and the function may be implemented by hardware or by executing corresponding software by hardware.
- the hardware or software includes at least one module corresponding to the above functions.
- the magnetic beacon device includes a processor and a transceiver configured to support the device to perform the corresponding functions of the above methods.
- the transceiver is for supporting communication between the magnetic field beacon device and the terminal device.
- the magnetic field beacon device can also include a memory for coupling with the processor that holds the necessary program instructions and data for the magnetic field beacon device.
- the method for acquiring position information, the magnetic field beacon device and the terminal device provided by the present invention can set a magnetic field beacon device capable of generating an artificial magnetic field compared with the prior art process for realizing positional positioning by using the earth's own magnetic field.
- the user can control the magnetic field characteristics of the magnetic field generated by the same magnetic field beacon device at different times by controlling the input parameters of the magnetic field beacon device, that is, by generating a controlled and variable magnetic field to change the magnetic field characteristics at different moments.
- the identity of the magnetic field beacon device can be determined by acquiring the magnetic field characteristics of the magnetic field to determine the position of the magnetic field beacon device. Therefore, it is possible to solve the problem that the terminal device cannot perform the subsequent positional positioning and the like due to the inability to sense the earth's own magnetic field by providing a magnetic field beacon device that can generate a magnetic field.
- FIG. 1 is a flowchart of a method for acquiring location information according to an embodiment of the present invention
- FIGS. 2 and 3 are flowcharts of another method for acquiring location information according to an embodiment of the present invention.
- FIG. 4 is a schematic circuit diagram of a magnetic field beacon apparatus according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of connection between a magnetic induction coil and a power supply unit according to an embodiment of the present invention
- 6 to 10 are flowcharts of another method for acquiring location information according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram of a positional relationship between three magnetic field beacon devices and a terminal according to an embodiment of the present invention.
- FIG. 12 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
- FIG. 13 is a schematic structural diagram of a magnetic field beacon apparatus according to an embodiment of the present invention.
- FIG. 14 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure.
- FIG. 15 is a schematic structural diagram of another magnetic field beacon apparatus according to an embodiment of the present invention.
- Embodiments of the present invention can be used in a communication network system including a magnetic field beacon device and a terminal device in a communication network system.
- the terminal device in combination with the building structure map that has been digitized, can determine the current location based on the magnetic field strength issued by all the magnetic field beacon devices for a certain period of time.
- the magnetic field beacon device may be disposed in advance at various positions within the area covered by the architectural structure diagram, and each magnetic field beacon device is set to have a certain difference in longitude, latitude, and altitude.
- An embodiment of the present invention provides a method for acquiring location information. As shown in FIG. 1 , the method is implemented by the magnetic field beacon device and the terminal device. The method includes:
- the magnetic field beacon device generates a magnetic field characteristic according to the input parameter.
- the input parameters include parameters for indicating the location of the magnetic field beacon device, and the hardware sequence identification code of the magnetic field beacon device, the magnetic field characteristics being in the time dimension Three-axis spatial magnetic induction value.
- the parameter indicating the position of the magnetic field beacon device may be the longitude, latitude and altitude information of the position where the magnetic field beacon device is located, or other position that can be used to indicate the position of the magnetic field beacon device.
- the parameter of the hardware sequence identification code used to represent the magnetic field beacon device is unique, that is, each magnetic field beacon device has a unique hardware sequence identification code and is different from the hardware sequence identification code of other magnetic field beacon devices.
- the magnetic field beacon device generates a magnetic field using magnetic field characteristics.
- the magnetic field is used for the terminal device to perform magnetic field induction and acquire the magnetic field characteristics of the magnetic field beacon device.
- the terminal device senses a magnetic field generated by the magnetic field beacon device to acquire a magnetic field characteristic of the magnetic field.
- the magnetic field is characterized by a three-axis spatial magnetic induction value in the time dimension.
- a magnetic field detecting sensor capable of detecting a magnetic field characteristic may be disposed inside the terminal device, such as a magnetic sensor integrated in the terminal, and then the terminal device may receive magnetic field characteristics transmitted from the magnetic field beacon device and other devices capable of generating a magnetic field. That is, the value of the three-axis spatial magnetic induction in the time dimension, that is, the values of X, Y, and Z, which can be detected by the position of the terminal.
- the terminal device acquires an identifier of the magnetic field beacon device according to the magnetic field characteristic.
- the terminal device acquires a location of the magnetic field beacon device according to the identifier and the corresponding relationship.
- the correspondence relationship is a correspondence between the identifier and the position of the magnetic field beacon device.
- the processed structural building map may also be pre-stored locally in the terminal device, so that the terminal device determines the location of the magnetic field beacon device according to the collected data, and subsequently determines the location of the terminal device.
- the invention can be provided with a magnetic field beacon device capable of generating an artificial magnetic field, and the user can control the same magnetic field beacon device by controlling the input parameters of the magnetic field beacon device.
- the magnetic field characteristics of the magnetic field generated at the moment that is, by generating a controlled and variable magnetic field, change the magnetic field characteristics at different times.
- the identity of the magnetic field beacon device can be determined by acquiring the magnetic field characteristics of the magnetic field to determine the position of the magnetic field beacon device. Therefore, it is possible to solve the problem that the terminal device cannot perform the subsequent positional positioning and the like due to the inability to sense the earth's own magnetic field by providing a magnetic field beacon device that can generate a magnetic field.
- a specific implementation manner of determining a magnetic field beacon device according to a magnetic field characteristic is provided. On the basis of the implementation manner shown in FIG. 1 , it can also be implemented as shown in FIG. 2 .
- the magnetic field beacon device of step 101 generates a magnetic field characteristic according to the input parameter, which may be specifically implemented as step 1011 and step 1012.
- the terminal device acquires the identifier of the magnetic field beacon device according to the magnetic field characteristic, which may be specifically implemented as step 1041 and step 1042.
- the magnetic field beacon device generates an information coding sequence by digitally encoding the input parameters.
- the magnetic field beacon device converts the information coding sequence into a magnetic field characteristic.
- the terminal device determines, according to the magnetic field characteristic, an information coding sequence used by the magnetic field beacon device to transmit the magnetic field characteristic.
- the terminal device acquires an identifier of the magnetic field beacon device according to the information coding sequence.
- the information coding sequence includes a signal carrying a magnetic field characteristic and a silence signal, and the silence signal indicates that the current magnetic field beacon device does not generate a magnetic field.
- the signal carrying the magnetic field characteristic and the silence signal are alternately arranged.
- the magnetic field characteristic may specifically be a magnetic induction intensity value on a three-axis spatial scale in a time dimension, that is, a magnetic induction intensity.
- a magnetic induction intensity For example, in the 1 second time dimension, it is divided into 100 time slots, each time slot is 10 milliseconds, and each time slot has X, Y, Z three-axis spatial magnetic induction values, that is, magnetic waves on each time slot.
- the inductive intensity can be expressed as the magnetic intensities of the three axes of X, Y, and Z.
- the data sent by each magnetic field beacon device can be used, for example.
- the information is encoded in the form of a sequence. Where n is a positive integer greater than or equal to zero.
- the value of n is usually a positive integer greater than or equal to zero.
- the characteristic value of the head header data which is used to represent the signal carrying the magnetic field characteristic, It is used to indicate a silent signal, that is, at time t 1 , t n+1 , the magnetic field beacon device transmitting the above-described information coding sequence does not generate a magnetic field.
- the signal carrying the magnetic field characteristic can be repeatedly transmitted, and the more the number of repeated transmissions, the higher the reliability of information transmission.
- the magnetic induction intensity of the magnetic field generated by the magnetic field beacon device may change with time, and the values of X, Y, and Z generated by the same magnetic field beacon device may be different at the same time, therefore, for each generation The magnetic induction intensity needs to be transmitted in the above manner.
- the value of the head may not be different or the same at different times, and the value of the head generated by the same magnetic field beacon device may be the same or different at the same time, which is not limited herein.
- the transmitted group can be sent.
- the information coding sequence is repeatedly transmitted at least once, thereby improving the success rate of the terminal for accurate demodulation.
- the manner of repeated transmission is not limited to the above one manner, and the data collected at each sampling point may be continuously transmitted when the information coding sequence is constructed.
- the number of times of repeated transmission is not limited, and the number of times that the transmission needs to be repeated may be determined by the user or the staff according to the accuracy requirement of the current data transmission, which is not limited herein.
- the terminal device may receive the magnetic induction strength transmitted from the plurality of magnetic field beacon devices, and when the terminal device determines the information coding sequence, the information coding sequence transmitted from the different magnetic field beacon devices may be distinguished, and at the same time It filters out external electronic devices such as computers and other electronic devices that exist in the outside world, as well as interference caused by magnetic components. That is to say, after step 1041, the terminal can determine the information coding sequence transmitted by each magnetic field beacon device received by itself.
- the introduced information coding sequence can be used as a reference for effectively distinguishing between artificial magnetic fields and other magnetic fields, considering that the information coding sequence can carry the magnetic field beacon device.
- the parameters are input. Therefore, after the terminal device reverses the information coding sequence according to the magnetic field characteristics, the representation of the magnetic field beacon device can also be obtained therefrom, so that the position of the magnetic field beacon device can be accurately determined.
- the information coding sequence can be converted to a magnetic field characteristic by controlling the parameters that generate the magnetic field.
- the magnetic field beacon device converts the information coding sequence into a magnetic field characteristic, which may be specifically implemented as step 10121:
- the magnetic field beacon device converts the information coding sequence into a magnetic field characteristic by controlling at least one of a current, a coil, an energization time, and a current interval.
- the magnetic field beacon device is a programmable magnetic field beacon device
- one or more of parameters such as current intensity, current direction, energization time, energization interval, coil energization parameters, coil radius, coil space position vector angle, and the like can be controlled.
- the parameters are used to adjust the magnetic induction intensity that each magnetic field beacon device can output, while using the magnetic induction coil, the conductor and the power supply unit to generate a magnetic field that is controllable in the time dimension.
- FIG. 4 it is a circuit diagram of a magnetic field beacon device.
- the switch connected in series between the coil and the control unit can be used to adjust the number of turns of the coil.
- FIG. 5 it is a schematic diagram of the connection between the magnetic induction coil and the power supply unit, and the switch can also be used to control the radius of the energized coil. It should be noted that, except that the magnetic induction intensity outputted by the magnetic field beacon device can be adjusted as shown in FIG. 4 and FIG. 5, the magnetic parameters can be adjusted by using the above other parameters, which is not limited herein.
- the parameters mentioned in step 10121 can be used as parameters for controlling the input of magnetic field characteristics, and are also necessary conditions for controllable artificial magnetic fields. It is precisely because the staff can adjust the magnetic field characteristics of the magnetic field beacon device in real time according to actual needs, so that the terminal device can perceive the artificial magnetic field generated by the invention without external interference, thereby effectively positioning the magnetic field beacon.
- the location of the device which in turn determines the location of the terminal device.
- the signal carrying the magnetic field characteristics is The silence signal is interleaved. Therefore, in order to accurately determine the position of the magnetic field beacon device, in an implementation manner of the embodiment of the present invention, the magnetic field beacon device can be obtained by performing differential operation on the signal in the information coding sequence. The identification of the magnetic beacon device is then determined based on the identification. Therefore, based on the implementation shown in FIG. 2 or FIG. 3, FIG. 2 can also be implemented as an implementation as shown in FIG. 6.
- Step 1042 The terminal device acquires the identifier of the magnetic field beacon device according to the information coding sequence, which may be specifically implemented as step 10421:
- the terminal device obtains the identifier of the magnetic field beacon device by performing a differential operation on the signal carrying the magnetic field characteristic and the next silent signal adjacent to the signal carrying the magnetic field characteristic.
- the terminal device determines that the information coding sequence sent by a certain magnetic field beacon device is specifically
- the values of X, Y, and Z of the magnetic induction intensity transmitted by the magnetic field beacon device at time t 0 are a x0 , a y0 , and a z0 , respectively, and X, Y, and Z of the magnetic induction intensity transmitted at time t 1 .
- the values are all 0, and the values of X, Y, and Z of the magnetic induction intensity transmitted at time t n are a xn , a yn , and a zn , respectively, and X and Y of the magnetic induction intensity transmitted at time t n+1 .
- the value of Z is 0.
- the values of a x0 , a y0 , and a z0 are equal to the values of a xn , a yn , and a zn , that is, the magnetic intensity transmitted at time t 0 is the same as the magnetic intensity transmitted at time t n . In order to increase the reliability of information transmission.
- the magnetic induction intensity of the magnetic field generated by the magnetic field beacon device at each time from time t 0 to time t n+1 can be obtained by using a differential operation method. For example: through The values of X, Y, and Z are obtained as a x0 , a y0 , and a z0 , respectively, so that the values of the magnetic field strengths transmitted at time t 0 are respectively a x0 , a y0 , a z0 , and according to the above The values of X, Y, and Z are used to determine a unique one of the characters "a", that is, the identifier of the magnetic field beacon device corresponding to the information coding sequence.
- the relationship between multiple sets of adjacent signals may be separately determined, multiple characters are obtained, and the character with the highest number of occurrences among the plurality of characters is selected as the magnetic field beacon device.
- the magnetic field characteristics of the magnetic field may be selected from the plurality of characters.
- each of the above moments may be an instantaneous value of the magnetic field signal sampled by the magnetic field detecting sensor at regular intervals, and then in time The analog signal is discretized to obtain the magnetic induction intensity corresponding to each of the above moments.
- the collection interval of the magnetic field detecting sensor can be set by the user or the staff according to the degree of change of the magnetic induction intensity, which is not limited herein.
- the characters are arranged in the order in which the information coding sequences are generated, and the magnetic field beacon device represented by the above five characters is obtained.
- the terminal can arrange the digital codes, solve the information header, and de-duplicate the digital information stream to obtain the data information carried by the magnetic field, that is, the address coding information of the magnetic field beacon device, that is, the identifier of the magnetic field beacon device. .
- the signal carrying the magnetic field characteristics and the silence signal are interleaved.
- the signal encoding sequence can be obtained by performing a difference operation between the signal carrying the magnetic field characteristic and the next silent signal adjacent to the signal carrying the magnetic field characteristic.
- Identification of the magnetic field beacon device The transmission mode of the magnetic field feature described above can effectively prevent other electromagnetic objects in the space from interfering with the magnetic field characteristics transmitted by the magnetic field beacon device.
- the terminal device can then determine the position of the magnetic field beacon device that transmits the magnetic field signature based on the identification of each magnetic field beacon device in the digital building map.
- the position of the terminal device after determining the position of the magnetic field beacon device, the position of the terminal device can be determined based on the position of the magnetic field beacon device. Therefore, based on the implementations shown in FIG. 1, FIG. 2, FIG. 3, and FIG. 6, FIG. 1 can be used as an implementation as shown in FIG.
- the terminal device acquires the location of the magnetic field beacon device according to the identifier and the corresponding relationship, and may perform step 106:
- the terminal device determines the location of the terminal device according to the location of the magnetic field beacon device.
- the terminal device can determine the location of the terminal device according to the position of the magnetic field beacon device and the strength of the transmitted signal. The specific implementation manner will be mentioned later, and will not be described herein.
- determining the position of the magnetic field beacon device is mainly for realizing the positioning of the terminal device. Therefore, after determining the position of the magnetic field beacon device that generates the magnetic field, the position of the magnetic field beacon device can also be used to determine the terminal. The possible location of the device.
- the number of magnetic field beacon devices affects the location of the terminal
- different ones are provided for determining when the number of magnetic field beacon devices is one or more.
- the implementation of the location of the terminal device Therefore, on the basis of the implementation shown in FIG. 7, it can also be implemented as shown in FIG. 8 to FIG.
- the step 106 determines the location of the terminal device according to the location of the magnetic field beacon device, which may be specifically implemented as step 1061, or step 1062 and step 1063, or step 1064 to step 1066:
- the terminal device determines the location of the magnetic field beacon device as the location of the terminal device.
- the terminal device may directly determine the longitude of the magnetic field beacon device as the longitude of the terminal device, determine the latitude of the magnetic field beacon device as the latitude of the terminal device, and determine the height of the magnetic field beacon device as The height of the terminal device.
- the current location of the terminal device that is located by the location location solution provided by the present invention belongs to a relative location, that is, the latitude and longitude and height of the magnetic field beacon device are used as the latitude and longitude and height of the terminal device,
- a possible location of the terminal device can be obtained, that is, the current location of the terminal device may be the location determined by the present invention, or may be a certain location near the location determined by the present invention.
- the terminal device determines the position of the magnetic field beacon device, if the number of the magnetic field beacon devices is one, the latitude and longitude and the height of the magnetic field beacon device are directly determined as the latitude and longitude and the height of the position of the terminal device, thereby determining The location of the terminal device.
- the magnetic field beacon device comprises a first magnetic field beacon device and a second magnetic field beacon device, and the terminal device is installed according to the first magnetic field beacon The magnetic field characteristic is determined, the signal strength of the first magnetic field beacon device is determined, and the signal strength of the second magnetic field beacon device is determined according to the magnetic field characteristics of the second magnetic field beacon device.
- the signal strength may specifically be the sum of all the magnetic induction intensity components in the magnetic induction intensity, or other parameters that can be used to indicate the strength of the magnetic field characteristic generated by the magnetic field beacon device generating the magnetic field. Make a limit.
- the terminal device determines a location of the terminal device according to a difference between a signal strength of the first magnetic field beacon device and a signal strength of the second magnetic field beacon device.
- the center point deviation position is a position of the magnetic field beacon device with a signal intensity closest to the linear distance.
- the current location of the terminal device that is located by the location location solution provided by the present invention belongs to a relative location, which means that the location of the terminal device may be located.
- the position determined by the use of the present invention may also be a certain position near the position determined by the present invention.
- the terminal device after the terminal device determines the location of the magnetic field beacon device, if the number of magnetic field beacon devices is two, considering that the magnetic induction intensity transmitted by each magnetic field beacon device can be used to determine where the terminal is located Position, therefore, the terminal device can determine its position based on the signal strength of the two magnetic field beacon devices. That is, according to the signal strength of the signal received by the terminal, it is determined which magnetic field beacon device the terminal device is closer to, and then the position of the terminal device is determined according to the difference between the signal strengths of the two magnetic field beacon devices, for example: located at two The magnetic field beacon device is near the center point of the linear distance and is close to the position of the magnetic field beacon device with a higher signal strength from the center point.
- the magnetic field beacon device comprises a first magnetic field beacon device, a second magnetic field beacon device and a third magnetic field beacon device
- the terminal device is configured according to the magnetic field of the first magnetic field beacon device. Characterizing, determining a signal strength of the first magnetic field beacon device, and determining a signal strength of the second magnetic field beacon device according to a magnetic field characteristic of the second magnetic field beacon device, and determining a first according to a magnetic field characteristic of the third magnetic field beacon device The signal strength of the three magnetic field beacon device.
- the terminal device is configured according to a signal strength of the first magnetic field beacon device and a second magnetic field. a magnitude relationship between a signal strength of the beacon device and a signal strength of the third magnetic field beacon device, determining a line of the terminal device with the first magnetic field beacon device, the second magnetic field beacon device, and the third magnetic field beacon device, respectively The relationship between the distances.
- the terminal device determines, according to the relationship between the linear distances, the location of the terminal device as a designated area in the triangular area.
- the triangular region is a triangular region formed by vertices of a position of the first magnetic field beacon device, a position of the second magnetic field beacon device, and a position of the third magnetic field beacon device.
- the terminal respectively and the first The linear distance of the magnetic field beacon device, the second magnetic field beacon device, and the third magnetic field beacon device satisfies the magnitude relationship between the linear distances.
- the terminal device is shown as a schematic diagram of the positional relationship between the three magnetic field beacon devices and the terminal device.
- the two magnetic field beacon devices are a magnetic field beacon device 1, a magnetic field beacon device 2, and a magnetic field beacon device 3, respectively.
- the size relationship between the distance 1, the distance 2, and the distance 3 in the figure can be determined, and the triangular area in the figure can be drawn according to the size relationship between the distance 1, the distance 2, and the distance 3.
- the location of the terminal device In the triangular region, the location of the terminal device must be close to the position of the magnetic field beacon device with a large signal strength.
- the terminal device is located closer to the magnetic field beacon device 2, so that the position of the terminal is as shown in the figure. The location shown. Therefore, the position indicated by the cross in the figure can be regarded as a possible position of the terminal device.
- the current location of the terminal device that is located by the location location solution provided by the present invention belongs to a relative location, that is, The location at which the terminal device is currently located may be the location determined by the present invention, or may be a location near the location determined by the present invention.
- the terminal device when the magnetic field beacon device is not limited to the above one, for two or three, the terminal device can also refer to the above scheme, combined with the signal strength of the magnetic field beacon device and the position of each magnetic field beacon device to determine the possible location of the terminal device, or the region where the terminal device may be located.
- the above-mentioned implementations are only illustrative of the technical solutions provided by the present invention as an example, but are not intended to limit the application scenarios of the present invention.
- the embodiment of the present invention may divide the function module of the terminal device and the magnetic field beacon device according to the foregoing method example.
- each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
- FIG. 12 is a schematic diagram showing a possible structure of a terminal device involved in the foregoing embodiment.
- the terminal device 20 includes a communication module 21 and a processing module 22.
- the communication module 21 is for supporting communication of the terminal device 20 with the magnetic field beacon device, such as the process 103 of FIG.
- the processing module 22 is configured to control and manage the actions of the terminal device 20, such as supporting the terminal device 20 to perform the processes 104 and 105 in FIG. 1, the processes 1041 and 1042 in FIG. 2, the process 10421 in FIG. 6, and the process in FIG. Process 106, process 1061 in FIG. 8, processes 1062 and 1063 in FIG. 9, processes 1064 through 1066 in FIG. 10, and/or other processes for the techniques described herein.
- the terminal device 20 may further include a storage module 23 for storing related program codes and data. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
- the processing module 22 may be a processor or a controller, for example, a central processing unit (English: Central Processing Unit, CPU for short), a general-purpose processor, and a digital signal processor (English: Digital Signal Processor, referred to as DSP). , Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (English: Field Programmable Gate) Array, referred to as: FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the communication module 21 may specifically be a transceiver, a transceiver circuit, a communication interface, or the like.
- the storage module 23 can be a memory.
- FIG. 13 shows a possible structural diagram of the magnetic field beacon apparatus involved in the above embodiment
- the magnetic field beacon apparatus 30 includes: a processing module 31 and a communication module, in a case where each functional module is divided by corresponding functions. 32.
- the processing module 31 is configured to control and manage the action of the magnetic field beacon device 30.
- the support magnetic field beacon device 30 performs the process 101 in FIG. 1, FIG. 7, FIG. 8, FIG. 9, FIG. 10, FIG. 2, FIG. Processes 1011 and 1012, processes 1011 and 10121 in FIG. 3, and/or other processes for the techniques described herein.
- the communication module 32 is configured to support communication of the magnetic field beacon device 30 with the terminal device, such as the process 102 of FIGS. 1, 2, 3, 6, 7, 8, 9, and 10.
- the magnetic field beacon device 30 can also include a storage module 33 for storing associated program codes and data. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
- the processing module 31 can be a processor or a controller, such as a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, or a hardware. A component or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
- the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
- the communication module 32 can be implemented by a communication module, which can be specifically a transceiver, a transceiver circuit or a communication interface.
- the storage module 33 can be a memory.
- the terminal device involved in the embodiment of the present invention may be the end shown in FIG. End device.
- the terminal device 40 includes a processor 41, a transceiver 42, a memory 43, and a bus 44.
- the processor 41, the transceiver 42, and the memory 43 are connected to each other through a bus 44.
- the bus 44 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure (English: Extended) Industry Standard Architecture, referred to as EISA) bus.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 14, but it does not mean that there is only one bus or one type of bus.
- the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions.
- the software instructions may be composed of corresponding software modules, and the software modules may be stored in a random access memory (English: Random Access Memory, RAM for short), flash memory, read only memory (English: Read Only Memory, referred to as: ROM), Erase programmable read-only memory (English: Erasable Programmable ROM, referred to as: EPROM), electrically erasable programmable read-only memory (English: Electrically EPROM, referred to as: EEPROM), registers, hard disk, mobile hard disk, read-only optical disk (referred to as : CD-ROM) or any other form of storage medium known in the art.
- ROM Random Access Memory
- EPROM Erasable Programmable ROM
- EEPROM electrically erasable programmable read-only memory
- registers hard disk, mobile hard disk, read-only optical disk (referred to as : CD-ROM)
- An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
- the storage medium can also be an integral part of the processor.
- the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device.
- the processor and the storage medium may also exist as discrete components in the core network interface device.
- the magnetic field beacon device may be the magnetic field beacon device shown in FIG.
- the magnetic field beacon apparatus 50 includes a processor 51, a transceiver 52, a memory 53, and a bus 54.
- the processor 51, the transceiver 52, and the memory 53 are connected to each other through a bus 54;
- the bus 54 may be a peripheral component interconnect standard Line or extended industry standard structure bus.
- the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 15, but it does not mean that there is only one bus or one type of bus.
- the steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions.
- Software instructions may be comprised of corresponding software modules that may be stored in random access memory, flash memory, read only memory, erasable programmable read only memory, electrically erasable programmable read only memory, registers, hard disk, mobile A hard disk, a read-only optical disk, or any other form of storage medium known in the art.
- An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
- the storage medium can also be an integral part of the processor.
- the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device.
- the processor and the storage medium may also exist as discrete components in the core network interface device.
- the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
- the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
- Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
- a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Near-Field Transmission Systems (AREA)
Abstract
Description
本发明涉及通信技术领域,尤其涉及一种获取位置信息的方法、磁场信标装置及终端设备。The present invention relates to the field of communications technologies, and in particular, to a method for acquiring location information, a magnetic field beacon device, and a terminal device.
随着通信技术的发展,尤其是定位技术的普及,大部分终端设备能够支持诸如电子罗盘功能的定位技术。用户可以利用地球自身地磁场来实现位置定位,即将终端设备放置于空中某点,之后通过设置于终端设备内部的地磁传感器来确定终端设备当前所处位置的地磁方向和强度,并通过变换运算来进一步得到终端相对于地磁方向的偏向角。这样一来,就可以利用地磁传感器来实现电子罗盘功能,从而完成终端的位置定位。With the development of communication technologies, especially the popularity of positioning technologies, most terminal devices are capable of supporting positioning technologies such as electronic compass functions. The user can use the earth's own magnetic field to realize the positional positioning, that is, the terminal device is placed at a certain point in the air, and then the geomagnetic sensor and the intensity of the current position of the terminal device are determined by the geomagnetic sensor disposed inside the terminal device, and the transformation operation is performed. Further, the deflection angle of the terminal with respect to the geomagnetic direction is obtained. In this way, the geomagnetic sensor can be used to realize the electronic compass function, thereby completing the positional positioning of the terminal.
在实际应用过程中,外界会存在诸如电脑之类的办公设备、电力设备等电子设备,以及磁性元件,而这些设备都会产生电磁扰动,此时,采用上述方式则会因终端设备周围存在较大干扰而使终端设备无法感应到地球自身地磁场;此外,由于建筑物的穿透损耗,室内场景下,终端设备也无法感应到地球自身地磁场。In the actual application process, there will be external electronic devices such as computer equipment, electric equipment, and magnetic components, and these devices will generate electromagnetic disturbances. At this time, the above method will be caused by the presence of large devices around the terminal equipment. The interference makes the terminal device unable to sense the Earth's own magnetic field; in addition, due to the penetration loss of the building, the terminal device cannot sense the Earth's own magnetic field in the indoor scene.
发明内容Summary of the invention
本发明提供一种获取位置信息的方法、磁场信标装置及终端设备,能够通过设置可以产生磁场的磁场信标装置,来解决终端设备因无法感应到地球自身地磁场而引发的无法进行后续位置定位等操作的问题。The invention provides a method for acquiring position information, a magnetic field beacon device and a terminal device, which can solve the problem that the terminal device cannot perform the subsequent position due to the inability to sense the earth's own magnetic field by setting a magnetic field beacon device capable of generating a magnetic field. Problems with positioning and other operations.
为达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
一方面,本发明实施例提供一种获取位置信息的方法。方法包括:终端设备感应磁场信标装置产生的磁场,获取磁场的磁场特征,并根据磁场特征获取磁场信标装置的标识,之后根据标识以及对应关系获取磁场信标装置的位置。其中,磁场特征为在时间维度上的 三轴空间磁感应强度值,终端设备对应关系为标识和磁场信标装置所处位置的对应关系。由此可见,本发明可以设置能够产生人工磁场的磁场信标装置,比如用户可以通过控制磁场信标装置的输入参数来控制同一磁场信标装置在不同时刻所产生磁场的磁场特征,也就是通过生成受控且可变化的磁场,来改变不同时刻的磁场特征。这样就可以通过获取磁场的磁场特征,来确定磁场信标装置的标识,从而确定磁场信标装置的位置。因此,能够通过设置可以产生磁场的磁场信标装置,来解决终端设备因无法感应到地球自身地磁场而引发的无法进行后续位置定位等操作的问题。In one aspect, an embodiment of the present invention provides a method for acquiring location information. The method comprises: the terminal device inducing a magnetic field generated by the magnetic field beacon device, acquiring a magnetic field characteristic of the magnetic field, and acquiring the identification of the magnetic field beacon device according to the magnetic field characteristic, and then acquiring the position of the magnetic field beacon device according to the identification and the corresponding relationship. Where the magnetic field is characterized in the time dimension The three-axis spatial magnetic induction value, the terminal device correspondence relationship is the correspondence between the identification and the position of the magnetic field beacon device. It can be seen that the present invention can be provided with a magnetic field beacon device capable of generating an artificial magnetic field. For example, the user can control the magnetic field characteristics of the magnetic field generated by the same magnetic field beacon device at different times by controlling the input parameters of the magnetic field beacon device, that is, Generate a controlled and variable magnetic field to change the magnetic field characteristics at different times. In this way, the identity of the magnetic field beacon device can be determined by acquiring the magnetic field characteristics of the magnetic field to determine the position of the magnetic field beacon device. Therefore, it is possible to solve the problem that the terminal device cannot perform the subsequent positional positioning and the like due to the inability to sense the earth's own magnetic field by providing a magnetic field beacon device that can generate a magnetic field.
在一种可能的设计中,终端设备根据磁场特征获取磁场信标装置的标识,具体可以实现为:终端设备根据磁场特征,确定磁场信标装置发送磁场特征所采用的信息编码序列,之后根据信息编码序列,获取磁场信标装置的标识。由此可见,引入的信息编码序列可以作为有效区分人工磁场和其他磁场的参照,考虑到信息编码序列能够承载磁场信标装置的输入参数,因此,终端设备在根据磁场特征反推出信息编码序列之后,也可以从中获取磁场信标装置的表示,这样一来,就能准确确定出磁场信标装置的位置。In a possible design, the terminal device acquires the identifier of the magnetic field beacon device according to the magnetic field characteristic, and specifically, the terminal device determines the information coding sequence used by the magnetic field beacon device to transmit the magnetic field characteristic according to the magnetic field characteristic, and then according to the information. The coding sequence acquires the identity of the magnetic field beacon device. It can be seen that the introduced information coding sequence can be used as a reference for effectively distinguishing the artificial magnetic field from other magnetic fields, considering that the information coding sequence can carry the input parameters of the magnetic field beacon device, and therefore, the terminal device deducts the information coding sequence according to the magnetic field characteristics. It is also possible to obtain a representation of the magnetic field beacon device from which the position of the magnetic field beacon device can be accurately determined.
在一种可能的设计中,信息编码序列可以包括携带有磁场特征的信号和静默信号,该静默信号表示当前磁场信标装置不产生磁场。在信息编码序列中,携带有磁场特征的信号与静默信号交错设置。这样就可以在避免空间中其他电磁体对磁场信标装置所发送的磁场特征产生干扰,且使终端根据交错的信号来确定磁场信标装置的标识。In one possible design, the information coding sequence may include a signal carrying a magnetic field signature and a silence signal indicating that the current magnetic field beacon device does not generate a magnetic field. In the information coding sequence, the signal carrying the magnetic field characteristic is interleaved with the silence signal. This makes it possible to avoid interference of other electromagnets in the space with the magnetic field characteristics transmitted by the magnetic field beacon device, and to cause the terminal to determine the identity of the magnetic field beacon device based on the interlaced signals.
在一种可能的设计中,终端设备根据信息编码序列,获取磁场信标装置的标识,具体可以实现为:终端设备通过将携带有磁场特征的信号,以及与携带有磁场特征的信号相邻的下一个静默信号进行差分运算,得到磁场信标装置的标识。由此可见,上述磁场特征的传输方式可以有效避免空间中其他电磁物体对磁场信标装置所发送的磁场特征产生干扰。之后终端设备可以根据数字化建筑结构图 中各个磁场信标装置的标识,来确定发送磁场特征的磁场信标装置的位置。In a possible design, the terminal device acquires the identifier of the magnetic field beacon device according to the information coding sequence, which may be implemented by: the terminal device is adjacent to the signal carrying the magnetic field characteristic and the signal carrying the magnetic field characteristic. The next silence signal is subjected to a differential operation to obtain the identification of the magnetic field beacon device. It can be seen that the transmission mode of the above magnetic field feature can effectively avoid interference of other electromagnetic objects in the space on the magnetic field characteristics transmitted by the magnetic field beacon device. The terminal device can then be based on a digital building structure The identification of each of the magnetic field beacon devices to determine the position of the magnetic field beacon device that transmits the magnetic field characteristics.
在一种可能的设计中,终端设备可以根据磁场信标装置的位置确定终端设备的位置。考虑到磁场信标装置的数量,也会影响终端设备对自身的定位的过程。因此,当磁场信标装置的数量为一个,终端设备将磁场信标装置所处位置确定为终端设备所处位置;当磁场信标装置的数量为两个,磁场信标装置包括第一磁场信标装置和第二磁场信标装置,终端设备根据第一磁场信标装置的磁场特征,确定第一磁场信标装置的信号强度,并根据第二磁场信标装置的磁场特征,确定第二磁场信标装置的信号强度,之后根据第一磁场信标装置的信号强度与第二磁场信标装置的信号强度的差值,确定终端设备的位置;当磁场信标装置的数量为三个,磁场信标装置包括第一磁场信标装置、第二磁场信标装置和第三磁场信标装置,终端设备根据第一磁场信标装置的磁场特征,确定第一磁场信标装置的信号强度,并根据第二磁场信标装置的磁场特征,确定第二磁场信标装置的信号强度,并根据第三磁场信标装置的磁场特征,确定第三磁场信标装置的信号强度,之后根据第一磁场信标装置的信号强度、第二磁场信标装置的信号强度和第三磁场信标装置的信号强度之间的大小关系,确定终端设备分别与第一磁场信标装置、第二磁场信标装置,以及第三磁场信标装置的直线距离之间的大小关系,其中,直线距离之间的大小关系与信号强度之间的大小关系负相关,最后根据直线距离之间的大小关系,确定终端设备的位置为三角形区域内的指定区域,三角形区域为以第一磁场信标装置的位置、第二磁场信标装置的位置和第三磁场信标装置的位置为顶点所构成的三角形区域,其中,在指定区域内,终端分别与第一磁场信标装置、第二磁场信标装置,以及第三磁场信标装置的直线距离满足直线距离之间的大小关系。由此可见,针对不同数量的磁场信标装置,在确定终端设备的位置时,可以采用不同的确定方法,且确定出的终端设备的位置仅为一个可能的位置,或是一个可能的区域。 In one possible design, the terminal device can determine the location of the terminal device based on the location of the magnetic field beacon device. Considering the number of magnetic field beacon devices, it also affects the process by which the terminal device locates itself. Therefore, when the number of magnetic field beacon devices is one, the terminal device determines the location of the magnetic field beacon device as the location of the terminal device; when the number of magnetic field beacon devices is two, the magnetic field beacon device includes the first magnetic field signal. And the second magnetic field beacon device, the terminal device determines the signal strength of the first magnetic field beacon device according to the magnetic field characteristic of the first magnetic field beacon device, and determines the second magnetic field according to the magnetic field characteristic of the second magnetic field beacon device The signal strength of the beacon device, and then determining the position of the terminal device according to the difference between the signal strength of the first magnetic field beacon device and the signal strength of the second magnetic field beacon device; when the number of magnetic field beacon devices is three, the magnetic field The beacon device includes a first magnetic field beacon device, a second magnetic field beacon device, and a third magnetic field beacon device, and the terminal device determines a signal strength of the first magnetic field beacon device according to a magnetic field characteristic of the first magnetic field beacon device, and Determining a signal strength of the second magnetic field beacon device according to a magnetic field characteristic of the second magnetic field beacon device, and according to a magnetic field characteristic of the third magnetic field beacon device, Determining the signal strength of the third magnetic field beacon device, and then determining the terminal according to the magnitude relationship between the signal strength of the first magnetic field beacon device, the signal strength of the second magnetic field beacon device, and the signal strength of the third magnetic field beacon device The magnitude relationship between the device and the linear distance between the first magnetic field beacon device, the second magnetic field beacon device, and the third magnetic field beacon device, wherein the relationship between the magnitude relationship between the linear distances and the signal strength Negative correlation, and finally determining the position of the terminal device as a designated area within the triangular area according to the relationship between the linear distances, the triangular area being the position of the first magnetic field beacon device, the position of the second magnetic field beacon device, and the third The position of the magnetic field beacon device is a triangular region formed by the vertices, wherein the linear distance between the terminal and the first magnetic field beacon device, the second magnetic field beacon device, and the third magnetic field beacon device respectively satisfies the straight line in the designated region The relationship between the distances. It can be seen that for different numbers of magnetic field beacon devices, different determining methods can be used when determining the location of the terminal device, and the determined location of the terminal device is only one possible location or one possible region.
另一方面,本发明提供一种获取位置信息的方法,方法包括:磁场信标装置根据输入参数,生成磁场特征,输入参数包括用于表示磁场信标装置所处位置的参数,以及磁场信标装置的硬件序列标识码,磁场特征为在时间维度上的三轴空间磁感应强度值;磁场信标装置利用磁场特征生成磁场,磁场用于终端设备进行磁场感应并获取磁场信标装置的磁场特征。In another aspect, the present invention provides a method of acquiring location information, the method comprising: a magnetic field beacon device generating a magnetic field signature based on an input parameter, the input parameter including a parameter for indicating a location of the magnetic field beacon device, and a magnetic field beacon The hardware sequence identification code of the device, the magnetic field characteristic is a three-axis spatial magnetic induction intensity value in a time dimension; the magnetic field beacon device generates a magnetic field by using the magnetic field characteristic, and the magnetic field is used for the terminal device to perform magnetic field induction and acquire the magnetic field characteristic of the magnetic field beacon device.
在一种可能的设计中,磁场信标装置根据输入参数,生成磁场特征,具体可以实现为:磁场信标装置将输入参数通过数字化编码生成信息编码序列,并将信息编码序列转换为磁场特征。In a possible design, the magnetic field beacon device generates a magnetic field characteristic according to the input parameter, and specifically can be realized as: the magnetic field beacon device generates the information coding sequence by digitally encoding the input parameter, and converts the information coding sequence into the magnetic field characteristic.
在一种可能的设计中,信息编码序列可以包括携带有磁场特征的信号和静默信号,该静默信号表示当前磁场信标装置不产生磁场。在信息编码序列中,携带有磁场特征的信号与静默信号交错设置。In one possible design, the information coding sequence may include a signal carrying a magnetic field signature and a silence signal indicating that the current magnetic field beacon device does not generate a magnetic field. In the information coding sequence, the signal carrying the magnetic field characteristic is interleaved with the silence signal.
在一种可能的设计中,磁场信标装置将信息编码序列转换为磁场特征,具体可以实现为:磁场信标装置通过控制电流、线圈、通电时间和通电间隔中的至少一项,将信息编码序列转换为磁场特征。由此可见,上述提及的参数,可以作为控制磁场特征输入的参数,也是作为人工磁场可控的必要条件。正是因为工作人员可以根据实际需求来实时调整磁场信标装置产生磁场的磁场特征,才能使终端设备在不受外界干扰的情况下感知到本发明所生成的人工磁场,从而有效定位磁场信标装置的位置,进而确定出终端设备的位置。In a possible design, the magnetic field beacon device converts the information coding sequence into a magnetic field characteristic, and specifically, the magnetic field beacon device encodes the information by controlling at least one of a current, a coil, a power-on time, and a power-on interval. The sequence is converted to a magnetic field characteristic. It can be seen that the above mentioned parameters can be used as parameters for controlling the input of the magnetic field characteristics, and also as a necessary condition for the controllable artificial magnetic field. It is precisely because the staff can adjust the magnetic field characteristics of the magnetic field beacon device in real time according to actual needs, so that the terminal device can perceive the artificial magnetic field generated by the invention without external interference, thereby effectively positioning the magnetic field beacon. The location of the device, which in turn determines the location of the terminal device.
又一方面,本发明提供一种终端设备。该终端设备用于完成上述方法示例中终端设备所执行的功能,该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。其中,该硬件或是软件包括至少一个上述功能相应的模块。In still another aspect, the present invention provides a terminal device. The terminal device is used to complete the functions performed by the terminal device in the example of the foregoing method, and the function may be implemented by using hardware or by executing corresponding software through hardware. The hardware or software includes at least one module corresponding to the above functions.
在一种可能的设计中,该终端设备的结构中包括处理器和收发器,该处理器被配置为支持该终端设备执行上述方法中相应的功能。该收发器用于支持该终端设备与磁场信标装置之间的通信。该终端设备还可以包括存储器,该存储器用于与处理器耦合,其保存该终端设备必要的程序指令和数据。 In a possible design, the terminal device includes a processor and a transceiver configured to support the terminal device to perform a corresponding function in the above method. The transceiver is for supporting communication between the terminal device and the magnetic field beacon device. The terminal device can also include a memory for coupling with the processor that retains the program instructions and data necessary for the terminal device.
又一方面,本发明提供一种磁场信标装置。该磁场信标装置用于完成上述方法示例中主机所执行的功能,该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。其中,该硬件或是软件包括至少一个上述功能相应的模块。In still another aspect, the present invention provides a magnetic field beacon device. The magnetic field beacon device is used to perform the functions performed by the host in the above method example, and the function may be implemented by hardware or by executing corresponding software by hardware. The hardware or software includes at least one module corresponding to the above functions.
在一种可能的设计中,该磁场信标装置的结构中包括处理器和收发器,该处理器被配置为支持该装置执行上述方法中相应的功能。该收发器用于支持该磁场信标装置与终端设备之间的通信。该磁场信标装置还可以包括存储器,该存储器用于与处理器耦合,其保存该磁场信标装置必要的程序指令和数据。In one possible design, the magnetic beacon device includes a processor and a transceiver configured to support the device to perform the corresponding functions of the above methods. The transceiver is for supporting communication between the magnetic field beacon device and the terminal device. The magnetic field beacon device can also include a memory for coupling with the processor that holds the necessary program instructions and data for the magnetic field beacon device.
本发明提供的获取位置信息的方法、磁场信标装置及终端设备,相比较于现有技术中利用地球自身地磁场来实现位置定位的过程,本发明可以设置能够产生人工磁场的磁场信标装置,用户可以通过控制磁场信标装置的输入参数来控制同一磁场信标装置在不同时刻所产生磁场的磁场特征,也就是通过生成受控且可变化的磁场,来改变不同时刻的磁场特征。这样就可以通过获取磁场的磁场特征,来确定磁场信标装置的标识,从而确定磁场信标装置的位置。因此,能够通过设置可以产生磁场的磁场信标装置,来解决终端设备因无法感应到地球自身地磁场而引发的无法进行后续位置定位等操作的问题。The method for acquiring position information, the magnetic field beacon device and the terminal device provided by the present invention can set a magnetic field beacon device capable of generating an artificial magnetic field compared with the prior art process for realizing positional positioning by using the earth's own magnetic field. The user can control the magnetic field characteristics of the magnetic field generated by the same magnetic field beacon device at different times by controlling the input parameters of the magnetic field beacon device, that is, by generating a controlled and variable magnetic field to change the magnetic field characteristics at different moments. In this way, the identity of the magnetic field beacon device can be determined by acquiring the magnetic field characteristics of the magnetic field to determine the position of the magnetic field beacon device. Therefore, it is possible to solve the problem that the terminal device cannot perform the subsequent positional positioning and the like due to the inability to sense the earth's own magnetic field by providing a magnetic field beacon device that can generate a magnetic field.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without any creative work.
图1为本发明实施例提供的一种获取位置信息的方法流程图;FIG. 1 is a flowchart of a method for acquiring location information according to an embodiment of the present invention;
图2和3为本发明实施例提供的另一种获取位置信息的方法流程图;2 and 3 are flowcharts of another method for acquiring location information according to an embodiment of the present invention;
图4为本发明实施例提供的一种磁场信标装置的电路示意图; 4 is a schematic circuit diagram of a magnetic field beacon apparatus according to an embodiment of the present invention;
图5为本发明实施例提供的一种磁感线圈与供电单元的连接示意图;FIG. 5 is a schematic diagram of connection between a magnetic induction coil and a power supply unit according to an embodiment of the present invention; FIG.
图6至10为本发明实施例提供的另一种获取位置信息的方法流程图;6 to 10 are flowcharts of another method for acquiring location information according to an embodiment of the present invention;
图11为本发明实施例提供的一种3个磁场信标装置与终端的位置关系示意图;FIG. 11 is a schematic diagram of a positional relationship between three magnetic field beacon devices and a terminal according to an embodiment of the present invention; FIG.
图12为本发明实施例提供的一种终端设备的结构示意图;FIG. 12 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure;
图13为本发明实施例提供的一种磁场信标装置的结构示意图;FIG. 13 is a schematic structural diagram of a magnetic field beacon apparatus according to an embodiment of the present invention;
图14为本发明实施例提供的另一种终端设备的结构示意图;FIG. 14 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure;
图15为本发明实施例提供的另一种磁场信标装置的结构示意图。FIG. 15 is a schematic structural diagram of another magnetic field beacon apparatus according to an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例可以用于一种通信网络系统,在通信网络系统中包括磁场信标装置和终端设备。在本发明实施例中,结合已经完成数字化的建筑结构图,终端设备可以根据所有磁场信标装置发出的在一定时间内的磁场强度,来确定当前所处位置。需要说明的是,磁场信标装置可以预先被设置在建筑结构图所覆盖区域内的各个位置,并且每个磁场信标装置被设置好之后,在经度、纬度及高度上都会存在一定不同。Embodiments of the present invention can be used in a communication network system including a magnetic field beacon device and a terminal device in a communication network system. In the embodiment of the present invention, in combination with the building structure map that has been digitized, the terminal device can determine the current location based on the magnetic field strength issued by all the magnetic field beacon devices for a certain period of time. It should be noted that the magnetic field beacon device may be disposed in advance at various positions within the area covered by the architectural structure diagram, and each magnetic field beacon device is set to have a certain difference in longitude, latitude, and altitude.
本发明实施例提供一种获取位置信息的方法,如图1所示,该方法由上述磁场信标装置和终端设备来共同完成,该方法流程包括:An embodiment of the present invention provides a method for acquiring location information. As shown in FIG. 1 , the method is implemented by the magnetic field beacon device and the terminal device. The method includes:
101、磁场信标装置根据输入参数,生成磁场特征。101. The magnetic field beacon device generates a magnetic field characteristic according to the input parameter.
其中,输入参数包括用于表示磁场信标装置所处位置的参数,以及磁场信标装置的硬件序列标识码,磁场特征为在时间维度上的 三轴空间磁感应强度值。Wherein the input parameters include parameters for indicating the location of the magnetic field beacon device, and the hardware sequence identification code of the magnetic field beacon device, the magnetic field characteristics being in the time dimension Three-axis spatial magnetic induction value.
在本发明实施例中,用于表示磁场信标装置所处位置的参数可以为磁场信标装置所处位置的经度、纬度和高度信息,或是其他能够用于表示磁场信标装置所处位置的参数;用于表示磁场信标装置的硬件序列标识码具有唯一性,即每个磁场信标装置都具有唯一的硬件序列标识码,且与其他磁场信标装置的硬件序列标识码不同。In the embodiment of the present invention, the parameter indicating the position of the magnetic field beacon device may be the longitude, latitude and altitude information of the position where the magnetic field beacon device is located, or other position that can be used to indicate the position of the magnetic field beacon device. The parameter of the hardware sequence identification code used to represent the magnetic field beacon device is unique, that is, each magnetic field beacon device has a unique hardware sequence identification code and is different from the hardware sequence identification code of other magnetic field beacon devices.
102、磁场信标装置利用磁场特征生成磁场。102. The magnetic field beacon device generates a magnetic field using magnetic field characteristics.
其中,磁场用于终端设备进行磁场感应并获取磁场信标装置的磁场特征。Wherein, the magnetic field is used for the terminal device to perform magnetic field induction and acquire the magnetic field characteristics of the magnetic field beacon device.
103、终端设备感应磁场信标装置产生的磁场,获取磁场的磁场特征。103. The terminal device senses a magnetic field generated by the magnetic field beacon device to acquire a magnetic field characteristic of the magnetic field.
其中,磁场特征为在时间维度上的三轴空间磁感应强度值。Among them, the magnetic field is characterized by a three-axis spatial magnetic induction value in the time dimension.
终端设备内部可以设置有能够检测磁场特征的磁场检测传感器,比如:集成在终端中的磁传感器,之后终端设备可以接收到来自于磁场信标装置和其他能够产生磁场的装置所发送的磁场特征,也就是终端所处位置所能够检测出的在时间维度上的三轴空间磁感应强度值,即X、Y、Z的取值。A magnetic field detecting sensor capable of detecting a magnetic field characteristic may be disposed inside the terminal device, such as a magnetic sensor integrated in the terminal, and then the terminal device may receive magnetic field characteristics transmitted from the magnetic field beacon device and other devices capable of generating a magnetic field. That is, the value of the three-axis spatial magnetic induction in the time dimension, that is, the values of X, Y, and Z, which can be detected by the position of the terminal.
104、终端设备根据磁场特征获取磁场信标装置的标识。104. The terminal device acquires an identifier of the magnetic field beacon device according to the magnetic field characteristic.
105、终端设备根据标识以及对应关系获取磁场信标装置的位置。105. The terminal device acquires a location of the magnetic field beacon device according to the identifier and the corresponding relationship.
其中,对应关系为标识和磁场信标装置所处位置的对应关系。Wherein, the correspondence relationship is a correspondence between the identifier and the position of the magnetic field beacon device.
需要说明的是,在进行磁场信标装置的定位过程之前,会预先针对各个区域的建筑结构图进行数字化和网格化的位置标定,同时,还需要掌握磁场信标装置的实际部署情况。其中,经过处理后的结构建筑图还可以预先存储在终端设备本地,以便于终端设备根据采集到的数据来确定磁场信标装置所处位置,以及后续确定终端设备所处位置。It should be noted that before the positioning process of the magnetic field beacon device is performed, the digitization and gridding position calibration of each building area structure map is performed in advance, and at the same time, the actual deployment situation of the magnetic field beacon device needs to be grasped. The processed structural building map may also be pre-stored locally in the terminal device, so that the terminal device determines the location of the magnetic field beacon device according to the collected data, and subsequently determines the location of the terminal device.
本发明可以设置能够产生人工磁场的磁场信标装置,用户可以通过控制磁场信标装置的输入参数来控制同一磁场信标装置在不同 时刻所产生磁场的磁场特征,也就是通过生成受控且可变化的磁场,来改变不同时刻的磁场特征。这样就可以通过获取磁场的磁场特征,来确定磁场信标装置的标识,从而确定磁场信标装置的位置。因此,能够通过设置可以产生磁场的磁场信标装置,来解决终端设备因无法感应到地球自身地磁场而引发的无法进行后续位置定位等操作的问题。The invention can be provided with a magnetic field beacon device capable of generating an artificial magnetic field, and the user can control the same magnetic field beacon device by controlling the input parameters of the magnetic field beacon device. The magnetic field characteristics of the magnetic field generated at the moment, that is, by generating a controlled and variable magnetic field, change the magnetic field characteristics at different times. In this way, the identity of the magnetic field beacon device can be determined by acquiring the magnetic field characteristics of the magnetic field to determine the position of the magnetic field beacon device. Therefore, it is possible to solve the problem that the terminal device cannot perform the subsequent positional positioning and the like due to the inability to sense the earth's own magnetic field by providing a magnetic field beacon device that can generate a magnetic field.
在本发明实施例的一个实现方式中,提供了一种根据磁场特征来确定磁场信标装置的具体实现方式,在如图1所示的实现方式的基础上,还可以实现为如图2所示的实现方式。其中,步骤101磁场信标装置根据输入参数,生成磁场特征,可以具体实现为步骤1011和步骤1012;步骤104终端设备根据磁场特征获取磁场信标装置的标识,可以具体实现为步骤1041和步骤1042:In an implementation manner of the embodiment of the present invention, a specific implementation manner of determining a magnetic field beacon device according to a magnetic field characteristic is provided. On the basis of the implementation manner shown in FIG. 1 , it can also be implemented as shown in FIG. 2 . The implementation of the instructions. The magnetic field beacon device of step 101 generates a magnetic field characteristic according to the input parameter, which may be specifically implemented as step 1011 and step 1012. In step 104, the terminal device acquires the identifier of the magnetic field beacon device according to the magnetic field characteristic, which may be specifically implemented as step 1041 and step 1042. :
1011、磁场信标装置将输入参数通过数字化编码生成信息编码序列。1011. The magnetic field beacon device generates an information coding sequence by digitally encoding the input parameters.
1012、磁场信标装置将信息编码序列转换为磁场特征。1012. The magnetic field beacon device converts the information coding sequence into a magnetic field characteristic.
1041、终端设备根据磁场特征,确定磁场信标装置发送磁场特征所采用的信息编码序列。1041. The terminal device determines, according to the magnetic field characteristic, an information coding sequence used by the magnetic field beacon device to transmit the magnetic field characteristic.
1042、终端设备根据信息编码序列,获取磁场信标装置的标识。1042. The terminal device acquires an identifier of the magnetic field beacon device according to the information coding sequence.
需要说明的是,信息编码序列包括携带有磁场特征的信号和静默信号,静默信号表示当前磁场信标装置不产生磁场,在信息编码序列中,携带有磁场特征的信号与静默信号交错设置。It should be noted that the information coding sequence includes a signal carrying a magnetic field characteristic and a silence signal, and the silence signal indicates that the current magnetic field beacon device does not generate a magnetic field. In the information coding sequence, the signal carrying the magnetic field characteristic and the silence signal are alternately arranged.
在本发明中,磁场特征具体可以为在时间维度的三轴空间尺度上的磁感应强度值,即磁感强度。例如:在1秒时间维度内,划分为100个时隙,每个时隙为10毫秒,每个时隙上具有X、Y、Z三轴空间磁感应强度值,即每个时隙上的磁感强度可以表示为X、Y、Z三轴的磁感强度。每个磁场信标装置发送的数据都可以采用诸如的信息编码序列的形式。其中,n为大于或者等于0的正整数。在本发明实施例中,为了达到信号交错发送的效果,n的取值通常为大于或等于0的正整数。其 中,为head头数据的特征值,用于表示携带有磁场特征的信号,用于表示静默信号,即在t1、tn+1时刻,发送上述信息编码序列的磁场信标装置不产生磁场。In the present invention, the magnetic field characteristic may specifically be a magnetic induction intensity value on a three-axis spatial scale in a time dimension, that is, a magnetic induction intensity. For example, in the 1 second time dimension, it is divided into 100 time slots, each time slot is 10 milliseconds, and each time slot has X, Y, Z three-axis spatial magnetic induction values, that is, magnetic waves on each time slot. The inductive intensity can be expressed as the magnetic intensities of the three axes of X, Y, and Z. The data sent by each magnetic field beacon device can be used, for example. The information is encoded in the form of a sequence. Where n is a positive integer greater than or equal to zero. In the embodiment of the present invention, in order to achieve the effect of signal interleaving, the value of n is usually a positive integer greater than or equal to zero. among them, The characteristic value of the head header data, which is used to represent the signal carrying the magnetic field characteristic, It is used to indicate a silent signal, that is, at time t 1 , t n+1 , the magnetic field beacon device transmitting the above-described information coding sequence does not generate a magnetic field.
需要说明的是,为了提高信息传输的可靠性,在本发明中,可以重复发送携带有磁场特征的信号,且重复发送的次数越多,则信息传输的可靠性越高。另外,由于磁场信标装置产生磁场的磁感强度可以随时间的变化而发生改变,且同一时刻同一磁场信标装置产生的X、Y、Z的取值可能不同,因此,针对每一次产生的磁感强度都需要采用上述方式进行信息传输。需要说明的是,head的取值不在不同时刻可以不同或相同,在同一时刻同一磁场信标装置所产生的head的取值也可以相同或不同,在此不做限定。It should be noted that, in order to improve the reliability of information transmission, in the present invention, the signal carrying the magnetic field characteristic can be repeatedly transmitted, and the more the number of repeated transmissions, the higher the reliability of information transmission. In addition, since the magnetic induction intensity of the magnetic field generated by the magnetic field beacon device may change with time, and the values of X, Y, and Z generated by the same magnetic field beacon device may be different at the same time, therefore, for each generation The magnetic induction intensity needs to be transmitted in the above manner. It should be noted that the value of the head may not be different or the same at different times, and the value of the head generated by the same magnetic field beacon device may be the same or different at the same time, which is not limited herein.
为了确保终端能够接收到一定时间内磁场信标装置在各个采样点所产生的磁感强度,在本发明中,当完整的一组信息编码序列发送完之后,可以将已发送完的这一组信息编码序列重复发送至少一次,从而提升终端进行准确解调的成功率。需要说明的是,重复发送的方式不仅限于上述一种方式,还可以在构成信息编码序列时就连续发送每个采样点上所采集的数据。此外,在本发明实施例中,对于重复发送的次数不做限定,可以由用户或是工作人员根据当前数据传输的精度要求,来确定需要重复发送的次数,在此不做限定。In order to ensure that the terminal can receive the magnetic induction intensity generated by the magnetic field beacon device at each sampling point within a certain period of time, in the present invention, after the complete set of information encoding sequences is transmitted, the transmitted group can be sent. The information coding sequence is repeatedly transmitted at least once, thereby improving the success rate of the terminal for accurate demodulation. It should be noted that the manner of repeated transmission is not limited to the above one manner, and the data collected at each sampling point may be continuously transmitted when the information coding sequence is constructed. In addition, in the embodiment of the present invention, the number of times of repeated transmission is not limited, and the number of times that the transmission needs to be repeated may be determined by the user or the staff according to the accuracy requirement of the current data transmission, which is not limited herein.
在同一时刻,终端设备可能接收到来自于多个磁场信标装置发送的磁感强度,当终端设备确定信息编码序列时,可以将来自于不同磁场信标装置发送的信息编码序列进行区分,同时过滤掉外界存在的诸如电脑之类的办公设备、电力设备等电子设备,以及磁性元件所带来的干扰。也就意味着,经过步骤1041之后,终端可以确定自身所接收到的来自每个磁场信标装置所发送的信息编码序列。At the same time, the terminal device may receive the magnetic induction strength transmitted from the plurality of magnetic field beacon devices, and when the terminal device determines the information coding sequence, the information coding sequence transmitted from the different magnetic field beacon devices may be distinguished, and at the same time It filters out external electronic devices such as computers and other electronic devices that exist in the outside world, as well as interference caused by magnetic components. That is to say, after step 1041, the terminal can determine the information coding sequence transmitted by each magnetic field beacon device received by itself.
在本发明中,引入的信息编码序列可以作为有效区分人工磁场和其他磁场的参照,考虑到信息编码序列能够承载磁场信标装置的 输入参数,因此,终端设备在根据磁场特征反推出信息编码序列之后,也可以从中获取磁场信标装置的表示,这样一来,就能准确确定出磁场信标装置的位置。In the present invention, the introduced information coding sequence can be used as a reference for effectively distinguishing between artificial magnetic fields and other magnetic fields, considering that the information coding sequence can carry the magnetic field beacon device. The parameters are input. Therefore, after the terminal device reverses the information coding sequence according to the magnetic field characteristics, the representation of the magnetic field beacon device can also be obtained therefrom, so that the position of the magnetic field beacon device can be accurately determined.
为了确保人工磁场的可控性,在本发明实施例的一个实现方式中,可以通过控制产生磁场的参数来讲信息编码序列转换为磁场特征。在如图2所示的实现方式的基础上,还可以实现为如图3所示的实现方式。其中,步骤1012磁场信标装置将信息编码序列转换为磁场特征,可以具体实现为步骤10121:In order to ensure the controllability of the artificial magnetic field, in one implementation of the embodiment of the invention, the information coding sequence can be converted to a magnetic field characteristic by controlling the parameters that generate the magnetic field. Based on the implementation shown in FIG. 2, an implementation as shown in FIG. 3 can also be implemented. In step 1012, the magnetic field beacon device converts the information coding sequence into a magnetic field characteristic, which may be specifically implemented as step 10121:
10121、磁场信标装置通过控制电流、线圈、通电时间和通电间隔中的至少一项,将信息编码序列转换为磁场特征。10121. The magnetic field beacon device converts the information coding sequence into a magnetic field characteristic by controlling at least one of a current, a coil, an energization time, and a current interval.
由于磁场信标装置为可编程磁场信标装置,因此,可以通过控制电流强度、电流方向、通电时间、通电间隔、线圈通电匝数、线圈半径、线圈空间位置矢量角等参数中的一个或多个参数,来调整每个磁场信标装置所能够输出的磁感强度,同时利用磁感线圈、导体和供电单元来产生时间维度上可控的磁场。如图4所示,为磁场信标装置的电路示意图。其中,线圈与控制单元之间串联的开关,可以用于调整线圈通电的匝数。如图5所示,为磁感线圈与供电单元的连接示意图,同样可以用开关来控制通电线圈的半径。需要说明的是,除了可以采用如图4、如图5所示的方式来调整磁场信标装置输出的磁感强度,还可以采用上述其他参数进行磁感强度的调整,在此不做限定。Since the magnetic field beacon device is a programmable magnetic field beacon device, one or more of parameters such as current intensity, current direction, energization time, energization interval, coil energization parameters, coil radius, coil space position vector angle, and the like can be controlled. The parameters are used to adjust the magnetic induction intensity that each magnetic field beacon device can output, while using the magnetic induction coil, the conductor and the power supply unit to generate a magnetic field that is controllable in the time dimension. As shown in FIG. 4, it is a circuit diagram of a magnetic field beacon device. The switch connected in series between the coil and the control unit can be used to adjust the number of turns of the coil. As shown in FIG. 5, it is a schematic diagram of the connection between the magnetic induction coil and the power supply unit, and the switch can also be used to control the radius of the energized coil. It should be noted that, except that the magnetic induction intensity outputted by the magnetic field beacon device can be adjusted as shown in FIG. 4 and FIG. 5, the magnetic parameters can be adjusted by using the above other parameters, which is not limited herein.
在本发明中,步骤10121中所提及的参数,可以作为控制磁场特征输入的参数,也是作为人工磁场可控的必要条件。正是因为工作人员可以根据实际需求来实时调整磁场信标装置产生磁场的磁场特征,才能使终端设备在不受外界干扰的情况下感知到本发明所生成的人工磁场,从而有效定位磁场信标装置的位置,进而确定出终端设备的位置。In the present invention, the parameters mentioned in step 10121 can be used as parameters for controlling the input of magnetic field characteristics, and are also necessary conditions for controllable artificial magnetic fields. It is precisely because the staff can adjust the magnetic field characteristics of the magnetic field beacon device in real time according to actual needs, so that the terminal device can perceive the artificial magnetic field generated by the invention without external interference, thereby effectively positioning the magnetic field beacon. The location of the device, which in turn determines the location of the terminal device.
考虑到为了减少空间中其他电磁物体对磁场信标装置所发送的磁场特征产生干扰,在信息编码序列中,携带有磁场特征的信号与 静默信号是交错设置的,因此,为了准确确定磁场信标装置所处的位置,在本发明实施例的一个实现方式中,可以通过将信息编码序列中的信号进行差分运算来得到磁场信标装置的标识,之后根据该标识确定磁场信标装置所处的位置。因此,在如图2或图3所示的实现方式的基础上,以图2为例,还可以实现为如图6所示的实现方式。其中,步骤1042终端设备根据信息编码序列,获取磁场信标装置的标识,可以具体实现为步骤10421:Considering that in order to reduce the interference of other electromagnetic objects in the space to the magnetic field characteristics transmitted by the magnetic field beacon device, in the information coding sequence, the signal carrying the magnetic field characteristics is The silence signal is interleaved. Therefore, in order to accurately determine the position of the magnetic field beacon device, in an implementation manner of the embodiment of the present invention, the magnetic field beacon device can be obtained by performing differential operation on the signal in the information coding sequence. The identification of the magnetic beacon device is then determined based on the identification. Therefore, based on the implementation shown in FIG. 2 or FIG. 3, FIG. 2 can also be implemented as an implementation as shown in FIG. 6. Step 1042: The terminal device acquires the identifier of the magnetic field beacon device according to the information coding sequence, which may be specifically implemented as step 10421:
10421、终端设备通过将携带有磁场特征的信号,以及与携带有磁场特征的信号相邻的下一个静默信号进行差分运算,得到磁场信标装置的标识。10421. The terminal device obtains the identifier of the magnetic field beacon device by performing a differential operation on the signal carrying the magnetic field characteristic and the next silent signal adjacent to the signal carrying the magnetic field characteristic.
参考上文提到的信息编码序列,以序列承载单个字符“a”为例,终端设备确定某一磁场信标装置发送的信息编码序列具体为该磁场信标装置在t0时刻发送的磁感强度的X、Y、Z的取值分别为ax0、ay0、az0,在t1时刻发送的磁感强度的X、Y、Z的取值均为0,在tn时刻发送的磁感强度的X、Y、Z的取值分别为axn、ayn、azn,在tn+1时刻发送的磁感强度的X、Y、Z的取值均为0。其中,ax0、ay0、az0的取值与axn、ayn、azn的取值对应相等,即在t0时刻发送的磁感强度与在tn时刻发送的磁感强度相同,以此来增加信息传输的可靠性。Referring to the information coding sequence mentioned above, taking a single character “a” as a sequence, the terminal device determines that the information coding sequence sent by a certain magnetic field beacon device is specifically The values of X, Y, and Z of the magnetic induction intensity transmitted by the magnetic field beacon device at time t 0 are a x0 , a y0 , and a z0 , respectively, and X, Y, and Z of the magnetic induction intensity transmitted at time t 1 . The values are all 0, and the values of X, Y, and Z of the magnetic induction intensity transmitted at time t n are a xn , a yn , and a zn , respectively, and X and Y of the magnetic induction intensity transmitted at time t n+1 . The value of Z is 0. The values of a x0 , a y0 , and a z0 are equal to the values of a xn , a yn , and a zn , that is, the magnetic intensity transmitted at time t 0 is the same as the magnetic intensity transmitted at time t n . In order to increase the reliability of information transmission.
在本发明实施例中,可以采用差分运算的方式,得到t0时刻至tn+1时刻中每个时刻该磁场信标装置产生磁场的磁感强度。比如:通过得到X、Y、Z的取值分别为ax0、ay0、az0,从而得到t0时刻所发送的磁场强度在三轴的取值分别为ax0、ay0、az0,并根据上述X、Y、Z的取值来确定所对应的唯一的一个字符“a”,即信息编码序列对应的该磁场信标装置的标识。需要说明的是,为了提高信息传输的可靠性,可以分别确定多组相邻信号之间的关系,得到多个字符,并选取多个字符中出现次数最高的字符作为该磁场信标装置所产生磁场的磁场特征。In the embodiment of the present invention, the magnetic induction intensity of the magnetic field generated by the magnetic field beacon device at each time from time t 0 to time t n+1 can be obtained by using a differential operation method. For example: through The values of X, Y, and Z are obtained as a x0 , a y0 , and a z0 , respectively, so that the values of the magnetic field strengths transmitted at time t 0 are respectively a x0 , a y0 , a z0 , and according to the above The values of X, Y, and Z are used to determine a unique one of the characters "a", that is, the identifier of the magnetic field beacon device corresponding to the information coding sequence. It should be noted that, in order to improve the reliability of information transmission, the relationship between multiple sets of adjacent signals may be separately determined, multiple characters are obtained, and the character with the highest number of occurrences among the plurality of characters is selected as the magnetic field beacon device. The magnetic field characteristics of the magnetic field.
需要说明的是,上述各个时刻可以为磁场检测传感器每隔一定时间间隔所抽样采集到的磁场信号的一个瞬时值,之后在时间上将 模拟信号离散化,得到上述各个时刻所对应的磁感强度。其中,磁场检测传感器的采集间隔可以由用户或是工作人员根据磁感强度的变化程度进行设定,在此不做限定。It should be noted that each of the above moments may be an instantaneous value of the magnetic field signal sampled by the magnetic field detecting sensor at regular intervals, and then in time The analog signal is discretized to obtain the magnetic induction intensity corresponding to each of the above moments. The collection interval of the magnetic field detecting sensor can be set by the user or the staff according to the degree of change of the magnetic induction intensity, which is not limited herein.
此外,考虑到一个磁场信标装置所对应的字符可能为多个,那么采用上述方式也同样可以得到多个字符,比如:一串信息编码序列中,按照一定间隔进行划分,如100个时隙中,每20个时隙经过差分运算后可以表示一个字符,每20个时隙相当于针对同一个有效信号重复发送了20/2=10次,而最终可以得到5个连续的字符,这5个字符按照信息编码序列生成的先后顺序进行排列,也就得到了用上述5个字符来表示的磁场信标装置。In addition, considering that there may be more than one character corresponding to a magnetic field beacon device, multiple characters can also be obtained in the above manner. For example, in a series of information coding sequences, division is performed according to a certain interval, such as 100 time slots. In each case, every 20 time slots can represent one character after differential operation, and every 20 time slots is equivalent to repeating 20/2=10 times for the same valid signal, and finally 5 consecutive characters can be obtained. The characters are arranged in the order in which the information coding sequences are generated, and the magnetic field beacon device represented by the above five characters is obtained.
需要说明的是,对于终端进行解调解码的操作,则需要将上述离散的采样序列,通过上述差分计算之后转换成数字编码。之后,终端可以将这些数字编码进行排列,解信息头,解冗余重复得到数字信息流,从而获得磁场承载的数据信息,即磁场信标装置的地址编码信息,也就是磁场信标装置的标识。It should be noted that, for the operation of demodulating and decoding the terminal, the discrete sample sequence needs to be converted into digital code by the difference calculation. After that, the terminal can arrange the digital codes, solve the information header, and de-duplicate the digital information stream to obtain the data information carried by the magnetic field, that is, the address coding information of the magnetic field beacon device, that is, the identifier of the magnetic field beacon device. .
在本发明中,携带有磁场特征的信号与静默信号是交错设置。当终端设备根据磁场特征反推信息编码序列之后,可以通过将携带有磁场特征的信号,以及与携带有磁场特征的信号相邻的下一个静默信号进行差分运算,来得到生成该信息编码序列的磁场信标装置的标识。上述磁场特征的传输方式可以有效避免空间中其他电磁物体对磁场信标装置所发送的磁场特征产生干扰。之后终端设备可以根据数字化建筑结构图中各个磁场信标装置的标识,来确定发送磁场特征的磁场信标装置的位置。In the present invention, the signal carrying the magnetic field characteristics and the silence signal are interleaved. After the terminal device reverses the information coding sequence according to the magnetic field characteristic, the signal encoding sequence can be obtained by performing a difference operation between the signal carrying the magnetic field characteristic and the next silent signal adjacent to the signal carrying the magnetic field characteristic. Identification of the magnetic field beacon device. The transmission mode of the magnetic field feature described above can effectively prevent other electromagnetic objects in the space from interfering with the magnetic field characteristics transmitted by the magnetic field beacon device. The terminal device can then determine the position of the magnetic field beacon device that transmits the magnetic field signature based on the identification of each magnetic field beacon device in the digital building map.
在本发明实施例的一个实现方式中,在确定了磁场信标装置的位置之后,可以根据磁场信标装置的位置来确定终端设备的位置。因此,在如图1、图2、图3、图6所示的实现方式的基础上,以图1为例,还可以实现为如图7所示的实现方式。其中,在执行步骤105终端设备根据标识以及对应关系获取磁场信标装置的位置之后,可以执行步骤106: In one implementation of an embodiment of the invention, after determining the position of the magnetic field beacon device, the position of the terminal device can be determined based on the position of the magnetic field beacon device. Therefore, based on the implementations shown in FIG. 1, FIG. 2, FIG. 3, and FIG. 6, FIG. 1 can be used as an implementation as shown in FIG. After the step 105 is performed, the terminal device acquires the location of the magnetic field beacon device according to the identifier and the corresponding relationship, and may perform step 106:
106、终端设备根据磁场信标装置的位置确定终端设备的位置。106. The terminal device determines the location of the terminal device according to the location of the magnetic field beacon device.
终端设备可以根据磁场信标装置的位置、发送的信号强弱等参数,来确定终端设备的位置,具体实现方式会在后文提到,在此不做赘述。The terminal device can determine the location of the terminal device according to the position of the magnetic field beacon device and the strength of the transmitted signal. The specific implementation manner will be mentioned later, and will not be described herein.
在本发明中,确定磁场信标装置的位置主要还是为了实现终端设备的定位,因此,在确定产生磁场的磁场信标装置的位置之后,还可以借助上述磁场信标装置的位置,来确定终端设备可能的位置。In the present invention, determining the position of the magnetic field beacon device is mainly for realizing the positioning of the terminal device. Therefore, after determining the position of the magnetic field beacon device that generates the magnetic field, the position of the magnetic field beacon device can also be used to determine the terminal. The possible location of the device.
考虑到磁场信标装置的数量会影响终端所处位置,在本发明实施例的一个实现方式中,分别针对当磁场信标装置的数量为一个或多个的情况,提供了不同的用于确定终端设备的位置的实现方式。因此,在如图7所示的实现方式的基础上,还可以实现为如图8至图10所示的实现方式。其中,步骤106终端设备根据磁场信标装置的位置确定终端设备的位置,可以具体实现为步骤1061,或步骤1062和步骤1063,或步骤1064至步骤1066:Considering that the number of magnetic field beacon devices affects the location of the terminal, in one implementation of the embodiments of the present invention, different ones are provided for determining when the number of magnetic field beacon devices is one or more. The implementation of the location of the terminal device. Therefore, on the basis of the implementation shown in FIG. 7, it can also be implemented as shown in FIG. 8 to FIG. The step 106 determines the location of the terminal device according to the location of the magnetic field beacon device, which may be specifically implemented as step 1061, or step 1062 and step 1063, or step 1064 to step 1066:
1061、当磁场信标装置的数量为一个,终端设备将磁场信标装置所处位置确定为终端设备所处位置。1061. When the number of magnetic field beacon devices is one, the terminal device determines the location of the magnetic field beacon device as the location of the terminal device.
在本发明实施例中,终端设备可以直接将磁场信标装置的经度确定为终端设备的经度,且将磁场信标装置的纬度确定为终端设备的纬度,且将磁场信标装置的高度确定为终端设备的高度。In the embodiment of the present invention, the terminal device may directly determine the longitude of the magnetic field beacon device as the longitude of the terminal device, determine the latitude of the magnetic field beacon device as the latitude of the terminal device, and determine the height of the magnetic field beacon device as The height of the terminal device.
需要说明的是,本发明所提供的位置定位方案所定位出的终端设备当前的位置属于一个相对位置,也就意味着,将磁场信标装置的经纬度和高度作为终端设备的经纬度和高度,只能得到终端设备一种可能的位置,即终端设备当前的位置可能为采用本发明所确定出的位置,也可能为本发明所确定的位置附近的某一个位置。It should be noted that the current location of the terminal device that is located by the location location solution provided by the present invention belongs to a relative location, that is, the latitude and longitude and height of the magnetic field beacon device are used as the latitude and longitude and height of the terminal device, A possible location of the terminal device can be obtained, that is, the current location of the terminal device may be the location determined by the present invention, or may be a certain location near the location determined by the present invention.
由此可见,在终端设备确定磁场信标装置的位置之后,若磁场信标装置的数量为一个,则直接将磁场信标装置的经纬度和高度确定为终端设备的位置的经纬度和高度,从而确定终端设备的位置。It can be seen that after the terminal device determines the position of the magnetic field beacon device, if the number of the magnetic field beacon devices is one, the latitude and longitude and the height of the magnetic field beacon device are directly determined as the latitude and longitude and the height of the position of the terminal device, thereby determining The location of the terminal device.
1062、当磁场信标装置的数量为两个,磁场信标装置包括第一磁场信标装置和第二磁场信标装置,终端设备根据第一磁场信标装 置的磁场特征,确定第一磁场信标装置的信号强度,并根据第二磁场信标装置的磁场特征,确定第二磁场信标装置的信号强度。1062. When the number of magnetic field beacon devices is two, the magnetic field beacon device comprises a first magnetic field beacon device and a second magnetic field beacon device, and the terminal device is installed according to the first magnetic field beacon The magnetic field characteristic is determined, the signal strength of the first magnetic field beacon device is determined, and the signal strength of the second magnetic field beacon device is determined according to the magnetic field characteristics of the second magnetic field beacon device.
在本发明中,信号强度具体可以为磁感强度中所有磁感强度分量之和,或者是其他可以用于表示磁场信标装置生成磁场所生成的磁场特征的强弱程度的参数,在此不做限定。In the present invention, the signal strength may specifically be the sum of all the magnetic induction intensity components in the magnetic induction intensity, or other parameters that can be used to indicate the strength of the magnetic field characteristic generated by the magnetic field beacon device generating the magnetic field. Make a limit.
1063、终端设备根据第一磁场信标装置的信号强度与第二磁场信标装置的信号强度的差值,确定终端设备的位置。1063. The terminal device determines a location of the terminal device according to a difference between a signal strength of the first magnetic field beacon device and a signal strength of the second magnetic field beacon device.
其中,中心点偏离位置为直线距离上靠近信号强度最大的磁场信标装置的位置。Wherein, the center point deviation position is a position of the magnetic field beacon device with a signal intensity closest to the linear distance.
需要说明的是,与步骤1061所对应的实现方案类似,本发明所提供的位置定位方案所定位出的终端设备当前的位置属于一个相对位置,也就意味着,终端设备当前所处的位置可能为采用本发明所确定出的位置,也可能为本发明所确定的位置附近的某一个位置。It should be noted that, similar to the implementation scheme corresponding to step 1061, the current location of the terminal device that is located by the location location solution provided by the present invention belongs to a relative location, which means that the location of the terminal device may be located. The position determined by the use of the present invention may also be a certain position near the position determined by the present invention.
在本发明中,在终端设备确定磁场信标装置所处位置之后,若磁场信标装置的数量为两个,考虑到每个磁场信标装置发送的磁感强度均可以用于确定终端所处位置,因此,终端设备可以根据这两个磁场信标装置的信号强度来确定自身的位置。也就是根据终端所接收到信号的信号强度来确定终端设备距离哪个磁场信标装置较近,之后根据两个磁场信标装置的信号强度的差值,来确定终端设备的位置,比如:位于两个磁场信标装置之间直线距离上的中心点附近,且靠近信号强度较高的磁场信标装置的某一个偏离中心点的位置。In the present invention, after the terminal device determines the location of the magnetic field beacon device, if the number of magnetic field beacon devices is two, considering that the magnetic induction intensity transmitted by each magnetic field beacon device can be used to determine where the terminal is located Position, therefore, the terminal device can determine its position based on the signal strength of the two magnetic field beacon devices. That is, according to the signal strength of the signal received by the terminal, it is determined which magnetic field beacon device the terminal device is closer to, and then the position of the terminal device is determined according to the difference between the signal strengths of the two magnetic field beacon devices, for example: located at two The magnetic field beacon device is near the center point of the linear distance and is close to the position of the magnetic field beacon device with a higher signal strength from the center point.
1064、当磁场信标装置的数量为三个,磁场信标装置包括第一磁场信标装置、第二磁场信标装置和第三磁场信标装置,终端设备根据第一磁场信标装置的磁场特征,确定第一磁场信标装置的信号强度,并根据第二磁场信标装置的磁场特征,确定第二磁场信标装置的信号强度,并根据第三磁场信标装置的磁场特征,确定第三磁场信标装置的信号强度。1064. When the number of magnetic field beacon devices is three, the magnetic field beacon device comprises a first magnetic field beacon device, a second magnetic field beacon device and a third magnetic field beacon device, and the terminal device is configured according to the magnetic field of the first magnetic field beacon device. Characterizing, determining a signal strength of the first magnetic field beacon device, and determining a signal strength of the second magnetic field beacon device according to a magnetic field characteristic of the second magnetic field beacon device, and determining a first according to a magnetic field characteristic of the third magnetic field beacon device The signal strength of the three magnetic field beacon device.
1065、终端设备根据第一磁场信标装置的信号强度、第二磁场 信标装置的信号强度和第三磁场信标装置的信号强度之间的大小关系,确定终端设备分别与第一磁场信标装置、第二磁场信标装置,以及第三磁场信标装置的直线距离之间的大小关系。1065. The terminal device is configured according to a signal strength of the first magnetic field beacon device and a second magnetic field. a magnitude relationship between a signal strength of the beacon device and a signal strength of the third magnetic field beacon device, determining a line of the terminal device with the first magnetic field beacon device, the second magnetic field beacon device, and the third magnetic field beacon device, respectively The relationship between the distances.
其中,直线距离之间的大小关系与信号强度之间的大小关系负相关。Among them, the relationship between the magnitude of the linear distance and the magnitude relationship between the signal strengths is negatively correlated.
1066、终端设备根据直线距离之间的大小关系,确定终端设备的位置为三角形区域内的指定区域。1066. The terminal device determines, according to the relationship between the linear distances, the location of the terminal device as a designated area in the triangular area.
其中,三角形区域为以第一磁场信标装置的位置、第二磁场信标装置的位置和第三磁场信标装置的位置为顶点所构成的三角形区域,在指定区域内,终端分别与第一磁场信标装置、第二磁场信标装置,以及第三磁场信标装置的直线距离满足直线距离之间的大小关系。Wherein, the triangular region is a triangular region formed by vertices of a position of the first magnetic field beacon device, a position of the second magnetic field beacon device, and a position of the third magnetic field beacon device. In the designated region, the terminal respectively and the first The linear distance of the magnetic field beacon device, the second magnetic field beacon device, and the third magnetic field beacon device satisfies the magnitude relationship between the linear distances.
以终端设备能够接收到3个磁场信标装置产生磁场的磁感强度为例,如图11所示为3个磁场信标装置与终端设备的位置关系示意图。这2个磁场信标装置分别为磁场信标装置1、磁场信标装置2和磁场信标装置3。通过步骤1064,可以确定图中距离1、距离2和距离3之间的大小关系,并根据距离1、距离2和距离3之间的大小关系可以绘出图中的三角形区域。而在三角形区域中,终端设备的位置必然为靠近信号强度较大的磁场信标装置的位置。考虑到终端设备能够接收到的来自于磁场信标装置2的磁感强度的信号更强,因此,终端设备所处位置更靠近与磁场信标装置2,从而得到终端所处位置为如图所示的位置。因此,图中十字所表示的位置,可以被视为终端设备一种可能的位置。Taking the magnetic induction intensity of the magnetic field generated by the three magnetic field beacon devices as an example, the terminal device is shown as a schematic diagram of the positional relationship between the three magnetic field beacon devices and the terminal device. The two magnetic field beacon devices are a magnetic field beacon device 1, a magnetic field beacon device 2, and a magnetic field beacon device 3, respectively. Through step 1064, the size relationship between the distance 1, the distance 2, and the distance 3 in the figure can be determined, and the triangular area in the figure can be drawn according to the size relationship between the distance 1, the distance 2, and the distance 3. In the triangular region, the location of the terminal device must be close to the position of the magnetic field beacon device with a large signal strength. Considering that the signal from the magnetic induction beacon device 2 that the terminal device can receive is stronger, the terminal device is located closer to the magnetic field beacon device 2, so that the position of the terminal is as shown in the figure. The location shown. Therefore, the position indicated by the cross in the figure can be regarded as a possible position of the terminal device.
需要说明的是,与步骤1061,以及步骤1062和步骤1063所对应的实现方案类似,本发明所提供的位置定位方案所定位出的终端设备当前所处位置属于一个相对位置,也就意味着,终端设备当前所处的位置可能为采用本发明所确定出的位置,也可能为本发明所确定的位置附近的某一个位置。It should be noted that, similarly to the implementation scheme corresponding to step 1061 and step 1062 and step 1063, the current location of the terminal device that is located by the location location solution provided by the present invention belongs to a relative location, that is, The location at which the terminal device is currently located may be the location determined by the present invention, or may be a location near the location determined by the present invention.
另外,对于终端设备而言,当磁场信标装置不仅限于上述一个、 两个和三个时,终端设备同样可以参考上述方案,结合磁场信标装置的信号强度,以及每个磁场信标装置的位置来确定终端设备可能的位置,或是终端设备可能位置所在的区域。也就意味着,上述实现方案仅作为一种示例对本发明所提供的技术方案加以说明,但不作为对本发明应用场景的限定。In addition, for the terminal device, when the magnetic field beacon device is not limited to the above one, For two or three, the terminal device can also refer to the above scheme, combined with the signal strength of the magnetic field beacon device and the position of each magnetic field beacon device to determine the possible location of the terminal device, or the region where the terminal device may be located. . It is to be understood that the above-mentioned implementations are only illustrative of the technical solutions provided by the present invention as an example, but are not intended to limit the application scenarios of the present invention.
本发明实施例可以根据上述方法示例对终端设备、磁场信标装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present invention may divide the function module of the terminal device and the magnetic field beacon device according to the foregoing method example. For example, each function module may be divided according to each function, or two or more functions may be integrated into one processing module. in. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
在采用对应各个功能划分各个功能模块的情况下,图12示出了上述实施例中所涉及的终端设备的一种可能的结构示意图,终端设备20包括:通信模块21和处理模块22。通信模块21用于支持终端设备20与磁场信标装置的通信,比如执行图1中的过程103。处理模块22用于对终端设备20的动作进行控制管理,比如支持终端设备20执行图1中的过程104和105、图2中的过程1041和1042、图6中的过程10421、图7中的过程106、图8中的过程1061、图9中的过程1062和1063、图10中的过程1064至1066,和/或用于本文所描述的技术的其它过程。终端设备20还可以包括存储模块23,用于存储相关的程序代码和数据。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。FIG. 12 is a schematic diagram showing a possible structure of a terminal device involved in the foregoing embodiment. The terminal device 20 includes a communication module 21 and a processing module 22. The communication module 21 is for supporting communication of the terminal device 20 with the magnetic field beacon device, such as the process 103 of FIG. The processing module 22 is configured to control and manage the actions of the terminal device 20, such as supporting the terminal device 20 to perform the processes 104 and 105 in FIG. 1, the processes 1041 and 1042 in FIG. 2, the process 10421 in FIG. 6, and the process in FIG. Process 106, process 1061 in FIG. 8, processes 1062 and 1063 in FIG. 9, processes 1064 through 1066 in FIG. 10, and/or other processes for the techniques described herein. The terminal device 20 may further include a storage module 23 for storing related program codes and data. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
其中,处理模块22可以是处理器或控制器,例如可以是中央处理器(英文:Central Processing Unit,简称:CPU),通用处理器,数字信号处理器(英文:Digital Signal Processor,简称:DSP),专用集成电路(英文:Application-Specific Integrated Circuit,简称:ASIC),现场可编程门阵列(英文:Field Programmable Gate Array,简称:FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块21具体可以是收发器、收发电路或通信接口等。存储模块23可以是存储器。The processing module 22 may be a processor or a controller, for example, a central processing unit (English: Central Processing Unit, CPU for short), a general-purpose processor, and a digital signal processor (English: Digital Signal Processor, referred to as DSP). , Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (English: Field Programmable Gate) Array, referred to as: FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module 21 may specifically be a transceiver, a transceiver circuit, a communication interface, or the like. The storage module 23 can be a memory.
在采用对应各个功能划分各个功能模块的情况下,图13示出了上述实施例中所涉及的磁场信标装置的一种可能的结构示意图,磁场信标装置30包括:处理模块31和通信模块32。处理模块31用于对磁场信标装置30的动作进行控制管理,比如支持磁场信标装置30执行图1、图7、图8、图9、图10中的过程101、图2、图6中的过程1011和1012、图3中的过程1011和10121,和/或用于本文所描述的技术的其它过程。通信模块32用于支持磁场信标装置30与终端设备的通信,比如执行图1、图2、图3、图6、图7、图8、图9、图10中的过程102。磁场信标装置30还可以包括存储模块33,用于存储相关的程序代码和数据。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。FIG. 13 shows a possible structural diagram of the magnetic field beacon apparatus involved in the above embodiment, and the magnetic field beacon apparatus 30 includes: a processing module 31 and a communication module, in a case where each functional module is divided by corresponding functions. 32. The processing module 31 is configured to control and manage the action of the magnetic field beacon device 30. For example, the support magnetic field beacon device 30 performs the process 101 in FIG. 1, FIG. 7, FIG. 8, FIG. 9, FIG. 10, FIG. 2, FIG. Processes 1011 and 1012, processes 1011 and 10121 in FIG. 3, and/or other processes for the techniques described herein. The communication module 32 is configured to support communication of the magnetic field beacon device 30 with the terminal device, such as the process 102 of FIGS. 1, 2, 3, 6, 7, 8, 9, and 10. The magnetic field beacon device 30 can also include a storage module 33 for storing associated program codes and data. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
其中,处理模块31可以是处理器或控制器,例如可以是中央处理器,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块32可以由一个通信模块来实现其具有的功能,该通信模块具体可以是收发器、收发电路或通信接口等。存储模块33可以是存储器。The processing module 31 can be a processor or a controller, such as a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, or a hardware. A component or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication module 32 can be implemented by a communication module, which can be specifically a transceiver, a transceiver circuit or a communication interface. The storage module 33 can be a memory.
当通信模块21为收发器,处理模块22为处理器,存储模块23为存储器时,本发明实施例所涉及的终端设备可以为图14所示的终 端设备。When the communication module 21 is a transceiver, the processing module 22 is a processor, and the storage module 23 is a memory, the terminal device involved in the embodiment of the present invention may be the end shown in FIG. End device.
参阅图14所示,该终端设备40包括:处理器41、收发器42、存储器43以及总线44。其中,处理器41、收发器42,以及存储器43通过总线44相互连接;总线44可以是外设部件互连标准(英文:Peripheral Component Interconnect,简称:PCI)总线或扩展工业标准结构(英文:Extended Industry Standard Architecture,简称:EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 14, the terminal device 40 includes a processor 41, a transceiver 42, a memory 43, and a bus 44. The processor 41, the transceiver 42, and the memory 43 are connected to each other through a bus 44. The bus 44 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard structure (English: Extended) Industry Standard Architecture, referred to as EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 14, but it does not mean that there is only one bus or one type of bus.
结合本发明公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(英文:Random Access Memory,简称:RAM)、闪存、只读存储器(英文:Read Only Memory,简称:ROM)、可擦除可编程只读存储器(英文:Erasable Programmable ROM,简称:EPROM)、电可擦可编程只读存储器(英文:Electrically EPROM,简称:EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(简称:CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。The steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions. The software instructions may be composed of corresponding software modules, and the software modules may be stored in a random access memory (English: Random Access Memory, RAM for short), flash memory, read only memory (English: Read Only Memory, referred to as: ROM), Erase programmable read-only memory (English: Erasable Programmable ROM, referred to as: EPROM), electrically erasable programmable read-only memory (English: Electrically EPROM, referred to as: EEPROM), registers, hard disk, mobile hard disk, read-only optical disk (referred to as : CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device. Of course, the processor and the storage medium may also exist as discrete components in the core network interface device.
当通信模块32为收发器,处理模块31为处理器,存储模块33为存储器时,本发明实施例所涉及的磁场信标装置可以为图15所示的磁场信标装置。When the communication module 32 is a transceiver, the processing module 31 is a processor, and the storage module 33 is a memory, the magnetic field beacon device according to the embodiment of the present invention may be the magnetic field beacon device shown in FIG.
参阅图15所示,该磁场信标装置50包括:处理器51、收发器52、存储器53以及总线54。其中,处理器51、收发器52,以及存储器53通过总线54相互连接;总线54可以是外设部件互连标准总 线或扩展工业标准结构总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 15, the magnetic field beacon apparatus 50 includes a processor 51, a transceiver 52, a memory 53, and a bus 54. Wherein, the processor 51, the transceiver 52, and the memory 53 are connected to each other through a bus 54; the bus 54 may be a peripheral component interconnect standard Line or extended industry standard structure bus. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 15, but it does not mean that there is only one bus or one type of bus.
结合本发明公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器、闪存、只读存储器、可擦除可编程只读存储器、电可擦可编程只读存储器、寄存器、硬盘、移动硬盘、只读光盘或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于核心网接口设备中。当然,处理器和存储介质也可以作为分立组件存在于核心网接口设备中。The steps of a method or algorithm described in connection with the present disclosure may be implemented in a hardware, or may be implemented by a processor executing software instructions. Software instructions may be comprised of corresponding software modules that may be stored in random access memory, flash memory, read only memory, erasable programmable read only memory, electrically erasable programmable read only memory, registers, hard disk, mobile A hard disk, a read-only optical disk, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a core network interface device. Of course, the processor and the storage medium may also exist as discrete components in the core network interface device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art will appreciate that in one or more examples described above, the functions described herein can be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. The scope of the protection, any modifications, equivalent substitutions, improvements, etc., which are made on the basis of the technical solutions of the present invention, are included in the scope of the present invention.
Claims (36)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/097508 WO2018039965A1 (en) | 2016-08-31 | 2016-08-31 | Method for acquiring position information, magnetic field beacon apparatus, and terminal device |
| CN201680088167.5A CN109565776A (en) | 2016-08-31 | 2016-08-31 | A kind of method, magnetic field beacon apparatus and terminal device obtaining location information |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2016/097508 WO2018039965A1 (en) | 2016-08-31 | 2016-08-31 | Method for acquiring position information, magnetic field beacon apparatus, and terminal device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018039965A1 true WO2018039965A1 (en) | 2018-03-08 |
Family
ID=61300074
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/097508 Ceased WO2018039965A1 (en) | 2016-08-31 | 2016-08-31 | Method for acquiring position information, magnetic field beacon apparatus, and terminal device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109565776A (en) |
| WO (1) | WO2018039965A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110207688B (en) * | 2019-06-25 | 2020-12-04 | 哈尔滨工业大学 | A method and system for fast orientation of magnetic beacons based on eigenvectors |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102741653A (en) * | 2009-11-24 | 2012-10-17 | 诺基亚公司 | Installation of magnetic signal sources for positioning |
| CN103518408A (en) * | 2011-03-07 | 2014-01-15 | 伊西斯创新有限公司 | Systems and associated devices for providing information |
| CN103926582A (en) * | 2013-01-15 | 2014-07-16 | 财团法人工业技术研究院 | Magnetic field characteristic-based azimuth measuring method and system |
| CN105785317A (en) * | 2016-03-11 | 2016-07-20 | 成都理想境界科技有限公司 | Space positioning system and method |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100338478C (en) * | 2002-08-19 | 2007-09-19 | Q-Track股份有限公司 | Near field electromagnetic positioning system and method |
| US7768392B1 (en) * | 2007-03-30 | 2010-08-03 | Savi Technology, Inc. | Received signal strength location determination of low frequency tags |
| US9781571B2 (en) * | 2011-04-20 | 2017-10-03 | Sony Corporation | Methods, systems and computer program products for registration of and anonymous communications related to tagged objects |
-
2016
- 2016-08-31 WO PCT/CN2016/097508 patent/WO2018039965A1/en not_active Ceased
- 2016-08-31 CN CN201680088167.5A patent/CN109565776A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102741653A (en) * | 2009-11-24 | 2012-10-17 | 诺基亚公司 | Installation of magnetic signal sources for positioning |
| CN103518408A (en) * | 2011-03-07 | 2014-01-15 | 伊西斯创新有限公司 | Systems and associated devices for providing information |
| CN103926582A (en) * | 2013-01-15 | 2014-07-16 | 财团法人工业技术研究院 | Magnetic field characteristic-based azimuth measuring method and system |
| CN105785317A (en) * | 2016-03-11 | 2016-07-20 | 成都理想境界科技有限公司 | Space positioning system and method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109565776A (en) | 2019-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9330666B2 (en) | Gesture-based messaging method, system, and device | |
| CN114186632A (en) | Training method, device, equipment and storage medium for key point detection model | |
| CN105849579B (en) | The localization method and mobile terminal of target device | |
| CN109858445A (en) | Method and apparatus for generating model | |
| CN113205041B (en) | Structured information extraction method, device, equipment and storage medium | |
| KR102557774B1 (en) | sound zooming | |
| CN109753928A (en) | Illegal building identification method and device | |
| WO2017185828A1 (en) | Fingerprint positioning method and apparatus | |
| CN106104569A (en) | For setting up the method and apparatus of connection between electronic installation | |
| CN109565301A (en) | Magnetic communication method | |
| US10809317B2 (en) | Spatially dependent correction of magnetic field sensor readings | |
| CN102111876A (en) | Method and device for selecting reference labels used for location | |
| CN112115445A (en) | Method for authenticating a user at a kiosk device | |
| JP2014528135A (en) | Human head detection in depth images | |
| CN109597028B (en) | A time-of-arrival based robust localization method under mixed line-of-sight and non-line-of-sight conditions | |
| CN105444766B (en) | Indoor navigation method based on deep learning | |
| CN108509916A (en) | Method and apparatus for generating image | |
| KR20240008892A (en) | Bending estimation as a biometric signal | |
| KR101690656B1 (en) | Method and apparatus for generating media signal | |
| CN110110666A (en) | Object detection method and device | |
| WO2021192425A1 (en) | Communication device and position identification method | |
| CN113362260B (en) | Image optimization method and device, storage medium and electronic device | |
| WO2018039965A1 (en) | Method for acquiring position information, magnetic field beacon apparatus, and terminal device | |
| US11369283B2 (en) | Implant magnet distance determination | |
| CN110765926B (en) | Picture book identification method, device, electronic equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16914531 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16914531 Country of ref document: EP Kind code of ref document: A1 |