WO2020259718A1 - Federated learning-based indoor positioning method, apparatus, and terminal device, and storage medium - Google Patents

Federated learning-based indoor positioning method, apparatus, and terminal device, and storage medium Download PDF

Info

Publication number
WO2020259718A1
WO2020259718A1 PCT/CN2020/107331 CN2020107331W WO2020259718A1 WO 2020259718 A1 WO2020259718 A1 WO 2020259718A1 CN 2020107331 W CN2020107331 W CN 2020107331W WO 2020259718 A1 WO2020259718 A1 WO 2020259718A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
indoor positioning
model
indoor
location information
Prior art date
Application number
PCT/CN2020/107331
Other languages
French (fr)
Chinese (zh)
Inventor
程勇
刘洋
陈天健
Original Assignee
深圳前海微众银行股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳前海微众银行股份有限公司 filed Critical 深圳前海微众银行股份有限公司
Publication of WO2020259718A1 publication Critical patent/WO2020259718A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations
    • G01C21/206Instruments for performing navigational calculations specially adapted for indoor navigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0278Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves involving statistical or probabilistic considerations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings

Definitions

  • This application relates to the field of Fintech (financial technology) technology, and in particular to an indoor positioning method, device, terminal device, and computer-readable storage medium based on federated learning.
  • Wi-Fi signals exist in most indoor environments. For example, offices, teaching buildings, restaurants, cafes, shopping malls, supermarkets, airports, train stations and subway cars already have Wi-Fi signals. Coverage, so the technology of using Wi-Fi signals for indoor positioning has ushered in a wide range of applications.
  • Wi-Fi location fingerprint library intensively, that is, to obtain Wi-Fi location fingerprint information by measuring at a large number of target locations to build Wi-Fi.
  • Location fingerprint database in this way, not only need to spend a lot of time and energy to build the location fingerprint database, resulting in the overall measurement of the indoor location is very limited, in addition, in the use of crowdsourcing (through a large number of users' mobile terminals to collect Wi- When the location fingerprint database is constructed using Fi location fingerprint information), the user’s private information, such as the place and location information the user has been to, will also be leaked.
  • the main purpose of this application is to provide an indoor positioning method, device, terminal equipment, and computer readable storage medium based on federated learning, which aims to solve the existing indoor positioning method, which can measure the indoor position as a whole is limited and easy to leak Technical issues of user privacy.
  • the indoor positioning method based on federated learning includes:
  • Each of the terminal devices performs model training based on the indoor positioning training data set to obtain model parameter updates
  • the update of the model parameters is converted into global model parameters for each terminal device to perform indoor positioning.
  • the method further includes:
  • the location information includes: wide area location information and indoor location information,
  • the step of constructing the indoor positioning training data set owned by each terminal device includes:
  • the target indoor location information Using the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs respectively as a piece of indoor positioning training data;
  • All the indoor positioning training data are collected to construct an indoor positioning training data set of each terminal device.
  • the wide area location information is physical location information
  • the indoor location information is coordinate information using the wide area location information as a reference point.
  • the step of combining each of the terminal devices to perform model training based on the indoor positioning training data set to obtain model parameter updates includes:
  • each terminal device performs model training locally on each terminal device to obtain model parameter updates.
  • step of performing model training on each of the terminal devices locally according to the detected model update request includes:
  • each of the terminal devices uses the global model parameters to perform model training locally;
  • each terminal device uses the indoor positioning training data set to perform model training locally.
  • the step of converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning includes:
  • the global model parameters are distributed to each of the terminal devices, so that each of the terminal devices can perform indoor positioning based on model training locally.
  • the present application also provides an indoor positioning device based on federated learning, and the indoor positioning device based on federated learning includes:
  • the building module is used to build the indoor positioning training data set owned by each terminal device;
  • the training module is used to perform model training based on the indoor positioning training data set to obtain model parameter updates
  • the positioning module is used for converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning.
  • the present application also provides a terminal device.
  • the terminal device includes a memory, a processor, and an indoor positioning program based on federated learning that is stored in the memory and can be run on the processor.
  • the indoor positioning program is executed by the processor, the steps of the indoor positioning method based on federated learning as described above are realized.
  • the present application also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the indoor positioning method based on federated learning as described above are realized.
  • the indoor positioning method, device, terminal device, and computer-readable storage medium based on federated learning proposed in this application construct an indoor positioning training data set owned by each terminal device; each terminal device is based on the indoor positioning training data set
  • Model training is performed to obtain model parameter updates; the model parameter updates are converted into global model parameters for indoor positioning by each terminal device.
  • This application realizes that there is no need to concentrate on building a location fingerprint database, but to combine the data owned by each terminal device itself for model training, avoiding the need to spend a lot of time and energy to build a location fingerprint database, and to centralize each terminal device
  • the model parameters obtained by model training are updated to obtain global model parameters, which greatly expands the indoor position that can be measured by the terminal device.
  • each terminal device since each terminal device only trains the machine learning model locally, they have not disclosed their respective locations. Owning indoor positioning training data, thus, will not cause the leakage of user privacy information.
  • FIG. 1 is a schematic diagram of the hardware operation structure involved in the solution of the embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a first embodiment of an indoor positioning method based on federated learning according to the present application
  • step S200 is a detailed flowchart of step S200 in an embodiment of an indoor positioning method based on federated learning according to the present application;
  • FIG. 4 is a schematic diagram of an application scenario of an embodiment of an indoor positioning method based on federated learning according to the present application
  • Fig. 5 is a schematic structural diagram of an indoor positioning device based on federated learning in this application.
  • Fig. 1 is a schematic structural diagram of a hardware operating environment involved in a solution of an embodiment of the present application.
  • Fig. 1 can be a structural diagram of the hardware operating environment of the terminal device.
  • the terminal device in the embodiment of the present application may be a terminal device such as a PC and a portable computer.
  • the terminal device may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory.
  • the memory 1005 may also be a storage device independent of the foregoing processor 1001.
  • the structure of the terminal device shown in FIG. 1 does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange different components.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a processing program for distributed tasks.
  • the operating system is a program that manages and controls the hardware and software resources of the sample terminal equipment, supports the processing of distributed tasks, and the operation of other software or programs.
  • the user interface 1003 is mainly used for data communication with various terminals;
  • the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server;
  • the processor 1001 can be used for calling the memory 1005
  • Each of the terminal devices performs model training based on the indoor positioning training data set to obtain model parameter updates
  • the update of the model parameters is converted into global model parameters for each terminal device to perform indoor positioning.
  • the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and before executing the step of constructing an indoor positioning training data set of each terminal device, it may also perform the following operations:
  • the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and also perform the following operations:
  • the target indoor location information Using the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs respectively as a piece of indoor positioning training data;
  • All the indoor positioning training data are collected to construct an indoor positioning training data set of each terminal device.
  • the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and also perform the following operations:
  • each of the terminal devices performs model training locally to obtain model parameter updates.
  • the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and also perform the following operations:
  • each of the terminal devices uses the global model parameters to perform model training locally;
  • each terminal device uses the indoor positioning training data set to perform model training locally.
  • the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and also perform the following operations:
  • the global model parameters are distributed to each of the terminal devices, so that each of the terminal devices can perform indoor positioning based on model training locally.
  • FIG. 2 is a schematic flowchart of a first embodiment of an indoor positioning method based on federated learning in this application.
  • the embodiment of the application provides an embodiment of an indoor positioning method based on federated learning. It should be noted that although the logical sequence is shown in the flowchart, in some cases, the sequence may be executed in a different order than here. Steps shown or described.
  • the indoor positioning method based on federated learning in the embodiment of the present application is applied to the above-mentioned terminal device.
  • the terminal device in the embodiment of the present application may be a terminal device such as a PC, a portable computer, etc., which is not specifically limited here.
  • Step S100 Construct an indoor positioning training data set of each terminal device.
  • the indoor positioning training data set owned by each terminal device is built locally in each terminal device.
  • the indoor positioning method based on federated learning in this application further includes:
  • Step A Obtain the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
  • Each terminal device independently collects location information and location fingerprint information of its location.
  • the location information includes wide-area location information and indoor location information.
  • Location fingerprint information can be collected based on Wi-Fi signals, or location fingerprint information is also based on Bluetooth Wait for other wireless signals to collect.
  • the indoor location information is: the current user terminal equipment (may be the user’s mobile terminal equipment, such as a mobile phone) has visited indoor location information (such as office spaces, teaching buildings, restaurants, cafes). , Shopping malls, supermarkets, airports, train stations, subway cars and other indoor location information); wide-area location information is: outdoor large-scale location information, for example, the location information of an office building, or the location information of a shopping mall , Wide-area location information is physical location information that can be obtained through GPS satellites, or Beidou navigation satellite systems, or mobile communication base station positioning systems, or through map information. The manifestation of wide-area location information can be in the navigation system.
  • location fingerprint information is: Wi-Fi location fingerprint information or Bluetooth location fingerprint information measured by the current user’s mobile terminal device, Wi-Fi -Fi location fingerprint information or Bluetooth location fingerprint information has a one-to-one correspondence with indoor location information.
  • Wi-Fi location fingerprint information or Bluetooth location fingerprint information can include RSS (Really Simple Syndication), a description and synchronization of website content
  • RSS Really Simple Syndication
  • AP Access Point: wireless access node, session point or access bridge
  • multi-path structure multi-path structure
  • AP’s IP address IP address
  • each terminal device may not upload the location information and fingerprint information of the location where it is collected independently to any other server, but store it locally in each terminal device, thereby avoiding user privacy.
  • Information disclosure such as not revealing information such as places and locations that users have been to.
  • the indoor position information of the location of the terminal device may be coordinate information with the wide area position information as the coordinate center, or the indoor position information may also use the wide area position information as the reference point Therefore, the wide-area location information can help the user’s mobile terminal to calculate the wide-area coordinate position of the indoor location information that recognizes the current mobile terminal’s location (for example, the global coordinate position in the form of longitude and latitude coordinates). That is to say, the indoor location information of the user's mobile terminal does not only contain the local coordinate location in the room (that is, the coordinate information with the wide area location information as the coordinate center, or the wide area location information as the reference point). Coordinate information).
  • step S100 constructing an indoor positioning training data set of each terminal device, includes:
  • Step S101 sequentially extracting target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information.
  • the target indoor location information uniquely corresponding to each piece of location fingerprint information collected by the current terminal device is sequentially extracted.
  • Fi location fingerprint information which uniquely corresponds to a piece of target indoor location information, and sequentially extracts each piece of target indoor location information uniquely corresponding to each piece of Wi-Fi location fingerprint information among multiple pieces of current indoor location information.
  • step S102 the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs are respectively used as a piece of indoor positioning training data.
  • a piece of location fingerprint information, the target indoor location information corresponding to the current location fingerprint information, and the wide area location information to which the current target indoor location information belongs are marked as a piece of indoor positioning training data of the current terminal device.
  • the Wi-Fi location fingerprint information with the current form of "RSS+multipath structure", and the target indoor location information in the spatial coordinate format that uniquely corresponds to the current Wi-Fi location fingerprint information, and the current target indoor
  • the wide-area location information identified by the coordinate center of the location information is marked as a piece of indoor positioning training data uniquely owned by the mobile terminal of the current user.
  • Step S103 Count all the indoor positioning training data to construct an indoor positioning training data set of each terminal device.
  • a training set of indoor positioning data unique to each terminal device on different terminal devices it is possible to implement machine learning model training for each terminal device based on its own indoor positioning data training set.
  • a terminal device can learn the indoor location information of a place that the terminal device has not been to (the indoor location recorded by other terminal devices), so that when a terminal device goes to a place that has not been before, As long as any other terminal device associated with the current terminal device has reached and recorded the indoor location information of the location where the current terminal device is located, the current terminal device can obtain accurate indoor positioning information.
  • the effect of joint learning for multiple terminal devices is equivalent to the use of "crowdsourcing" to collect training data and then perform machine To learn the effect of model training, compared to the "crowdsourcing" approach, this embodiment does not disclose the user's private information, for example, does not disclose information such as places and locations the user has been to.
  • each terminal device performs model training based on the indoor positioning training data set to obtain model parameter updates.
  • each terminal device After each terminal device completes its own local indoor positioning training data set, each terminal device is combined to perform machine learning model training based on the indoor positioning training data set it owns, so that the model parameters after model training are obtained locally on each terminal device Update.
  • model parameter update is a term that refers to the update of the parameters.
  • the model parameter update can be the sent model parameter, the sent gradient value, the loss value, or the weight of the neural network.
  • step S200 model training is performed in conjunction with each of the terminal devices based on the indoor positioning training data set to obtain model parameter updates, including:
  • Step S201 Detect a model update request of each terminal device for model training.
  • Each terminal device detects and obtains a model update request that controls its machine learning model training, where the model training request can be a start instruction that does not carry any data, or the model training request can also be carried by each terminal device independently
  • the model parameters obtained by the model training update the global model parameters generated by the transformation.
  • the server sends the terminal device 1 to the terminal device 1 through a point-to-point communication.
  • the terminal device 2 to the terminal device n send out a model update request for controlling the machine learning model training, or the server can also use multicast, or multicast, or broadcast, and send it to the terminal device 1, the terminal device 2 to one or more of the terminal devices n sends the model update request, and each terminal device 1, the terminal device 2 to the terminal device n detects and obtains the model update request in real time.
  • Step S202 According to the detected model update request, each terminal device performs model training locally to obtain model parameter updates.
  • each terminal device After each terminal device obtains the model update request that controls it to perform machine learning model training, it further detects whether the current model update request includes global model parameters generated by the model parameter update obtained by each terminal device independently performing model training. Thus, according to the detection result, the machine learning model is trained locally in each terminal device.
  • each terminal device can also independently use its own indoor positioning training data for model training, without the need to cooperate with other terminal devices. Further, each terminal device can also update the request according to the detection model. , The training of the machine learning model is performed independently or in conjunction with other terminal devices on the confidential cloud server associated with the current terminal device.
  • the indoor positioning training data collected by each terminal device can be stored in each terminal device Locally, either stored in the confidential network storage space associated with the terminal device, or stored in the confidential cloud storage space associated with the terminal device, thereby ensuring that the privacy information of the user of the terminal device will not be leaked.
  • Step S300 Convert the model parameter update into a global model parameter for each terminal device to perform indoor positioning.
  • model parameter updates obtained by each terminal device's independent model training are subjected to fusion processing to transform and generate global model parameters, and the transformed global model parameters are passed through
  • the model update request that controls each terminal device to perform machine learning model training is distributed to each terminal device, so that each terminal device can continue to perform model training to achieve indoor positioning.
  • the server uses multicast, or multicast, or broadcast, and sends to the terminal device 1, terminal device 2 to terminal device n at the same time to control each terminal device to start model training
  • the model update request sent by the server to each terminal device 1, terminal device 2 to terminal device n carries the model update request of each terminal device 1, terminal device 2 to terminal device n based on its own
  • the model parameter update obtained by model training is performed on the indoor positioning training data set, and the global model parameters generated by the fusion process are transformed, so as to detect and obtain the model update request in real time after each terminal device 1, terminal device 2 to terminal device n ,
  • By using the carried global model parameters to continue the local model training of machine learning models (such as LSTM models (long-short term memory)) to achieve indoor positioning, that is, the server and each terminal device 1,
  • the terminal device 2 to the terminal device n repeat the model training based on the global model parameters to obtain the model parameter update, and the model parameter update fusion process is transformed into the new global model parameter step, until each terminal
  • the indoor positioning training data set owned by each terminal device is constructed; each terminal device is combined to perform model training based on the indoor positioning training data set to obtain model parameter updates; and the model parameters are updated Converted into global model parameters for each terminal device to perform indoor positioning.
  • the global model parameters obtained by the conversion can be used for model training to obtain the indoor location information of the user terminal device itself when the model training is completed.
  • the terminals are combined according to the detected model update request
  • the equipment conducts model training locally, including:
  • Step S2021 Detect whether the global model parameter is included in the model update request.
  • each terminal device After each terminal device detects and obtains the model update request that controls its machine learning model training in real time, it further detects whether the current model update request includes the model parameter update obtained by each terminal device's independent model training for transformation and generation Model parameters.
  • Step S2022 each of the terminal devices uses the global model parameters to perform model training locally.
  • the terminal device detects that the current model update request carries the global model parameters generated by transforming the model parameters obtained by each terminal device's independent model training, the global model parameters generated by the transformation are used locally in each terminal device to perform the machine Model training for learning models.
  • the terminal device 1, the terminal device 2 to the terminal device n jointly train the machine learning model for indoor positioning-the LSTM model, each terminal device 1, the terminal device 2 to The terminal device n uses its own indoor positioning training data set to train locally on the terminal device, and sends the model parameter update obtained after training to the server, and the server sends the received terminal device 1, terminal device 2 to terminal device n
  • the incoming model parameter updates are fused (for example, to obtain a weighted average), and the global model parameters obtained after the fusion processing are sent to each terminal device through a model training request, so that each terminal device continues to operate according to the global model parameters.
  • Local training is used for indoor positioning LSTM model.
  • the terminal device and the server can use encryption (for example, homomorphic encryption, or password sharing) to send model parameter updates and global model parameters.
  • encryption for example, homomorphic encryption, or password sharing
  • Step S2023 each of the terminal devices uses the indoor positioning training data set to perform model training locally.
  • the terminal device If the terminal device detects that the current model update request does not carry the global model parameters generated by the model parameter updates obtained by each terminal device's independent model training, it will use the indoor positioning owned by each terminal device locally.
  • the training data set is used for model training of machine learning models.
  • each terminal device 1, terminal device 2 to terminal device n uses the indoor positioning training data set constructed by each of them to start local Train the LSTM model for indoor positioning.
  • step S300 in the foregoing first embodiment includes:
  • Step S301 Perform preset fusion processing on the model parameter update, and convert the model parameter update into a global model parameter.
  • Step S302 Distribute the global model parameters to each of the terminal devices, so that each of the terminal devices can perform indoor positioning locally based on model training.
  • the terminal device 1, the terminal device 2 to the terminal device n jointly train the machine learning model for indoor positioning-the LSTM model, each terminal device 1, the terminal device 2 to The terminal device n uses its own indoor positioning training data set to train locally on the terminal device, and sends the model parameter update obtained after training to the server, and the server sends the received terminal device 1, terminal device 2 to terminal device n
  • the incoming model parameter updates are fused (for example, to obtain a weighted average), and the global model parameters obtained after the fusion processing are sent to each terminal device through a model training request, so that each terminal device 1, terminal device 2 and terminal device Device n continues to train locally the LSTM model for indoor positioning according to the global model parameters, until the machine learning model training of each terminal device 1 terminal device 2 to terminal device n is completed, and each terminal device 1 terminal device 2 to terminal device n Then you can get accurate indoor location information.
  • the machine learning model used for indoor positioning is trained locally by each terminal device in conjunction with each terminal device, and after each terminal device performs the machine learning model training locally to obtain the model parameter update, the terminal device
  • the model parameter updates obtained by independent model training are fused to transform and generate global model parameters, and the transformed global model parameters are distributed to each terminal device through a model update request that controls each terminal device to perform machine learning model training.
  • Each terminal device continues to perform model training to achieve indoor positioning.
  • the indoor position that can be measured by the terminal device is not expanded, and the indoor positioning is increased. Orientation, and also improve the positioning accuracy and efficiency of indoor positioning.
  • an embodiment of this application also proposes an indoor positioning device based on federated learning.
  • the indoor positioning device based on federated learning in this application includes:
  • the building module is used to build the indoor positioning training data set of each terminal device
  • the positioning module is used for converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning.
  • the indoor positioning device based on federated learning in this application further includes:
  • the acquiring module is used to acquire the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
  • the building module includes:
  • An extraction unit configured to sequentially extract target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information
  • a marking unit configured to separately use the position fingerprint information, the target indoor position information, and the wide area position information to which the target indoor position information belongs as a piece of indoor positioning training data
  • the construction unit is used to count all the indoor positioning training data to construct an indoor positioning training data set of each terminal device.
  • the training module includes:
  • the detection unit is configured to detect a model update request for model training of each terminal device
  • the training unit is configured to perform model training on each of the terminal devices locally according to the detected model update request to obtain model parameter updates.
  • the joint training unit includes:
  • the detection subunit is used to detect whether the global model parameter is included in the model update request
  • the first joint training subunit is used for each of the terminal devices to perform model training locally by using the global model parameters
  • the second joint training subunit is used for each of the terminal devices to use the indoor positioning training data set to perform model training locally.
  • the positioning module includes:
  • a conversion unit configured to perform preset fusion processing on the model parameter update, and convert the model parameter update into a global model parameter
  • the distributing positioning unit is configured to distribute the global model parameters to each of the terminal devices, so that each of the terminal devices can perform indoor positioning based on model training locally.
  • the embodiment of the present application also proposes a computer-readable storage medium, which is applied to a computer.
  • the computer-readable storage medium may be a non-volatile computer-readable storage medium.
  • the indoor positioning program based on federated learning is executed by the processor to implement the steps of the indoor positioning method based on federated learning.
  • the steps implemented when the indoor positioning program based on federated learning running on the processor is executed can refer to each embodiment of the indoor positioning method based on federated learning of this application, which will not be repeated here.
  • the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. ⁇
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.

