Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In view of the problem that the existing location service can only provide a fixed map, which results in poor user experience, in the following embodiments, a scheme is provided that can provide service information, which may be service information that can be provided at the geographic location, for example, if there is a restaurant at the geographic location, an empty seat condition of the restaurant may be provided, for example, if there is a gas station at the address location, price information of oil products that can be provided by the gas station may be provided, and the like. I.e. what service provider is in the geographical location, the terminal can be provided with information that the service provider can provide.
In this embodiment, location nodes are set in different geographic locations, and service information acquired by the node can be reported to a server through the location nodes. The location node may be a fixed or mobile device, and the location node may be an existing device in the geographic location (for example, an existing device providing other services is modified) or a newly added device, and the location node only needs to be able to communicate with the cloud server, and the communication may be through a wireless network or through a wired network.
Fig. 1 is a flowchart of a location service method according to an embodiment of the present invention, as shown in fig. 1, the method includes the steps of:
step S102, receiving service information which can be provided on the geographical position and is reported by a position node arranged on the geographical position;
step S104, the service information is sent to a terminal, which is a terminal for displaying the service information, for example, a navigator of a user.
Through the steps, the service information provided on the geographical position is acquired and sent to the terminal, and compared with the prior art that the service information is displayed only through the corresponding relation between the geographical position and the map, namely the geographical position is displayed but the accurate service information of the geographical position cannot be displayed, the service information provided on the geographical position comprises the detailed condition information of the geographical position, so that accurate place position service is realized, and the user experience is improved. In addition, because the service information is acquired through the position node, the period of acquiring the service information by the position node can be set, and the service information can be updated relatively in real time.
In order to reduce the load of the server, after receiving the query request from the terminal, the service information that can be provided at the geographical location corresponding to the query request may be sent to the terminal. This processing method cannot update the terminal in real time. Therefore, as another preferred embodiment, the service information may be periodically transmitted to the terminal, and the setting of the periodic time may comprehensively consider the relationship between the load of the server and the communication link and the real time. For the setting of the two modes, different modes can be determined according to the use frequency of the required service information by the user, for example, when the use frequency is higher, the service information can be set to be sent to the terminal within a certain time; this may be done by way of a request, if not used frequently.
Fig. 2 is a flowchart of an electronic map display method according to an embodiment of the present invention, as shown in fig. 2, the method including the steps of:
step S202, receiving service information which can be provided at a geographical position;
step S204, displaying the service information on an area corresponding to the geographic position on the electronic map.
Through the steps, the service information can be displayed in the corresponding area on the electronic map of the terminal, and compared with the method that only the geographical position can be displayed in the prior art, the method realizes more accurate place position service and improves the user experience.
As a preferred embodiment, the moving direction of the terminal can be predicted, for example, the prediction can be performed in one of the following ways: the prediction methods of the GPS signal and the gyroscope built in the terminal are mature in the prior art, and are not described herein again. In addition, the prediction can also be made by Wi-Fi positioning technology, which is explained in the following preferred embodiments. And after the prediction, displaying the service information within a preset distance range of the current position of the terminal on the electronic map in the predicted moving direction. By means of the preferred embodiment, a better experience can be brought to the user.
In implementation, if the storage space of the terminal is relatively large, the service information may be considered to be stored in the terminal, and of course, the service information stored in the terminal may be updated in real time, for example, the acquisition time of the service information stored in the terminal is a, and the current time is B, and the service information may be updated when B-a exceeds a threshold. That is, it may be determined whether the service information exists locally or the time of local storage exceeds a threshold, and if not, a request for inquiring the service information is transmitted.
Fig. 3 is a block diagram of a location service apparatus according to an embodiment of the present invention, where the apparatus is used to implement the foregoing embodiment and preferred embodiments, and the description of the apparatus is omitted for brevity, and the modules involved in the apparatus are described below. As shown in fig. 3, the apparatus includes a receiving module 32 and a transmitting module 34, and the structure will be described below.
A receiving module 32, configured to receive service information that can be provided at a geographic location and is reported by a location node set at the geographic location; and a sending module 34 connected to the receiving module 32 for sending the service information to the terminal.
Fig. 4 is a block diagram of an electronic map display device according to an embodiment of the present invention, which is used to implement the foregoing embodiment and preferred embodiments, and which has already been described and will not be described again, and the following describes modules involved in the electronic map display device. As shown in fig. 4, the apparatus includes a receiving module 42 and a display module 44, and the structure will be described below.
A receiving module 42, configured to receive service information that can be provided in a geographic location; and a display module 44 connected to the receiving module 42 for displaying the service information on an area corresponding to the geographic location on the electronic map.
Preferably, the display module 44 includes: a prediction module 442 for predicting a direction of movement; the display sub-module 444, connected to the prediction module 442, is configured to display the service information within a predetermined distance range of the current location of the terminal on the electronic map in the moving direction.
The following description is given by taking a tablet terminal and a cloud service system as examples and combining a preferred embodiment.
In the preferred embodiment, aiming at the deficiency of the location service in the prior art, the hardware involved in the preferred embodiment includes: a tablet (or tablet-like) computer terminal and a cloud computing server (or called a cloud service system and a server system). Wherein the tablet computer supports, but is not limited to: GPS, AGPS, 2G, 3G and other network and communication functions. The cloud computing server needs to be connected into the internet. The software involved in the preferred embodiment includes: the system comprises location service application client software installed on a tablet computer and location service data management software installed on a cloud computing server. The location service may be a service provided by the tablet terminal, and the relevant settings of the user may be provided in the setting menu, but not limited to, the settings include activating or deactivating the location service function.
In the preferred embodiment, the location service software is pre-installed or temporarily downloaded in the tablet computer, the software displays the geographical location information, and the information can be updated through a network. When the terminal moves, the system can calculate and acquire movement information according to technologies such as GPS, AGPS and Wi-Fi positioning and display the movement information on a map in real time.
Preferably, the system can support the display of a specific map, or be directly downloaded from a cloud computing server to the terminal as needed. The specific map is different from the general map in that the specific map performs accurate information display (i.e., service information) for a specific location to support the need for accurate positioning. The dynamically updated service information sent from the system may be displayed on a particular map.
And the cloud computing server is responsible for collecting the position information uploaded by each scattered place, summarizing and sorting the position information and generating the position service updating information. According to the requirement information reported by the terminal, the specific location information (the specific location information in the preferred embodiment includes general location information and the service information provided in the preferred embodiment) is timely issued to the terminal, and then the information can be displayed on the location service software of the terminal, which also includes information updating and displaying of the specific map.
Preferably, the cloud computing server and the mobile operator can build a network, so that the cloud computing server can download the service information to the terminal in a wireless network communication mode. Similarly, the terminal can also report the request information to the cloud computing server through the wireless network.
Fig. 5 is a structural block diagram of a system according to an embodiment of the present invention, and as shown in fig. 5, a tablet terminal establishes communication with a mobile base station through a wireless network, and a cloud computing server establishes connection with the mobile base station through the network, so that functions of uploading and issuing data information are implemented. The location nodes distributed in various places are responsible for collecting, processing and reporting service information of the location, for example, for a parking lot, the reported information may include but is not limited to: parking space occupation information, vacant parking space information and the like. In addition, for other kinds of location information, the preferred embodiment can be applied to any information that can support a specific location information service and can bring real-time location service to a user.
In the preferred embodiment, for a terminal supporting Wi-Fi, a location service that cannot acquire a signal, such as an underground garage location service, may be implemented by using Wi-Fi positioning technology. That is, in a place such as underground, when a terminal cannot acquire a GPS signal, the function of displaying moving information on a map is realized by acquiring position information through a plurality of wireless access points.
Fig. 6 is a flowchart of a location service method according to a preferred embodiment of the present invention, as shown in fig. 6, the flowchart includes the steps of:
step S602, the main program of location service predicts according to the moving direction of the user before the user receives GPS signals and reaches a preset place in the moving process, predicts the moving direction of the user in advance, and searches for the location options of the user which can provide map service of specific locations within a certain distance, wherein the size value of the certain distance can be set in advance by the user.
Ways to predict the direction of user movement for a program include, but are not limited to, the following: judging and predicting the moving direction of the user through a GPS signal; the terminal judges and predicts the moving direction of the user through a Wi-Fi positioning technology; the method is realized through a gyroscope built in the terminal. Of course, the user may also actively activate the function by clicking on the screen.
In step S604, the user selects a place to enter by performing a touch operation on the tablet pc according to the prompt information. The location is a parking lot A as an example, and after the user selects the location, the terminal sends a service request to the cloud computing location server through the wireless network.
In step S606, the mobile terminal first determines whether the map data of the parking lot has been downloaded from the specific map data of the mobile terminal, if yes, step S610 is performed, otherwise, step S608 is performed.
Step S608, the cloud computing server downloads the relevant data of the parking lot to the terminal through the network, and displays the specific map of the parking lot.
Step S610, the cloud computing server periodically sends the real-time parking space information in the parking lot to the terminal, and the real-time parking space information is displayed on the user terminal in a graphic mode.
Preferably, before triggering the location service referred to in this preferred embodiment, the user may display a general map, such as: the Google map needs to display a specific place map after being triggered, namely the map for specifically displaying the parking space condition in the example, wherein the parking space information is updated in real time.
For a cloud computing server, when providing a specific location service, location information reported by location nodes scattered in various places needs to be periodically collected. As shown in fig. 5, the cloud computing server establishes a continuous network connection with the parking lot supporting the service and performs periodic information collection, that is, the parking lot detects and collects the parking space information of the parking lot in real time and reports the parking space information to the cloud computing server periodically, where the reported information includes, but is not limited to: parking space occupation information, vacant parking space information and the like.
Fig. 7 is a diagram of a specific map displayed according to a preferred embodiment of the present invention, 101 being a moving terminal (i.e., user), with abackground block 102 representing an occupied space and a background block 103 representing an unoccupied space. As can be seen from the figure, the user can see the position of the user in the specific map and also can see the real-time change situation of the vacant parking spaces displayed in the specific map, so that the vacant parking spaces can be found quickly according to the figure.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or they may be separately fabricated into various integrated circuit modules, or multiple modules or steps thereof may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.