CN108093372B - Path acquisition method and device and computer readable storage medium - Google Patents

Path acquisition method and device and computer readable storage medium Download PDF

Info

Publication number
CN108093372B
CN108093372B CN201711202965.9A CN201711202965A CN108093372B CN 108093372 B CN108093372 B CN 108093372B CN 201711202965 A CN201711202965 A CN 201711202965A CN 108093372 B CN108093372 B CN 108093372B
Authority
CN
China
Prior art keywords
path
terminal
information
building
current position
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
CN201711202965.9A
Other languages
Chinese (zh)
Other versions
CN108093372A (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.)
Edge Intelligence Research Institute Nanjing Co ltd
Original Assignee
Nanjing Qingyou Information Technology Co 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 Nanjing Qingyou Information Technology Co Ltd filed Critical Nanjing Qingyou Information Technology Co Ltd
Priority to CN201711202965.9A priority Critical patent/CN108093372B/en
Publication of CN108093372A publication Critical patent/CN108093372A/en
Application granted granted Critical
Publication of CN108093372B publication Critical patent/CN108093372B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the invention discloses a path acquisition method, which comprises the following steps: the server receives the current position information of the terminal from the terminal and the building information of the target building; judging whether the pre-stored reference information contains the two pieces of information; if the current position information of the terminal does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information; and sending the obtained path to the terminal. By implementing the scheme, after the server determines that the reference information contains the building information of the target building but does not contain the current position information of the terminal, the path from the current position of the terminal to the target building can be obtained according to the current position information of the terminal and the reference information and sent to the terminal, so that the problem that a user to which the terminal belongs consumes a lot of energy and physical strength due to searching for the target building is solved, and user experience is improved.

Description

