CN110621066B - Method and apparatus for processing information - Google Patents

Method and apparatus for processing information Download PDF

Info

Publication number
CN110621066B
CN110621066B CN201811632831.5A CN201811632831A CN110621066B CN 110621066 B CN110621066 B CN 110621066B CN 201811632831 A CN201811632831 A CN 201811632831A CN 110621066 B CN110621066 B CN 110621066B
Authority
CN
China
Prior art keywords
information
path
target building
user
navigation
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.)
Active
Application number
CN201811632831.5A
Other languages
Chinese (zh)
Other versions
CN110621066A (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.)
Beijing Shiguang Renran Technology Co ltd
Original Assignee
Beijing Shiguang Renran 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 Beijing Shiguang Renran Technology Co ltd filed Critical Beijing Shiguang Renran Technology Co ltd
Priority to CN201811632831.5A priority Critical patent/CN110621066B/en
Publication of CN110621066A publication Critical patent/CN110621066A/en
Application granted granted Critical
Publication of CN110621066B publication Critical patent/CN110621066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the application discloses a method and a device for processing information. One embodiment of the method comprises: the method comprises the steps of responding to a received search request of a user for searching information in a searching information set corresponding to a target building, and obtaining position information of the user at the current time, wherein the searching information set is an information set used for indicating a searching object in the target building, and the searching object corresponds to a predetermined geographic position; in response to the fact that the position information indicates that the user is located in the target building, selecting a geographical position represented by the acquired position information as a starting point from a path information set preset for the target building, and taking the geographical position corresponding to the search request as path information corresponding to a path of a terminal point; based on the selected route information, navigation information is generated. The embodiment can realize navigation positioning aiming at the interior of the building, and improves the diversity of information processing.

Description