Abstract

A federated learning-based indoor positioning method, apparatus, and terminal device, and a computer-readable storage medium. Establishing an indoor positioning training data set for terminal devices (S100); the terminal devices perform model training on the basis of the indoor positioning training data set so as to obtain a model parameter update (S200); transforming the model parameter update to an overall model parameter for terminal devices to undergo indoor positioning (S300).

Description

基于联邦学习的室内定位方法、装置、终端设备及介质Indoor positioning method, device, terminal equipment and medium based on federated learning
本申请要求于2019年9月20日申请的、申请号为201910898051.3、名称为“基于联邦学习的室内定位方法、装置、终端设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on September 20, 2019, with application number 201910898051.3, and titled "Indoor positioning method, device, terminal equipment and medium based on federal learning", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及Fintech(金融科技)技术领域,尤其涉及一种基于联邦学习的室内定位方法、装置、终端设备及计算机可读存储介质。This application relates to the field of Fintech (financial technology) technology, and in particular to an indoor positioning method, device, terminal device, and computer-readable storage medium based on federated learning.
背景技术Background technique
基于现在大部分的室内环境下都存在Wi-Fi信号,例如,办公场所、教学楼、饭店、咖啡馆、商场、超市、机场、火车站和地铁车厢内等地方都已经有Wi-Fi信号的覆盖,因此利用Wi-Fi信号进行室内定位的技术迎来了广泛的应用。Wi-Fi signals exist in most indoor environments. For example, offices, teaching buildings, restaurants, cafes, shopping malls, supermarkets, airports, train stations and subway cars already have Wi-Fi signals. Coverage, so the technology of using Wi-Fi signals for indoor positioning has ushered in a wide range of applications.
然而,在现有基于Wi-Fi信号进行室内定位的方式,需要集中的构建Wi-Fi位置指纹库,即通过在大量的目标位置进行测量,以获得Wi-Fi位置指纹信息进而构建Wi-Fi位置指纹库,如此,不仅需要耗费大量的时间和精力来进行位置指纹库的构建,致使整体能够测量的室内位置十分有限,另外,在采取众包方式(通过大量用户的移动终端来收集Wi-Fi位置指纹信息)的方式进行位置指纹库构建时,还会泄露用户的隐私信息,例如用户所去过的地方和位置信息。However, in the existing method of indoor positioning based on Wi-Fi signals, it is necessary to construct a Wi-Fi location fingerprint library intensively, that is, to obtain Wi-Fi location fingerprint information by measuring at a large number of target locations to build Wi-Fi. Location fingerprint database, in this way, not only need to spend a lot of time and energy to build the location fingerprint database, resulting in the overall measurement of the indoor location is very limited, in addition, in the use of crowdsourcing (through a large number of users' mobile terminals to collect Wi- When the location fingerprint database is constructed using Fi location fingerprint information), the user’s private information, such as the place and location information the user has been to, will also be leaked.
技术解决方案Technical solutions
本申请的主要目的在于提供一种基于联邦学习的室内定位方法、装置、终端设备及计算机可读存储介质,旨在解决现有的室内定位方式,其整体所能够测量的室内位置有限,容易泄露用户隐私的技术问题。The main purpose of this application is to provide an indoor positioning method, device, terminal equipment, and computer readable storage medium based on federated learning, which aims to solve the existing indoor positioning method, which can measure the indoor position as a whole is limited and easy to leak Technical issues of user privacy.
为实现上述目的,本申请提供一种基于联邦学习的室内定位方法,所述基于联邦学习的室内定位方法包括:In order to achieve the above objective, this application provides an indoor positioning method based on federated learning. The indoor positioning method based on federated learning includes:
构建各终端设备的室内定位训练数据集;Construct indoor positioning training data sets for each terminal device;
各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;Each of the terminal devices performs model training based on the indoor positioning training data set to obtain model parameter updates;
将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。The update of the model parameters is converted into global model parameters for each terminal device to perform indoor positioning.
进一步地,在所述构建各终端设备的室内定位训练数据集的步骤之前,还包括:Further, before the step of constructing an indoor positioning training data set of each terminal device, the method further includes:
获取各所述终端设备所处位置的位置信息以及各所述终端设备所采集到的位置指纹信息。Obtain the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
进一步地,所述位置信息包括:广域位置信息和室内位置信息,Further, the location information includes: wide area location information and indoor location information,
所述构建各终端设备所拥有的室内定位训练数据集的步骤包括:The step of constructing the indoor positioning training data set owned by each terminal device includes:
依次从所述室内位置信息中,提取所述终端设备采集的每一条所述位置指纹信息对应的目标室内位置信息;Sequentially extracting target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information;
分别将所述位置指纹信息、目标室内位置信息以及所述目标室内位置信息所属的广域位置信息作为一条室内定位训练数据;Using the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs respectively as a piece of indoor positioning training data;
统计全部所述室内定位训练数据以构建各所述终端设备的室内定位训练数据集。All the indoor positioning training data are collected to construct an indoor positioning training data set of each terminal device.
进一步地,所述广域位置信息为物理位置信息,所述室内位置信息为以所述广域位置信息为参考点的坐标信息。Further, the wide area location information is physical location information, and the indoor location information is coordinate information using the wide area location information as a reference point.
进一步地,所述联合各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新的步骤,包括:Further, the step of combining each of the terminal devices to perform model training based on the indoor positioning training data set to obtain model parameter updates includes:
检测各所述终端设备进行模型训练的模型更新请求;Detecting a model update request for each terminal device to perform model training;
根据检测到的所述模型更新请求,各所述终端设备在各所述终端设备本地进行模型训练,以得到模型参数更新。According to the detected model update request, each terminal device performs model training locally on each terminal device to obtain model parameter updates.
进一步地,所述根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练的步骤,包括:Further, the step of performing model training on each of the terminal devices locally according to the detected model update request includes:
检测所述模型更新请求中是否包括有所述全局模型参数;Detecting whether the global model parameter is included in the model update request;
若是,则各所述终端设备利用所述全局模型参数在本地进行模型训练;If so, each of the terminal devices uses the global model parameters to perform model training locally;
若否,则各所述终端设备利用所述室内定位训练数据集在本地进行模型训练。If not, each terminal device uses the indoor positioning training data set to perform model training locally.
进一步地,所述将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位的步骤,包括:Further, the step of converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning includes:
对所述模型参数更新进行预设融合处理,将所述模型参数更新转化为全局模型参数;Performing preset fusion processing on the model parameter update, and convert the model parameter update into a global model parameter;
将所述全局模型参数分发至各所述终端设备上,以供各所述终端设备在本地基于模型训练进行室内定位。The global model parameters are distributed to each of the terminal devices, so that each of the terminal devices can perform indoor positioning based on model training locally.
此外,为实现上述目的,本申请还提供一种基于联邦学习的室内定位装置,所述基于联邦学习的室内定位装置包括:In addition, in order to achieve the above objective, the present application also provides an indoor positioning device based on federated learning, and the indoor positioning device based on federated learning includes:
构建模块,用于构建各终端设备所拥有的室内定位训练数据集;The building module is used to build the indoor positioning training data set owned by each terminal device;
训练模块,用于基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;The training module is used to perform model training based on the indoor positioning training data set to obtain model parameter updates;
定位模块,用于将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。The positioning module is used for converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning.
本申请还提供一种终端设备,所述终端设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于联邦学习的室内定位程序,所述基于联邦学习的室内定位程序被所述处理器执行时实现如上述中的基于联邦学习的室内定位方法的步骤。The present application also provides a terminal device. The terminal device includes a memory, a processor, and an indoor positioning program based on federated learning that is stored in the memory and can be run on the processor. When the indoor positioning program is executed by the processor, the steps of the indoor positioning method based on federated learning as described above are realized.
本申请还提供一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述的基于联邦学习的室内定位方法的步骤。The present application also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the indoor positioning method based on federated learning as described above are realized.
本申请提出的基于联邦学习的室内定位方法、装置、终端设备以及计算机可读存储介质,通过构建各终端设备所拥有的室内定位训练数据集;各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。基于在用户各自所拥有终端设备的本地构建属于其自身的室内定位训练数据集,然后通过联合各用户终端设备基于自身所拥有的室内定位数据进行机器学习模型的模型训练并得到各自模型的模型参数更新,最后通过对各用户各自所拥有终端设备进行模型训练得到的模型参数更新进行集中的转化处理,以得到全部用户终端设备进行室内定位所需要的全局模型参数,从而各用户终端设备在本地即可利用该转化得到的全局模型参数进行模型训练以在模型训练完成时,得到用户终端设备自身所处的室内位置信息。The indoor positioning method, device, terminal device, and computer-readable storage medium based on federated learning proposed in this application construct an indoor positioning training data set owned by each terminal device; each terminal device is based on the indoor positioning training data set Model training is performed to obtain model parameter updates; the model parameter updates are converted into global model parameters for indoor positioning by each terminal device. Build its own indoor positioning training data set based on the user’s own terminal equipment, and then combine each user’s terminal equipment to perform machine learning model training based on their own indoor positioning data and obtain the model parameters of their respective models Update, and finally perform a centralized conversion process through the model parameter update obtained from the model training of the terminal equipment owned by each user to obtain the global model parameters required by all user terminal equipment for indoor positioning, so that each user terminal equipment is locally The global model parameters obtained by the conversion can be used for model training to obtain the indoor location information of the user terminal device itself when the model training is completed.
本申请实现了,无需集中构建位置指纹数据库,而是联合各终端设备自身所拥有的数据进行模型训练,避免了花费大量的时间和精力来构建位置指纹库,并通过集中的对各终端设备进行模型训练得到的模型参数更新进行转化处理得到全局模型参数,极大程度上扩展了终端设备所能够测量的室内位置,且由于各终端设备仅在本地进行机器学习模型的训练,并未公开各自所拥有的室内定位训练数据,从而,不会造成用户隐私信息的泄露。This application realizes that there is no need to concentrate on building a location fingerprint database, but to combine the data owned by each terminal device itself for model training, avoiding the need to spend a lot of time and energy to build a location fingerprint database, and to centralize each terminal device The model parameters obtained by model training are updated to obtain global model parameters, which greatly expands the indoor position that can be measured by the terminal device. Moreover, since each terminal device only trains the machine learning model locally, they have not disclosed their respective locations. Owning indoor positioning training data, thus, will not cause the leakage of user privacy information.
附图说明Description of the drawings
图1是本申请实施例方案涉及的硬件运行的结构示意图;FIG. 1 is a schematic diagram of the hardware operation structure involved in the solution of the embodiment of the present application;
图2是本申请一种基于联邦学习的室内定位方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of an indoor positioning method based on federated learning according to the present application;
图3是本申请一种基于联邦学习的室内定位方法一实施例中步骤S200的细化流程示意图;3 is a detailed flowchart of step S200 in an embodiment of an indoor positioning method based on federated learning according to the present application;
图4是本申请一种基于联邦学习的室内定位方法一实施例的应用场景示意图;4 is a schematic diagram of an application scenario of an embodiment of an indoor positioning method based on federated learning according to the present application;
图5是本申请一种基于联邦学习的室内定位装置的结构示意图。Fig. 5 is a schematic structural diagram of an indoor positioning device based on federated learning in this application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
本发明的实施方式Embodiments of the invention
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the application, and are not used to limit the application.
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的结构示意图。As shown in Fig. 1, Fig. 1 is a schematic structural diagram of a hardware operating environment involved in a solution of an embodiment of the present application.
需要说明的是,图1即可为终端设备的硬件运行环境的结构示意图。本申请实施例终端设备可以是PC,便携计算机等终端设备。It should be noted that Fig. 1 can be a structural diagram of the hardware operating environment of the terminal device. The terminal device in the embodiment of the present application may be a terminal device such as a PC and a portable computer.
如图1所示,该终端设备可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 1, the terminal device may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory. Optionally, the memory 1005 may also be a storage device independent of the foregoing processor 1001.
本领域技术人员可以理解,图1中示出的终端设备结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the terminal device shown in FIG. 1 does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange different components.
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及分布式任务的处理程序。其中,操作系统是管理和控制样本终端设备硬件和软件资源的程序,支持分布式任务的处理程序以及其它软件或程序的运行。As shown in FIG. 1, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a processing program for distributed tasks. Among them, the operating system is a program that manages and controls the hardware and software resources of the sample terminal equipment, supports the processing of distributed tasks, and the operation of other software or programs.
在图1所示的终端设备中,用户接口1003主要用于与各个终端进行数据通信;网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;而处理器1001可以用于调用存储器1005中存储的基于联邦学习的室内定位程序,并执行以下操作:In the terminal device shown in FIG. 1, the user interface 1003 is mainly used for data communication with various terminals; the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; and the processor 1001 can be used for calling the memory 1005 The indoor positioning program based on federated learning stored in and perform the following operations:
构建各终端设备的室内定位训练数据集;Construct indoor positioning training data sets for each terminal device;
各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;Each of the terminal devices performs model training based on the indoor positioning training data set to obtain model parameter updates;
将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。The update of the model parameters is converted into global model parameters for each terminal device to perform indoor positioning.
进一步地,处理器1001可以调用存储器1005中存储的基于联邦学习的室内定位程序,在执行构建各终端设备的室内定位训练数据集的步骤之前,还执行以下操作:Further, the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and before executing the step of constructing an indoor positioning training data set of each terminal device, it may also perform the following operations:
获取各终端设备所处位置的位置信息以及各所述终端设备所采集到的位置指纹信息。Obtain the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
进一步地,处理器1001可以调用存储器1005中存储的基于联邦学习的室内定位程序,还执行以下操作:Further, the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and also perform the following operations:
依次从所述室内位置信息中,提取所述终端设备采集的每一条所述位置指纹信息所对应的目标室内位置信息;Sequentially extracting target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information;
分别将所述位置指纹信息、目标室内位置信息以及所述目标室内位置信息所属的广域位置信息作为一条室内定位训练数据;Using the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs respectively as a piece of indoor positioning training data;
统计全部所述室内定位训练数据以构建各所述终端设备的室内定位训练数据集。All the indoor positioning training data are collected to construct an indoor positioning training data set of each terminal device.
进一步地,处理器1001可以调用存储器1005中存储的基于联邦学习的室内定位程序,还执行以下操作:Further, the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and also perform the following operations:
检测控制各所述终端设备进行模型训练的模型更新请求;Detecting and controlling the model update request for each of the terminal devices to perform model training;
根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练,以得到模型参数更新。According to the detected model update request, each of the terminal devices performs model training locally to obtain model parameter updates.
进一步地,处理器1001可以调用存储器1005中存储的基于联邦学习的室内定位程序,还执行以下操作:Further, the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and also perform the following operations:
检测所述模型更新请求中是否包括有所述全局模型参数;Detecting whether the global model parameter is included in the model update request;
若是,则各所述终端设备利用所述全局模型参数在本地进行模型训练;If so, each of the terminal devices uses the global model parameters to perform model training locally;
若否,则各所述终端设备上利用所述室内定位训练数据集在本地进行模型训练。If not, each terminal device uses the indoor positioning training data set to perform model training locally.
进一步地,处理器1001可以调用存储器1005中存储的基于联邦学习的室内定位程序,还执行以下操作:Further, the processor 1001 may call an indoor positioning program based on federated learning stored in the memory 1005, and also perform the following operations:
对所述模型参数更新进行预设融合处理转化为全局模型参数;Performing preset fusion processing on the model parameter update into a global model parameter;
将所述全局模型参数分发至各所述终端设备上,以供各所述终端设备在本地基于模型训练进行室内定位。The global model parameters are distributed to each of the terminal devices, so that each of the terminal devices can perform indoor positioning based on model training locally.
基于上述的结构,提出本申请基于联邦学习的室内定位方法的各个实施例。Based on the above structure, various embodiments of the indoor positioning method based on federated learning in this application are proposed.
请参照图2,图2为本申请基于联邦学习的室内定位方法第一实施例的流程示意图。Please refer to FIG. 2, which is a schematic flowchart of a first embodiment of an indoor positioning method based on federated learning in this application.
本申请实施例提供了基于联邦学习的室内定位方法的实施例,需要说明的是,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The embodiment of the application provides an embodiment of an indoor positioning method based on federated learning. It should be noted that although the logical sequence is shown in the flowchart, in some cases, the sequence may be executed in a different order than here. Steps shown or described.
本申请实施例基于联邦学习的室内定位方法应用于上述终端设备,本申请实施例终端设备可以是PC,便携计算机等终端设备,在此不做具体限制。The indoor positioning method based on federated learning in the embodiment of the present application is applied to the above-mentioned terminal device. The terminal device in the embodiment of the present application may be a terminal device such as a PC, a portable computer, etc., which is not specifically limited here.
本实施例基于联邦学习的室内定位方法包括:The indoor positioning method based on federated learning in this embodiment includes:
步骤S100,构建各终端设备的室内定位训练数据集。Step S100: Construct an indoor positioning training data set of each terminal device.
在各个终端设备的本地构建专属于各终端设备所拥有的室内定位训练数据集。The indoor positioning training data set owned by each terminal device is built locally in each terminal device.
进一步地,在另一个实施例中,在上述步骤S100,构建各终端设备所拥有的室内定位训练数据集之前,本申请基于联邦学习的室内定位方法,还包括:Further, in another embodiment, in the foregoing step S100, before constructing the indoor positioning training data set owned by each terminal device, the indoor positioning method based on federated learning in this application further includes:
步骤A,获取各所述终端设备所处位置的位置信息以及各所述终端设备所采集到的位置指纹信息。Step A: Obtain the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
各终端设备独自采集所处位置的位置信息以及位置指纹信息,其中,位置信息包括广域位置信息和室内位置信息,位置指纹信息可以基于Wi-Fi信号进行采集,或者,位置指纹信息也基于蓝牙等其它无线信号进行采集。Each terminal device independently collects location information and location fingerprint information of its location. The location information includes wide-area location information and indoor location information. Location fingerprint information can be collected based on Wi-Fi signals, or location fingerprint information is also based on Bluetooth Wait for other wireless signals to collect.
需要说明的是,本实施例中,室内位置信息是:当前用户终端设备(可以是用户的移动终端设备,例如手机)曾到过的室内位置信息(诸如办公场所、教学楼、饭店、咖啡馆、商场、超市、机场、火车站和地铁车厢内等室内的位置信息);广域位置信息是:室外大范围的位置信息,例如,一栋办公楼的位置信息,或者一个购物商场的位置信息,广域位置信息是可以通过基于GPS卫星、或者北斗导航卫星系统、或者移动通信基站的定位系统、又或者通过地图信息来获得的物理位置信息,广域位置信息的表现形式可以是导航系统中的经纬度坐标、或者是地图信息中的“XX城市-XX路-XX号”等;位置指纹信息是:当前用户的移动终端设备所测量到的Wi-Fi位置指纹信息或者蓝牙位置指纹信息,Wi-Fi位置指纹信息或者蓝牙位置指纹信息是与室内位置信息一一对应的,Wi-Fi位置指纹信息或者蓝牙位置指纹信息可以包括RSS(Really Simple Syndication:简易信息聚合,一种描述和同步网站内容的格式)、多径结构、Wi-Fi AP(其中AP,为Access Point:无线访问节点、会话点或存取桥接器)的MAC地址、AP的IP地址等所列信息中的一个或多个。It should be noted that, in this embodiment, the indoor location information is: the current user terminal equipment (may be the user’s mobile terminal equipment, such as a mobile phone) has visited indoor location information (such as office spaces, teaching buildings, restaurants, cafes). , Shopping malls, supermarkets, airports, train stations, subway cars and other indoor location information); wide-area location information is: outdoor large-scale location information, for example, the location information of an office building, or the location information of a shopping mall , Wide-area location information is physical location information that can be obtained through GPS satellites, or Beidou navigation satellite systems, or mobile communication base station positioning systems, or through map information. The manifestation of wide-area location information can be in the navigation system. Latitude and longitude coordinates, or “XX city-XX road-XX number” in the map information; location fingerprint information is: Wi-Fi location fingerprint information or Bluetooth location fingerprint information measured by the current user’s mobile terminal device, Wi-Fi -Fi location fingerprint information or Bluetooth location fingerprint information has a one-to-one correspondence with indoor location information. Wi-Fi location fingerprint information or Bluetooth location fingerprint information can include RSS (Really Simple Syndication), a description and synchronization of website content One or more of the listed information such as the MAC address of the Wi-Fi AP (where AP is Access Point: wireless access node, session point or access bridge), multi-path structure), multi-path structure, and AP’s IP address .
需要说明的是,本实施例中,各终端设备可以不将独自采集所处位置的位置信息以及位置指纹信息上传到其他任意服务器上,而是存储在各终端设备的本地,从而避免了用户隐私信息的泄露,例如不会泄露用户所去过的地方和位置等信息。It should be noted that in this embodiment, each terminal device may not upload the location information and fingerprint information of the location where it is collected independently to any other server, but store it locally in each terminal device, thereby avoiding user privacy. Information disclosure, such as not revealing information such as places and locations that users have been to.
需要说明的是,本实施例中,终端设备所处位置的室内位置信息可以是以广域位置信息为坐标中心的坐标信息,或者,该室内位置信息还可以是以广域位置信息作为参考点的坐标信息,因此,广域位置信息可以帮助用户的移动终端计算识别出当前移动终端所处位置的室内位置信息的广域坐标位置(例如,以经纬度坐标为表现形式的全球坐标位置),也就是说,用户的移动终端所处位置的室内位置信息不仅仅只含有所处室内的局部坐标位置(即,以广域位置信息为坐标中心的坐标信息,或者以广域位置信息作为参考点的坐标信息)。It should be noted that, in this embodiment, the indoor position information of the location of the terminal device may be coordinate information with the wide area position information as the coordinate center, or the indoor position information may also use the wide area position information as the reference point Therefore, the wide-area location information can help the user’s mobile terminal to calculate the wide-area coordinate position of the indoor location information that recognizes the current mobile terminal’s location (for example, the global coordinate position in the form of longitude and latitude coordinates). That is to say, the indoor location information of the user's mobile terminal does not only contain the local coordinate location in the room (that is, the coordinate information with the wide area location information as the coordinate center, or the wide area location information as the reference point). Coordinate information).
进一步地,步骤S100,构建各终端设备的室内定位训练数据集,包括:Further, step S100, constructing an indoor positioning training data set of each terminal device, includes:
步骤S101,依次从所述室内位置信息中,提取所述终端设备采集的每一条所述位置指纹信息对应的目标室内位置信息。Step S101, sequentially extracting target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information.
从终端设备所记录的多条室内位置信息中,依次提取出当前终端设备所采集到的每一条位置指纹信息所唯一对应着的目标室内位置信息。From the multiple pieces of indoor location information recorded by the terminal device, the target indoor location information uniquely corresponding to each piece of location fingerprint information collected by the current terminal device is sequentially extracted.
例如,从当前用户的移动终端所记录着的多条以空间坐标格式进行表示的室内位置信息中,提取出当前用户的移动终端所记录着的一条表现形式为“RSS+多径结构”的Wi-Fi位置指纹信息,所唯一对应着的一条目标室内位置信息,并依次提取出当前多条室内位置信息中,每一条Wi-Fi位置指纹信息所唯一对应着的各条目标室内位置信息。For example, from the multiple pieces of indoor location information expressed in spatial coordinate format recorded by the current user’s mobile terminal, one piece of Wi-Fi in the form of "RSS+multipath structure" recorded by the current user’s mobile terminal is extracted. Fi location fingerprint information, which uniquely corresponds to a piece of target indoor location information, and sequentially extracts each piece of target indoor location information uniquely corresponding to each piece of Wi-Fi location fingerprint information among multiple pieces of current indoor location information.
步骤S102,分别将所述位置指纹信息、目标室内位置信息以及所述目标室内位置信息所属的广域位置信息作为一条室内定位训练数据。In step S102, the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs are respectively used as a piece of indoor positioning training data.
将一条位置指纹信息、当前位置指纹信息所对应的目标室内位置信息以及当前目标室内位置信息所归属的广域位置信息,标记为当前终端设备的一条室内定位训练数据。A piece of location fingerprint information, the target indoor location information corresponding to the current location fingerprint information, and the wide area location information to which the current target indoor location information belongs are marked as a piece of indoor positioning training data of the current terminal device.
例如,将当前表现形式为“RSS+多径结构”的Wi-Fi位置指纹信息,和当前Wi-Fi位置指纹信息所唯一对应着的以空间坐标格式进行表示的目标室内位置信息,以及当前目标室内位置信息的坐标中心所标识的广域位置信息,标记为当前用户的移动终端所独自拥有的一条室内定位训练数据。For example, take the Wi-Fi location fingerprint information with the current form of "RSS+multipath structure", and the target indoor location information in the spatial coordinate format that uniquely corresponds to the current Wi-Fi location fingerprint information, and the current target indoor The wide-area location information identified by the coordinate center of the location information is marked as a piece of indoor positioning training data uniquely owned by the mobile terminal of the current user.
步骤S103,统计全部所述室内定位训练数据以构建各所述终端设备的室内定位训练数据集。Step S103: Count all the indoor positioning training data to construct an indoor positioning training data set of each terminal device.
对终端设备所拥有的每一条含有位置指纹信息、室内位置信息和广域位置信息的室内定位训练数据进行统计并保存在当前终端设备的本地数据库,从而构建出当前终端设备所独自拥有的室内定位训练数据集。Count each piece of indoor positioning training data that contains location fingerprint information, indoor location information, and wide-area location information owned by the terminal device and save it in the local database of the current terminal device, thereby constructing an indoor positioning unique to the current terminal device Training data set.
本实施例中,通过在不同的终端设备上构建属于各终端设备所独有的室内定位数据训练集,从而可以实现在各终端设备基于各自的室内定位数据训练集进行机器学习模型训练后,就可以使一个终端设备学习到该终端设备所没有去过的地方(其他终端设备所记录的室内位置)的室内位置信息,如此,当一个终端设备在去到一个此前并未去过的地方时,只要当前终端设备所联合的其他任意一个终端设备曾经到达并记录过当前终端设备所处的位置的室内位置信息时,当前终端设备就可以获得准确的室内定位信息。In this embodiment, by constructing a training set of indoor positioning data unique to each terminal device on different terminal devices, it is possible to implement machine learning model training for each terminal device based on its own indoor positioning data training set. A terminal device can learn the indoor location information of a place that the terminal device has not been to (the indoor location recorded by other terminal devices), so that when a terminal device goes to a place that has not been before, As long as any other terminal device associated with the current terminal device has reached and recorded the indoor location information of the location where the current terminal device is located, the current terminal device can obtain accurate indoor positioning information.
进一步地,本实施例中,通过在终端设备的室内定位数据中增加广域位置信息,使得对多个终端设备进行联合学习的效果就等同于使用“众包”方式收集训练数据然后再进行机器学习模型训练的效果,而相对于“众包”方式,本实施例并不会泄露用户的隐私信息,例如不会泄露用户所去过的地方和位置等信息。Further, in this embodiment, by adding wide-area location information to the indoor positioning data of the terminal device, the effect of joint learning for multiple terminal devices is equivalent to the use of "crowdsourcing" to collect training data and then perform machine To learn the effect of model training, compared to the "crowdsourcing" approach, this embodiment does not disclose the user's private information, for example, does not disclose information such as places and locations the user has been to.
步骤S200,各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新。In step S200, each terminal device performs model training based on the indoor positioning training data set to obtain model parameter updates.
在各终端设备构建完成各自本地的室内定位训练数据集之后,联合各终端设备各自基于其所拥有的室内定位训练数据集进行机器学习模型训练,从而在各终端设备本地得到经过模型训练的模型参数更新。After each terminal device completes its own local indoor positioning training data set, each terminal device is combined to perform machine learning model training based on the indoor positioning training data set it owns, so that the model parameters after model training are obtained locally on each terminal device Update.
需要说明的是,模型参数更新是一个名词,是指参数的更新,模型参数更新可以是发送的模型参数,也可以是发送的梯度值、损失值,也可以是神经网络的权重。It should be noted that the model parameter update is a term that refers to the update of the parameters. The model parameter update can be the sent model parameter, the sent gradient value, the loss value, or the weight of the neural network.
进一步地,请参照图3,图3为上述步骤S200的细化流程示意图,步骤S200,联合各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新,包括:Further, please refer to FIG. 3, which is a schematic diagram of the detailed process of step S200. In step S200, model training is performed in conjunction with each of the terminal devices based on the indoor positioning training data set to obtain model parameter updates, including:
步骤S201,检测各所述终端设备进行模型训练的模型更新请求。Step S201: Detect a model update request of each terminal device for model training.
各终端设备检测并获取控制其进行机器学习模型训练的模型更新请求,其中,该模型训练请求可以为不携带有任何数据的启动指令,或者该模型训练请求也可以为携带将各终端设备自主进行模型训练得到的模型参数更新进行转化生成的全局模型参数。Each terminal device detects and obtains a model update request that controls its machine learning model training, where the model training request can be a start instruction that does not carry any data, or the model training request can also be carried by each terminal device independently The model parameters obtained by the model training update the global model parameters generated by the transformation.
例如,在如图4所示的应用场景中,在终端设备1、终端设备2至终端设备n均构建完成各自所拥有的室内定位训练数据集之后,服务器通过点对点通信方式分别向终端设备1、终端设备2至终端设备n,发出控制其进行机器学习模型训练的模型更新请求,或者服务器也可以协调者也可以使用组播、或者多播、或者广播的方式,同时向终端设备1、终端设备2至终端设备n中的某个或者多个终端设备发送该模型更新请求,各终端设备1、终端设备2至终端设备n实时的检测并获取该模型更新请求。For example, in the application scenario shown in Figure 4, after the terminal device 1, the terminal device 2 to the terminal device n have all constructed their own indoor positioning training data set, the server sends the terminal device 1 to the terminal device 1 through a point-to-point communication. The terminal device 2 to the terminal device n send out a model update request for controlling the machine learning model training, or the server can also use multicast, or multicast, or broadcast, and send it to the terminal device 1, the terminal device 2 to one or more of the terminal devices n sends the model update request, and each terminal device 1, the terminal device 2 to the terminal device n detects and obtains the model update request in real time.
步骤S202,根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练,以得到模型参数更新。Step S202: According to the detected model update request, each terminal device performs model training locally to obtain model parameter updates.
各终端设备在获取到控制其进行机器学习模型训练的模型更新请求之后,进一步检测当前模型更新请求中是否包括有将各终端设备自主进行模型训练得到的模型参数更新进行转化生成的全局模型参数,从而根据检测结果,在各终端设备的本地进行机器学习模型的训练。After each terminal device obtains the model update request that controls it to perform machine learning model training, it further detects whether the current model update request includes global model parameters generated by the model parameter update obtained by each terminal device independently performing model training. Thus, according to the detection result, the machine learning model is trained locally in each terminal device.
需要说明的是,本实施例中,各终端设备还可以独立的利用自己所拥有的室内定位训练数据进行模型训练,而无需联合其他终端设备,进一步地,各终端设备还可以根据检测模型更新请求,在与当前终端设备所关联的保密的云服务器上独立的或者联合其他终端设备进行机器学习模型的训练,本实施例中,各终端设备所采集到的室内定位训练数据可以存储在各终端设备的本地,或者存储在与终端设备关联的保密的网络存储空间里,或者存储在与终端设备关联的保密的云存储空间里,从而,保证了终端设备的用户的隐私信息不会被泄露。It should be noted that in this embodiment, each terminal device can also independently use its own indoor positioning training data for model training, without the need to cooperate with other terminal devices. Further, each terminal device can also update the request according to the detection model. , The training of the machine learning model is performed independently or in conjunction with other terminal devices on the confidential cloud server associated with the current terminal device. In this embodiment, the indoor positioning training data collected by each terminal device can be stored in each terminal device Locally, either stored in the confidential network storage space associated with the terminal device, or stored in the confidential cloud storage space associated with the terminal device, thereby ensuring that the privacy information of the user of the terminal device will not be leaked.
步骤S300,将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。Step S300: Convert the model parameter update into a global model parameter for each terminal device to perform indoor positioning.
在各终端设备在本地进行机器学习模型训练而得到模型参数更新之后,将各终端设备自主进行模型训练得到的模型参数更新进行融合处理以转化生成全局模型参数,并将转化生成的全局模型参数通过控制各终端设备进行机器学习模型训练的模型更新请求分发至各终端设备上,以供各终端设备继续进行模型训练来实现室内定位。After each terminal device performs machine learning model training locally to obtain model parameter updates, the model parameter updates obtained by each terminal device's independent model training are subjected to fusion processing to transform and generate global model parameters, and the transformed global model parameters are passed through The model update request that controls each terminal device to perform machine learning model training is distributed to each terminal device, so that each terminal device can continue to perform model training to achieve indoor positioning.
例如,在如图4所示的应用场景中,服务器使用组播、或者多播、或者广播的方式,同时向终端设备1、终端设备2至终端设备n中发送控制各终端设备启动进行模型训练的模型更新请求,并且,服务器在该发送至各终端设备1、终端设备2至终端设备n上的模型更新请求中,携带着将各终端设备1、终端设备2至终端设备n独自基于自身所拥有的室内定位训练数据集进行模型训练得到的模型参数更新,进行融合处理而转化生成的全局模型参数,从而在各终端设备1、终端设备2至终端设备n实时检测并获取该模型更新请求之后,通过利用该携带的全局模型参数继续在本地进行机器学习模型(例如LSTM模型(long-short term memory:长短期记忆模型))的模型训练来实现室内定位,即,服务器与各终端设备1、终端设备2至终端设备n重复基于全局模型参数进行模型训练得到模型参数更新,将模型参数更新融合处理转化为新的全局模型参数的步骤,直到各终端设备1终端设备2至终端设备n进行机器学习模型训练完成,各终端设备1终端设备2至终端设备n即可获得所处位置准确的室内位置信息(即实现室内定位)。For example, in the application scenario shown in Figure 4, the server uses multicast, or multicast, or broadcast, and sends to the terminal device 1, terminal device 2 to terminal device n at the same time to control each terminal device to start model training The model update request sent by the server to each terminal device 1, terminal device 2 to terminal device n carries the model update request of each terminal device 1, terminal device 2 to terminal device n based on its own The model parameter update obtained by model training is performed on the indoor positioning training data set, and the global model parameters generated by the fusion process are transformed, so as to detect and obtain the model update request in real time after each terminal device 1, terminal device 2 to terminal device n , By using the carried global model parameters to continue the local model training of machine learning models (such as LSTM models (long-short term memory)) to achieve indoor positioning, that is, the server and each terminal device 1, The terminal device 2 to the terminal device n repeat the model training based on the global model parameters to obtain the model parameter update, and the model parameter update fusion process is transformed into the new global model parameter step, until each terminal device 1 terminal device 2 to terminal device n performs the machine After the training of the learning model is completed, each terminal device 1 terminal device 2 to terminal device n can obtain accurate indoor position information (that is, indoor positioning).
在本实施例中,通过构建各终端设备所拥有的室内定位训练数据集;联合各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。基于在用户各自所拥有终端设备的本地构建属于其自身的室内定位训练数据集,然后通过联合各用户终端设备基于自身所拥有的室内定位数据进行机器学习模型的模型训练并得到各自模型的模型参数更新,最后通过对各用户各自所拥有终端设备进行模型训练得到的模型参数更新进行集中的转化处理,以得到全部用户终端设备进行室内定位所需要的全局模型参数,从而各用户终端设备在本地即可利用该转化得到的全局模型参数进行模型训练以在模型训练完成时,得到用户终端设备自身所处的室内位置信息。In this embodiment, the indoor positioning training data set owned by each terminal device is constructed; each terminal device is combined to perform model training based on the indoor positioning training data set to obtain model parameter updates; and the model parameters are updated Converted into global model parameters for each terminal device to perform indoor positioning. Build its own indoor positioning training data set based on the user’s own terminal equipment, and then combine each user’s terminal equipment to perform machine learning model training based on their own indoor positioning data and obtain the model parameters of their respective models Update, and finally perform a centralized conversion process through the model parameter update obtained from the model training of the terminal equipment owned by each user to obtain the global model parameters required by all user terminal equipment for indoor positioning, so that each user terminal equipment is locally The global model parameters obtained by the conversion can be used for model training to obtain the indoor location information of the user terminal device itself when the model training is completed.
实现了,无需集中构建位置指纹数据库,而是联合各终端设备自身所拥有的数据进行模型训练,避免了花费大量的时间和精力来构建位置指纹库,并通过集中的对各终端设备进行模型训练得到的模型参数更新进行转化处理得到全局模型参数,极大程度上扩展了终端设备所能够测量的室内位置,且由于各终端设备仅在本地或者与终端设备所关联的保密的云服务器上进行机器学习模型的训练,并未公开各自所拥有的室内定位训练数据,从而,不会造成用户隐私信息的泄露。It is realized that there is no need to centrally build a location fingerprint database, but to combine the data owned by each terminal device itself for model training, which avoids spending a lot of time and energy to build a location fingerprint database, and conducts centralized model training for each terminal device The obtained model parameters are updated and transformed to obtain global model parameters, which greatly expands the indoor location that can be measured by the terminal device, and because each terminal device is only machined locally or on a confidential cloud server associated with the terminal device The training of the learning model does not disclose the indoor positioning training data owned by each, so that it will not cause the leakage of user privacy information.
进一步地,提出本申请基于联邦学习的室内定位方法的第二实施例。Further, a second embodiment of the indoor positioning method based on federated learning in this application is proposed.
基于上述基于联邦学习的室内定位方法第一实施例,在本申请基于联邦学习的室内定位方法的第二实施例中,上述步骤S202中,根据检测到的所述模型更新请求联合各所述终端设备在本地进行模型训练,包括:Based on the first embodiment of the indoor positioning method based on federated learning, in the second embodiment of the indoor positioning method based on federated learning of the present application, in the foregoing step S202, the terminals are combined according to the detected model update request The equipment conducts model training locally, including:
步骤S2021,检测所述模型更新请求中是否包括有所述全局模型参数。Step S2021: Detect whether the global model parameter is included in the model update request.
在各终端设备实时检测并获取到控制其进行机器学习模型训练的模型更新请求之后,进一步检测当前模型更新请求中是否包括有将各终端设备自主进行模型训练得到的模型参数更新进行转化生成的全局模型参数。After each terminal device detects and obtains the model update request that controls its machine learning model training in real time, it further detects whether the current model update request includes the model parameter update obtained by each terminal device's independent model training for transformation and generation Model parameters.
步骤S2022,各所述终端设备利用所述全局模型参数在本地进行模型训练。Step S2022, each of the terminal devices uses the global model parameters to perform model training locally.
若终端设备检测到当前模型更新请求中携带有将各终端设备自主进行模型训练得到的模型参数更新进行转化生成的全局模型参数时,在各终端设备的本地利用该转化生成的全局模型参数进行机器学习模型的模型训练。If the terminal device detects that the current model update request carries the global model parameters generated by transforming the model parameters obtained by each terminal device's independent model training, the global model parameters generated by the transformation are used locally in each terminal device to perform the machine Model training for learning models.
例如,在如图4所示的应用场景中,终端设备1、终端设备2至终端设备n联合起来训练用于进行室内定位的机器学习模型--LSTM模型,各终端设备1、终端设备2至终端设备n使用自己拥有的室内定位训练数据集在该终端设备本地进行训练,并将经过训练得到模型参数更新发送给服务器,服务器对接收到的各终端设备1、终端设备2至终端设备n发送来的模型参数更新进行融合处理(例如,求取加权平均),并将融合处理后得到的全局模型参数再通过模型训练请求发送给每个终端设备,使各终端设备根据该全局模型参数继续在本地训练用于进行室内定位的LSTM模型。For example, in the application scenario shown in Figure 4, the terminal device 1, the terminal device 2 to the terminal device n jointly train the machine learning model for indoor positioning-the LSTM model, each terminal device 1, the terminal device 2 to The terminal device n uses its own indoor positioning training data set to train locally on the terminal device, and sends the model parameter update obtained after training to the server, and the server sends the received terminal device 1, terminal device 2 to terminal device n The incoming model parameter updates are fused (for example, to obtain a weighted average), and the global model parameters obtained after the fusion processing are sent to each terminal device through a model training request, so that each terminal device continues to operate according to the global model parameters. Local training is used for indoor positioning LSTM model.
需要说明的是,终端设备与服务器之间可以通过采用采用加密(例如,采用同态加密、或者密码分享)的方式来发送模型参数更新和全局模型参数。It should be noted that the terminal device and the server can use encryption (for example, homomorphic encryption, or password sharing) to send model parameter updates and global model parameters.
步骤S2023,各所述终端设备利用所述室内定位训练数据集在本地进行模型训练。Step S2023, each of the terminal devices uses the indoor positioning training data set to perform model training locally.
若终端设备检测到当前模型更新请求中并未携带有将各终端设备自主进行模型训练得到的模型参数更新进行转化生成的全局模型参数时,即在各终端设备的本地利用各自所拥有的室内定位训练数据集进行机器学习模型的模型训练。If the terminal device detects that the current model update request does not carry the global model parameters generated by the model parameter updates obtained by each terminal device's independent model training, it will use the indoor positioning owned by each terminal device locally. The training data set is used for model training of machine learning models.
例如,在如图4所示的应用场景中,当服务器向各终端设备1、终端设备2至终端设备n发送的模型更新请求中未携带有对模型参数更新进行融合处理得到的全局模型参数(此时,模型更新请求即相当于控制终端设备进行机器学习模型训练的启动指令)时,各终端设备1、终端设备2至终端设备n通过利用各自所构建的室内定位训练数据集,开始在本地训练用于进行室内定位的LSTM模型。For example, in the application scenario shown in Fig. 4, when the model update request sent by the server to each terminal device 1, terminal device 2 to terminal device n does not carry the global model parameter obtained by fusing the model parameter update ( At this time, when the model update request is equivalent to the start instruction for controlling the terminal device to perform machine learning model training), each terminal device 1, terminal device 2 to terminal device n uses the indoor positioning training data set constructed by each of them to start local Train the LSTM model for indoor positioning.
进一步地,上述第一实施例中的步骤S300,包括:Further, step S300 in the foregoing first embodiment includes:
步骤S301,对所述模型参数更新进行预设融合处理,将所述模型参数更新转化为全局模型参数。Step S301: Perform preset fusion processing on the model parameter update, and convert the model parameter update into a global model parameter.
步骤S302,将所述全局模型参数分发至各所述终端设备上,以供各所述终端设备在本地基于模型训练进行室内定位。Step S302: Distribute the global model parameters to each of the terminal devices, so that each of the terminal devices can perform indoor positioning locally based on model training.
例如,在如图4所示的应用场景中,终端设备1、终端设备2至终端设备n联合起来训练用于进行室内定位的机器学习模型--LSTM模型,各终端设备1、终端设备2至终端设备n使用自己拥有的室内定位训练数据集在该终端设备本地进行训练,并将经过训练得到模型参数更新发送给服务器,服务器对接收到的各终端设备1、终端设备2至终端设备n发送来的模型参数更新进行融合处理(例如,求取加权平均),并将融合处理后得到的全局模型参数再通过模型训练请求发送给每个终端设备,使各终端设备1、终端设备2至终端设备n根据该全局模型参数继续在本地训练用于进行室内定位的LSTM模型,直到各终端设备1终端设备2至终端设备n进行机器学习模型训练完成,各终端设备1终端设备2至终端设备n即可获得所处位置准确的室内位置信息。For example, in the application scenario shown in Figure 4, the terminal device 1, the terminal device 2 to the terminal device n jointly train the machine learning model for indoor positioning-the LSTM model, each terminal device 1, the terminal device 2 to The terminal device n uses its own indoor positioning training data set to train locally on the terminal device, and sends the model parameter update obtained after training to the server, and the server sends the received terminal device 1, terminal device 2 to terminal device n The incoming model parameter updates are fused (for example, to obtain a weighted average), and the global model parameters obtained after the fusion processing are sent to each terminal device through a model training request, so that each terminal device 1, terminal device 2 and terminal device Device n continues to train locally the LSTM model for indoor positioning according to the global model parameters, until the machine learning model training of each terminal device 1 terminal device 2 to terminal device n is completed, and each terminal device 1 terminal device 2 to terminal device n Then you can get accurate indoor location information.
在本实施例中,通过联合各终端设备在各终端设备的本地训练用于室内定位的机器学习模型,并在各终端设备在本地进行机器学习模型训练而得到模型参数更新之后,将各终端设备自主进行模型训练得到的模型参数更新进行融合处理以转化生成全局模型参数,并将转化生成的全局模型参数通过控制各终端设备进行机器学习模型训练的模型更新请求分发至各终端设备上,以供各终端设备继续进行模型训练来实现室内定位。In this embodiment, the machine learning model used for indoor positioning is trained locally by each terminal device in conjunction with each terminal device, and after each terminal device performs the machine learning model training locally to obtain the model parameter update, the terminal device The model parameter updates obtained by independent model training are fused to transform and generate global model parameters, and the transformed global model parameters are distributed to each terminal device through a model update request that controls each terminal device to perform machine learning model training. Each terminal device continues to perform model training to achieve indoor positioning.
实现了,基于将各终端设备联合起来通过横向联邦学习训练室内定位机器学习模型,并通过重复进行模型训练以进行室内定位,不经扩展了终端设备所能够测量的室内位置,增加了室内定位的定位方位,并且还提升了室内定位的定位精度和效率。Realized, based on the combination of various terminal devices through horizontal federation learning to train the indoor positioning machine learning model, and repeated model training for indoor positioning, the indoor position that can be measured by the terminal device is not expanded, and the indoor positioning is increased. Orientation, and also improve the positioning accuracy and efficiency of indoor positioning.
此外,请参照图5,本申请实施例还提出一种基于联邦学习的室内定位装置,本申请基于联邦学习的室内定位装置,包括:In addition, please refer to Fig. 5, an embodiment of this application also proposes an indoor positioning device based on federated learning. The indoor positioning device based on federated learning in this application includes:
构建模块,用于构建各终端设备的室内定位训练数据集;The building module is used to build the indoor positioning training data set of each terminal device;
训练模块,用于各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;A training module for each of the terminal devices to perform model training based on the indoor positioning training data set to obtain model parameter updates;
定位模块,用于将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。The positioning module is used for converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning.
在一实施例中,本申请基于联邦学习的室内定位装置,还包括:In an embodiment, the indoor positioning device based on federated learning in this application further includes:
获取模块,用于获取各所述终端设备所处位置的位置信息以及各所述终端设备所采集到的位置指纹信息。The acquiring module is used to acquire the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
在一实施例中,构建模块,包括:In an embodiment, the building module includes:
提取单元,用于依次从所述室内位置信息中,提取所述终端设备采集的每一条所述位置指纹信息对应的目标室内位置信息;An extraction unit, configured to sequentially extract target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information;
标记单元,用于分别将所述位置指纹信息、目标室内位置信息以及所述目标室内位置信息所属的广域位置信息作为一条室内定位训练数据;A marking unit, configured to separately use the position fingerprint information, the target indoor position information, and the wide area position information to which the target indoor position information belongs as a piece of indoor positioning training data;
构建单元,用于统计全部所述室内定位训练数据以构建各所述终端设备的室内定位训练数据集。The construction unit is used to count all the indoor positioning training data to construct an indoor positioning training data set of each terminal device.
在一实施例中,训练模块,包括:In an embodiment, the training module includes:
检测单元,用于检测各所述终端设备进行模型训练的模型更新请求;The detection unit is configured to detect a model update request for model training of each terminal device;
训练单元,用于根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练,以得到模型参数更新。The training unit is configured to perform model training on each of the terminal devices locally according to the detected model update request to obtain model parameter updates.
在一实施例中,联合训练单元,包括:In an embodiment, the joint training unit includes:
检测子单元,用于检测所述模型更新请求中是否包括有所述全局模型参数;The detection subunit is used to detect whether the global model parameter is included in the model update request;
第一联合训练子单元,用于各所述终端设备利用所述全局模型参数在本地进行模型训练;The first joint training subunit is used for each of the terminal devices to perform model training locally by using the global model parameters;
第二联合训练子单元,用于各所述终端设备利用所述室内定位训练数据集在本地进行模型训练。The second joint training subunit is used for each of the terminal devices to use the indoor positioning training data set to perform model training locally.
在一实施例中,定位模块,包括:In an embodiment, the positioning module includes:
转化单元,用于对所述模型参数更新进行预设融合处理,将所述模型参数更新转化为全局模型参数;A conversion unit, configured to perform preset fusion processing on the model parameter update, and convert the model parameter update into a global model parameter;
分发定位单元,用于将所述全局模型参数分发至各所述终端设备上,以供各所述终端设备在本地基于模型训练进行室内定位。The distributing positioning unit is configured to distribute the global model parameters to each of the terminal devices, so that each of the terminal devices can perform indoor positioning based on model training locally.
本实施例提出的基于联邦学习的室内定位装置各个功能模块在运行时实现如上所述的基于联邦学习的室内定位方法的步骤,在此不再赘述。The steps of implementing the above-mentioned indoor positioning method based on federated learning during operation of each functional module of the indoor positioning device based on federated learning proposed in this embodiment will not be repeated here.
此外,本申请实施例还提出一种计算机可读存储介质,应用于计算机,该计算机可读存储介质可以为非易失性计算机可读存储介质,该计算机可读存储介质上存储有基于联邦学习的室内定位程序,所述基于联邦学习的室内定位程序被处理器执行时实现如上所述的基于联邦学习的室内定位方法的步骤。In addition, the embodiment of the present application also proposes a computer-readable storage medium, which is applied to a computer. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The indoor positioning program based on federated learning is executed by the processor to implement the steps of the indoor positioning method based on federated learning.
其中,在所述处理器上运行的基于联邦学习的室内定位程序被执行时所实现的步骤可参照本申请基于联邦学习的室内定位方法的各个实施例,此处不再赘述。Wherein, the steps implemented when the indoor positioning program based on federated learning running on the processor is executed can refer to each embodiment of the indoor positioning method based on federated learning of this application, which will not be repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or system. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or system that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are for description only, and do not represent the superiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of this application, and do not limit the scope of this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of this application, or directly or indirectly used in other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种基于联邦学习的室内定位方法,其中,所述基于联邦学习的室内定位方法包括:An indoor positioning method based on federated learning, wherein the indoor positioning method based on federated learning includes:
    构建各终端设备的室内定位训练数据集;Construct indoor positioning training data sets for each terminal device;
    各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;Each of the terminal devices performs model training based on the indoor positioning training data set to obtain model parameter updates;
    将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。The update of the model parameters is converted into global model parameters for each terminal device to perform indoor positioning.
  2. 如权利要求1所述的基于联邦学习的室内定位方法,其中,在所述构建各终端设备的室内定位训练数据集的步骤之前,还包括:The indoor positioning method based on federated learning according to claim 1, wherein before the step of constructing an indoor positioning training data set of each terminal device, the method further comprises:
    获取各所述终端设备所处位置的位置信息以及各所述终端设备所采集到的位置指纹信息。Obtain the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
  3. 如权利要求2所述的基于联邦学习的室内定位方法,其中,所述位置信息至少包括:广域位置信息和室内位置信息,The indoor positioning method based on federated learning according to claim 2, wherein the position information includes at least: wide area position information and indoor position information,
    所述构建各终端设备所拥有的室内定位训练数据集的步骤包括:The step of constructing the indoor positioning training data set owned by each terminal device includes:
    依次从所述室内位置信息中,提取所述终端设备采集的每一条所述位置指纹信息对应的目标室内位置信息;Sequentially extracting target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information;
    分别将所述位置指纹信息、目标室内位置信息以及所述目标室内位置信息所属的广域位置信息作为一条室内定位训练数据;Using the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs respectively as a piece of indoor positioning training data;
    统计全部所述室内定位训练数据以构建各所述终端设备的室内定位训练数据集。All the indoor positioning training data are collected to construct an indoor positioning training data set of each terminal device.
  4. 如权利要求3所述的基于联邦学习的室内定位方法,其中,所述广域位置信息为物理位置信息,所述室内位置信息为以所述广域位置信息为参考点的坐标信息。The indoor positioning method based on federated learning according to claim 3, wherein the wide area location information is physical location information, and the indoor location information is coordinate information using the wide area location information as a reference point.
  5. 如权利要求1所述的基于联邦学习的室内定位方法,其中,所述各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新的步骤,包括:The indoor positioning method based on federated learning according to claim 1, wherein the step of performing model training for each of the terminal devices based on the indoor positioning training data set to obtain model parameter updates includes:
    检测各所述终端设备进行模型训练的模型更新请求;Detecting a model update request for each terminal device to perform model training;
    根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练,以得到模型参数更新。According to the detected model update request, each of the terminal devices performs model training locally to obtain model parameter updates.
  6. 如权利要求5所述的基于联邦学习的室内定位方法,其中,所述根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练的步骤,包括:The indoor positioning method based on federated learning according to claim 5, wherein the step of performing model training on each of the terminal devices locally according to the detected model update request includes:
    检测所述模型更新请求中是否包括有所述全局模型参数;Detecting whether the global model parameter is included in the model update request;
    若是,则各所述终端设备利用所述全局模型参数在本地进行模型训练;If so, each of the terminal devices uses the global model parameters to perform model training locally;
    若否,则各所述终端设备利用所述室内定位训练数据集在本地进行模型训练。If not, each terminal device uses the indoor positioning training data set to perform model training locally.
  7. 如权利要求1所述的基于联邦学习的室内定位方法,其中,所述将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位的步骤,包括:The indoor positioning method based on federated learning according to claim 1, wherein the step of converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning comprises:
    对所述模型参数更新进行预设融合处理,将所述模型参数更新转化为全局模型参数;Performing preset fusion processing on the model parameter update, and convert the model parameter update into a global model parameter;
    将所述全局模型参数分发至各所述终端设备上,以供各所述终端设备在本地基于模型训练进行室内定位。The global model parameters are distributed to each of the terminal devices, so that each of the terminal devices can perform indoor positioning based on model training locally.
  8. 一种基于联邦学习的室内定位装置,其中,所述基于联邦学习的室内定位装置包括:An indoor positioning device based on federated learning, wherein the indoor positioning device based on federated learning comprises:
    构建模块,用于构建各终端设备的室内定位训练数据集;The building module is used to build the indoor positioning training data set of each terminal device;
    训练模块,用于各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;A training module for each of the terminal devices to perform model training based on the indoor positioning training data set to obtain model parameter updates;
    定位模块,用于将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。The positioning module is used for converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning.
  9. 一种终端设备,其中,所述终端设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的基于联邦学习的室内定位程序,所述基于联邦学习的室内定位程序被所述处理器执行时实现如下步骤:A terminal device, wherein the terminal device includes a memory, a processor, and an indoor positioning program based on federated learning that is stored in the memory and can be run on the processor, and the indoor positioning based on federated learning The following steps are implemented when the program is executed by the processor:
    构建各终端设备的室内定位训练数据集;Construct indoor positioning training data sets for each terminal device;
    各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;Each of the terminal devices performs model training based on the indoor positioning training data set to obtain model parameter updates;
    将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。The update of the model parameters is converted into global model parameters for each terminal device to perform indoor positioning.
  10. 如权利要求9所述的终端设备,其中,在所述构建各终端设备的室内定位训练数据集的步骤之前,还包括:The terminal device according to claim 9, wherein before the step of constructing an indoor positioning training data set of each terminal device, the method further comprises:
    获取各所述终端设备所处位置的位置信息以及各所述终端设备所采集到的位置指纹信息。Obtain the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
  11. 如权利要求10所述的终端设备,其中,所述位置信息至少包括:广域位置信息和室内位置信息,The terminal device according to claim 10, wherein the location information includes at least: wide area location information and indoor location information,
    所述构建各终端设备所拥有的室内定位训练数据集的步骤包括:The step of constructing the indoor positioning training data set owned by each terminal device includes:
    依次从所述室内位置信息中,提取所述终端设备采集的每一条所述位置指纹信息对应的目标室内位置信息;Sequentially extracting target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information;
    分别将所述位置指纹信息、目标室内位置信息以及所述目标室内位置信息所属的广域位置信息作为一条室内定位训练数据;Using the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs respectively as a piece of indoor positioning training data;
    统计全部所述室内定位训练数据以构建各所述终端设备的室内定位训练数据集。All the indoor positioning training data are collected to construct an indoor positioning training data set of each terminal device.
  12. 如权利要求11所述的终端设备,其中,所述广域位置信息为物理位置信息,所述室内位置信息为以所述广域位置信息为参考点的坐标信息。The terminal device according to claim 11, wherein the wide area location information is physical location information, and the indoor location information is coordinate information using the wide area location information as a reference point.
  13. 如权利要求9所述的终端设备,其中,所述各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新的步骤,包括:The terminal device according to claim 9, wherein the step of performing model training for each of the terminal devices based on the indoor positioning training data set to obtain model parameter updates includes:
    检测各所述终端设备进行模型训练的模型更新请求;Detecting a model update request for each terminal device to perform model training;
    根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练,以得到模型参数更新。According to the detected model update request, each of the terminal devices performs model training locally to obtain model parameter updates.
  14. 如权利要求13所述的终端设备,其中,所述根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练的步骤,包括:The terminal device according to claim 13, wherein the step of performing model training on each of the terminal devices locally according to the detected model update request comprises:
    检测所述模型更新请求中是否包括有所述全局模型参数;Detecting whether the global model parameter is included in the model update request;
    若是,则各所述终端设备利用所述全局模型参数在本地进行模型训练;If so, each of the terminal devices uses the global model parameters to perform model training locally;
    若否,则各所述终端设备利用所述室内定位训练数据集在本地进行模型训练。If not, each terminal device uses the indoor positioning training data set to perform model training locally.
  15. 如权利要求9所述的终端设备,其中,所述将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位的步骤,包括:9. The terminal device of claim 9, wherein the step of converting the model parameter update into a global model parameter for each of the terminal devices to perform indoor positioning comprises:
    对所述模型参数更新进行预设融合处理,将所述模型参数更新转化为全局模型参数;Performing preset fusion processing on the model parameter update, and convert the model parameter update into a global model parameter;
    将所述全局模型参数分发至各所述终端设备上,以供各所述终端设备在本地基于模型训练进行室内定位。The global model parameters are distributed to each of the terminal devices, so that each of the terminal devices can perform indoor positioning based on model training locally.
  16. 一种存储介质,其中,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:A storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by a processor, the following steps are implemented:
    构建各终端设备的室内定位训练数据集;Construct indoor positioning training data sets for each terminal device;
    各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新;Each of the terminal devices performs model training based on the indoor positioning training data set to obtain model parameter updates;
    将所述模型参数更新转化为全局模型参数以供各所述终端设备进行室内定位。The update of the model parameters is converted into global model parameters for each terminal device to perform indoor positioning.
  17. 如权利要求16所述的存储介质,其中,在所述构建各终端设备的室内定位训练数据集的步骤之前,还包括:The storage medium of claim 16, wherein before the step of constructing an indoor positioning training data set of each terminal device, the method further comprises:
    获取各所述终端设备所处位置的位置信息以及各所述终端设备所采集到的位置指纹信息。Obtain the location information of the location of each terminal device and the location fingerprint information collected by each terminal device.
  18. 如权利要求17所述的存储介质,其中,所述位置信息至少包括:广域位置信息和室内位置信息,17. The storage medium of claim 17, wherein the location information includes at least: wide area location information and indoor location information,
    所述构建各终端设备所拥有的室内定位训练数据集的步骤包括:The step of constructing the indoor positioning training data set owned by each terminal device includes:
    依次从所述室内位置信息中,提取所述终端设备采集的每一条所述位置指纹信息对应的目标室内位置信息;Sequentially extracting target indoor position information corresponding to each piece of position fingerprint information collected by the terminal device from the indoor position information;
    分别将所述位置指纹信息、目标室内位置信息以及所述目标室内位置信息所属的广域位置信息作为一条室内定位训练数据;Using the location fingerprint information, the target indoor location information, and the wide area location information to which the target indoor location information belongs respectively as a piece of indoor positioning training data;
    统计全部所述室内定位训练数据以构建各所述终端设备的室内定位训练数据集。All the indoor positioning training data are collected to construct an indoor positioning training data set of each terminal device.
  19. 如权利要求18所述的存储介质,其中,所述广域位置信息为物理位置信息,所述室内位置信息为以所述广域位置信息为参考点的坐标信息。18. The storage medium of claim 18, wherein the wide area location information is physical location information, and the indoor location information is coordinate information using the wide area location information as a reference point.
  20. 如权利要求16所述的存储介质,其中,所述各所述终端设备基于所述室内定位训练数据集进行模型训练,以得到模型参数更新的步骤,包括:The storage medium according to claim 16, wherein the step of performing model training for each of the terminal devices based on the indoor positioning training data set to obtain model parameter updates includes:
    检测各所述终端设备进行模型训练的模型更新请求;Detecting a model update request for each terminal device to perform model training;
    根据检测到的所述模型更新请求,各所述终端设备在本地进行模型训练,以得到模型参数更新。According to the detected model update request, each of the terminal devices performs model training locally to obtain model parameter updates.
