CN110502705A - A kind of method and device of the electronic map search based on intelligent terminal - Google Patents

A kind of method and device of the electronic map search based on intelligent terminal Download PDF

Info

Publication number
CN110502705A
CN110502705A CN201910639783.0A CN201910639783A CN110502705A CN 110502705 A CN110502705 A CN 110502705A CN 201910639783 A CN201910639783 A CN 201910639783A CN 110502705 A CN110502705 A CN 110502705A
Authority
CN
China
Prior art keywords
search
area
electronic map
intelligent terminal
target
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.)
Pending
Application number
CN201910639783.0A
Other languages
Chinese (zh)
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.)
Beike Technology Co Ltd
Original Assignee
Beike 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 Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201910639783.0A priority Critical patent/CN110502705A/en
Publication of CN110502705A publication Critical patent/CN110502705A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention provides a kind of method and device of electronic map search based on intelligent terminal.The method includes receiving the searching request sent by intelligent terminal, described search request includes the direction of search, region of search and search target;Wherein, described search region is area coordinate range shown by the electronic map of the intelligent terminal;In described search region, and in the region pointed by the direction of search in described search region, search whether there is described search target;Search result is sent to the intelligent terminal, so that the intelligent terminal is by described search as the result is shown on the electronic map, the embodiment of the present invention passes through the searching request including region of search and the direction of search, in described search region, and target is searched for present on the direction of search of the described search region in electronic map, and described search target is shown on electronic map, so as to quicker, the easy search target that must search needs on the electronic map.

Description