Method and apparatus for processing information
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a method and a device for processing information.
Background
Terminal location refers to a technology or a service for acquiring location information (longitude and latitude coordinates) of a mobile terminal through a specific location technology.
Currently, the Positioning technology generally includes two types, one is Positioning based on a GPS (Global Positioning System); one is based on the positioning of the base stations of the mobile operating network. The positioning mode based on the GPS is that a GPS positioning module arranged on the terminal is utilized to send a position signal of the terminal to a positioning background to realize the positioning of the terminal. The positioning based on the base station determines the position of the mobile phone by measuring and calculating the distance between the base station and the terminal by the base station.
Disclosure of Invention
The embodiment of the application provides a method and a device for processing information.
In a first aspect, an embodiment of the present application provides a method for processing information, where the method includes: the method comprises the steps of responding to a received search request of a user for searching information in a searching information set corresponding to a target building, and obtaining position information of the user at the current time, wherein the searching information set is a preset information set used for indicating a searching object in the target building, and the searching object corresponds to a predetermined geographic position; in response to determining that the obtained position information indicates that the user is located in the target building, selecting path information corresponding to a path which takes the geographical position represented by the obtained position information as a starting point and takes the geographical position corresponding to the search request as an end point from a path information set preset for the target building, wherein the path information is used for representing the path; based on the selected route information, navigation information is generated.
In some embodiments, the path information in the set of path information includes a length of the characterized path; and selecting the geographical position represented by the acquired position information as a starting point from a path information set preset for the target building, and selecting the path information corresponding to the path with the geographical position corresponding to the search request as an end point, wherein the path information comprises: and selecting the path information corresponding to the path with the shortest length and the geographical position corresponding to the search request as the end point from the path information set preset aiming at the target building, wherein the acquired position information is taken as the starting point.
In some embodiments, the information for navigation includes at least one of: image information, text information, voice information.
In some embodiments, generating information for navigation based on the selected path information includes: acquiring a preset information template for navigation; navigation information is generated based on the navigation information template and the selected route information.
In some embodiments, obtaining the location information of the user at the current time includes: in response to detecting an input request of a user for position information, position information input by the user is acquired as the position information of the user at the current time.
In a second aspect, an embodiment of the present application provides an apparatus for processing information, the apparatus including: the information processing device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is configured to respond to a received search request of a user for searching information in a searching information set corresponding to a target building, and the searching information set is a preset information set used for indicating a searching object in the target building, and the searching object corresponds to a predetermined geographic position; the selecting unit is configured to select, in response to determining that the acquired position information indicates that the user is located in the target building, path information corresponding to a path which takes the geographical position represented by the acquired position information as a starting point and takes the geographical position corresponding to the search request as an end point from a path information set preset for the target building, wherein the path information is used for representing the path; and a generation unit configured to generate information for navigation based on the selected route information.
In some embodiments, the path information in the set of path information includes a length of the characterized path; and the selecting unit is further configured to: and selecting the geographical position represented by the acquired position information as a starting point from a preset path information set aiming at the target building, and selecting the path information corresponding to the path with the shortest length and the geographical position corresponding to the search request as an end point.
In some embodiments, the generating unit comprises: the acquisition module is configured to acquire a preset information template for navigation; and a generation module configured to generate the information for navigation based on the information template for navigation and the selected path information.
In a third aspect, an embodiment of the present application provides a terminal, including: one or more processors; a storage device having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement the method of any of the embodiments of the method for processing information described above.
In a fourth aspect, the present application provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method of any of the above-described methods for processing information.
The method and the device for processing information provided by the embodiment of the application acquire the position information of the user at the current time by responding to the received search request of the user for the search information in the search information set corresponding to the target building, wherein the search information set is a preset information set used for indicating a search object in the target building, the search object corresponds to a preset geographical position, then in response to the fact that the acquired position information indicates that the user is located in the target building, the geographical position represented by the acquired position information is selected from the preset path information set for the target building as a starting point, and the path information corresponding to the path with the geographical position corresponding to the search request as an ending point is selected, wherein the path information is used for representing the path, and finally, the navigation information is generated based on the selected path information, therefore, the path information set corresponding to the target building is effectively utilized, the navigation information used for indicating the traveling route of the user in the target building is generated, the navigation positioning aiming at the interior of the building can be realized, and the diversity of information processing is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present application may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for processing information according to the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for processing information according to an embodiment of the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method for processing information according to the present application;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for processing information according to the present application;
fig. 6 is a schematic structural diagram of a computer system suitable for implementing a terminal device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for processing information or the apparatus for processing information of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as map navigation-type software, web browser applications, search-type applications, instant messaging tools, social platform software, etc., may be installed on the terminal devices 101, 102, 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices that are mobile, including but not limited to smart phones, tablet computers, laptop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as an information storage server that stores a set of path information corresponding to a target building. The information storage server may transmit the path information set corresponding to the target building to the terminal device 101, 102, 103 in response to receiving the path information set acquisition request for the target building transmitted by the terminal device 101, 102, 103.
It should be noted that the method for processing information provided in the embodiments of the present application is generally executed by the terminal devices 101, 102, 103, and accordingly, the apparatus for processing information is generally disposed in the terminal devices 101, 102, 103.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., multiple pieces of software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. In the case where data used in the process of generating information for navigation does not need to be acquired from a remote location, the system architecture may include only a terminal device without including a network and a server.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for processing information in accordance with the present application is shown. The method for processing information comprises the following steps:
step 201, in response to receiving a search request of a user for searching information in a searching information set corresponding to a target building, obtaining position information of the user at the current time.
In this embodiment, an execution subject (e.g., a terminal device shown in fig. 1) of the method for processing information may acquire the location information of the user at the current time in response to receiving a search request of the user for information for search in an information set for search corresponding to the target building through a wired connection manner or a wireless connection manner. The target building may be a building corresponding to the search information set. The information for searching is information for searching by the user, and may include, but is not limited to, at least one of the following: characters, numbers, letters, images. The information set for searching corresponding to the target building is a preset information set for indicating a target for searching in the target building. The object for search is an object included in the target building, and corresponds to a predetermined geographical position. Specifically, the object for search may be various objects at fixed positions included in the target building, and for example, the object for search may be a room included in the target building. In addition, one search target may be associated with each piece of information for search in the set of information for search.
In this embodiment, the search request received by the execution main body is a search request sent by a user. In practice, the user may send a search request to the execution body described above in various ways. Specifically, as an example, the user may input information for search in an information set for search corresponding to a target building and click a search button to transmit a search request for the input information for search to the execution main body; alternatively, the execution main body may display a search information set corresponding to the target building, and the user may click on the search information in the search information set to transmit a search request for the clicked search information to the execution main body.
In this embodiment, the location information is used to characterize the location of the user, and may include, but is not limited to, at least one of the following: characters, numbers, letters, images. Specifically, as an example, the location information may be longitude and latitude coordinates of a location where the user is located; alternatively, the points marked on the plan corresponding to the target building to represent the location of the user may be used. The plan view corresponding to the target building may be a plan view pre-drawn according to the target building and used for representing the structure and layout of the target building.
In this embodiment, the execution subject may obtain the location information of the user at the current time by using various methods. For example, the executing entity may use an existing positioning technology (e.g., a bluetooth-based positioning technology, a global positioning system-based positioning technology, or a base station-based positioning technology, etc.) to locate its own location, and generate location information as the location information of the user. It is to be understood that, here, the execution subject is a device that is being used by the user at the current time, and therefore, the location information of the location where the execution subject is located at the current time may be determined as the location information of the user at the current time.
In some optional implementation manners of this embodiment, the executing entity may obtain the location information of the user at the current time by: the execution main body may acquire, in response to detecting an input request for location information by a user, location information input by the user as the location information of the user at the current time.
Step 202, in response to determining that the obtained location information indicates that the user is located in the target building, selecting, from a preset path information set for the target building, a geographical location represented by the obtained location information as a starting point, and taking the geographical location corresponding to the search request as path information corresponding to a path of a terminal point.
In this embodiment, based on the location information obtained in step 201, in response to determining that the obtained location information indicates that the user is located in the target building, the executing entity may select, from a set of route information preset for the target building, route information corresponding to a route that uses the geographic location represented by the obtained location information as a starting point and uses the geographic location corresponding to the search request as an ending point. The route information set may include route information corresponding to a route that takes any geographical position in the target building as a starting point and takes a geographical position corresponding to any search object in the target building as an ending point.
In practice, a path may be used to indicate a path that is traversed from the start point of the path to the end point of the path. In this embodiment, the path information is used to characterize the path, and may include, but is not limited to, at least one of the following: characters, numbers, letters, images. Specifically, as an example, the path information may be an image in which a start point and an end point of the path are respectively represented by two points, and a route passed from the start point to the end point is represented by a connecting line between the two points.
Here, the geographic position corresponding to the search request is the geographic position corresponding to the search target indicated by the search request. The object for search indicated by the search request is the object for search indicated by the information for search corresponding to the search request.
In the present embodiment, the execution body described above may employ various methods to determine whether the acquired location information indicates that the user is located within the target building. For example, the location information is longitude and latitude coordinates, and for a target building, a longitude and latitude coordinate range corresponding to a geographic location occupied by the target building is predetermined, and further, the execution main body may determine whether the longitude and latitude coordinates (location information) of the user belong to the longitude and latitude coordinate range corresponding to the target building, and if the longitude and latitude coordinates belong to the longitude and latitude coordinate range, may determine that the acquired location information indicates that the user is located in the target building; or the position information is a point marked in the plan view corresponding to the target building and used for representing the position of the user, and further, the execution main body can identify the marked plan view, determine whether the marked point is located in the image area corresponding to the target building, and if the marked point is located in the image area, determine that the obtained position information indicates that the user is located in the target building.
In step 203, navigation information is generated based on the selected route information.
In this embodiment, the executing entity may generate the navigation information based on the route information selected in step 202. The navigation information is information for output, and may be used to instruct the user to travel from the geographic position corresponding to the location information to the geographic position corresponding to the search request. Specifically, as an example, the navigation information may be used to indicate a traveling direction in which the user travels from the geographic position corresponding to the location information to the geographic position corresponding to the search request, or may be used to indicate a traveling direction and a traveling distance in which the user travels from the geographic position corresponding to the location information to the geographic position corresponding to the search request.
In some optional implementations of this embodiment, the information for navigation may include, but is not limited to, at least one of: image information, text information, voice information.
In this embodiment, the execution body may generate the information for navigation by using various methods based on the selected route information. For example, the selected route information may be directly determined as the navigation information.
In some optional implementation manners of this embodiment, the executing body may generate the information for navigation based on the selected path information by: first, the execution body may acquire a preset information template for navigation. The execution agent may then generate the navigation information based on the navigation information template and the selected route information.
The information template for navigation is preset information for generating information for navigation. The navigation information template has the same information type as the navigation information. For example, the information type of the information for navigation is an image; the navigation information template may be an image that is set in advance and is used as a background image of the navigation information image. The execution body may generate the navigation information by adding information to the navigation information template. Here, the position of the information added to the information template for navigation in the information template for navigation may be predetermined.
In this implementation, the execution body may generate the navigation information by various methods based on the navigation information template and the selected route information. Specifically, as an example, when the information type of the information template for navigation is the same as that of the path information, the execution main body may directly add the path information to the information template for navigation to obtain the information for navigation; when the information type of the navigation information template is different from that of the route information, the execution main body may identify the selected route information, obtain an identification result, which is the same as the information type of the navigation information template and is used for instructing the user to travel from the geographic position corresponding to the location information to the geographic position corresponding to the search request, and add the obtained identification result to the navigation information template to obtain the navigation information.
Illustratively, the selected path information is an image for representing a path, and the information template for navigation is text information "start along the current road and drive to X", where the position of X in the information template for navigation is a position for adding information. The execution body may perform image recognition on the image (route information) representing the route, generate a recognition result (for example, a character "west") indicating a traveling direction in which the user travels from the geographic position corresponding to the position information to the geographic position corresponding to the search request, add the generated recognition result to the navigation information template, and generate the navigation information "start along the current road and travel to the west".
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for processing information according to the present embodiment. In the application scenario of fig. 3, first, the mobile phone 301 may obtain the location information 304 of the user 302 at the current time in response to receiving a search request 303 of the user 302 for "a shop" in a shop information set (information set for search) corresponding to the a shop, where the shop information set is a preset information set indicating shops (objects for search) in the a shop, and the shops correspond to predetermined geographic locations. Then, in response to determining that the obtained location information 304 indicates that the user 302 is located within the mall a, the mobile phone 301 may select, from the preset path information set 305 for the mall a, the path information 306 corresponding to the path starting from the geographic location represented by the obtained location information 304 and ending at the geographic location corresponding to the search request 303 (the geographic location of the mall a). Finally, the mobile phone 301 may generate the navigation information 307 based on the selected route information 306, and the generated navigation information 307 may be an image indicating the direction in which the user is traveling, for example, as shown in fig. 3.
The method provided by the embodiment of the application effectively utilizes the path information set corresponding to the target building, generates the navigation information for indicating the traveling route of the user in the target building, can realize navigation positioning aiming at the interior of the building, and improves the diversity of information processing.
With further reference to FIG. 4, a flow 400 of yet another embodiment of a method for processing information is shown. The flow 400 of the method for processing information includes the steps of:
step 401, in response to receiving a search request of a user for searching information in a searching information set corresponding to a target building, obtaining location information of the user at the current time.
In this embodiment, an execution subject (e.g., a terminal device shown in fig. 1) of the method for processing information may acquire the location information of the user at the current time in response to receiving a search request of the user for information for search in an information set for search corresponding to the target building through a wired connection manner or a wireless connection manner. The target building may be a building corresponding to the search information set. The information for searching is information for searching by the user, and may include, but is not limited to, at least one of the following: characters, numbers, letters, images. The information set for searching corresponding to the target building is a preset information set for indicating a target for searching in the target building. The object for search is an object included in the target building, and corresponds to a predetermined geographical position. Specifically, the object for search may be various objects at fixed positions included in the target building, and for example, the object for search may be a room included in the target building. In addition, one search target may be associated with each piece of information for search in the set of information for search. The location information is used for characterizing the location of the user, and may include, but is not limited to, at least one of the following: characters, numbers, letters, images.
Step 402, in response to determining that the obtained location information indicates that the user is located in the target building, selecting a geographical location represented by the obtained location information as a starting point from a preset path information set for the target building, and taking the geographical location corresponding to the search request as an end point and the path information corresponding to the path with the shortest length.
In this embodiment, based on the location information obtained in step 401, in response to determining that the obtained location information indicates that the user is located in the target building, the execution main body may select, from a set of route information preset for the target building, a geographic location represented by the obtained location information as a starting point, and use the geographic location corresponding to the search request as an end point, and use route information corresponding to a route with the shortest length. The route information set may include route information corresponding to a route that takes any geographical position in the target building as a starting point and takes a geographical position corresponding to any search object in the target building as an ending point.
In practice, a path may be used to indicate a path that is traversed from the start point of the path to the end point of the path. In this embodiment, the path information is used to characterize the path, including the length of the characterized path, and the path information may include, but is not limited to, at least one of the following: characters, numbers, letters.
It is understood that the route is determined by the starting point, the ending point and the route from the starting point to the ending point, and therefore, the route with the geographical position represented by the acquired position information as the starting point and the geographical position corresponding to the search request as the ending point may include at least one. Furthermore, the execution may select, from a set of route information preset for the target building, route information corresponding to a route having a shortest length and starting from a geographic location represented by the acquired location information, and ending with the geographic location corresponding to the search request, thereby facilitating subsequent generation of more effective navigation information based on the route information corresponding to the route having the shortest length, and reducing the distance traveled by the user.
In this embodiment, as to how to determine whether the obtained location information indicates that the user is located in the target building, the execution main body may be determined by using the method described in the embodiment corresponding to fig. 2, and details are not repeated here.
In step 403, navigation information is generated based on the selected route information.
In this embodiment, the execution body may generate information for navigation based on the route information selected in step 402. The navigation information is information for output, and may be used to instruct the user to travel from the geographic position corresponding to the location information to the geographic position corresponding to the search request.
The steps 401 and 403 are respectively the same as the steps 201 and 203 in the foregoing embodiment, and the above description for the steps 201 and 203 also applies to the steps 401 and 403, which is not repeated herein.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for processing information in this embodiment highlights a step of selecting, from a set of route information preset for a target building, route information corresponding to a route that has a shortest length and a geographic position represented by the acquired location information as a starting point, and a geographic position corresponding to the search request as an ending point. Therefore, the scheme described in the embodiment can generate the navigation information based on the path information corresponding to the shortest path, and the effectiveness and pertinence of the generated navigation information are improved.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of an apparatus for processing information, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable in various electronic devices.
As shown in fig. 5, the apparatus 500 for processing information of the present embodiment includes: an acquisition unit 501, a selection unit 502 and a generation unit 503. The obtaining unit 501 is configured to obtain, in response to receiving a search request of a user for search information in a search information set corresponding to a target building, location information of the user at a current time, where the search information set is a preset information set used for indicating a search object in the target building, and the search object corresponds to a predetermined geographic location; the selecting unit 502 is configured to, in response to determining that the obtained location information indicates that the user is located in the target building, select, from a set of path information preset for the target building, path information corresponding to a path that has a geographic location characterized by the obtained location information as a starting point and a geographic location corresponding to the search request as an end point, where the path information is used for characterizing the path; the generation unit 503 is configured to generate information for navigation based on the selected route information.
In this embodiment, the obtaining unit 501 of the apparatus 500 for processing information may obtain the location information of the user at the current time in response to receiving a search request of the user for the information for search in the information set for search corresponding to the target building through a wired connection manner or a wireless connection manner. The target building may be a building corresponding to the search information set. The information for searching is information for searching by the user, and may include, but is not limited to, at least one of the following: characters, numbers, letters, images. The information set for searching corresponding to the target building is a preset information set for indicating a target for searching in the target building. The object for search is an object included in the target building, and corresponds to a predetermined geographical position. Specifically, the object for search may be various objects at fixed positions included in the target building, and for example, the object for search may be a room included in the target building. In addition, one search target may be associated with each piece of information for search in the set of information for search.
In this embodiment, the location information is used to characterize the location of the user, and may include, but is not limited to, at least one of the following: characters, numbers, letters, images.
In this embodiment, based on the location information obtained by the obtaining unit 501, in response to determining that the obtained location information indicates that the user is located in the target building, the selecting unit 502 may select, from a set of route information preset for the target building, route information corresponding to a route that has a geographic location represented by the obtained location information as a starting point and a geographic location corresponding to the search request as an end point. The route information set may include route information corresponding to a route that takes any geographical position in the target building as a starting point and takes a geographical position corresponding to any search object in the target building as an ending point. The path information is used to characterize the path and may include, but is not limited to, at least one of: characters, numbers, letters, images. Here, the geographic position corresponding to the search request is the geographic position corresponding to the search target indicated by the search request. The object for search indicated by the search request is the object for search indicated by the information for search corresponding to the search request.
In the present embodiment, the generation unit 503 may generate the information for navigation based on the route information selected by the selection unit 502. The navigation information is information for output, and may be used to instruct the user to travel from the geographic position corresponding to the location information to the geographic position corresponding to the search request.
In some optional implementations of this embodiment, the path information in the path information set includes a length of the characterized path; and the selecting unit 502 may be further configured to: and selecting the geographical position represented by the acquired position information as a starting point from a preset path information set aiming at the target building, and selecting the path information corresponding to the path with the shortest length and the geographical position corresponding to the search request as an end point.
In some optional implementations of this embodiment, the information for navigation includes at least one of: image information, text information, voice information.
In some optional implementations of this embodiment, the generating unit 503 may include: an obtaining module (not shown in the figure) configured to obtain a preset information template for navigation; and a generation module (not shown) configured to generate the navigation information based on the navigation information template and the selected route information.
In some optional implementations of this embodiment, the obtaining unit 501 may be further configured to: in response to detecting an input request of a user for position information, position information input by the user is acquired as the position information of the user at the current time.
It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
The apparatus 500 provided in the above embodiment of the present application effectively uses the path information set corresponding to the target building to generate the navigation information for indicating the travel route of the user in the target building, so that the navigation positioning for the interior of the building can be realized, and the diversity of information processing is improved.
Referring now to fig. 6, a block diagram of a terminal device (e.g., terminal device of fig. 1) 600 suitable for implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the terminal device 600 may include a processing means (e.g., a central processing unit, a graphic processor, etc.) 601 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the terminal apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the terminal device 600 to perform wireless or wired communication with other devices to exchange data. While fig. 6 illustrates a terminal apparatus 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the terminal device; or may exist separately without being assembled into the terminal device. The computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: the method comprises the steps of responding to a received search request of a user for searching information in a searching information set corresponding to a target building, and obtaining position information of the user at the current time, wherein the searching information set is a preset information set used for indicating a searching object in the target building, and the searching object corresponds to a predetermined geographic position; in response to determining that the obtained position information indicates that the user is located in the target building, selecting path information corresponding to a path which takes the geographical position represented by the obtained position information as a starting point and takes the geographical position corresponding to the search request as an end point from a path information set preset for the target building, wherein the path information is used for representing the path; based on the selected route information, navigation information is generated.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of a unit does not constitute a limitation of the unit itself in some cases, and for example, the generation unit may also be described as a "unit that generates information for navigation".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A method for processing information, comprising:
the method comprises the steps that in response to a received search request of a user for searching information in a searching information set corresponding to a target building, the position information of the user at the current time is obtained, wherein the searching information set is a preset information set used for indicating a searching object in the target building, and the searching object corresponds to a predetermined geographic position;
determining whether the obtained location information indicates that the user is located within a target building;
in response to determining that the obtained location information indicates that the user is located in the target building, selecting path information corresponding to a path which takes a geographic location represented by the obtained location information as a starting point and takes the geographic location corresponding to the search request as an end point from a path information set preset for the target building, wherein the path information is used for representing the path;
based on the selected route information, navigation information is generated.
2. The method of claim 1, wherein path information in the set of path information includes a length of the characterized path; and
the selecting, from a set of path information preset for the target building, path information corresponding to a path that takes the acquired location information as a starting point and takes a geographic location corresponding to the search request as an ending point includes:
and selecting the path information corresponding to the path with the shortest length and taking the geographical position represented by the acquired position information as a starting point from a path information set preset for the target building and taking the geographical position corresponding to the search request as an end point.
3. The method of claim 1, wherein the information for navigation comprises at least one of:
image information, text information, voice information.
4. The method according to claim 1, wherein the generating information for navigation based on the selected path information includes:
acquiring a preset information template for navigation;
and generating the information for navigation based on the information template for navigation and the selected path information.
5. The method according to one of claims 1 to 4, wherein the obtaining of the location information of the user at the current time comprises:
in response to detecting the input request of the user for the position information, acquiring the position information input by the user as the position information of the user at the current time.
6. An apparatus for processing information, comprising:
the information processing device comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is configured to respond to a received search request of a user for searching information in a searching information set corresponding to a target building, and the searching information set is a preset information set used for indicating a searching object in the target building, and the searching object corresponds to a predetermined geographic position;
a selecting unit configured to determine whether the acquired location information indicates that the user is located within a target building; in response to determining that the obtained location information indicates that the user is located in the target building, selecting path information corresponding to a path which takes a geographic location represented by the obtained location information as a starting point and takes the geographic location corresponding to the search request as an end point from a path information set preset for the target building, wherein the path information is used for representing the path;
and a generation unit configured to generate information for navigation based on the selected route information.
7. The apparatus of claim 6, wherein path information in the set of path information comprises a length of the characterized path; and
the selecting unit is further configured to:
and selecting the path information corresponding to the path with the shortest length and taking the geographical position represented by the acquired position information as a starting point from a path information set preset for the target building and taking the geographical position corresponding to the search request as an end point.
8. The apparatus of claim 6, wherein the generating unit comprises:
the acquisition module is configured to acquire a preset information template for navigation;
and a generation module configured to generate the information for navigation based on the information template for navigation and the selected path information.
9. A terminal, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
10. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201811632831.5A 2018-12-29 2018-12-29 Method and apparatus for processing information Active CN110621066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811632831.5A CN110621066B (en) 2018-12-29 2018-12-29 Method and apparatus for processing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811632831.5A CN110621066B (en) 2018-12-29 2018-12-29 Method and apparatus for processing information