PCT/CN2020/107331 2019-09-20 2020-08-06 Federated learning-based indoor positioning method, apparatus, and terminal device, and storage medium WO2020259718A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910898051.3 2019-09-20
CN201910898051.3A CN110632554A (en) 2019-09-20 2019-09-20 Indoor positioning method, device, terminal equipment and medium based on federal learning

Publications (1)

Publication Number Publication Date
WO2020259718A1 true WO2020259718A1 (en) 2020-12-30

Family

ID=68972406

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/107331 WO2020259718A1 (en) 2019-09-20 2020-08-06 Federated learning-based indoor positioning method, apparatus, and terminal device, and storage medium

Country Status (2)

Country Link
CN (1) CN110632554A (en)
WO (1) WO2020259718A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024014921A1 (en) * 2022-07-14 2024-01-18 Samsung Electronics Co., Ltd. Method and apparatus for positioning

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110632554A (en) * 2019-09-20 2019-12-31 深圳前海微众银行股份有限公司 Indoor positioning method, device, terminal equipment and medium based on federal learning
CN111460511B (en) * 2020-04-17 2023-05-02 支付宝(杭州)信息技术有限公司 Federal learning and virtual object distribution method and device based on privacy protection
CN113543305A (en) * 2020-04-22 2021-10-22 维沃移动通信有限公司 Positioning method, communication equipment and network equipment
CN111654817A (en) * 2020-06-29 2020-09-11 青岛歌尔智能传感器有限公司 Bluetooth positioning method, mobile terminal and storage medium
CN111866869B (en) * 2020-07-07 2023-06-23 兰州交通大学 Federal learning indoor positioning privacy protection method for edge calculation
CN112766138A (en) * 2021-01-14 2021-05-07 深圳前海微众银行股份有限公司 Positioning method, device and equipment based on image recognition and storage medium
CN114205905B (en) * 2021-12-13 2023-04-18 江苏第二师范学院 Complex environment indoor fingerprint positioning method based on integrated federal learning

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016170011A (en) * 2015-03-12 2016-09-23 エヌ・ティ・ティ・コミュニケーションズ株式会社 Positioning device, method for positioning, positioning program, and positioning system
CN108717175A (en) * 2018-04-18 2018-10-30 同济大学 Indoor fingerprint positioning method based on region division and sparse support vector regression
WO2019141347A1 (en) * 2018-01-16 2019-07-25 Here Global B.V. Client-based storing of tuning parameters for positioning services
CN110082716A (en) * 2019-04-29 2019-08-02 徐州医科大学 A kind of complex hospital environments indoor locating system and localization method
CN110225460A (en) * 2019-06-05 2019-09-10 三维通信股份有限公司 A kind of indoor orientation method and device based on deep neural network
CN110632554A (en) * 2019-09-20 2019-12-31 深圳前海微众银行股份有限公司 Indoor positioning method, device, terminal equipment and medium based on federal learning

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109699002B (en) * 2018-12-06 2020-05-19 深圳市中电数通智慧安全科技股份有限公司 Indoor WiFi positioning method and device and terminal equipment
CN109819406B (en) * 2019-01-22 2020-12-18 江苏大学 Indoor positioning method based on crowdsourcing
CN109871702A (en) * 2019-02-18 2019-06-11 深圳前海微众银行股份有限公司 Federal model training method, system, equipment and computer readable storage medium
CN109951483B (en) * 2019-03-20 2021-09-07 广东工业大学 Indoor shop positioning system and method based on alliance chain and machine learning algorithm
KR20190103090A (en) * 2019-08-15 2019-09-04 엘지전자 주식회사 Method and apparatus for learning a model to generate poi data using federated learning

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016170011A (en) * 2015-03-12 2016-09-23 エヌ・ティ・ティ・コミュニケーションズ株式会社 Positioning device, method for positioning, positioning program, and positioning system
WO2019141347A1 (en) * 2018-01-16 2019-07-25 Here Global B.V. Client-based storing of tuning parameters for positioning services
CN108717175A (en) * 2018-04-18 2018-10-30 同济大学 Indoor fingerprint positioning method based on region division and sparse support vector regression
CN110082716A (en) * 2019-04-29 2019-08-02 徐州医科大学 A kind of complex hospital environments indoor locating system and localization method
CN110225460A (en) * 2019-06-05 2019-09-10 三维通信股份有限公司 A kind of indoor orientation method and device based on deep neural network
CN110632554A (en) * 2019-09-20 2019-12-31 深圳前海微众银行股份有限公司 Indoor positioning method, device, terminal equipment and medium based on federal learning

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024014921A1 (en) * 2022-07-14 2024-01-18 Samsung Electronics Co., Ltd. Method and apparatus for positioning

