Based on the electronic name card exchange method of mobile terminal
Technical field
The present invention relates to electronic business card technical field, particularly a kind of electronic name card exchange method based on mobile terminal.
Background technology
Communication society, business card is a kind of important way as sell oneself, and in daily life, people carry out call contact method frequently by granting business card.But traditional business card is all paper business card, and this paper business card is not only easily lost, and be not easy to management, when the contact method of a urgent need people, often will take a long time the business card ransackd in cards folder.
Although now there is electronic business card socially, but existing electronic business card just carries out simple information transmission by bluetooth or infrared wireless technology, such as application number is: 201010185290.3, name is called: the patent of cell-phone visiting card, it discloses and by bluetooth, electronic business card is spread out of mutually, because the coverage of bluetooth recognition has about 10 meters, in public, if all adopt this scheme, mobile phone searching will be caused to arrive a lot of bluetooth equipment, it is which that user cannot understand the other side's bluetooth equipment, fail safe is low, and those electronic business cards are just simply stored in mobile phone after transport, the reasonable management of business card cannot be accomplished.
In addition, existing also employing wireless network transmissions card information, comprise by multimedia message, mail or other network communication tools, but these technical schemes all only resting on Long-range Data Transmission, is not that the electronic business card on real practical significance exchanges, because, business card exchanges a kind of mode as traditional human communication, and its condition will meet closely, mutually submits, such could while exchange message, promote the perceptual knowledge between interchanger.
Summary of the invention
The object of this invention is to provide a kind of electronic name card exchange method based on mobile terminal, can ensure electronic business card closely, high accuracy exchange.
The present invention adopts following scheme to realize: a kind of electronic name card exchange method based on mobile terminal, it is characterized in that comprising the following steps:
Step S01: provide a server, in order to store the electronic business card information that user uploads;
Step S02: user when electronic name card exchanging, described mobile terminal according to a triggering command to described server request match objects;
Step S03: electronic business card information corresponding for described mobile terminal is sent to the object that the match is successful according to matching result by server; Meanwhile, electronic business card information corresponding for described object is sent to described mobile terminal by described server;
The described condition that the match is successful comprises: described triggering command is the latitude and longitude information in section internal trigger at one time and the geographical position residing for the mobile terminal of electronic name card exchanging, according to an algorithm, calculate current exchange distance controlling within 1-50 rice.
In an embodiment of the present invention, the described same time period refers to that time error is in 0-10S.
In an embodiment of the present invention, described algorithm prediction equation is as follows:
radLat1 = lat1*π/180.0
radLat2 = lat2*π/180.0
a = radLat1 - radLat2
b = (lng1-lng2)*π/180.0
Wherein lat1, lng1 are the longitude and latitude of a, and lat2, lng2 are the longitude and latitude of b;
Then the distance of a, b point-to-point transmission is:
。
In an embodiment of the present invention, the formation of described triggering command comprises and rocks mobile terminal or upward sliding electronic business card or press a touch key-press or mechanical key.
In an embodiment of the present invention, when using described upward sliding electronic business card, the described condition that the match is successful also comprises: the straight line deepening direction, mobile terminal paddling direction of exchanging visiting cards is in opposite directions, and angle is less than or equal to 90 degree.
In an embodiment of the present invention, the electronic business card information that in described step S01, user uploads comprises electronic business card picture, VCard format text information, user's head portrait picture or combination in any.
In an embodiment of the present invention, the electronic business card information that in described step S01, user uploads is formed by the mobile terminal collection of user, and this acquisition mode comprises artificial establishment, utilize the camera of mobile terminal that ready-made business card scan is become picture and be identified as text message or local electronic business card uploads acquisition.
In an embodiment of the present invention, described artificial establishment comprise on mobile terminals according to one electronic business card template completion text message generate.
In an embodiment of the present invention, described server adopts cloud, possesses, data backup synchronous with described mobile terminal data and data recovery function.
In an embodiment of the present invention, described mobile terminal possesses described electronic business card information batch and imports and export function.
Along with the high speed development of mobile Internet, mobile office, Mobile business become more and more general, method of the present invention will be overturned current paper business card and be carried inconvenience, the easily shortcoming such as loss and the wasting of resources, as long as a mobile terminal (mobile phone), just can realize closely electronic business card high accuracy to exchange and electronic business card management, carry out the commercial activity etc. of individual or enterprise personnel more easily.
Accompanying drawing explanation
Fig. 1 is schematic flow sheet of the present invention.
Fig. 2 is algorithm pictorial diagram of the present invention.
Fig. 3,4 and 5 is mobile phone paddling direction of the present invention schematic diagrames.
Embodiment
Below in conjunction with drawings and Examples, the present invention will be further described.
As shown in Figure 1, the present embodiment provides a kind of electronic name card exchange method based on mobile terminal, it is characterized in that comprising the following steps: step S01: provide a server, in order to store the electronic business card information that user uploads; Step S02: user when electronic name card exchanging, described mobile terminal according to a triggering command to described server request match objects; Step S03: electronic business card information corresponding for described mobile terminal is sent to the object that the match is successful according to matching result by server, meanwhile, electronic business card information corresponding for described object is sent to described mobile terminal by described server; The present invention is applicable to double or many people electronic business card and exchanges alternately.
Preferably, mobile terminal described in the present embodiment is a mobile phone, exchange Distance geometry alternately ensure the accuracy that exchanges alternately of electronic business card to reduce electronic business card, in the present embodiment, the described condition that the match is successful comprises: described triggering command is section internal trigger at one time.The formation of this triggering command comprises rocks mobile phone, upward sliding electronic business card, presses a touch key-press or mechanical key etc.This time period can be time error in 0-10S, can be preferably be less than or equal to 5S.
As shown in Fig. 3,4 and 5, in the present invention one implements, when using described upward sliding electronic business card, the described also condition that the match is successful comprises: the straight line deepening direction, mobile terminal paddling direction of exchanging visiting cards is in opposite directions, and angle is less than 90 degree.The judgement of this paddling direction and angle is determined according to departing from positive northern angle algorithm clockwise, and it can rely on mobile terminal to call compass API and realize.
It is worth mentioning that, the present embodiment, after server matches is more than a scheduled time, can carry out garbage reclamation, namely destroys out-of-date information of exchanging visiting cards alternately group.That is, to exceed setting mutual swap time, cannot successfully exchange alternately.In addition, the described condition that the match is successful also comprises: the latitude and longitude information in the geographical position residing for the mobile terminal of electronic name card exchanging, according to an algorithm, calculate current interaction distance whether little grade one preset distance, due on individuality, the latitude and longitude information in the geographical position residing for each mobile terminal has certain error, in the present embodiment, this preset distance can be within 1-50 rice, preferably, be≤5 meters.
Suppose that the earth is a circular spheroid, as shown in Figure 2, calculate the spherical distance of A to B, first will obtain the angle of A with B, i.e. angle AOB, asks angle AOB first can ask the length of the maximum limit AB of AOB.Again can in the hope of angle according to cosine law.AB is in triangle AQB, and the length of AQ can calculate according to the difference of the latitude of AB.BQ is in triangle BPQ, BP and PQ can ask, and angle BPQ can obtain according to both longitudes, and the length of such BQ also can be obtained, so the length of AB can be obtained.Because triangle ABQ is right-angled triangle, two limits are obtained.After being aware of angle AOB, the arc length of AB can be in the hope of.Its formula of such release is as follows:
radLat1 = lat1*π/180.0
radLat2 = lat2*π/180.0
a = radLat1 - radLat2
b = (lng1-lng2)*π/180.0
Wherein lat1, lng1 are the longitude and latitude of a, and lat2, lng2 are the longitude and latitude of b;
Then the distance of a, b point-to-point transmission is:
。
Like this by the combination of above-mentioned three kinds of matching conditions or all can ensure that electronic business card exchanges accurately and realize in-plant accuracy, can use in public, overcome the unascertainable problem of tional identification object.
In addition, also need to emphasize, in the present invention one implements, the electronic business card information that in described step S01, user uploads can be formed by the mobile terminal collection of user, and this acquisition mode comprises artificial establishment, utilize the camera of mobile terminal that ready-made paper business card is scanned into picture and be identified as text message or local electronic business card uploads acquisition.Described artificial establishment comprise on mobile terminals according to one electronic business card template completion text message generate.Described scanned business card can adopt single-sweep and duplex scanning, and provides one or four arm of angle frames as scanning boundary, can ensure the definition of scanned photograph like this, conveniently be identified as electronic business card text message.It can be mobile phone is connected computer or upload to mobile phone by other wireless modes from another terminal that described local electronic business card is uploaded.Be noted that this card information comprises the combination in any of VCard, business card picture, head portrait or above-mentioned three.Preferably, this electronic business card information is by electronic business card picture (positive and negative), VCard format text information+user's head portrait picture.User can arrange multiple card information, and namely a people can have multiple electronic business cards, when sending electronic business card, can set select corresponding electronic business card information according to user.
Receive the electronic business card of the other side at mobile phone after, this mobile phone can automatically or according to artificial selection by the address list of electronic business card information according to the telephone number auto-associating mobile phone in information, namely user is being searched by address list, or when electronic business card is searched, energy auto-associating phone number, realizes phone and searches and dial.Described mobile phone also possesses described electronic business card information batch and imports and export function.Such user, can by the transfer of this functional realiey one key when changing mobile terminal.In order to allow method of the present invention hommization more, system is safer, stable, and described server adopts cloud, possesses, data backup synchronous with described mobile terminal data and data recovery function.That is, when the business card data in mobile terminal is lost by user because of carelessness, user can sign in server and carry out datum recover, thoroughly solves the problem that user mobile phone is lost, realizes user's visiting card data and never lose.
The foregoing is only preferred embodiment of the present invention, all equalizations done according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.