Electronic map searching method and device based on intelligent terminal
Technical Field
The invention relates to the technical field of data processing, in particular to an electronic map searching method and device based on an intelligent terminal.
Background
When a user directly searches for a nearby search target, or a search target of a specific region, through an electronic map, when the electronic map is zoomed to a smaller scale, for example, a cell level, there is no search target within a visible region due to fewer nearby search targets, and the search target cannot be quickly found even by sliding the electronic map a little. Thereby affecting the user experience.
Therefore, in the prior art, the method for searching the search target in the visual range by sliding the electronic map of the terminal is too simple, and cannot be applied to the areas with fewer search targets.
Disclosure of Invention
The embodiment of the invention provides an electronic map searching method and device based on an intelligent terminal, which are used for solving the problem that in the prior art, a searching target in a visual range is searched by sliding a terminal electronic map, so that the method is too simple and cannot be applied to areas with fewer searching targets.
In a first aspect, an embodiment of the present invention provides an electronic map searching method based on an intelligent terminal, including:
receiving a search request sent by an intelligent terminal, wherein the search request comprises a search direction, a search area and a search target; the searching area is an area coordinate range displayed by an electronic map of the intelligent terminal;
searching whether the search target exists in the search area and an area pointed by the search direction of the search area;
and sending a search result to the intelligent terminal so that the intelligent terminal displays the search result on the electronic map.
Further, the searching whether the search target exists in the search area and an area pointed by the search direction of the search area specifically includes:
searching whether the search target exists in the search area;
if the search target does not exist, translating the search area in the search direction of the electronic map by a preset distance, and continuously searching whether the search target exists or not;
and if the search target does not exist, continuing translating the distance and searching until the search target is searched in the translated search area, and ending the search.
Further, the sending the search result to the intelligent terminal to enable the intelligent terminal to display the search result on the electronic map specifically includes:
and sending the searched information of the search target and the information of the search area corresponding to the searched search target to the intelligent terminal so that the intelligent terminal displays the searched search target and the corresponding search area.
Further, the searching whether the search target exists in the search area and an area pointed by the search direction of the search area specifically includes:
if the search target does not exist, and the total translation distance in the search process exceeds a preset translation distance threshold or the total translation times exceeds a preset translation time threshold, ending the search.
In a second aspect, an embodiment of the present invention provides an electronic map searching method based on an intelligent terminal, including:
sending a search request to a server, wherein the search request comprises a search direction, a search area and a search target, so that the server searches whether the search target exists in the search area and an area pointed by the search direction of the search area; the searching area is an area coordinate range displayed by the electronic map;
and receiving a search result sent by the server, and displaying the search result on the electronic map.
Further, the method further comprises:
and if the touch operation on the electronic map is monitored, taking the area coordinate range displayed by the electronic map after the touch operation is finished as the search area, and taking the sliding direction of the touch operation as the search direction.
Further, the server searches whether the search target exists in the search area and an area pointed by a search direction of the search area, specifically including:
the server searches whether the search target exists in the search area;
if the search target does not exist, the server translates the search area by a preset distance in the search direction of the electronic map, and continuously searches whether the search target exists or not;
and if the search target does not exist, the server continues translating the search area and searching until the search target is searched in the translated search area, and ending the search.
Further, the receiving a search result sent by a server and displaying the search result on the electronic map specifically includes:
and receiving the information of the searched search target and the information of the search area corresponding to the searched search target sent by the server, and displaying the searched search target and the corresponding search area on the electronic map.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
a processor, a memory, a communication interface, and a communication bus; wherein,
the processor, the memory and the communication interface complete mutual communication through the communication bus;
the communication interface is used for information transmission between communication devices of the electronic equipment;
the memory stores computer program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising:
receiving a search request sent by an intelligent terminal, wherein the search request comprises a search direction, a search area and a search target; the searching area is an area coordinate range displayed by an electronic map of the intelligent terminal;
searching whether the search target exists in the search area and an area pointed by the search direction of the search area;
and sending a search result to the intelligent terminal so that the intelligent terminal displays the search result on the electronic map.
In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following method:
receiving a search request sent by an intelligent terminal, wherein the search request comprises a search direction, a search area and a search target; the searching area is an area coordinate range displayed by an electronic map of the intelligent terminal;
searching whether the search target exists in the search area and an area pointed by the search direction of the search area;
and sending a search result to the intelligent terminal so that the intelligent terminal displays the search result on the electronic map.
According to the method and the device for searching the electronic map based on the intelligent terminal, provided by the embodiment of the invention, the required search target can be searched on the electronic map more quickly, simply and conveniently by searching the search area, the search direction and the search target in the search request including the search area, the search direction and the search target, and displaying the search target in the search area and the search target in the search direction of the electronic map.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flowchart of a method for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a server for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an intelligent terminal for searching an electronic map based on the intelligent terminal according to an embodiment of the present invention;
fig. 7 illustrates a physical structure diagram of an electronic device.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
step S01, receiving a search request sent by the intelligent terminal, wherein the search request comprises a search direction, a search area and a search target; and the search area is an area coordinate range displayed by an electronic map of the intelligent terminal.
When searching for the search target through the electronic map of the intelligent terminal, for example, a house property, a gas station, a hotel and the like, a user can input a region to be searched and a search target according to the own needs, or can directly perform touch operation on the electronic map to enable the region displayed by the intelligent terminal to slide on the electronic map.
And when the area displayed by the electronic map of the intelligent terminal is determined, the intelligent terminal collects the search area and the search direction for the current search. The search area is an area coordinate range of the area currently displayed by the intelligent terminal on the electronic map, and the area coordinate range may be represented by coordinates of four corners of the displayed area, or coordinates of two opposite corners, or may be represented by information such as a center point coordinate of the displayed area and a length and a width of the displayed area, which is not specifically limited herein.
The search direction may be obtained according to a search target input by the user, or may be obtained according to a sliding direction of a touch operation of the user on the electronic map. The search direction may be expressed in terms of an angle, i.e., 0 to 360 degrees, for example, 45 degrees, 90 degrees, and so on.
And the intelligent terminal edits the search area and the search direction into a search request and sends the search request to a server.
Step S02, searching whether the search target exists in the search area and the area pointed by the search direction of the search area.
The server will perform the search according to the received search area and search direction. And matching the stored position information of all the search targets with the search area and the area of the search area in the search direction of the electronic map. If the matching is successful, the required search target is judged to be searched, otherwise, the required search target is judged not to be searched.
In a specific implementation process, the server may search the search area and an area in the search direction of the search area at the same time; the search area may be searched first, and when the search target is not matched in the search area, the area in the search direction of the search area may be searched.
And step S03, sending a search result to the intelligent terminal so that the intelligent terminal displays the search result on the electronic map.
The server sends a search result to the intelligent terminal, and if the search target is searched, the information of the search target is sent to the intelligent terminal so that the intelligent terminal can display the information of the search target on the electronic map; and if the search target is not searched, sending a message without the search target to the intelligent terminal so that the intelligent terminal displays a corresponding message according to actual setting.
According to the embodiment of the invention, the required search target can be searched on the electronic map more quickly, simply and conveniently by the search request comprising the search area and the search direction, the search target exists in the search area and the search direction of the search area on the electronic map, and the search target is displayed on the electronic map.
Fig. 2 is a flowchart of another method for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention, and as shown in fig. 2, the step S02 specifically includes:
and S021, searching whether the search target exists in the search area.
After the server receives the search request, whether the search target with the position in the search area exists is searched according to the search area.
If the search target exists, the search is finished, and the searched information of the search target is sent to the intelligent terminal.
Step S022, if the search target does not exist, translating the search area in the search direction of the electronic map by a preset distance, and continuously searching whether the search target exists.
And if no search target is searched in the search area, the server further searches in the search direction of the search area on the electronic map according to the received search direction.
There are many specific implementation schemes for searching in the search direction on the electronic map, for example, the direction from the coordinate of the center point of the search area to the coordinate of the position of the search target may be calculated and compared with the search direction, and if the angle difference between the two directions is smaller than a preset angle threshold, it is determined that the matching is successful; it is of course also possible to further define the distance between the coordinates of the center point and the coordinates of the position of the search target. Only one of the examples is given in the embodiments of the present invention, which is as follows:
and translating the search area in the search direction of the electronic map by a preset distance, and then searching whether a search target located in the translated search area exists or not.
And S023, if the search target does not exist, continuing to translate the distance and search until the search target is searched in the translated search area, and ending the search.
And searching the search target in the search area obtained after translation, ending the search and sending the search result to the intelligent terminal.
And if the search target is not searched, continuously translating the search area by a preset distance and continuously searching the search area obtained after each translation until the search target is searched, stopping the search and sending a search result to the intelligent terminal.
According to the embodiment of the invention, the search area is translated in the search direction of the electronic map and the search target is continuously searched, so that the search target can be searched on the electronic map more simply and quickly.
Based on the foregoing embodiment, further, the step S03 specifically includes:
step S031, sending the information of the searched search target and the information of the search area corresponding to the searched search target to the intelligent terminal, so that the intelligent terminal displays the searched search target and the corresponding search area.
After the search is finished, the server sends a search result to the intelligent terminal, wherein the search result can be set according to actual needs, for example, the searched information of a search target can be sent, so that the intelligent terminal displays the information of the search target; the information of the search target may include location information, identification information, and the like of the search target.
The search result may include information of a search area corresponding to the search target in addition to information of the search target, and at this time, the intelligent terminal may display the search area in the electronic map and identify the search target in the search area.
According to the embodiment of the invention, the information of the search target and the information of the search area corresponding to the search target are sent to the intelligent terminal, so that the intelligent terminal displays the search area and the search target, and the search target can be searched on the electronic map more quickly and accurately.
Based on the above embodiment, further, step S02 specifically includes:
if the search target does not exist, and the total translation distance in the search process exceeds a preset translation distance threshold or the total translation times exceeds a preset translation time threshold, ending the search.
Since a user has an expected range when searching for a search target by using an electronic map, a translation distance threshold or a translation frequency threshold needs to be preset in the process of continuously translating and searching the search area, if the total translation distance of the server to the search area exceeds the balance distance threshold or the translation frequency exceeds the translation frequency threshold, it is determined that the search target cannot be searched, the search is ended, and a message that the search target is not searched is sent to the intelligent terminal as a search result.
The embodiment of the invention limits the total translation distance through the preset translation distance threshold or translation time threshold, thereby greatly reducing unnecessary operation of the server and improving the efficiency of the server.
Fig. 3 is a flowchart of another method for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention, as shown in fig. 3, the method includes:
step S11, sending a search request to a server, wherein the search request comprises a search direction, a search area and a search target, so that the server searches whether the search target exists in the search area and in an area pointed by the search direction of the search area; the searching area is an area coordinate range displayed by the electronic map.
The intelligent terminal collects a search area and a search direction for the current search. The search area is an area coordinate range of an area displayed by the intelligent terminal on the electronic map, and the search direction can be acquired according to a search target input by a user or according to a sliding direction of touch operation of the user on the electronic map.
And the intelligent terminal edits the search area and the search direction into a search request and sends the search request to a server.
The server will perform the search according to the received search area and search direction. And matching the stored position information of all the search targets with the search area and the area of the search area in the search direction of the electronic map. If the matching is successful, the required search target is judged to be searched, otherwise, the required search target is judged not to be searched.
In a specific implementation process, the server may search the search area and an area in the search direction of the search area at the same time; the search area may be searched first, and when the search target is not matched in the search area, the area in the search direction of the search area may be searched.
And step S12, receiving the search result sent by the server and displaying the search result on the electronic map.
The server sends a search result to the intelligent terminal, and if the search target is searched, the information of the search target is sent to the intelligent terminal so that the intelligent terminal can display the information of the search target on the electronic map; and if the search target is not searched, sending a message without the search target to the intelligent terminal so that the intelligent terminal displays a corresponding message according to actual setting.
According to the embodiment of the invention, the required search target can be searched on the electronic map more quickly, simply and conveniently by the search request comprising the search area and the search direction, the search target exists in the search area and the search direction of the search area on the electronic map, and the search target is displayed on the electronic map.
Fig. 4 is a flowchart of a method for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention, and as shown in fig. 4, before the step S11, the method further includes:
step S10, if the touch operation on the electronic map is monitored, taking the area coordinate range displayed on the electronic map after the touch operation is finished as the search area, and taking the sliding direction of the touch operation as the search direction.
When the intelligent terminal monitors that the user performs touch operation on the electronic map, the area which the user is more interested in and the direction expected to be searched can be judged according to the touch operation, so that the search area and the search direction are collected. And taking the area coordinate range displayed by the electronic map after the touch operation as a search area, and taking the sliding direction during the touch operation as the search direction.
According to the embodiment of the invention, the search area and the search direction are obtained through the touch operation of the user on the electronic real estate, so that the search target can be more reasonably searched on the electronic map.
Based on the foregoing embodiment, further, the searching, by the server, whether the search target exists in the search area and in an area pointed by a search direction of the search area includes:
the server searches whether the search target exists in the search area;
if the search target does not exist, the server translates the search area by a preset distance in the search direction of the electronic map, and continuously searches whether the search target exists or not;
and if the search target does not exist, the server continues translating the search area and searching until the search target is searched in the translated search area, and ending the search.
After the server receives the search request, whether a search target with a position in the search area exists is searched according to the search area.
If the search target exists, the search is finished, and the searched information of the search target is sent to the intelligent terminal.
And if no search target is searched in the search area, the server further searches in the search direction of the search area on the electronic map according to the received search direction.
There are many specific implementation schemes for searching in the search direction on the electronic map, and only one of the specific implementation schemes is given in the embodiment of the present invention, and the specific implementation scheme is as follows:
and translating the search area in the search direction of the electronic map by a preset distance, and then searching whether a search target located in the translated search area exists or not.
And searching the search target in the search area obtained after translation, ending the search and sending the search result to the intelligent terminal.
And if the search target is not searched, continuously translating the search area by a preset distance and continuously searching the search area obtained after each translation until the search target is searched, stopping the search and sending a search result to the intelligent terminal.
According to the embodiment of the invention, the search area is translated in the search direction of the electronic map and the search target is continuously searched, so that the search target can be searched on the electronic map more simply and quickly.
Based on the foregoing embodiment, further, the step S12 specifically includes:
and receiving the information of the searched search target and the information of the search area corresponding to the searched search target sent by the server, and displaying the searched search target and the corresponding search area on the electronic map.
After the search is finished, the server sends a search result to the intelligent terminal, wherein the search result can be set according to actual needs, for example, the searched information of a search target can be sent, so that the intelligent terminal displays the information of the search target; the information of the search target may include location information, identification information, and the like of the search target.
The search result may include information of a search area corresponding to the search target in addition to information of the search target, and at this time, the intelligent terminal may display the search area in the electronic map and identify the search target in the search area.
According to the embodiment of the invention, the information of the search target and the information of the search area corresponding to the search target are sent to the intelligent terminal, so that the intelligent terminal displays the search area and the search target, and the search target can be searched on the electronic map more quickly and accurately.
Fig. 5 is a schematic structural diagram of a server for searching an electronic map based on an intelligent terminal according to an embodiment of the present invention, where as shown in fig. 5, the server includes: a request receiving module 101, a target searching module 102, and a result transmitting module 103, wherein,
the request receiving module 101 is configured to receive a search request sent by an intelligent terminal, where the search request includes a search direction, a search area, and a search target; the searching area is an area coordinate range displayed by an electronic map of the intelligent terminal; the search target searching module 102 is configured to search whether the search target exists in the search area and in an area pointed by a search direction of the search area; the result sending module 103 is configured to send a search result to the intelligent terminal, so that the intelligent terminal displays the search result on the electronic map. Specifically, the method comprises the following steps:
when searching the search target through the electronic map of the intelligent terminal, the user can collect the search area and the search direction for the current search. The search area is an area coordinate range of an area displayed by the intelligent terminal on the electronic map, and the search direction can be acquired according to a search target input by a user or according to a sliding direction of touch operation of the user on the electronic map.
The intelligent terminal edits the search area and the search direction into a search request and sends the search request to the request receiving module 101.
The request receiving module 101 sends the search request to the target searching module 102, and the search target searching module 102 performs the search according to the received search area and search direction. And matching the stored position information of all the search targets with the search area and the area of the search area in the search direction of the electronic map. If the matching is successful, the required search target is judged to be searched, otherwise, the required search target is judged not to be searched.
In a specific implementation process, the search target searching module 102 may search the search area and an area in the search direction of the search area at the same time; the search area may be searched first, and when the search target is not matched in the search area, the area in the search direction of the search area may be searched.
The search target searching module 102 instructs the result sending module 103 to send a search result to the intelligent terminal, and if the search target is searched, sends information of the search target to the intelligent terminal, so that the intelligent terminal displays the information of the search target on the electronic map; and if the search target is not searched, sending a message without the search target to the intelligent terminal so that the intelligent terminal displays a corresponding message according to actual setting.
The server provided in the embodiment of the present invention is configured to execute the method, and the functions of the server refer to the method embodiment specifically, and detailed method flows thereof are not described herein again.
According to the embodiment of the invention, the required search target can be searched on the electronic map more quickly, simply and conveniently by the search request comprising the search area and the search direction, the search target exists in the search area and the search direction of the search area on the electronic map, and the search target is displayed on the electronic map.
Fig. 6 is a schematic structural diagram of an intelligent terminal for searching an electronic map based on the intelligent terminal according to an embodiment of the present invention, where as shown in fig. 6, the intelligent terminal includes: a request sending module 201 and a result receiving module 202, wherein,
the request sending module 201 is configured to send a search request to a server, where the search request includes a search direction, a search area, and a search target, so that the server searches whether the search target exists in the search area and an area pointed by the search direction of the search area; the searching area is an area coordinate range displayed by the electronic map; the result receiving module 202 is configured to receive a search result sent by a server, and display the search result on the electronic map. Specifically, the method comprises the following steps:
the request sending module 201 collects a search area and a search direction for the search. The search area is an area coordinate range of the currently displayed area on the electronic map, and the search direction may be obtained according to a search target input by the user or according to a sliding direction of the touch operation of the user on the electronic map.
The request sending module 201 edits the search area and the search direction into a search request, and sends the search request to a server.
The server will perform the search according to the received search area and search direction. And matching the stored position information of all the search targets with the search area and the area of the search area in the search direction of the electronic map. If the matching is successful, the required search target is judged to be searched, otherwise, the required search target is judged not to be searched.
In a specific implementation process, the server may search the search area and an area in the search direction of the search area at the same time; the search area may be searched first, and when the search target is not matched in the search area, the area in the search direction of the search area may be searched.
The server sends the search result to the result receiving module 202, and if the search target is searched, the information of the search target is sent to the result receiving module 202, so that the result receiving module 202 displays the information of the search target on the electronic map; if the search target is not searched, a message without the search target is sent to the result receiving module 202, so that the result receiving module 202 displays a corresponding message according to actual settings.
The intelligent terminal provided by the embodiment of the present invention is configured to execute the method, and the functions of the intelligent terminal specifically refer to the method embodiment, and the specific method flow is not described herein again.
According to the embodiment of the invention, the required search target can be searched on the electronic map more quickly, simply and conveniently by the search request comprising the search area and the search direction, the search target exists in the search area and the search direction of the search area on the electronic map, and the search target is displayed on the electronic map.
Fig. 7 illustrates a physical structure diagram of an electronic device, and as shown in fig. 7, the server may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call logic instructions in the memory 830 to perform the following method: receiving a search request sent by an intelligent terminal, wherein the search request comprises a search direction, a search area and a search target; the searching area is an area coordinate range displayed by an electronic map of the intelligent terminal; searching whether the search target exists in the search area and an area pointed by the search direction of the search area; and sending a search result to the intelligent terminal so that the intelligent terminal displays the search result on the electronic map.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the methods provided by the above-mentioned method embodiments, for example, comprising: receiving a search request sent by an intelligent terminal, wherein the search request comprises a search direction, a search area and a search target; the searching area is an area coordinate range displayed by an electronic map of the intelligent terminal; searching whether the search target exists in the search area and an area pointed by the search direction of the search area; and sending a search result to the intelligent terminal so that the intelligent terminal displays the search result on the electronic map.
Further, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions, which cause the computer to perform the method provided by the above method embodiments, for example, including: receiving a search request sent by an intelligent terminal, wherein the search request comprises a search direction, a search area and a search target; the searching area is an area coordinate range displayed by an electronic map of the intelligent terminal; searching whether the search target exists in the search area and an area pointed by the search direction of the search area; and sending a search result to the intelligent terminal so that the intelligent terminal displays the search result on the electronic map.
Those of ordinary skill in the art will understand that: in addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for searching an electronic map based on an intelligent terminal is characterized by comprising the following steps:
receiving a search request sent by an intelligent terminal, wherein the search request comprises a search direction, a search area and a search target; the searching area is an area coordinate range displayed by an electronic map of the intelligent terminal;
searching whether the search target exists in the search area and an area pointed by the search direction of the search area;
and sending a search result to the intelligent terminal so that the intelligent terminal displays the search result on the electronic map.
2. The method according to claim 1, wherein the searching for whether the search target exists in the search area and in an area pointed by a search direction of the search area comprises:
searching whether the search target exists in the search area;
if the search target does not exist, translating the search area in the search direction of the electronic map by a preset distance, and continuously searching whether the search target exists or not;
and if the search target does not exist, continuing translating the distance and searching until the search target is searched in the translated search area, and ending the search.
3. The method for searching the electronic map based on the intelligent terminal according to claim 2, wherein the sending of the search result to the intelligent terminal to enable the intelligent terminal to display the search result on the electronic map specifically comprises:
and sending the searched information of the search target and the searched information of the search area corresponding to the searched search target to the intelligent terminal so that the intelligent terminal displays the searched search target and the corresponding search area.
4. The method according to claim 2, wherein the searching for whether the search target exists in the search area and in an area pointed by a search direction of the search area further comprises:
if the search target does not exist, and the total translation distance in the search process exceeds a preset translation distance threshold or the total translation times exceeds a preset translation time threshold, ending the search.
5. A method for searching an electronic map based on an intelligent terminal is characterized by comprising the following steps:
sending a search request to a server, wherein the search request comprises a search direction, a search area and a search target, so that the server searches whether the search target exists in the search area and an area pointed by the search direction of the search area; the searching area is an area coordinate range displayed by the electronic map;
and receiving a search result sent by the server, and displaying the search result on the electronic map.
6. The method for searching the electronic map based on the intelligent terminal as claimed in claim 5, wherein the method further comprises:
and if the touch operation on the electronic map is monitored, taking the area coordinate range displayed by the electronic map after the touch operation is finished as the search area, and taking the sliding direction of the touch operation as the search direction.
7. The method for searching the electronic map based on the intelligent terminal as claimed in claim 6, wherein the server searches whether the search target exists in the search area and an area pointed by a search direction of the search area, specifically comprising:
the server searches whether the search target exists in the search area;
if the search target does not exist, the server translates the search area by a preset distance in the search direction of the electronic map, and continuously searches whether the search target exists or not;
and if the search target does not exist, the server continues translating the search area and searching until the search target is searched in the translated search area, and ending the search.
8. The method for searching the electronic map based on the intelligent terminal according to claim 7, wherein the receiving the search result sent by the server and displaying the search result on the electronic map specifically comprises:
and receiving the information of the searched search target and the information of the search area corresponding to the searched search target sent by the server, and displaying the searched search target and the corresponding search area on the electronic map.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method for intelligent terminal based electronic map search according to any of claims 1 to 8.
10. A non-transitory computer readable storage medium, having a computer program stored thereon, wherein the computer program, when being executed by a processor, implements the steps of the method for intelligent terminal based electronic map search according to any one of claims 1 to 8.
CN201910639783.0A 2019-07-16 2019-07-16 A kind of method and device of the electronic map search based on intelligent terminal Pending CN110502705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910639783.0A CN110502705A (en) 2019-07-16 2019-07-16 A kind of method and device of the electronic map search based on intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910639783.0A CN110502705A (en) 2019-07-16 2019-07-16 A kind of method and device of the electronic map search based on intelligent terminal