Path acquisition method and device and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and an apparatus for path acquisition, and a computer-readable storage medium.
Background
The navigation positioning technology is a technology for planning a path for a user and further guiding the user to reach a target position.
The existing navigation positioning technology can only guide a user to reach a certain cell basically, the user needs to search by himself when the user wants to further reach a certain building, and a great amount of physical power and energy are consumed when a target building to be searched by the user is located in an old cell with disordered building numbers or a large cell built by stages.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a path acquisition method, a path acquisition device and a computer-readable storage medium, which can avoid the problem that a user consumes a large amount of physical strength and energy due to the fact that the user finds a target building by himself under a specific condition, and improve user experience.
The path obtaining method provided by the embodiment of the invention comprises the following steps:
the server receives the current position information of the terminal from the terminal and the building information of the target building;
judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building or not; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads;
if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information;
and sending the obtained path to the terminal.
The obtaining of the path from the current position of the terminal to the target building according to the information of the current position of the terminal and the reference information includes:
acquiring the same path of the accessed building and the target building from the reference information, and taking the acquired path as a first reference path;
taking the first reference path as a first stage path;
acquiring a path from the current position of the terminal to the initial position of the first-stage path, and taking the acquired path as a second-stage path;
and merging the first-stage path and the second-stage path to be used as a path from the current position of the terminal to a target building.
When the first reference path includes two or more paths, taking the first reference path as a first stage path includes:
acquiring a path in a preset mode in the first reference path;
and taking the obtained path as the first-stage path.
The reference information further includes information of transportation means allowed by a path uploaded by the historical user, the reference information is used for acquiring the same path to the building as the target building, and before the acquired path is used as a first reference path, the reference information further includes:
receiving information of a target vehicle from the terminal; wherein the target vehicle is a vehicle selected by the user of the terminal on a vehicle selection interface;
the first reference path is a path of an allowed vehicle including a target vehicle.
The reference information further includes information of transportation means allowed by a path uploaded by the historical user, and before the obtaining of the path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information, the method further includes:
receiving information from a terminal target vehicle; wherein the target vehicle is a vehicle selected by the user of the terminal on a vehicle selection interface;
the obtaining of the path from the current position of the terminal to the target building according to the information of the current position of the terminal and the reference information includes:
and acquiring a path from the current position of the terminal to the target building according to the information of the current position of the terminal, the reference information and the information of the target vehicle.
If the reference information contains the building information of the target building and the information of the current position of the terminal, the method further comprises the following steps:
acquiring a path which has the same starting position as the current position of the terminal and leads to the building as the target building;
determining whether the obtained information of the route-allowed vehicles includes information of the target vehicle;
if the information of the target vehicle is contained, the obtained path is used as the path from the current position of the terminal to the target building;
if the information of the target vehicle is not contained, acquiring the path leading to the same building as the target building and allowing the vehicle to contain the target vehicle from the reference information, and taking the acquired path as a second reference path;
taking the second reference path as a third-stage path;
acquiring a path from the current position of the terminal to the initial position of the third-stage path, and taking the acquired path as a fourth-stage path;
and combining the third-stage path and the fourth-stage path to be used as the path from the current position of the terminal to the target building.
When the second reference path includes two or more paths, taking the second reference path as a third-stage path includes:
acquiring a path in a preset mode in the second reference path;
and taking the obtained path as the third-stage path.
The preset mode is a mode of acquiring a path with the shortest distance between the starting position and the current position of the terminal.
An embodiment of the present invention further provides a path obtaining apparatus, including: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the path acquisition program stored in the memory to implement the steps of:
receiving current position information of a terminal from the terminal and building information of a target building;
judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building or not; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads;
if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information;
and sending the obtained path to the terminal.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the storage medium, and when executed by a processor, the computer program implements the following steps:
receiving current position information of a terminal from the terminal and building information of a target building;
judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building or not; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads;
if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information;
and sending the obtained path to the terminal.
According to the path acquisition method, the path acquisition device and the computer readable storage medium provided by the embodiment of the invention, a server receives current position information of a terminal from a terminal and building information of a target building; judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads; if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information; and sending the obtained path to the terminal. According to the technical scheme provided by the invention, after the server determines that the prestored reference information contains the building information of the target building but does not contain the current position information of the terminal, the path from the current position of the terminal to the target building can be obtained according to the current position information of the terminal and the reference information and then sent to the terminal, so that the problem that a user to which the terminal belongs consumes a great deal of energy and physical strength because the user searches the target building by himself is solved, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a schematic diagram of a communication system supporting communication between mobile terminals in accordance with the present invention;
fig. 3 is a schematic flowchart of a path obtaining method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a path display according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of another path obtaining method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another path display provided by the embodiment of the present invention;
FIG. 7 is a schematic diagram of another path display provided by an embodiment of the present invention;
fig. 8 is a schematic flowchart of another path obtaining method according to an embodiment of the present invention;
FIG. 9 is a schematic illustration of a vehicle selection interface provided in an embodiment of the present invention;
fig. 10 is a schematic flowchart of another path obtaining method according to an embodiment of the present invention;
fig. 11 is a schematic flowchart of another path obtaining method according to an embodiment of the present invention;
fig. 12 is a schematic flowchart of another path obtaining method according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a path obtaining apparatus according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the embodiments of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal receiving sound, an information receiving sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Fig. 3 is a path obtaining method according to an embodiment of the present invention, as shown in fig. 3, including:
step 301, the server receives the current position information of the terminal from the terminal and the building information of the target building.
It should be noted that the building information may specifically be a building number.
Specifically, the current Location information of the terminal is information of a current Location of the terminal, and the information may be obtained by the terminal through an existing Location method, where the existing Location method includes a Wireless-Fidelity (Wi-Fi) Location method, a Global Positioning System (GPS) Location method, a Location Based Service (LBS) Location method, and the like.
Step 302, judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building.
The reference information comprises a path uploaded by the historical user, initial position information of the path and building information of a building to which the path leads.
It should be noted that, because the positioning technology in the prior art can be positioned to a specific cell but cannot be positioned to a specific building, the reference information pre-stored by the terminal may be reference information of reaching some buildings in the cell at some positions adjacent to the periphery of some cells, wherein some positions adjacent to the periphery of some cells may also be gates that can enter the cells; accordingly, the current location of the terminal may be a location immediately surrounding a cell.
Specifically, the reference information of the pre-information in the server may be uploaded by a user who has arrived at some buildings in some cells before the user uses a terminal to record a path of the user, and then the user manually uploads the path after adjustment, or by a terminal to record a path of the user, and then the user uploads the path after automatic adjustment by the terminal. For example, if the reference information includes a route from point a of the east wind cell (point a may be a position close to the periphery of the east wind cell or a gate position of the east wind cell) to the 12 th building, a route from point B of the lily cell (point B may be a position close to the periphery of the lily cell or a gate position of the lily cell) to the 5 th building, and a route from point C of the albizzia cell (point C may be a position close to the periphery of the albizzia cell or a gate position of the albizzia cell) to the 8 th building, where the route from point a of the east wind cell to the 12 th building is uploaded by user a, the route from point B of the lily cell to the 5 th building is uploaded by user B, and the route from point C of the albizzia cell to the 8 th building is uploaded by user C, if the reference information is recorded own route by the users through the terminals, then, the method is obtained by manually adjusting and uploading the route, and then the process of obtaining the route from point a of the east wind cell to the building No. 12 (the process of obtaining the other two routes is similar) is taken as an example for explanation: when a user A arrives at a certain position close to the periphery of the east wind cell or the gate position of the east wind cell, the user A starts the track recording function of the terminal and records the position as the point A, then randomly selects the road direction to search the 12 th building, meanwhile, the track recording function always records the track of the user A, when the user A arrives at the 12 th building, the user A closes the track recording function of the terminal, the obtained track is the track of the user A from the point A to the 12 th building, and the position of the 12 th building is unknown due to the realization of the user A, so that part of the obtained track is overlapped due to the fact that the user walks by mistake, and the rest of the obtained track is useless for approaching the 12 th building, therefore, the user A adopts a manual adjustment method to remove the redundant track, and obtains the simplest track of the point A to the 12 th building, namely the path of the point A to the 12 th building, and finally, uploading the obtained path, the initial position information (namely, the position information of the A point) of the path and the building number (namely, the 12 th building) to a server, and storing the path and the initial position information by the server. If the reference information is obtained by the users recording their own paths by using the terminals and then uploading the reference information after the terminals are automatically adjusted, the process of obtaining the path from point a of the east wind cell to the 12 th building (the process of obtaining the other two paths is similar) is still taken as an example for explanation: when a user A arrives at a certain position close to the periphery of the east wind cell or the gate position of the east wind cell, the user A starts the track recording function of the terminal and records the position as the point A, then randomly selects the road direction to search the 12 th building, meanwhile, the track recording function records the track of the user A all the time, when the user A arrives at the 12 th building, the user A closes the track recording function of the terminal, the obtained track is the track of the user A from the point A to the 12 th building, the user A uploads the track to the server, the server automatically optimizes the obtained track according to the A Dijkstra algorithm or other shortest path algorithms, the path of the user A from the point A to the 12 th building is obtained, and the path, initial position information of the path (namely, the position information of the point A) and the building number (namely, the 12 th building) are stored.
And 303, if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information.
It should be noted that, if the reference information includes the building information of the target building and includes the current location information of the terminal, a path whose starting location is the same as the current location of the terminal and which leads to the building is the same as the target building is obtained, and the obtained path is used as the path from the current location of the terminal to the target building.
And step 304, sending the obtained path to the terminal.
Specifically, after the obtained path is sent to the terminal, the terminal may display on a display interface of the terminal, where the obtained path may be displayed in a text manner or in an image manner, and when the obtained path is displayed in an image manner, a display diagram of the path may be as shown in fig. 4, and when the received path is displayed on the terminal, a user to which the terminal belongs may reach the target building according to the path.
According to the path acquisition method provided by the embodiment of the invention, a server receives the current position information of a terminal from a terminal and the building information of a target building; judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads; if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information; and sending the obtained path to the terminal. According to the technical scheme provided by the invention, after the server determines that the prestored reference information contains the building information of the target building but does not contain the current position information of the terminal, the path from the current position of the terminal to the target building can be obtained according to the current position information of the terminal and the reference information and then sent to the terminal, so that the problem that a user to which the terminal belongs consumes a great deal of energy and physical strength because the user searches the target building by himself is solved, and the user experience is improved.
Fig. 5 is another path obtaining method according to an embodiment of the present invention, and as shown in fig. 5, the method includes:
step 401, the server receives the current position information of the terminal from the terminal and the building information of the target building.
Step 402, judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building.
The reference information comprises a path uploaded by the historical user, initial position information of the path and building information of a building to which the path leads.
And 403, if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring the same path of the led building and the target building from the reference information, and taking the acquired path as a first reference path.
And step 404, taking the first reference path as a first-stage path.
Specifically, when the first reference path includes two or more paths, this step may be implemented by steps 404a and 404 b:
step 404a, acquiring a path in a preset mode in the first reference path.
It should be noted that the preset mode may be a random mode, or may be a mode of acquiring a path with a closest distance between the starting location and the current location of the terminal, which is not limited in the present invention.
And step 404b, taking the obtained path as a first-stage path.
Specifically, if the reference information includes a path from point a to building No. 11, a path from point B to building No. 11, a path from point C to building No. 12, a path from point D to building No. 12, and the target building is building No. 11, the two paths that are the same as the target building, that is, the two first reference paths, that are the path from point a to building No. 11 and the path from point B to building No. 11 are obtained in the reference information, and a display diagram of the first reference path may be shown in fig. 6.
Step 405, obtaining a path from the current position of the terminal to the initial position of the first-stage path, and taking the obtained path as a second-stage path.
And step 406, combining the first-stage path and the second-stage path to be used as a path from the current position of the terminal to the target building.
Specifically, it is assumed that the preset manner is a manner of obtaining a path with a closest distance between the starting position and the current position of the terminal, and it is assumed that the first reference path is as shown in fig. 6, and it is assumed that the current position of the terminal is an O point, and the distance between the a point and the O point is closer than the distance between the B point and the O point, then the path from the a point to the 11 th building is a first-stage path, the distance from the O point to the a point is a second-stage path, and the path from the current position (O point) of the terminal to the target building can be as shown in fig. 7.
Step 407, the obtained path is sent to the terminal.
According to the path acquisition method provided by the embodiment of the invention, a server receives the current position information of a terminal from a terminal and the building information of a target building; judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads; if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information; and sending the obtained path to the terminal. According to the technical scheme provided by the invention, after the server determines that the prestored reference information contains the building information of the target building but does not contain the current position information of the terminal, the path from the current position of the terminal to the target building can be obtained according to the current position information of the terminal and the reference information and then sent to the terminal, so that the problem that a user to which the terminal belongs consumes a great deal of energy and physical strength because the user searches the target building by himself is solved, and the user experience is improved.
Fig. 8 is a further path obtaining method according to an embodiment of the present invention, as shown in fig. 8, the method includes:
step 501, the server receives the current position information of the terminal from the terminal and the building information of the target building.
Step 502, receiving information of a target vehicle from a terminal.
The target vehicle is the vehicle selected by the terminal belonging user on the vehicle selection interface.
Specifically, the terminal may display a plurality of different transportation means on the transportation means selection interface for the user to select according to the actual transportation means, the display of the transportation means selection interface may be as shown in fig. 9, and the transportation means that can be selected by the user include an automobile, an electric vehicle, a bicycle, and a walking.
Step 503, judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building.
The reference information comprises a path uploaded by the historical user, initial position information of the path, building information of a building to which the path leads, and information of transportation tools allowed by the path uploaded by the historical user.
And step 504, if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring the same path of the led building and the target building from the reference information, and taking the acquired path as a first reference path.
Wherein the first reference path is a path of the allowed vehicles including the target vehicle. That is, the first reference path is a path to which the building is the same as the target building and the allowed vehicles include the target vehicle.
Specifically, because some paths are not suitable for certain vehicles to travel or gates in some paths limit the entrance of certain vehicles, if the first reference path is a path which allows the vehicles including the target vehicles, the first reference path can be ensured to be suitable for the target vehicles to travel, so that the problem that a user belonging to the terminal consumes a lot of energy and physical strength due to self-searching of the target building can be better avoided, and the situation that the paths are not suitable for the vehicles used or the gates in the paths do not allow the vehicles used to enter when the user travels according to the obtained paths is prevented.
And 505, taking the first reference path as a first-stage path.
Step 506, a path from the current position of the terminal to the initial position of the first-stage path is obtained, and the obtained path is used as the second-stage path.
And 507, combining the first-stage path and the second-stage path to be used as a path from the current position of the terminal to the target building.
And step 508, sending the obtained path to the terminal.
According to the path acquisition method provided by the embodiment of the invention, a server receives the current position information of a terminal from a terminal and the building information of a target building; judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads; if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information; and sending the obtained path to the terminal. According to the technical scheme provided by the invention, after the server determines that the prestored reference information contains the building information of the target building but does not contain the current position information of the terminal, the path from the current position of the terminal to the target building can be obtained according to the current position information of the terminal and the reference information and then sent to the terminal, so that the problem that a user to which the terminal belongs consumes a great deal of energy and physical strength because the user searches the target building by himself is solved, and the user experience is improved.
Fig. 10 is a further path obtaining method according to an embodiment of the present invention, as shown in fig. 10, the method includes:
step 601, the server receives the current position information of the terminal from the terminal and the building information of the target building.
And step 602, receiving the information of the target vehicle sent by the terminal.
The target vehicle is the vehicle selected by the terminal belonging user on the vehicle selection interface.
Step 603, judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building.
The reference information comprises a path uploaded by the historical user, initial position information of the path and building information of a building to which the path leads.
And step 604, if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal, the reference information and the information of the target vehicle.
Specifically, because some paths are not suitable for certain vehicles to run, or some gates in the paths limit the certain vehicles to enter, obtaining the path from the current position of the terminal to the target building according to the information of the current position of the terminal, the reference information and the information of the target vehicle can better avoid the problem that a user to which the terminal belongs consumes a lot of energy and physical strength because the user finds the target building by himself, and prevent the situation that the user cannot fit the used vehicle in the path or the used vehicle is not allowed to enter by the gates in the path when the user travels according to the obtained path.
Step 605, the obtained path is sent to the terminal.
According to the path acquisition method provided by the embodiment of the invention, a server receives the current position information of a terminal from a terminal, the building information of a target building and the information of a target vehicle; judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads; if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal, the reference information and the information of the target vehicle; and sending the obtained path to the terminal. According to the technical scheme provided by the invention, after the server determines that the prestored reference information contains the building information of the target building but does not contain the current position information of the terminal, the server can acquire the path from the current position of the terminal to the target building according to the current position information of the terminal, the reference information and the information of the target vehicle and further send the path to the terminal, so that the problem that a user to which the terminal belongs consumes a great deal of energy and physical strength because the user finds the target building by himself is solved, and the user experience is improved.
Fig. 11 is a further path obtaining method according to an embodiment of the present invention, as shown in fig. 11, the method includes:
step 701, the server receives the current position information of the terminal from the terminal and the building information of the target building.
And step 702, receiving the information of the target vehicle sent by the terminal.
The target vehicle is the vehicle selected by the terminal belonging user on the vehicle selection interface.
And 703, judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building.
The reference information comprises a path uploaded by the historical user, initial position information of the path and building information of a building to which the path leads.
And 704, if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal, the reference information and the information of the target vehicle.
Specifically, if steps 505 to 507 in the embodiment corresponding to fig. 8 are performed on the path from the current position of the terminal to the target building according to the information of the current position of the terminal, the reference information, and the information of the target vehicle, details are not described herein again.
Step 705, if the reference information includes the building information of the target building and the information of the current position of the terminal, acquiring a path that the initial position is the same as the current position of the terminal and the lead building is the same as the target building.
Step 706, determining whether the obtained information of the route-allowed vehicles includes information of the target vehicle.
And step 707, if the information of the target transportation means is contained, taking the obtained path as the path from the current position of the terminal to the target building.
Step 708, if the information of the target vehicle is not contained, acquiring the path leading to the building which is the same as the target building and the allowed vehicle contains the path of the target vehicle from the reference information, and taking the acquired path as a second reference path.
And step 709, taking the second reference path as a third-stage path.
Specifically, when the second reference path includes two or more paths, step 709 may be implemented by steps 709a and 709 b:
and step 709a, acquiring a path in a preset mode in the second reference path.
It should be noted that the preset mode may be a random mode, or may be a mode of acquiring a path with a closest distance between the starting position and the current position of the terminal, which is not limited in the present invention.
And step 709b, taking the obtained path as a third-stage path.
And 710, acquiring a path from the current position of the terminal to the initial position of the third-stage path, and taking the acquired path as a fourth-stage path.
And 711, combining the third-stage path and the fourth-stage path to be used as a path from the current position of the terminal to the target building.
And step 712, sending the obtained path to the terminal.
According to the path acquisition method provided by the embodiment of the invention, a server receives the current position information of a terminal from a terminal, the building information of a target building and the information of a target vehicle; judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads; if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal, the reference information and the information of the target vehicle; and sending the obtained path to the terminal. According to the technical scheme provided by the invention, after the server determines that the prestored reference information contains the building information of the target building but does not contain the current position information of the terminal, the server can acquire the path from the current position of the terminal to the target building according to the current position information of the terminal, the reference information and the information of the target vehicle and further send the path to the terminal, so that the problem that a user to which the terminal belongs consumes a great deal of energy and physical strength because the user finds the target building by himself is solved, and the user experience is improved.
An embodiment of the present invention provides another path obtaining method, as shown in fig. 12, the method includes the following steps:
step 1, the terminal acquires the current position.
And 2, judging whether the target cell is reached by the terminal.
And 3, if the current position and the target building are reached, the terminal sends the current position and the target building to the server.
And 4, the server judges whether the reference information has a path record from the current position of the matching terminal to the target building.
And 5, if so, acquiring the path record and sending the path record to the terminal.
And 6, if not, returning reply information of no matching path to the terminal.
And 7, prompting the user to create the path record by the terminal.
And 8, the terminal creates a path record according to the path of the user.
And 9, uploading the created path record to a server by the terminal.
And step 10, the server stores the path record.
An embodiment of the present invention further provides a path obtaining apparatus, as shown in fig. 13, where the path obtaining apparatus 8 includes: a processor 81, a memory 82, and a communication bus 83;
the communication bus 83 is used to realize connection communication between the processor 81 and the memory 82.
The processor 81 is configured to execute the path acquisition program stored in the memory 82 to implement the following steps:
and receiving the current position information of the terminal from the terminal and the building information of the target building.
And judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building. The reference information comprises a path uploaded by the historical user, initial position information of the path and building information of a building to which the path leads.
And if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information.
And sending the obtained path to the terminal.
Further, the processor 81 is further configured to execute the path obtaining program to implement the following steps:
and acquiring the same path of the accessed building and the target building from the reference information, and taking the acquired path as a first reference path.
The first reference path is taken as a first stage path.
And acquiring a path from the current position of the terminal to the initial position of the first-stage path, and taking the acquired path as a second-stage path.
And combining the first-stage path and the second-stage path to be used as a path from the current position of the terminal to the target building.
Further, when the first reference path includes two or more paths, the processor 81 is further configured to execute a path obtaining program to implement the following steps:
one path is acquired in a preset mode in the first reference path.
The obtained path is taken as a first-stage path.
Further, the reference information further includes information of a route allowed vehicle uploaded by the historical user, and the processor 81 is further configured to execute a route acquisition program to implement the following steps:
receiving information of a target vehicle from a terminal; the target vehicle is the vehicle selected by the terminal belonging user on the vehicle selection interface.
The first reference path is a path of the allowed vehicles including the target vehicle.
Further, the reference information further includes information of a route allowed vehicle uploaded by the historical user, and the processor 81 is further configured to execute a route acquisition program to implement the following steps:
receiving information from a terminal target vehicle; the target vehicle is the vehicle selected by the terminal belonging user on the vehicle selection interface.
And acquiring a path from the current position of the terminal to the target building according to the information of the current position of the terminal, the reference information and the information of the target vehicle.
Further, the processor 81 is further configured to execute the path obtaining program to implement the following steps:
and acquiring a path which has the same initial position as the current position of the terminal and leads to the building as the target building.
It is determined whether the obtained information of the route-allowed vehicles includes information of the target vehicle.
And if the information of the target vehicle is contained, taking the obtained path as the path from the current position of the terminal to the target building.
If the information of the target vehicle is not contained, the same path leading to the building as the target building and the allowable vehicle containing the path of the target vehicle are acquired in the reference information, and the acquired path is taken as a second reference path.
And taking the second reference path as a third-stage path.
And acquiring a path from the current position of the terminal to the initial position of the third-stage path, and taking the acquired path as a fourth-stage path.
And combining the third-stage path and the fourth-stage path to be used as a path from the current position of the terminal to the target building.
Further, when the second reference path includes two or more paths, the processor 81 is further configured to execute a path obtaining program to implement the following steps:
and acquiring one path in a preset mode in the second reference path.
And taking the obtained path as a third-stage path.
Further, the preset mode is a mode of acquiring a path with the shortest distance between the starting position and the current position of the terminal.
According to the path acquisition device provided by the embodiment of the invention, a server receives the current position information of a terminal from a terminal, the building information of a target building and the information of a target vehicle; judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads; if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal, the reference information and the information of the target vehicle; and sending the obtained path to the terminal. According to the technical scheme provided by the invention, after the server determines that the prestored reference information contains the building information of the target building but does not contain the current position information of the terminal, the server can acquire the path from the current position of the terminal to the target building according to the current position information of the terminal, the reference information and the information of the target vehicle and further send the path to the terminal, so that the problem that a user to which the terminal belongs consumes a great deal of energy and physical strength because the user finds the target building by himself is solved, and the user experience is improved.
An embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and when executed by a processor, the computer program implements the following steps:
and receiving the current position information of the terminal from the terminal and the building information of the target building.
And judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building. The reference information comprises a path uploaded by the historical user, initial position information of the path and building information of a building to which the path leads.
And if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information.
And sending the obtained path to the terminal.
Further, the computer program when executed by the processor further embodies the steps of:
and acquiring the same path of the accessed building and the target building from the reference information, and taking the acquired path as a first reference path.
The first reference path is taken as a first stage path.
And acquiring a path from the current position of the terminal to the initial position of the first-stage path, and taking the acquired path as a second-stage path.
And combining the first-stage path and the second-stage path to be used as a path from the current position of the terminal to the target building.
Further, when the first reference path includes two or more paths, the computer program when executed by the processor further implements the following steps:
one path is acquired in a preset mode in the first reference path.
The obtained path is taken as a first-stage path.
Further, the reference information further includes information of transportation means allowed by a path uploaded by the historical user, the path leading to the building is the same as the path of the target building, and the computer program further realizes the following steps when being executed by the processor:
receiving information of a target vehicle from a terminal; the target vehicle is the vehicle selected by the terminal belonging user on the vehicle selection interface.
The first reference path is a path of the allowed vehicles including the target vehicle.
Further, the reference information further comprises information of historical user uploaded route allowed vehicles, the computer program when executed by the processor further implementing the steps of:
receiving information from a terminal target vehicle; the target vehicle is the vehicle selected by the terminal belonging user on the vehicle selection interface.
And acquiring a path from the current position of the terminal to the target building according to the information of the current position of the terminal, the reference information and the information of the target vehicle.
Further, if the reference information includes building information of the target building and includes information of the current location of the terminal, the computer program when executed by the processor further implements the steps of:
and acquiring a path which has the same initial position as the current position of the terminal and leads to the building as the target building.
It is determined whether the obtained information of the route-allowed vehicles includes information of the target vehicle.
And if the information of the target vehicle is contained, taking the obtained path as the path from the current position of the terminal to the target building.
If the information of the target vehicle is not contained, the same path leading to the building as the target building and the allowable vehicle containing the path of the target vehicle are acquired in the reference information, and the acquired path is taken as a second reference path.
And taking the second reference path as a third-stage path.
And acquiring a path from the current position of the terminal to the initial position of the third-stage path, and taking the acquired path as a fourth-stage path.
And combining the third-stage path and the fourth-stage path to be used as a path from the current position of the terminal to the target building.
Further, when the second reference path includes two or more paths, the computer program when executed by the processor further embodies the steps of:
and acquiring one path in a preset mode in the second reference path.
And taking the obtained path as a third-stage path.
Further, the preset mode is a mode of acquiring a path with the shortest distance between the starting position and the current position of the terminal.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A method for path acquisition, comprising:
the server receives the current position information of the terminal from the terminal and the building information of the target building;
judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building or not; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads;
if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information;
sending the obtained path to the terminal;
the obtaining of the path from the current position of the terminal to the target building according to the information of the current position of the terminal and the reference information includes:
acquiring the same path of the accessed building and the target building from the reference information, and taking the acquired path as a first reference path;
taking the first reference path as a first stage path;
acquiring a path from the current position of the terminal to the initial position of the first-stage path, and taking the acquired path as a second-stage path;
and merging the first-stage path and the second-stage path to be used as a path from the current position of the terminal to a target building.
2. The method according to claim 1, wherein when the first reference path includes two or more paths, the taking the first reference path as the first-stage path includes:
acquiring a path in a preset mode in the first reference path;
and taking the obtained path as the first-stage path.
3. The method according to claim 1, wherein the reference information further includes information of a path-allowed vehicle uploaded by the historical user, the obtaining the same path to the building as the target building in the reference information, and before taking the obtained path as the first reference path, further comprising:
receiving information of a target vehicle from the terminal; wherein the target vehicle is a vehicle selected by the user of the terminal on a vehicle selection interface;
the first reference path is a path of an allowed vehicle including a target vehicle.
4. The method according to claim 1, wherein the reference information further includes information on a route-allowed vehicle uploaded by the historical user, and the method further includes, before obtaining the route from the current location of the terminal to the target building based on the current location information of the terminal and the reference information:
receiving information from a terminal target vehicle; wherein the target vehicle is a vehicle selected by the user of the terminal on a vehicle selection interface;
the obtaining of the path from the current position of the terminal to the target building according to the information of the current position of the terminal and the reference information includes:
and acquiring a path from the current position of the terminal to the target building according to the information of the current position of the terminal, the reference information and the information of the target vehicle.
5. The path obtaining method according to claim 4, wherein if the reference information includes building information of the target building and includes information of the current location of the terminal, further comprising:
acquiring a path which has the same starting position as the current position of the terminal and leads to the building as the target building;
determining whether the obtained information of the route-allowed vehicles includes information of the target vehicle;
if the information of the target vehicle is contained, the obtained path is used as the path from the current position of the terminal to the target building;
if the information of the target vehicle is not contained, acquiring the path leading to the same building as the target building and allowing the vehicle to contain the target vehicle from the reference information, and taking the acquired path as a second reference path;
taking the second reference path as a third-stage path;
acquiring a path from the current position of the terminal to the initial position of the third-stage path, and taking the acquired path as a fourth-stage path;
and combining the third-stage path and the fourth-stage path to be used as the path from the current position of the terminal to the target building.
6. The method according to claim 5, wherein when the second reference path includes two or more paths, the taking the second reference path as a third-stage path includes:
acquiring a path in a preset mode in the second reference path;
and taking the obtained path as the third-stage path.
7. The method according to claim 2 or 6, wherein the preset mode is a mode of acquiring a path with a starting position closest to the current position of the terminal.
8. A path acquisition apparatus, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute the path acquisition program stored in the memory to implement the steps of:
receiving current position information of a terminal from the terminal and building information of a target building;
judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building or not; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads;
if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information;
sending the obtained path to the terminal;
the processor is further configured to execute the path acquisition program to implement the following steps: acquiring the same path of the accessed building and the target building from the reference information, and taking the acquired path as a first reference path; taking the first reference path as a first stage path; acquiring a path from the current position of the terminal to the initial position of the first-stage path, and taking the acquired path as a second-stage path; and merging the first-stage path and the second-stage path to be used as a path from the current position of the terminal to a target building.
9. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of:
receiving current position information of a terminal from the terminal and building information of a target building;
judging whether the pre-stored reference information contains the current position information of the terminal and the building information of the target building or not; the reference information comprises a path uploaded by a historical user, initial position information of the path and building information of a building to which the path leads;
if the reference information contains the building information of the target building but does not contain the current position information of the terminal, acquiring a path from the current position of the terminal to the target building according to the current position information of the terminal and the reference information;
sending the obtained path to the terminal;
the computer program when executed by the processor further embodies the steps of:
acquiring the same path of the accessed building and the target building from the reference information, and taking the acquired path as a first reference path; taking the first reference path as a first stage path; acquiring a path from the current position of the terminal to the initial position of the first-stage path, and taking the acquired path as a second-stage path; and merging the first-stage path and the second-stage path to be used as a path from the current position of the terminal to a target building.
CN201711202965.9A 2017-11-27 2017-11-27 Path acquisition method and device and computer readable storage medium Expired - Fee Related CN108093372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711202965.9A CN108093372B (en) 2017-11-27 2017-11-27 Path acquisition method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711202965.9A CN108093372B (en) 2017-11-27 2017-11-27 Path acquisition method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108093372A CN108093372A (en) 2018-05-29
CN108093372B true CN108093372B (en) 2020-08-21