Publications (2)

Publication Number Publication Date
CN110621066A CN110621066A (en) 2019-12-27
CN110621066B true CN110621066B (en) 2021-04-09

Family

ID=68920853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811632831.5A Active CN110621066B (en) 2018-12-29 2018-12-29 Method and apparatus for processing information

Country Status (1)

Country Link
CN (1) CN110621066B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103398717A (en) * 2013-08-22 2013-11-20 成都理想境界科技有限公司 Panoramic map database acquisition system and vision-based positioning and navigating method
CN104019807A (en) * 2013-02-28 2014-09-03 西门子公司 Navigation method and device
CN104166657A (en) * 2013-05-17 2014-11-26 北京百度网讯科技有限公司 Electronic map searching method and server
CN106918334A (en) * 2015-12-25 2017-07-04 高德信息技术有限公司 Indoor navigation method and device
CN108398132A (en) * 2018-03-08 2018-08-14 浙江师范大学 Indoor navigation method and system, electronic equipment, computer read/write memory medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7899583B2 (en) * 2005-04-12 2011-03-01 Ehud Mendelson System and method of detecting and navigating to empty parking spaces

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104019807A (en) * 2013-02-28 2014-09-03 西门子公司 Navigation method and device
CN104166657A (en) * 2013-05-17 2014-11-26 北京百度网讯科技有限公司 Electronic map searching method and server
CN103398717A (en) * 2013-08-22 2013-11-20 成都理想境界科技有限公司 Panoramic map database acquisition system and vision-based positioning and navigating method
CN106918334A (en) * 2015-12-25 2017-07-04 高德信息技术有限公司 Indoor navigation method and device
CN108398132A (en) * 2018-03-08 2018-08-14 浙江师范大学 Indoor navigation method and system, electronic equipment, computer read/write memory medium

