Embodiment
The condition of obtaining of the on-site event location information of event that in an embodiment of the present invention, first cloud server reception first terminal equipment sends and the event location information of obtaining of first terminal equipment setting; Then cloud server is stored event location information and is obtained condition; When cloud server receive the event location information of obtaining that the second terminal equipment sends obtain request time, cloud server judgement is obtained request and whether is met the condition of obtaining, if meet, event location information is sent to the second terminal equipment, if do not meet, refuse the request of obtaining of the second terminal equipment.
For the ease of understanding embodiments of the invention, first following technical term is made an explanation below:
Event can be expressed as: any one in the event of having a dinner party, party event, tourism event, meeting event, when representations of events is had a dinner party event, the on-site event location information of the event on-site positional information that represents to have a dinner party, such as the place title of having a dinner party, number etc.; When representations of events party event, the on-site event location information of event represents that ashram is in the positional information on ground, such as ashram in the title in building, number etc.; When representations of events tourism event, the on-site event location information of event represent the to travel positional information of destination, the title in city for example, the title at scenic spot etc.; When representations of events meeting event, the on-site event location information of event represents the positional information of meeting host city, such as the title in building, place, meeting host city, street name, number etc., what certainly can understand is, event also can represent other types in the present embodiment, and does not limit above-mentioned four kinds of situations.
The the first/the second terminal equipment can comprise: memory, storage control, one or more processing unit, Peripheral Interface, RF circuit, voicefrequency circuit, loud speaker, microphone, input/output subsystem, touch-screen, other outputs or control appliance, and outside port.These assemblies communicate by one or more communication bus or holding wire.The the first/the second terminal equipment can be any portable electric appts, includes but not limited to Hand Personal Computer, panel computer, mobile phone, media player, navigator, personal digital assistant etc.
In order to make object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the embodiment of the present invention is described in detail.At this, illustrative examples of the present invention and explanation are used for explaining the present invention, but not as a limitation of the invention.
<embodiment mono->
As shown in Figure 1, be the method flow diagram of cloud server sharing position information in embodiments of the invention, concrete steps are as follows:
Step 101, cloud server receive the on-site event location information of event that first terminal equipment sends;
When user corresponding to first terminal equipment wishes to issue the on-site positional information of event by cloud server, can adopt following two kinds of modes to process the on-site event location information of event:
Mode one, in the on-site positional information of first terminal equipment editor event, then first terminal equipment is sent to the on-site positional information of event on cloud server by note, mail or other forms, by cloud server, issues.
Mode two, user directly log in cloud server by first terminal equipment, and the on-site positional information of editor's event on server, then issues by cloud server beyond the clouds.
Step 102, cloud server receive the condition of obtaining of the event location information of obtaining of first terminal equipment setting;
In an embodiment of the present invention, this obtains condition for judging whether other users have this event location information of authority acquiring, if meet the condition of obtaining, allow other users to obtain this event location information, if do not met, refuse other users' the request of obtaining, for example this obtains condition and can comprise the default password that obtains, and this obtains condition also can comprise good friend's relation.
Step 103, cloud server are stored event location information and obtain condition;
In another embodiment of the present invention, cloud server is in storage event location information with before obtaining condition, can carry out authentication to first terminal equipment, judge whether this first terminal equipment has authority by event location information and obtain condition and be stored on cloud server, if, storage, if not, refusal is stored event location information and is obtained condition.
Step 104, cloud server receive the request of obtaining of the event location information of obtaining of the second terminal equipment transmission;
After execution step 104, in another embodiment of the present invention, this cloud server carries out authentication to the second terminal equipment, judges whether the second terminal equipment has authority to send and obtain request to cloud server, if so, continues execution step 105; Otherwise, directly refuse the request of obtaining of the second terminal equipment.
Step 105, cloud server judgement are obtained request and whether are met the condition of obtaining, if meet, perform step 106, if do not meet, refuse the request of obtaining of the second terminal equipment;
(1), when the condition of obtaining is related to for good friend, the step whether the cloud server judgement request of obtaining meets the condition of obtaining is:
Whether good friend's relation of the user that the second terminal equipment that obtaining of judging that the second terminal equipment sends carried in request is corresponding meets the good friend's relation in condition of obtaining.
For example: when user corresponding to the first terminal equipment user corresponding with the second terminal equipment is that good friend is when be related to, good friend's relation of the user that the second terminal equipment that obtaining of can thinking that the second terminal equipment sends carried in request is corresponding is consistent with good friend's relation of obtaining in condition, or when the user user corresponding with the second terminal equipment corresponding to first terminal equipment has at least one identical other user, also good friend's relation of the user that the second terminal equipment that obtaining of can thinking that the second terminal equipment sends carried in request is corresponding is consistent with good friend's relation of obtaining in condition,
(2), when the condition of obtaining is when obtaining password, the step whether the cloud server judgement request of obtaining meets the condition of obtaining is:
Whether obtaining of judging that the second terminal equipment sends to obtain password consistent if being preset in obtaining password and obtaining condition of carrying in request.
Step 106, event location information is sent to the second terminal equipment;
Step 107, cloud server obtain the on-site terminal equipment positional information of the second terminal equipment;
In an embodiment of the present invention, the second terminal equipment can initiatively send to cloud server by terminal equipment positional information in place, and also server transmission is obtained after position requests beyond the clouds, then sends terminal equipment positional information in place to cloud server.
Step 108, cloud server, according to event location information and terminal equipment positional information, generate the guidance path between event location and the second terminal equipment location, and guidance path are sent to the second terminal equipment.
In an embodiment of the present invention, this event location information and terminal equipment positional information can adopt longitude and latitude to represent.
In an embodiment of the present invention, this guidance path can be divided into the forms such as self-driving guidance path, public transport guidance path, walking navigation path, wherein in public transport guidance path, can divide according to changing number of times into again.
For fear of terminal equipment, maliciously access cloud server, affect the disposal ability of cloud server, in another embodiment of the present invention, the method also comprises: cloud server is after the access request receiving from first terminal equipment or the second terminal equipment, first terminal equipment or the second terminal equipment are carried out to authentication, after authentication is passed through, cloud server allows corresponding first terminal equipment or the access of the second terminal equipment.For example cloud server only allows the terminal equipment access of registration.
As shown from the above technical solution, first terminal equipment beyond the clouds on server issue get together, have a dinner party, the event location information of the event such as meeting, and the condition of obtaining of event location information is obtained in setting, other-end equipment can directly be logined cloud server, views this event location information, further, can be according to the positional information of other-end equipment and event location information, directly generate navigation way, can be convenient to share the on-site positional information of event between user, improve user and experience.
<embodiment bis->
As shown in Figure 2, be the system construction drawing of cloud server sharing position information in embodiments of the invention, the system of this cloud server sharing position information comprises: first terminal equipment 201, the second terminal equipment 202 and cloud server 203, wherein
First terminal equipment 201, for the on-site event location information of event to cloud server 203 transmissions and the condition of obtaining of obtaining described event location information of setting;
The second terminal equipment 202, for sending the request of obtaining of obtaining event location information to cloud server 203;
Cloud server 203, for receiving and store event location information and obtaining condition, when receive that the second terminal equipment 202 sends obtain described event location information obtain request time, described in whether the request of obtaining described in judgement meets, obtain condition, if meet, event location information is sent to the second terminal equipment 202, if do not meet, refuse the request of obtaining of described the second terminal equipment 202.
<embodiment tri->
Referring to Fig. 3, be the structural representation of cloud server in embodiments of the invention, this cloud server comprises:
Receiver module 31, for receiving the on-site event location information of event of first terminal equipment transmission and the condition of obtaining of obtaining described event location information of described first terminal equipment setting; And the request of obtaining of obtaining described event location information that receives the second terminal equipment transmission
Memory module 32, for storing described event location information and obtaining condition;
Judge module 33, obtains condition described in whether meeting for the request of obtaining described in judging, if meet, described event location information is sent to described the second terminal equipment, if do not meet, refuses the request of obtaining of described the second terminal equipment.
In another embodiment of the present invention, also comprise:
Navigation module, for according to described event location information and described terminal equipment positional information, generates the guidance path between described event location and described the second terminal equipment location, and described guidance path is sent to described the second terminal equipment.
In another embodiment of the present invention, also comprise:
Authentication module, for to carrying out authentication from the access request of described first terminal equipment or described the second terminal equipment, after authentication is passed through, allows corresponding described first terminal equipment or described the second terminal equipment access.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.