CN105120518B - A kind of indoor orientation method and user terminal - Google Patents

A kind of indoor orientation method and user terminal Download PDF

Info

Publication number
CN105120518B
CN105120518B CN201510566110.9A CN201510566110A CN105120518B CN 105120518 B CN105120518 B CN 105120518B CN 201510566110 A CN201510566110 A CN 201510566110A CN 105120518 B CN105120518 B CN 105120518B
Authority
CN
China
Prior art keywords
user terminal
mark
path
user
service device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510566110.9A
Other languages
Chinese (zh)
Other versions
CN105120518A (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510566110.9A priority Critical patent/CN105120518B/en
Publication of CN105120518A publication Critical patent/CN105120518A/en
Application granted granted Critical
Publication of CN105120518B publication Critical patent/CN105120518B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the invention discloses a kind of indoor orientation method and user terminal, wherein, method includes:First user terminal receives the positioning instruction of user's input, and the positioning instruction includes the mark of second user terminal;First user terminal responds the positioning instruction, the position acquisition request for the mark for including the second user terminal is sent to indoor service device, so that the indoor service device responds the position acquisition request, according to the mark of the second user terminal, the target location of the second user terminal indoors is obtained;First user terminal receives the indoor service device and responds the target location that the position acquisition request is sent;First user terminal determines the corresponding mapping position in the target location in map indoors, and the mapping position is marked using mark icon.It can be seen that, by implementing the embodiment of the present invention, indoor user can be positioned exactly, be easy to user to be successfully found the other users of interior.

Description

A kind of indoor orientation method and user terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of indoor orientation method and user terminal.
Background technology
At present, as the improvement of people's living standards, large-scale market or supermarket is more and more.Due to present market or Supermarket is very big, if user go shopping or supermarket during wandered away with companion, user finds companion will be extremely difficult. Generally, if user wanders away with companion, user can only make a phone call to companion, inquire the accurate location of companion.But market Or supermarket is typically relatively noisy, user is possible to mishear the position that companion says, causes user to be successfully found companion.
The content of the invention
The embodiment of the invention discloses a kind of indoor orientation method and user terminal, indoor user can be carried out exactly Positioning.
First aspect of the embodiment of the present invention discloses a kind of indoor orientation method, and methods described includes:
First user terminal receives the positioning instruction of user's input, and the positioning instruction includes the mark of second user terminal Know;
First user terminal responds the positioning instruction, and being sent to indoor service device includes the second user terminal Mark position acquisition request so that the indoor service device responds position acquisition request, according to the second user The mark of terminal, obtains the target location of the second user terminal indoors;
First user terminal receives the indoor service device and responds the target that the position acquisition request is sent Position;
First user terminal determines the corresponding mapping position in the target location in map indoors, and uses mark The mapping position is marked icon.
In the first possible implementation of first aspect of the embodiment of the present invention, first user terminal, which is received, to be used After the positioning instruction of family input, methods described also includes:
The positioning that first user terminal judges first user terminal and whether has the second user terminal is weighed Limit;
If first user terminal has the positioning authority of the second user terminal, first user is performed whole The end response positioning instruction, the position acquisition request for the mark for including the second user terminal is sent to indoor service device Step.
In second of possible implementation of first aspect of the embodiment of the present invention, first user terminal is indoors The corresponding mapping position in the target location is determined in map, and it is marked to the mapping position using mark icon Afterwards, methods described also includes:
First user terminal is obtained to indoor service device transmission for the path of the second user terminal please Ask, so that the indoor service device responds the path and obtains request, obtain the current position of first user terminal, and press According to shortest path rule or the minimum rule of flow of the people, the current position of first user terminal is generated whole to the second user The path of the position at end;
First user terminal receives the path that the indoor service device is sent;
First user terminal maps out the path in the indoor map.
In second of possible implementation with reference to first aspect of the embodiment of the present invention, in first party of the embodiment of the present invention In the third possible implementation in face, after the path for receiving the indoor service device transmission, methods described Also include:
First user terminal receives the path synchronic command that the second user terminal is sent;
First user terminal responds the path synchronic command, and the path is sent to the second user terminal, So that the second user terminal maps out the path in map indoors.
With reference to the first possible implementation or first aspect of first aspect of the embodiment of the present invention or first aspect The third possible implementation of second possible implementation or first aspect, in first aspect of the embodiment of the present invention In 4th kind of possible implementation, first user terminal determines the corresponding mapping in the target location in map indoors Position, and the mapping position is marked using mark icon, including:
First user terminal determines the corresponding mapping position in the target location in map indoors, and using and institute The corresponding mark icon of second user terminal is stated the mapping position is marked.
Second aspect of the embodiment of the present invention discloses a kind of user terminal, and the user terminal includes:
First receiving module, the positioning instruction for receiving user's input, the positioning instruction includes second user terminal Mark;
First sending module, for responding the positioning instruction, being sent to indoor service device includes the second user end The position acquisition request of the mark at end, so that the indoor service device responds the position acquisition request, is used according to described second The mark of family terminal, obtains the target location of the second user terminal indoors;
Second receiving module, the target that the position acquisition request is sent is responded for receiving the indoor service device Position;
Mark module, for determining the corresponding mapping position in the target location in map indoors, and uses mark figure The mapping position is marked mark.
In the first possible implementation of second aspect of the embodiment of the present invention, the user terminal also includes:
Judge module, for after the positioning instruction that first receiving module receives user's input, judging described use Whether family terminal has the positioning authority of the second user terminal;
When the judge module judges that the user terminal has the positioning authority of the second user terminal, institute is triggered State the first sending module and respond the positioning instruction, the position for the mark for including the second user terminal is sent to indoor service device Put acquisition request.
In second of possible implementation of second aspect of the embodiment of the present invention, the user terminal also includes:
Second sending module, for determining the corresponding mapping in the target location in the mark module indoors map Position, and after the mapping position is marked using mark icon, sent to the indoor service device for described the The path of two user terminals obtains request, so that the indoor service device responds the path and obtains request, obtains the user The current position of terminal, and according to shortest path rule or the minimum rule of flow of the people, generate the current position of the user terminal To the path of the position of the second user terminal;
3rd receiving module, for receiving the path that the indoor service device is sent;
Mapping block, for mapping out the path in the indoor map.
In second of possible implementation with reference to second aspect of the embodiment of the present invention, in second party of the embodiment of the present invention In the third possible implementation in face, the user terminal also includes:
4th receiving module, for the 3rd receiving module receive the path that the indoor service device sends it Afterwards, the path synchronic command that the second user terminal is sent is received;
3rd sending module, for responding the path synchronic command, the path is sent to the second user terminal, So that the second user terminal maps out the path in map indoors.
With reference to the first possible implementation or second aspect of second aspect of the embodiment of the present invention or second aspect The third possible implementation of second possible implementation or second aspect, in second aspect of the embodiment of the present invention In 4th kind of possible implementation, the mark module specifically for:
The corresponding mapping position in the target location is determined in map indoors, and is used and the second user terminal-pair The mapping position is marked the mark icon answered.
In embodiments of the present invention, after the first user terminal receives the positioning instruction of user's input, response positioning is referred to Order, the position acquisition for sending the mark for including second user terminal to indoor service device is asked, so that indoor service device response bit Acquisition request is put, according to the mark of second user terminal, the target location of second user terminal indoors is obtained;First user is whole End is received after the target location that the response position acquisition request of indoor service device is sent, and will determine target location in map indoors Corresponding mapping position, and mapping position is marked using mark icon.It can be seen that, by implementing the embodiment of the present invention, energy It is enough that indoor user is positioned exactly, it is easy to user to be successfully found the other users of interior.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below by using required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of indoor orientation method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another indoor orientation method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another user terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of indoor orientation method and user terminal, indoor user can be carried out exactly Positioning.It is described in detail individually below.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of indoor orientation method disclosed in the embodiment of the present invention.Such as Fig. 1 institutes Show, the indoor orientation method may comprise steps of.
S101, the first user terminal receive the positioning instruction of user's input.
In the embodiment of the present invention, the first user terminal may include but be not limited to smart mobile phone, palm PC, notebook computer With the user terminal such as desktop computer.The operating system of first user terminal may include but be not limited to Android operation system, IOS, Symbian (Saipan) operating system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 behaviour Make system etc., the embodiment of the present invention is not limited.
In the embodiment of the present invention, positioning instruction includes the mark of second user terminal.Wherein, second user terminal may include But it is not limited to the user terminals such as smart mobile phone, palm PC, notebook computer and desktop computer.Wherein, this be designated can be only The information of one identification second user terminal;The mark can be telephone number, the timely communications applications number of second user terminal Or account of any application of second user terminal etc. is installed on, the embodiment of the present invention is not limited.
S102, the first user terminal response positioning instruction, being sent to indoor service device includes the mark of second user terminal Position acquisition request.
In the embodiment of the present invention, the first user terminal is received after positioning instruction, the positioning instruction will be responded, to indoor clothes Business device sends the position acquisition request for the mark for including second user terminal.
In the embodiment of the present invention, indoor service device is received after position acquisition request, will respond position acquisition request, According to the mark of second user terminal, obtain the target location of second user terminal indoors (target location is longitude and latitude). Specifically, indoor service device can obtain the target location of second user terminal indoors by WiFi indoor positioning technologies.Room Server can send location information to second user terminal according to the mark of second user terminal and obtain instruction;Second user is whole Termination is received after location information acquisition instruction, will be responded location information acquisition and be instructed, and search for the WiFi of predetermined number nearby The signal strength information of focus and the MAC Address of Wi-Fi hotspot transmitter, and send the signal strength information of Wi-Fi hotspot with And the MAC Address of Wi-Fi hotspot transmitter gives indoor service device.The WiFi heat that indoor service device is sent according to second user terminal The signal strength information of point and the MAC Address of Wi-Fi hotspot transmitter, so that it may calculate the ground of second user terminal indoors Manage position.Signal strength information and the Wi-Fi hotspot transmitting for the Wi-Fi hotspot that indoor service device is sent according to second user terminal The MAC Address of device, calculates the geographical position of second user terminal indoors, is technology known to industry, will not be repeated here.
In the embodiment of the present invention, indoor service device is obtained after the target location of second user terminal indoors, will be sent The target location is to the first user terminal.
S103, the first user terminal receiving chamber server respond the target location that position acquisition request is sent.
In the embodiment of the present invention, the first user terminal sends the position for the mark for including second user terminal to indoor service device Put after acquisition request, receiving chamber server is responded into the target location that position acquisition request is sent.
S104, the first user terminal determine the corresponding mapping position in target location in map indoors, and use mark figure Mapping position is marked mark.
In the embodiment of the present invention, the first user terminal pre-sets the physical location (i.e. longitude and latitude) and indoor ground of interior The mapping relations of position in figure.First user terminal is received after target location, will be according to mapping relations map indoors The corresponding mapping position in middle determination target location, and mapping position is marked using mark icon.
As an alternative embodiment, the first user terminal determines the corresponding mapping in target location in map indoors Position, and can be using the embodiment for marking icon that mapping position is marked:
First user terminal determines the corresponding mapping position in target location in map indoors, and using and second user it is whole Mapping position is marked the corresponding mark icon in end.
In this embodiment, the first user terminal can pre-set mark icon corresponding with second user terminal, For example, the first user terminal can regard the head portrait of the user of second user terminal as mark icon.
In actual applications, when the first user terminal positions the position of multiple second user terminals simultaneously, if mark Icon is identical, then user will not can determine that each second user terminal corresponding mark position in map indoors.In the embodiment party In formula, user can pre-set the corresponding icon of second user terminal, when in the first user terminal indoors map to second use When the position of family terminal is marked, it is marked using mark icon corresponding with second user terminal.It can be seen that, by implementing The embodiment, can make user better discriminate between mark position of each second user terminal indoors in map.
In the method described by Fig. 1, the first user terminal is received after the positioning instruction of user's input, and response is positioned Instruction, the position acquisition for sending the mark for including second user terminal to indoor service device is asked, so that indoor service device is responded Position acquisition is asked, according to the mark of second user terminal, obtains the target location of second user terminal indoors;First user After the target location that the response position acquisition request of terminal receiving chamber server is sent, target position will be determined in map indoors Corresponding mapping position is put, and mapping position is marked using mark icon.It can be seen that, by implementing the embodiment of the present invention, Indoor user can be positioned exactly, be easy to user to be successfully found the other users of interior.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow sheet of indoor orientation method disclosed in the embodiment of the present invention.Such as Fig. 2 institutes Show, the indoor orientation method may comprise steps of.
S201, the first user terminal receive the positioning instruction of user's input.
In the embodiment of the present invention, positioning instruction includes the mark of second user terminal.
S202, the first user terminal judge whether the first user terminal has the positioning authority of second user terminal.
In the embodiment of the present invention, the first user terminal is received after positioning instruction, whether will determine that the first user terminal Positioning authority with second user terminal.When the first user terminal judges that the first user terminal has determining for second user terminal During the authority of position, step S203 is performed;When the first user terminal judges that the first user terminal does not have the positioning of second user terminal During authority, optionally, terminate this flow.
As an alternative embodiment, before the positioning instruction that the first user terminal receives user's input, first User terminal can send positioning authority acquiring request to second user terminal;Second user terminal receives positioning authority acquiring please After asking, will export is used to prompt the user whether to authorize the prompt message that the first user terminal positions authority;When second user is whole When termination receives the confirmation instruction that user inputs for the prompt message, second user terminal is sent to the first user terminal to be allowed Location response, meanwhile, the mark of the first user terminal is saved as the positioning with second user terminal and weighed by second user terminal The mark of the terminal of limit.
First user terminal is received after the permission location response of second user terminal transmission, allows positioning to ring according to this The mark of second user terminal should be saved as authorizing to the mark of the terminal of the positioning authority of the first user terminal.
In this embodiment, the first user terminal judges whether the first user terminal has the positioning of second user terminal The mode of authority is specially:First user terminal judge second user terminal identify whether for the first user terminal store awarding Give the mark of the terminal of the positioning authority of the first user terminal.If so, then the first user terminal determines that the first user terminal has The positioning authority of second user terminal;If it is not, then the first user terminal determines that the first user terminal does not have second user terminal Positioning authority.
In this embodiment, second user terminal user can cancel the positioning authority of the first user terminal at any time.When Two user terminals receive when being used to cancel the instruction of the positioning authority of the first user terminal of user's input, second user terminal The mark of first user terminal of storage is removed from the mark of the terminal of the positioning authority with second user terminal, to take Disappear the positioning authority of the first user terminal, and send positioning authority and cancel instruction to the first user terminal.First user terminal connects Receive after positioning authority cancellation instruction, the mark of the second user terminal of storage is weighed from the positioning for authorizing the first user terminal Removed in the mark of the terminal of limit, to cancel positioning authority of first user terminal to second user terminal.
In the embodiment of the present invention, after second user terminal authorizes the first user terminal positioning authority, the first user is whole End could be positioned to second user terminal, can effectively protect the privacy of second user terminal user.
S203, the first user terminal response positioning instruction, being sent to indoor service device includes the mark of second user terminal Position acquisition request.
S204, the first user terminal receiving chamber server respond the target location that position acquisition request is sent.
S205, the first user terminal determine the corresponding mapping position in target location in map indoors, and use mark figure Mapping position is marked mark.
S206, the first user terminal send the path acquisition request for second user terminal to indoor service device.
In the embodiment of the present invention, the first user terminal determines the corresponding mapping position in target location in map indoors, and After mapping position is marked using mark icon, the first user terminal can receive the whole for second user of user's input The path at end obtains instruction, is obtained in the path that the first user terminal receives user's input after instructing, the first user terminal The path acquisition request for second user terminal will be sent to indoor service device.
In the embodiment of the present invention, indoor service device is received after the acquisition request of path, will be responded the path and be obtained request, Obtain the current position of the first user terminal.Specifically, indoor service device can obtain first by WiFi indoor positioning technologies The current position of user terminal., can be according to shortest path after the current position of the first user terminal of server acquisition indoors Rule, the path of position of the current position of the first user terminal of generation to second user terminal.It is raw according to shortest path rule Into path for the current position of the first user terminal to the position of second user terminal path that can be most short in pass. If for example, from the current position of the first user terminal to the transitable path of the position of second user terminal include path A and Path B, if path A path length is more than path B path length, indoor service device will generate path B.
By according to the current position to the position of second user terminal of shortest path rule the first user terminal of generation Path, is conducive to shortening the time that user walks to target location.
In the embodiment of the present invention, after the current position of the first user terminal of server acquisition indoors, indoor service device Also the flow of the people that can be on pass of interior can be obtained from Indoor Monitoring System, and according to the minimum rule of flow of the people, generation Path of the current position of first user terminal to the position of second user terminal.According to the path of the minimum rule generation of flow of the people For the current position of the first user terminal to the position of second user terminal can the minimum path of flow of the people in pass.Example Such as, if including path A and road from the current position of the first user terminal to the transitable path of the position of second user terminal Footpath B, if having on the A of path has 10 people on 50 people, path B, then indoor service device will generate path B.
By according to the current position to the position of second user terminal of flow of the people the first user terminal of minimum rule generation Path, be conducive to shortening user and walk to time of target location.
In the embodiment of the present invention, indoor service device generates the current position to the position of second user terminal of the first user terminal After the path put, by the path of transmission generation to the first user terminal.
The path that S207, the first user terminal receiving chamber server are sent.
S208, the first user terminal map out the path in map indoors.
, will map indoors after the path that the first user terminal receiving chamber server is sent in the embodiment of the present invention In map out the path received.
S209, the first user terminal receive the path synchronic command that second user terminal is sent.
In the embodiment of the present invention, after the path that the first user terminal receiving chamber server is sent, the second use can be received The path synchronic command that family terminal is sent.
S210, the first user terminal respond the path synchronic command, and the path is sent to second user terminal, so that second User terminal maps outbound path in map indoors.
In the embodiment of the present invention, after the first user terminal receives the path synchronic command, by responding, the path is same Step instruction, the path is sent to second user terminal, so that second user terminal maps outbound path in map indoors.
It can be seen that, by implementing the embodiment of the present invention, the user of second user terminal can also view the first user terminal Current location, can make the user of second user terminal understand distance with the user of the first user terminal in real time, improve use Experience at family.
Referring to Fig. 3, Fig. 3 is a kind of structural representation of user terminal disclosed in the embodiment of the present invention.Wherein, Fig. 3 institutes The user terminal shown can include the first receiving module 301, the first sending module 302, the second receiving module 303 and mark module 304.Wherein:
First receiving module 301, the positioning instruction for receiving user's input, positioning instruction includes second user terminal Mark.
In the embodiment of the present invention, the positioning instruction of user's input is received by the first receiving module 301 of user terminal.Its In, the user terminal may include but be not limited to the user terminals such as smart mobile phone, palm PC, notebook computer and desktop computer. The operating system of the user terminal may include but be not limited to Android operation system, IOS, Symbian (Saipan) behaviour Make system, Black Berry (blackberry, blueberry) operating system, Windows Phone8 operating systems etc., the embodiment of the present invention is not done Limit.
In the embodiment of the present invention, positioning instruction includes the mark of second user terminal.Wherein, second user terminal may include But it is not limited to the user terminals such as smart mobile phone, palm PC, notebook computer and desktop computer.Wherein, this be designated can be only The information of one identification second user terminal;The mark can be telephone number, the timely communications applications number of second user terminal Or account of any application of second user terminal etc. is installed on, the embodiment of the present invention is not limited.
First sending module 302, for responding positioning instruction, being sent to indoor service device includes the mark of second user terminal The position acquisition request of knowledge, so that the response position acquisition request of indoor service device, according to the mark of second user terminal, obtains the The target location of two user terminals indoors.
In the embodiment of the present invention, the first receiving module 301 is received after positioning instruction, and the first sending module 302 will response The positioning instruction, the position acquisition for sending the mark for including second user terminal to indoor service device is asked.
In the embodiment of the present invention, indoor service device is received after position acquisition request, will respond position acquisition request, According to the mark of second user terminal, obtain the target location of second user terminal indoors (target location is longitude and latitude). Specifically, indoor service device can obtain the target location of second user terminal indoors by WiFi indoor positioning technologies.Room Server can send location information to second user terminal according to the mark of second user terminal and obtain instruction;Second user is whole Termination is received after location information acquisition instruction, will be responded location information acquisition and be instructed, and search for the WiFi of predetermined number nearby The signal strength information of focus and the MAC Address of Wi-Fi hotspot transmitter, and send the signal strength information of Wi-Fi hotspot with And the MAC Address of Wi-Fi hotspot transmitter gives indoor service device.The WiFi heat that indoor service device is sent according to second user terminal The signal strength information of point and the MAC Address of Wi-Fi hotspot transmitter, so that it may calculate the ground of second user terminal indoors Manage position.Signal strength information and the Wi-Fi hotspot transmitting for the Wi-Fi hotspot that indoor service device is sent according to second user terminal The MAC Address of device, calculates the geographical position of second user terminal indoors, is technology known to industry, will not be repeated here.
In the embodiment of the present invention, indoor service device is obtained after the target location of second user terminal indoors, will be sent The target location to user terminal the second receiving module 303.
Second receiving module 303, the target location that position acquisition request is sent is responded for receiving chamber server.
In the embodiment of the present invention, the first sending module 302 is sent to indoor service device includes the mark of second user terminal Position acquisition request after, the second receiving module 303 by receiving chamber server respond the position acquisition request send mesh Cursor position.
Mark module 304, for determining the corresponding mapping position in target location in map indoors, and uses mark icon Mapping position is marked.
In the embodiment of the present invention, user terminal is pre-set in the physical location (i.e. longitude and latitude) and indoor map of interior Position mapping relations.Second receiving module 303 is received after target location, and mark module 304 will be according to the mapping relations The corresponding mapping position in target location is determined in map indoors, and mapping position is marked using mark icon.
As an alternative embodiment, mark module 304 specifically for:
The corresponding mapping position in the target location is determined in map indoors, and using corresponding with second user terminal The mapping position is marked mark icon.
In this embodiment, user terminal can pre-set mark icon corresponding with second user terminal, for example, User terminal can regard the head portrait of the user of second user terminal as mark icon.
In actual applications, when user terminal positions the position of multiple second user terminals simultaneously, if the icon of mark Identical, then user will not can determine that each second user terminal corresponding mark position in map indoors.In this embodiment, User can pre-set the corresponding icon of second user terminal, when in mark module 304 indoors map to second user terminal Position when being marked, be marked using mark icon corresponding with second user terminal.It can be seen that, by implementing the implementation Mode, can make user better discriminate between mark position of each second user terminal indoors in map.
Also referring to Fig. 4, Fig. 4 is the structural representation of another user terminal disclosed in the embodiment of the present invention.Wherein, User terminal shown in Fig. 4 is that user terminal as shown in Figure 3 optimizes what is obtained.Compared with the user terminal shown in Fig. 3 Compared with, the user terminal shown in Fig. 4 in addition to all modules including the user terminal shown in Fig. 3, in addition to judge module 305, Second sending module 306, the 3rd receiving module 307, mapping block 308, the 4th receiving module 309 and the 3rd sending module 310. Wherein:
Judge module 305, for after the positioning instruction that the first receiving module 301 receives user's input, judging user Whether terminal has the positioning authority of second user terminal.
In the embodiment of the present invention, the first receiving module 301 is received after positioning instruction, and judge module 305 will determine that use Whether family terminal has the positioning authority of second user terminal.When judge module 305 judges that user terminal has second user whole During the positioning authority at end, triggering the first sending module 302 response positioning instruction, being sent to indoor service device includes second user end The position acquisition request of the mark at end.
As an alternative embodiment, before the positioning instruction that the first receiving module 301 receives user's input, using Family terminal can send positioning authority acquiring request to second user terminal;Second user terminal receives positioning authority acquiring request Afterwards, will export is used to prompt the user whether to authorize the prompt message that user terminal positions authority;When second user terminal is received When being instructed to user for the confirmation that the prompt message is inputted, second user terminal is sent to user terminal allows location response, Meanwhile, second user terminal saves as the mark of user terminal the mark of the terminal of the positioning authority with second user terminal Know.
User terminal is received after the permission location response of second user terminal transmission, will according to the permission location response The mark of second user terminal saves as authorizing the mark of the terminal of the positioning authority of user terminal.
In this embodiment, judge module 305 judges whether user terminal has the positioning authority of second user terminal Mode be specially:Judge module 305 judge second user terminal identify whether to store for user terminal to authorize user whole The mark of the terminal of the positioning authority at end.If so, then judge module 305 determines that user terminal has the positioning of second user terminal Authority;If it is not, then judge module 305 determines that user terminal does not have the positioning authority of second user terminal.
In this embodiment, second user terminal user can cancel the positioning authority of user terminal at any time.When the second use Family terminal receives when being used to cancel the instruction of positioning authority of user terminal of user's input, and second user terminal is by storage The mark of user terminal is removed from the mark of the terminal of the positioning authority with second user terminal, to cancel user terminal Authority is positioned, and sends positioning authority and cancels instruction to user terminal.User terminal is received after positioning authority cancellation instruction, The mark of the second user terminal of storage is removed from the mark of the terminal for the positioning authority for authorizing user terminal, to cancel use The positioning authority of family terminal-pair second user terminal.
In the embodiment of the present invention, after second user terminal authorizes user terminal positioning authority, user terminal could be right Second user terminal is positioned, and can effectively protect the privacy of second user terminal user.
Second sending module 306, for determining the corresponding mapped bits in target location in mark module 304 indoors map Put, and using mark icon mapping position is marked after, to indoor service device send for second user terminal road Footpath obtains request, so that indoor service device response path obtains request, obtains the current position of user terminal, and according to path most Short rule or the minimum rule of flow of the people, the path of position of the current position of generation user terminal to second user terminal.
In the embodiment of the present invention, mark module 304 determines the corresponding mapping position in target location in map indoors, and makes With mark icon mapping position is marked after, the second sending module 306 can receive user input be directed to second user The path of terminal obtains instruction, is obtained in the path that the second sending module 306 receives user's input after instruction, second sends Module 306 will send the path acquisition request for being directed to second user terminal to indoor service device.
In the embodiment of the present invention, indoor service device is received after the acquisition request of path, will be responded the path and be obtained request, Obtain the current position of user terminal.Specifically, indoor service device can obtain user terminal by WiFi indoor positioning technologies Current position.After server obtains the current position of user terminal indoors, user can be generated according to shortest path rule Path of the current position of terminal to the position of second user terminal.It is user terminal according to the path of shortest path rule generation Path that can in pass most short of the current position to the position of second user terminal.If for example, current from user terminal Position to the position of second user terminal transitable path include path A and path B, if path A path length is big In path B path length, then indoor service device will generation path B.
By the path of the position according to the current position of shortest path rule generation user terminal to second user terminal, Be conducive to shortening the time that user walks to target location.
In the embodiment of the present invention, after server obtains the current position of user terminal indoors, indoor service device also may be used Indoor flow of the people that can be on pass is obtained from Indoor Monitoring System, and according to the minimum rule of flow of the people, generates user Path of the current position of terminal to the position of second user terminal.It is whole for user according to the path of the minimum rule generation of flow of the people The current position in end can the minimum path of flow of the people in pass to the position of second user terminal.If for example, from user The transitable path of the current position of terminal to the position of second user terminal includes path A and path B, if having on the A of path There are 10 people on 50 people, path B, then indoor service device will generate path B.
Pass through the road of the position according to the current position of the minimum rule generation user terminal of flow of the people to second user terminal Footpath, is conducive to shortening the time that user walks to target location.
In the embodiment of the present invention, the current position to the position of second user terminal of indoor service device generation user terminal After path, the path of generation will be sent to the 3rd receiving module 307 of user terminal.
3rd receiving module 307, the path sent for receiving chamber server.
Mapping block 308, for mapping outbound path in map indoors.
In the embodiment of the present invention, after the path that the receiving chamber server of the 3rd receiving module 307 is sent, mapping block 308 will map out the path received in map indoors.
4th receiving module 309, for after the path that the receiving chamber server of the 3rd receiving module 306 is sent, connecing Receive the path synchronic command that second user terminal is sent.
In the embodiment of the present invention, after the path that the receiving chamber server of the 3rd receiving module 307 is sent, the 4th receives mould Block 309 can receive the path synchronic command of second user terminal transmission.
3rd sending module 310, for response path synchronic command, to second user terminal transmitting path, so that second User terminal maps outbound path in map indoors.
In the embodiment of the present invention, after the 4th receiving module 309 receives the path synchronic command, the 3rd sending module 310 will respond the path synchronic command, and the path is sent to second user terminal, so that second user terminal is indoors in map Map outbound path.
It can be seen that, by implementing the embodiment of the present invention, the user of second user terminal can also view the current of user terminal Position, can make the user of second user terminal understand distance with the user of user terminal in real time, improve Consumer's Experience.
In the user terminal described by Fig. 3~Fig. 4, the first receiving module is received after the positioning instruction of user's input, First sending module will respond positioning instruction, and the position acquisition for sending the mark for including second user terminal to indoor service device please Ask, so that the response position acquisition request of indoor service device, according to the mark of second user terminal, obtains second user terminal in room Interior target location;After the target location that the response position acquisition request of second receiving module receiving chamber server is sent, mark Remember that module will determine the corresponding mapping position in target location in map indoors, and rower is entered to mapping position using mark icon Note.It can be seen that, by implementing the embodiment of the present invention, indoor user can be positioned exactly, be easy to user to be successfully found room Interior other users.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Module in the user terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come the device-dependent hardware of command terminal, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
A kind of indoor orientation method and user terminal disclosed in the embodiment of the present invention are described in detail above, herein In apply specific case the principle and embodiment of the present invention be set forth, the explanation of above example is only intended to side The method and its core concept of the assistant solution present invention;Simultaneously for those of ordinary skill in the art, the think of according to the present invention Think, will change in specific embodiments and applications, in summary, this specification content should not be construed as pair The limitation of the present invention.

Claims (8)

1. a kind of indoor orientation method, it is characterised in that methods described includes:
First user terminal sends positioning authority acquiring request to second user terminal;
First user terminal is received after the permission location response that the second user terminal is sent, and is allowed according to described The mark of the second user terminal is saved as authorizing the mark for the terminal that first user terminal positions authority by location response Know;
First user terminal receives the positioning instruction of user's input, and the positioning instruction includes the second user terminal Mark;
First user terminal judge the second user terminal identify whether for first user terminal store awarding Give the mark of the terminal of the first user terminal positioning authority;
If first user terminal of authorizing for being designated the first user terminal storage of the second user terminal is positioned The mark of the terminal of authority, then the first user terminal response positioning instruction, sends to indoor service device described in including The position acquisition request of the mark of second user terminal, so that the indoor service device responds the position acquisition request, according to The mark of the second user terminal, obtains the target location of the second user terminal indoors;
First user terminal receives the indoor service device and responds the target location that the position acquisition request is sent;
First user terminal determines the corresponding mapping position in the target location in map indoors, and uses mark icon The mapping position is marked.
2. according to the method described in claim 1, it is characterised in that first user terminal determines in map described indoors The corresponding mapping position in target location, and using mark icon the mapping position is marked after, methods described is also wrapped Include:
First user terminal sends the path acquisition request for the second user terminal to the indoor service device, with The indoor service device is responded the path and obtain request, obtain the current position of first user terminal, and according to road The most short rule in footpath or the minimum rule of flow of the people, generate the current position of first user terminal to the second user terminal The path of position;
First user terminal receives the path that the indoor service device is sent;
First user terminal maps out the path in the indoor map.
3. method according to claim 2, it is characterised in that the path that the reception indoor service device is sent Afterwards, methods described also includes:
First user terminal receives the path synchronic command that the second user terminal is sent;
First user terminal responds the path synchronic command, and the path is sent to the second user terminal, so that The second user terminal maps out the path in map indoors.
4. the method according to claims 1 to 3 any one, it is characterised in that first user terminal is indoors The corresponding mapping position in the target location is determined in figure, and the mapping position is marked using mark icon, including:
First user terminal determines the corresponding mapping position in the target location in map indoors, and using with described the The mapping position is marked two user terminals corresponding mark icon.
5. a kind of user terminal, it is characterised in that the user terminal includes:
First receiving module, the positioning instruction for receiving user's input, the positioning instruction includes the mark of second user terminal Know;
Judge module, for after the positioning instruction that first receiving module receives user's input, judging that described second uses The mark of the terminal of the positioning authority for authorizing the user terminal for identifying whether to store for the user terminal of family terminal;
When the judge module judge the second user terminal be designated user terminal storage authorize the user During the mark of the terminal of terminal positioning authority, the first sending module of triggering responds the positioning instruction, is sent to indoor service device The position acquisition request of mark including the second user terminal, so that the indoor service device responds the position acquisition and asked Ask, according to the mark of the second user terminal, obtain the target location of the second user terminal indoors, wherein, it is described The mark of the second user terminal for authorizing the user terminal positioning authority of user terminal storage, is that user terminal receives institute The mark stored after the permission location response for stating the transmission of second user terminal, and the permission location response is that the user is whole Hold after sending positioning authority acquiring request to second user terminal, what the second user terminal of reception was sent allows positioning Response;
Second receiving module, the target position that the position acquisition request is sent is responded for receiving the indoor service device Put;
Mark module, for determining the corresponding mapping position in the target location in map indoors, and uses mark icon pair The mapping position is marked.
6. user terminal according to claim 5, it is characterised in that the user terminal also includes:
Second sending module, for determining the corresponding mapped bits in the target location in the mark module indoors map Put, and using mark icon the mapping position is marked after, to the indoor service device send be directed to described second The path of user terminal obtains request, so that the indoor service device responds the path and obtains request, obtains the user whole The current position in end, and according to shortest path rule or the minimum rule of flow of the people, generate the current position of the user terminal and arrive The path of the position of the second user terminal;
3rd receiving module, for receiving the path that the indoor service device is sent;
Mapping block, for mapping out the path in the indoor map.
7. user terminal according to claim 6, it is characterised in that the user terminal also includes:
4th receiving module, after receiving the path that the indoor service device is sent in the 3rd receiving module, Receive the path synchronic command that the second user terminal is sent;
3rd sending module, for responding the path synchronic command, the path is sent to the second user terminal, so that The second user terminal maps out the path in map indoors.
8. the user terminal according to claim 5~7 any one, it is characterised in that the mark module specifically for:
The corresponding mapping position in the target location is determined in map indoors, and using corresponding with the second user terminal The mapping position is marked mark icon.
CN201510566110.9A 2015-09-07 2015-09-07 A kind of indoor orientation method and user terminal Expired - Fee Related CN105120518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510566110.9A CN105120518B (en) 2015-09-07 2015-09-07 A kind of indoor orientation method and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510566110.9A CN105120518B (en) 2015-09-07 2015-09-07 A kind of indoor orientation method and user terminal

Publications (2)

Publication Number Publication Date
CN105120518A CN105120518A (en) 2015-12-02
CN105120518B true CN105120518B (en) 2017-08-08

Family

ID=54668340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510566110.9A Expired - Fee Related CN105120518B (en) 2015-09-07 2015-09-07 A kind of indoor orientation method and user terminal

Country Status (1)

Country Link
CN (1) CN105120518B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163281A (en) * 2015-09-07 2015-12-16 广东欧珀移动通信有限公司 Indoor locating method and user terminal
CN107748351A (en) * 2017-09-05 2018-03-02 深圳市盛路物联通讯技术有限公司 A kind of location information acquisition methods and system based on antenna
CN109873992B (en) * 2019-03-26 2021-12-24 联想(北京)有限公司 Information processing method and device
CN112781580B (en) * 2019-11-06 2024-04-26 佛山市云米电器科技有限公司 Positioning method of home equipment, intelligent home equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860791A (en) * 2010-06-09 2010-10-13 华为技术有限公司 Realizing method for positioning user terminal and related equipment
CN101945344A (en) * 2009-09-16 2011-01-12 中兴通讯股份有限公司 Method, device and system for implementing positioning in colony system
CN103491496A (en) * 2012-06-11 2014-01-01 腾讯科技(深圳)有限公司 Location description information acquisition method, terminal, location server and location description information acquisition system
CN103763768A (en) * 2013-12-24 2014-04-30 华为技术有限公司 Locating method and user equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945344A (en) * 2009-09-16 2011-01-12 中兴通讯股份有限公司 Method, device and system for implementing positioning in colony system
CN101860791A (en) * 2010-06-09 2010-10-13 华为技术有限公司 Realizing method for positioning user terminal and related equipment
CN103491496A (en) * 2012-06-11 2014-01-01 腾讯科技(深圳)有限公司 Location description information acquisition method, terminal, location server and location description information acquisition system
CN103763768A (en) * 2013-12-24 2014-04-30 华为技术有限公司 Locating method and user equipment

Also Published As

Publication number Publication date
CN105120518A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
US10158972B2 (en) Selectively using beacon radio node location to determine user equipment location based on sensed movement of the beacon radio node
CN104902500B (en) The automatic connection method and system of Wireless Communication Equipment and radio reception device
CN105120518B (en) A kind of indoor orientation method and user terminal
KR100848139B1 (en) Automatic Network Configuration Setup Apparatus and Method between Adjacent Short-Range Wireless Terminals
CN103856895B (en) The method and terminal of shared location information
CN104202729B (en) The adding method of a kind of contact person, Apparatus and system
US10178613B2 (en) Wireless access method and related device and system
CN104837215A (en) Wireless access point connecting method and device
CN101790126A (en) Mobile communication terminal with limitative function and realizing method thereof
CN105873175B (en) For handling the method and apparatus of abnormal wireless access point
CN106211167A (en) A kind of terminal, pseudo-base station recognition methods and system
CN105554682B (en) A kind of information acquisition method and relevant device
CN106550360A (en) WiFi methods of attachment and system
CN106685891A (en) Verification method and apparatus for accessing network
CN108964838A (en) transmission rate adjusting method, device and electronic device
CN108471627A (en) Network quality determination method and device
CN108024308B (en) Method and equipment for sharing and connecting wireless access points
CN103926612A (en) Electronic equipment and positioning method
CN105444757A (en) Navigation path generation method based on airport indoor environment and user terminal
CN104038939B (en) The personal identification method and terminal of a kind of wireless aps
CN107277761A (en) A kind of terminal location sending method and device
CN103974416A (en) Method, device and system for acquiring position information of mobile terminal
CN105222771A (en) A kind of article localization method of indoor and user terminal
CN105241460B (en) A kind of path generating method and user terminal
CN105450594A (en) Group buying voucher information push method and user equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170808

CF01 Termination of patent right due to non-payment of annual fee