Family

ID=62172320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711202965.9A Expired - Fee Related CN108093372B (en) 2017-11-27 2017-11-27 Path acquisition method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108093372B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441089A (en) * 2008-12-18 2009-05-27 旭丽电子(广州)有限公司 System and method for maintaining navigation destination information
CN103165025A (en) * 2013-03-08 2013-06-19 郑奕斌 Two-dimension code guidance method, device and carrier
CN203812514U (en) * 2014-03-17 2014-09-03 福建安泰电子科技有限公司 Visitor path sign applied to video talkback system
CN104634353A (en) * 2013-11-06 2015-05-20 比亚迪股份有限公司 Navigation method, system, server and navigation terminals for motorcade
CN106323302A (en) * 2016-09-05 2017-01-11 深圳市双赢伟业科技股份有限公司 navigation map updating method and device
CN107219810A (en) * 2017-06-09 2017-09-29 特灵空调系统(中国)有限公司 Building control method
CN108986654A (en) * 2018-07-27 2018-12-11 星络科技有限公司 Community's road instruction method and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4442647B2 (en) * 2007-06-22 2010-03-31 株式会社日立製作所 Route search method and route search system
CN102364304A (en) * 2011-06-30 2012-02-29 福建慧翰信息技术有限公司 Path reserving and planning method and system
TWI534411B (en) * 2012-08-30 2016-05-21 群邁通訊股份有限公司 Method and system for tracking and navigating

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441089A (en) * 2008-12-18 2009-05-27 旭丽电子(广州)有限公司 System and method for maintaining navigation destination information
CN103165025A (en) * 2013-03-08 2013-06-19 郑奕斌 Two-dimension code guidance method, device and carrier
CN104634353A (en) * 2013-11-06 2015-05-20 比亚迪股份有限公司 Navigation method, system, server and navigation terminals for motorcade
CN203812514U (en) * 2014-03-17 2014-09-03 福建安泰电子科技有限公司 Visitor path sign applied to video talkback system
CN106323302A (en) * 2016-09-05 2017-01-11 深圳市双赢伟业科技股份有限公司 navigation map updating method and device
CN107219810A (en) * 2017-06-09 2017-09-29 特灵空调系统(中国)有限公司 Building control method
CN108986654A (en) * 2018-07-27 2018-12-11 星络科技有限公司 Community's road instruction method and system