Publications (1)

Publication Number Publication Date
CN110502705A true CN110502705A (en) 2019-11-26

Family

ID=68585379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910639783.0A Pending CN110502705A (en) 2019-07-16 2019-07-16 A kind of method and device of the electronic map search based on intelligent terminal

Country Status (1)

Country Link
CN (1) CN110502705A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179475A (en) * 2007-09-27 2008-05-14 林澍欣 Method for downloading map data in peer-to-peer network mode
CN101520333A (en) * 2009-03-24 2009-09-02 深圳市凯立德计算机系统技术有限公司 Interest point searching method and device
US20110153203A1 (en) * 2009-12-17 2011-06-23 Lu Weihong Method and terminal for searching interest points
CN103973743A (en) * 2013-01-31 2014-08-06 上海飞田通信技术有限公司 Adaptive region querying system and method based on smart mobile device
CN104034339A (en) * 2013-03-04 2014-09-10 观致汽车有限公司 Method and apparatus for browsing electronic map on vehicle navigator
CN104318580A (en) * 2014-11-14 2015-01-28 北京凌云光技术有限责任公司 Pattern search method and device
CN104537106A (en) * 2015-01-15 2015-04-22 新华网股份有限公司 Searching method and device based on electronic map
CN104969223A (en) * 2013-01-02 2015-10-07 谷歌公司 Adjacent search results exploration
CN105043373A (en) * 2014-08-22 2015-11-11 戴坚 Client dynamic-positioning voice tour guide method and system thereof
CN106227853A (en) * 2016-07-28 2016-12-14 裘羽 One map generalization method electronically and processing method
CN106960447A (en) * 2017-05-17 2017-07-18 成都通甲优博科技有限责任公司 The position correcting method and system of a kind of video frequency object tracking
CN108572999A (en) * 2017-03-14 2018-09-25 腾讯科技(深圳)有限公司 The searching method and device of interest face AOI profiles
CN108920476A (en) * 2018-03-30 2018-11-30 斑马网络技术有限公司 Map retrieval calculates pass and holds up test macro and its test method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179475A (en) * 2007-09-27 2008-05-14 林澍欣 Method for downloading map data in peer-to-peer network mode
CN101520333A (en) * 2009-03-24 2009-09-02 深圳市凯立德计算机系统技术有限公司 Interest point searching method and device
US20110153203A1 (en) * 2009-12-17 2011-06-23 Lu Weihong Method and terminal for searching interest points
CN104969223A (en) * 2013-01-02 2015-10-07 谷歌公司 Adjacent search results exploration
CN103973743A (en) * 2013-01-31 2014-08-06 上海飞田通信技术有限公司 Adaptive region querying system and method based on smart mobile device
CN104034339A (en) * 2013-03-04 2014-09-10 观致汽车有限公司 Method and apparatus for browsing electronic map on vehicle navigator
CN105043373A (en) * 2014-08-22 2015-11-11 戴坚 Client dynamic-positioning voice tour guide method and system thereof
CN104318580A (en) * 2014-11-14 2015-01-28 北京凌云光技术有限责任公司 Pattern search method and device
CN104537106A (en) * 2015-01-15 2015-04-22 新华网股份有限公司 Searching method and device based on electronic map
CN106227853A (en) * 2016-07-28 2016-12-14 裘羽 One map generalization method electronically and processing method
CN108572999A (en) * 2017-03-14 2018-09-25 腾讯科技(深圳)有限公司 The searching method and device of interest face AOI profiles
CN106960447A (en) * 2017-05-17 2017-07-18 成都通甲优博科技有限责任公司 The position correcting method and system of a kind of video frequency object tracking
CN108920476A (en) * 2018-03-30 2018-11-30 斑马网络技术有限公司 Map retrieval calculates pass and holds up test macro and its test method