Also Published As

Publication number Publication date
CN110632554A (en) 2019-12-31

Similar Documents

Publication Publication Date Title
WO2020259718A1 (en) Federated learning-based indoor positioning method, apparatus, and terminal device, and storage medium
CN103858414B (en) Distributed localization mechanism for Wireless Telecom Equipment
JP2019176490A (en) Method and system for providing indoor positioning service
CN107850658A (en) Enhanced Passive Positioning with adaptive positive location
WO2016134625A1 (en) Wifi access system
JP2019500763A (en) Ranging and / or localization services based on mobile device privileges
JP5710438B2 (en) POSITION DETECTION DEVICE, POSITION MANAGEMENT SYSTEM, POSITION DETECTION METHOD, AND PROGRAM
WO2014180219A1 (en) Locating method, device and terminal and computer storage medium
WO2015117396A1 (en) Wi-fi signal-based positioning method, device, and system
Greßmann et al. Towards ubiquitous indoor location based services and indoor navigation
JP2018528403A (en) Location-based service providing method and system
JP6684226B2 (en) Location error radius judgment
Ching et al. Uniwide WiFi based positioning system
CN106357758A (en) Positioning method, positioning system and terminal
Bergenti et al. Location-aware social gaming with AMUSE
WO2012091313A2 (en) Device and method for measuring indoor location
CN104081220B (en) For utilizing and promoting that geodetic triangulation is to judge the mechanism of the global location of calculating equipment
KR101791258B1 (en) System and Method for Positioning Terminal, Positioning Apparatus and Driving Method Thereof, Cloud Computing Service Apparatus and Driving Method Thereof, Access Point and Driving Method Thereof, Terminal
CN105580461B (en) Method and positioning device for being positioned to mobile communications device
US20130273943A1 (en) Estimating the geographical position of an apparatus based on its proximity to other apparatuses
Meneses et al. Radio maps for fingerprinting in indoor positioning
Bekkelien et al. Hybrid positioning framework for mobile devices
JP6135678B2 (en) Information processing apparatus control method, control program, and information processing apparatus
Han et al. City radio map construction for Wi-Fi-based citywide indoor positioning
Hong et al. Location-aware real time positioning with jinifmap

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: 20830565

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: 20830565

Country of ref document: EP

Kind code of ref document: A1