Also Published As

Publication number Publication date
CN108093372A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN107613489B (en) Wireless charging method, wireless hotspot device, terminal and storage medium
CN107222613B (en) Display method and terminal
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN108566479B (en) Screen state control method, mobile terminal and computer readable storage medium
CN107329682B (en) Edge interaction method and mobile terminal
CN109005574B (en) Cell selection method, mobile terminal and computer readable storage medium
CN107423238B (en) Screen projection connection method and device and computer readable storage medium
CN107566980B (en) Mobile terminal positioning method and mobile terminal
CN107592415B (en) Voice transmission method, terminal, and computer-readable storage medium
CN109144705B (en) Application management method, mobile terminal and computer readable storage medium
CN108376239B (en) Face recognition method, mobile terminal and storage medium
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
CN108536383B (en) Game control method, game control equipment and computer readable storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN107124708B (en) Display method and device of international roaming service and computer readable storage medium
CN110875979A (en) Contextual model control method, terminal and computer readable storage medium
CN108322611B (en) Screen locking information pushing method and device and computer readable storage medium
CN108199964B (en) Transmission method, terminal, server and computer readable storage medium
CN108063863B (en) Information browsing method, terminal, server and computer readable storage medium
CN108845821B (en) Application program updating method, terminal and computer readable storage medium
CN109068314B (en) Operator configuration file switching method, intelligent device and readable storage medium
CN109062688B (en) Memory allocation method, server and mobile terminal
CN108566476B (en) Information processing method, terminal and computer readable storage medium
CN108876387B (en) Payment verification method, payment verification equipment and computer-readable storage medium
CN107360599B (en) Intelligent wifi networking method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200714

Address after: 210013, Gu Ping Gang 4, Gulou District, Jiangsu, Nanjing

Applicant after: Nanjing Qingyou Information Technology Co.,Ltd.

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210223

Address after: 210013 Block C, No.4 gupinggang, Gulou District, Nanjing City, Jiangsu Province

Patentee after: Nanjing Yueqing Information Technology Co.,Ltd.

Address before: 210013 gulping 4, Gulou District, Nanjing, Jiangsu

Patentee before: Nanjing Qingyou Information Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230515

Address after: 11th Floor, IoT Technology Park Building, No. 38 Guangdong Road, Gulou District, Nanjing, Jiangsu Province, 210003

Patentee after: Edge Intelligence Research Institute Nanjing Co.,Ltd.

Address before: 210013 Block C, No.4 gupinggang, Gulou District, Nanjing City, Jiangsu Province

Patentee before: Nanjing Yueqing Information Technology Co.,Ltd.

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

Granted publication date: 20200821