Similar Documents

Publication Publication Date Title
US10873900B2 (en) Method for wireless fidelity connection and related products
CN109462632B (en) Page jump method, page jump device, computer equipment and computer readable storage medium
CN105404631B (en) Picture identification method and device
US20160119973A1 (en) Method and device for providing ssid in wlan
US11244153B2 (en) Method and apparatus for processing information
US11588822B2 (en) Right control method and apparatus for terminal device
CN113205041A (en) Structured information extraction method, device, equipment and storage medium
CN107818323B (en) Method and apparatus for processing image
CN104601448B (en) A kind of method and apparatus handled virtual card
US20170147677A1 (en) Method, electronic device and system for ordering browsing histories
CN111107064B (en) Terminal equipment identification method, device, equipment and readable storage medium
CN109905292A (en) A kind of terminal device recognition methods, system and storage medium
CN105138875A (en) Identification method and device for user information
CN112910741B (en) Interface testing method and device, computer equipment and storage medium
WO2018103403A1 (en) Wireless fidelity (wi-fi) scanning method and related product
WO2019072037A1 (en) Access information pushing method and device
CN110111385B (en) Method, terminal and server for realizing target positioning in three-dimensional space
CN110502705A (en) A kind of method and device of the electronic map search based on intelligent terminal
CN109714770B (en) Method and apparatus for transmitting information
EP3554142B1 (en) Wireless fidelity (wifi) connection method and related product
CN112751799A (en) Verification method and device based on picture verification code
CN114374703B (en) Cloud mobile phone information acquisition method, device, equipment and storage medium
EP3554111A1 (en) Wireless fidelity (wifi) connection method and related product
CN106803830B (en) Method, device and system for identifying internet access terminal and User Identity Module (UIM) card
CN115016955A (en) Method and device for sharing information among multiple applications

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191126

RJ01 Rejection of invention patent application after publication