Also Published As

Publication number Publication date
CN110621066A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
US20180145941A1 (en) Personal information apparatus, sharing system and sharing system operating method for servicing map-based user generated contents for social network service
US20180109915A1 (en) Systems, methods and devices for virtual fencing
CN105008858A (en) User-in-the-loop architecture for indoor positioning
CN110619085B (en) Information processing method and device
CN110781263A (en) House resource information display method and device, electronic equipment and computer storage medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN113191257B (en) Order of strokes detection method and device and electronic equipment
CN114417782A (en) Display method and device and electronic equipment
JP2013019676A (en) Navigation device
US20210285786A1 (en) Information processing apparatus, non-transitory storage medium, and system
CN112422614B (en) Method, apparatus, and medium for device interaction
CN111897904A (en) Method and device for determining whether ship enters typhoon ring and electronic equipment
CN110619101B (en) Method and apparatus for processing information
CN110621066B (en) Method and apparatus for processing information
CN110620808A (en) Method and device for pushing information
CN110619089B (en) Information retrieval method and device
CN110086880B (en) Method and apparatus for creating instances of network requests
CN111835917A (en) Method, device and equipment for showing activity range and computer readable medium
CN110083283B (en) Method, device and system for managing information
US9064265B1 (en) System and method for locating items in a facility
CN111597439A (en) Information processing method and device and electronic equipment
CN111625707B (en) Recommendation response method, device, medium and equipment
CN111242746A (en) House resource information display method, device, terminal and storage medium
CN111291199B (en) Information query method and device
CN108509635B (en) Method and apparatus for generating information

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
GR01 Patent grant
GR01 Patent grant