Summary of the invention
The present invention, by with the structure organization of focus Hyperlink rank and storage yellow page information and view, provides a kind of method and system with hierarchical approaches combination yellow page information and the view based on geographic position.The present invention also provides the effective means of shared yellow page information and view.In this way, the present invention can provide to user more detailed landscape map picture and the yellow page information of its interested place (such as street, buildings, shop, restaurant or hotel etc.).
Utilize the present invention, terminal user can obtain in mutual mode more detailed classification yellow page information and view, and can share with good friend their view.The invention provides two kinds of implementations to share view and yellow page information with other people.The first implementation is based on server, and the second implementation is point-to-point (P2P).Mode based on server is easily constructed, and mode based on P2P contributes to alleviate service provider in the burden of sharing aspect yellow page information and view.When using the second way, user can upload view and yellow page information directly shared with good friend, and without passing through server.This contributes to service provider to free from heavy view collection work, and the more important thing is, for terminal user provides, customizes their map with the approach of acquisition personalized service.
In addition, hotel can provide the location-based view with communication mode to do advertisement.User can preview hotel hall and the environment of his/her interested other facilities.He/her just only need click can with hotel in attendant communicate to obtain further help, if or he/her this hotel is satisfied with, can subscribe by click.
In addition the invention provides for yellow page information and the shared effective means of view.This makes user some objectives to be alternatively discussed with his/her good friend.For example, when user intends to invite his good friend to share a supper, he/her can select restaurant and share yellow page information and view with his/her good friend, and by text message and they, this restaurant is directly discussed, and watches introduction and the view in target restaurant simultaneously.
A first aspect of the present invention provides a kind of view/Yellow Page display packing for Geographic Information System, described Geographic Information System comprises that the method comprises by the server of network interconnection and one or more client: view and the yellow page information of in server, in the mode of being mutually related, storing each place, place on map, map; Via client, in server, retrieve the map in certain region, and show result for retrieval; Via view and the yellow page information of client locality on retrieving map in server and show result for retrieval.
A second aspect of the present invention provides a kind of view/Yellow Page display packing for Geographic Information System, described Geographic Information System comprises server and one or more client, and the method comprises: view and the yellow page information of in server, in the mode of being mutually related, storing each place, place on map, map; Via client, in server, retrieve yellow page information and the view link of locality, and show result for retrieval; Based on view link, via client, in server, retrieve the view of described locality and show result for retrieval.
It is a kind of for showing the Geographic Information System of view/Yellow Page that a third aspect of the present invention provides, and comprises server and one or more client by network interconnection, wherein: client comprises: and input media, for receiving user's input; Input recognition device, for identifying the type of user's input; Such map requests generating apparatus, for generating map retrieval request when user asks retrieving map; The first locality view request generating device, generates locality view and Yellow Page retrieval request when asking to retrieve locality view as user; Subordinate's view request generating device, generates subordinate's view and Yellow Page retrieval request when asking to retrieve subordinate's view as user; Higher level's view request generating device, generates higher level's view and Yellow Page retrieval request when asking to retrieve higher level's view as user; Network interface, for sending generated retrieval request and receiving result for retrieval; Show generating apparatus, for the result for retrieval based on receiving, generate and show image; And display device, be used for showing image, wherein: input recognition device sends to respectively corresponding such map requests generating apparatus, the first locality view request generating device, subordinate's view request generating device and higher level's view request generating device by dissimilar user's input.Server comprises: network interface, for receiving input message via network; Input information identification equipment, for identifying the type of input message; Map datum repository, for store map data storehouse; View and Yellow Page database storage arrangement, for storing view and Yellow Page database; Map retrieval device, for retrieving map data base for map retrieval request and exporting result for retrieval via network interface; View and Yellow Page indexing unit, for for view and Yellow Page retrieval request to view with Yellow Page database is retrieved and via network interface output result for retrieval, wherein input information identification equipment sends to respectively corresponding map retrieval device and view and Yellow Page indexing unit by dissimilar input message.
It is a kind of for showing the Geographic Information System of view/Yellow Page that a third aspect of the present invention provides, and comprises server and one or more client by network interconnection, wherein: client comprises: and input media, for receiving user's input; Input recognition device, for identifying the type of user's input; Specific Yellow Page request generating device, generates locality Yellow Page and view chaining search request when asking to retrieve the yellow page information of locality as user; The second locality view request generating device, generates locality view retrieval request when clicking the link of locality view as user; Subordinate's view request generating device, generates subordinate's view and Yellow Page retrieval request when asking to retrieve subordinate's view as user; Higher level's view request generating device, generates higher level's view and Yellow Page retrieval request when asking to retrieve higher level's view as user; Network interface, for sending generated retrieval request and receiving result for retrieval; Show generating apparatus, for the result for retrieval based on receiving, generate and show image; And display device, be used for showing image, wherein: input recognition device sends to respectively corresponding specific Yellow Page request generating device, the second locality view request generating device, subordinate's view request generating device and higher level's view request generating device by dissimilar user's input, server comprises: network interface, for receiving input message via network; Input information identification equipment, for identifying the type of input message; Map datum repository, for store map data storehouse; View and Yellow Page database storage arrangement, for storing view and Yellow Page database; Map retrieval device, for retrieving map data base for map retrieval request and exporting result for retrieval via network interface; View and Yellow Page indexing unit, for for view and Yellow Page retrieval request to view with Yellow Page database is retrieved and via network interface output result for retrieval, wherein input information identification equipment sends to respectively corresponding map retrieval device and view and Yellow Page indexing unit by dissimilar input message.
Embodiment
Classification Yellow Page/view that Fig. 1 shows according to the embodiment of the present invention shows and shared system 10.System 10 comprises the Internet 11, Web/GIS (Geographic Information System) server 12 and terminal device 13, terminal device 13 is such as being personal computer, notebook, mobile phone, personal digital assistant etc., and it communicates with one another by wired or wireless link and communicates by letter with Web/GIS server 12.The mapping relations in map, view and yellow page information and they and geographic position are stored in the database of Web/GIS server 12.Request in response to user, the view of different stage and yellow page information can be returned by the Internet, and for example, are shown to user by embedded client (Java Applet or ActiveX control) or the separate customer end of the web browser in terminal device 13.The terminal device 13 with administration authority can upgrade map, view and the yellow page information in Web/GIS server 12.Utilize this system, user can also share view and yellow page information with its good friend, and discusses with regard to their target by text message.
Below with reference to Fig. 2, describe according to the view of the Web/GIS server of the embodiment of the present invention and Yellow Page database.View and Yellow Page database are the expansions to existing GIS map data base, for view and the yellow page information at each place, locality on classification storage map.As shown in Figure 2, in view and Yellow Page database, pa_id represents the ID of view.Pa_name represents the title of view.Longitude (longitude) and latitude (latitude) represent the position of view.Level represents the rank of view, and the level value of locality view is 0, and the level value of subordinate's view of locality view is 1, and the rest may be inferred.Parent_pa_id represents the ID of higher level's view of current view, if the rank of current view is 0, parent_pa_id is NULL.Top, left, bottom and right represent the current view position of level in view thereon, if the rank of current view is 0, top, left, bottom and right are NULL.Yp_id represents the yellow page information being associated with current view.Image_url represents the memory location of current view.Described yellow page information is such as can comprise the title, mailing address, telephone number, fax number, network address, e-mail address of view, to any information being desirable to provide to user such as the description of view, street, key construction, bus informations herein.
Below with reference to Fig. 3 A-3D and Fig. 4 A, Fig. 4 B, illustrate according to a kind of classification view/Yellow Page procedure for displaying of the embodiment of the present invention.
(a), as shown in step S401 in Fig. 4 A, user can, via client, retrieve the map in certain region in server.At step S402, from server, return to result for retrieval, and show in client, as shown in Figure 3A.
(b), at step S403, user is for example by choosing locality in map to retrieve view and the corresponding yellow page information of this locality in server.Alternatively, position and the corresponding yellow page information of all next stage views that can also simultaneously retrieve this locality view in this locality view.At step S404, from server, return to result for retrieval, and in client, show view and the yellow page information of this locality, such as street, key construction, bus information etc., as shown in Figure 3 B.
(c) if there is lower floor's view or yellow page information in current view, when mouse moves in display frame, will show the square that points to the target area with subordinate's view or yellow page information, and show corresponding yellow page information in the description region below picture, as shown in Figure 3 C.
(d) if click this square, at step S405, in server, retrieve corresponding subordinate view and corresponding yellow page information, and the position of all subordinates view of described subordinate view in described subordinate view and corresponding yellow page information, in step, S406 returns to result for retrieval from server, and in client, show downstream view and corresponding yellow page information, as shown in Figure 3 D.
(e) if user wishes to obtain higher level's view and yellow page information, can operate by the specific interactive elements on screen (for example clicking " retreating " button) and at step S407, in server, retrieve higher level's view and the corresponding yellow page information of current view, and the position of all subordinates view of higher level's view of current view in higher level's view of current view and corresponding yellow page information, in step, S408 returns to result for retrieval from server, and in client, shows higher level's view and corresponding yellow page information.
If there is a plurality of higher level's views or subordinate's view, steps d, e can repeat.
Below with reference to Fig. 4 B, describe according to the process of the client executing of the embodiment of the present invention.
This process starts from step S400.At step S401, receive user's input.At step S402, identification user input is to map, locality view, subordinate's view, or the request of higher level's view.At step S403, according to the recognition result of step S402, generate and send corresponding retrieval request.At step S404, receive result for retrieval, generate and show image.At step S405, process finishes.
The concrete operations of carrying out in step 404 according to the embodiment of the present invention are described below.At step S404, if user input is the request to the map in certain region, in the map data base of Web/GIS server, carry out map retrieval, with the pa_id of one or more localities of obtaining the map in this region and representing with the focus on map.If user's input is the request to locality view, the pa_id of this locality of usining retrieves as key word, to obtain yp_id and the image_url of this locality, the pa_id of this locality of parent_pa_id=of simultaneously usining retrieves as key word, to obtain pa_id, top, left, bottom and the right of all subordinates view of this locality view, and yp_id.If user inputs the request of Shi Dui subordinate view, the pa_id of the corresponding subordinate of the square view that points to target area of usining retrieves as key word, to obtain yp_id and the image_url of subordinate's view.If user's input is the request to higher level's view, the parent_pa_id with the current view of pa_id=retrieves, to obtain yp_id and the image_url of higher level's view.
It will be understood by those skilled in the art that description is above only exemplary, those skilled in the art it will also be appreciated that the specific implementation of multiple classification storage and retrieval.In addition, can select as required shown yellow page information.The yellow page information of the shown yellow page information Dou Shi subordinate view of Fig. 3 C and Fig. 3 D for example, but can separate demonstration.
Below with reference to Fig. 5 and Fig. 6, illustrate according to another kind of classification Yellow Page/view procedure for displaying of the embodiment of the present invention.
User can retrieve via client the yellow page information in the place of their needs in database, the yellow page information in hotel, restaurant for example, if some Yellow Page project exists corresponding view, in yellow page information, the URL link of their view will be shown to, as shown in Figure 5.Particularly, at step S601, user, via client, retrieves the yellow page information of certain locality in server.At step S602, from server, return to yellow page information, and show in client.If wherein some Yellow Page project exists corresponding view, server also will turn back to the URL of view.When user clicks the URL of view, at step S603, in server, retrieve this view and corresponding yellow page information, at step S604, from server, return to view and yellow page information, and show in client, as shown in Figure 3 C.Next, if user wishes to check subordinate or higher level's view and yellow page information, can perform step S605-S606 or S607-S608, step S605-S608 is identical with above-mentioned steps S405-S408, repeats no more here.
In the present embodiment, the process of retrieval subordinate's view and higher level's view is identical with the process in Fig. 4 B, repeats no more here.It should be noted in the discussion above that when user input is the request to the yellow page information of locality, with the name in this place of pa_name=, be referred to as yp_id and the image_url that this locality retrieved to obtain in key word.Alternatively, can be after obtaining the parent_id of this locality, can as key word, retrieve to obtain near the map this locality with this pa_id.When user clicks image_url, can using this image_url retrieves as key word, to obtain pa_id, yp_id and the image_url of this locality, the pa_id of this locality of parent_pa_id=of simultaneously usining retrieves as key word, to obtain pa_id, top, left, bottom and the right of all subordinates view of this locality view, and yp_id.
It should be noted that above-described database structure and retrieving are only to realize exemplary approach of the present invention.It will be understood by those skilled in the art that and can realize in many ways database structure of the present invention and retrieving, as long as geographic position, view, yellow page information, upper and lower level view can be associated.
Below with reference to Fig. 7-9, describe according to the Yellow Page of the embodiment of the present invention and view shared procedure.User can select to share his/her current yellow page information and view with his/her good friend, and his/her good friend will see the identical information of information of seeing with him/her, and they can discuss objective by transferring text, as shown in Figure 7.But, only have and initiate the browse state that user can control yellow page information and view.
Can make to realize in two ways this function.
(a) mode based on Web/GIS server
Fig. 8 shows in the mode based on Web/GIS server and realizes Yellow Page and the shared process of view.The friend information that comprises friend state is stored in Web/GIS server.User can be via Web/GIS server, or indication Web/GIS server sends view, yellow page information and discussion message to all good friends.
At step S801-S808, client 1 is set up and being connected of client 2 via Web/GIS server.At step S809-S810, client 1 sends view to client 2.At step S811-S812, client 1 sends message is discussed to client 2.At step S813-S814, client 2 sends message is discussed to client 1.At step S815-S816, client 1 is to Web/GIS server request view and/or yellow page information, and can in request, specify view and/or yellow page information are sent to client 2.Web/GIS server sends to respectively client 1 and client 2 by asked view and/or yellow page information.At step S817-S820, discharge being connected between client 1 and client 2.
(b) mode based on P2P
Fig. 9 shows in the mode based on P2P and realizes Yellow Page and the shared process of view.The friend information that comprises friend state, IP address etc. is stored in Web/GIS server.Client obtains online buddy list from Web/GIS server, and when user selects to share view and corresponding yellow page information, view and corresponding yellow page information are sent directly to all online good friends.All discussion message is all directly transmitted with P2P pattern.
At step S901-S905, client 1 is set up being connected based on P2P with client 2.At step S906-S907, client 1 sends view and message is discussed to client 2.At step S908, client 2 sends discusses message to client 1.At step S909-S911, client 1 is from Web/GIS server request view, and the view obtaining is sent to client 2.At step S914-S915, discharge being connected between client 1 and client 2.
When adopt based on P2P mode time, user can also upload view and corresponding yellow page information and share with his/her good friend.When user selects to share, the view that user uploads and corresponding yellow page information are sent directly to all online good friends.All discussion message is all directly transmitted with P2P pattern.As shown in step S912-S913, user uploads view and yellow page information, and from client 1, sends to client 2 via P2P link.
Below with reference to Figure 10 describe carry out said process according to the client device of the embodiment of the present invention.This client device can be realized realizing such as computing equipments such as personal computers according to the software of the method for the embodiment of the present invention with operation.
As shown in figure 10, client 100 comprises: input media 1001, input recognition device 1002, such map requests generating apparatus 1003a, the first locality view request generating device 1003b, the view request generating device 1003c of subordinate, higher level's view request generating device 1003d, specific Yellow Page request generating device 1003e, the second locality view request generating device 1003f, good friend's connection management device 1003g, good friend's interactive device 1003h, view is uploaded and sharing means 1003i, data update apparatus 1003j, network interface 1004, show generating apparatus 1005, and display device 1006.
Input media 1001 can be used the realizations such as mouse, keyboard, touch-screen, for receiving user's input.Network interface 1004 for example can be, for transmit the input/output interface of information, Ethernet interface, blue tooth interface etc. via the various communication networks such as cable network, wireless network.Display device 1006 can be any display part that can show image, as CRT, liquid crystal display etc.Input recognition device 1002, such map requests generating apparatus 1003a, the first locality view request generating device 1003b, the view request generating device 1003c of subordinate, higher level's view request generating device 1003d, specific Yellow Page request generating device 1003e, the second locality view request generating device 1003f, good friend's connection management device 1003g, good friend's interactive device 1003h, view is uploaded and sharing means 1003i, database update device 1003j, demonstration generating apparatus 1005 all can be realized by the calculation element of operation executable program.
Client 100 can be carried out as above with reference to the process shown in figure 4A, 6,8,9.
When the process shown in execution graph 4A, input media 1001 receives user's input, the 1002 identification user inputs of input recognition device are to map, locality view, subordinate's view, or the request of higher level's view, to indicate one of corresponding such map requests generating apparatus 1003a, the first locality view request generating device 1003b, the view request generating device 1003c of subordinate, higher level's view request generating device 1003d to generate corresponding retrieval request, this retrieval request mails to Web/GIS server via network interface 1005.Network interface 1004 receives the result for retrieval returning from Web/GIS server, shows that generating apparatus 1005 shows image based on result for retrieval in display device 1006.
When the process shown in execution graph 6, input media 1001 receives user's input, the 1002 identification user inputs of input recognition device are URL view, the subordinate's views pointed to comprising in specific Yellow Page, Yellow Page, or the request of higher level's view, to indicate one of corresponding specific Yellow Page request generating device 1003e, the second locality view request generating device 1003f, the view request generating device 1003c of subordinate, higher level's view request generating device 1003d to generate corresponding retrieval request, this retrieval request mails to Web/GIS server via network interface 1005.Network interface 1004 receives the result for retrieval returning from Web/GIS server, shows that generating apparatus 1005 shows image based on result for retrieval in display device 1006.
When the process shown in execution graph 8 and Fig. 9, input media 1001 receives user's input, the 1002 identification user inputs of input recognition device are to the request of setting up or release good friend connects, , to sending the request that message or view are discussed, or to uploading the request of view, so that indication good friend connection management device 1003g sets up via network interface 1004 or the corresponding connection based on server or P2P of release, or the mutual 1003h device of indication good friend sends message or view 1004 is discussed via network interface 1004 based on server or P2P, or indication view is uploaded with sharing means 1003i and is received the view of uploading and via network interface 1004, send it to good friend's client based on server or P2P.The discussion message that network interface 1004 receives from server or good friend's client, shows that generating apparatus 1005 shows the discussion message receiving in display device 1006.
In addition, the user with the client 13 of management claim can input oneself map, view and yellow page information, and carrys out more new database by database update device 1003j.
Below with reference to Figure 11, describe according to the Web/GIS server 110 of the embodiment of the present invention.Web/GIS server 110 comprises network interface 1101, input information identification equipment 1102, map retrieval device 1103a, view and Yellow Page indexing unit 1103b, buddy list indexing unit 1103c, map datum repository 1104a, view and Yellow Page database storage arrangement 1104b, buddy list database 1104c, map updating device 1105a, view and Yellow Page updating device 1105b, connection management device 1106, and retransmission unit 1107.Network interface 1101 can be for transmit the input/output interface of information via the various communication networks such as cable network, wireless network.Input information identification equipment 1102, map retrieval device 1103a, view and Yellow Page indexing unit 1103b, buddy list indexing unit 1103c, map datum repository 1104a, view and Yellow Page database storage arrangement 1104b, buddy list database 1104c, connection management device 1105, and retransmission unit 1106 can be realized by the calculation element of operation executable program.
In operation, network interface 1101 receives the input message of automatic network, input information identification equipment identification input message is the retrieval request to map data base, retrieval request to view and Yellow Page database, retrieval request to buddy list database, update request to map data base, update request to view and Yellow Page database, the request connecting setting up good friend, or to forwarding the request of view and yellow page information, thereby indication map retrieval device 1103a retrieving map database 1104a is also dealt into intended receiver via network interface 1101 by result for retrieval, indication view and Yellow Page indexing unit 1103b retrieval view and Yellow Page database 1104b also send to intended receiver via network interface 1101 by result for retrieval, indication buddy list indexing unit 1103c retrieval buddy list database 1104c also sends to intended receiver via network interface 1101 by result for retrieval, indication map updating device 1105a upgrades map data base with the user data receiving, indication view and Yellow Page updating device 1105b come more new landscape and Yellow Page database with the user data receiving, indication connection management device 1105 is set up good friend and is connected, or indication retransmission unit 1106 is forwarded to intended receiver by the view of reception and yellow page information via network interface 1101.
The present invention has below been described in conjunction with specific embodiments.But it will be appreciated by those skilled in the art that above description is only exemplary and nonrestrictive.Scope of the present invention is only limited by appended claims, and intention contains to fall all modifications, replacement and modification within the scope of the present invention.