The electronic business card switching method of movement-based terminal
Technical field
The present invention relates to the electronic business card technical field, particularly a kind of electronic business card switching method of movement-based terminal.
Background technology
Communication society, business card is a kind of important way as sell oneself, in daily life, people are often called contact method by providing business card.But traditional business card is all the papery business card, this papery business card is not only easily lost, and is not easy to management, when being badly in need of a people's contact method, often will take a long time the business card of ransacing in cards folder.
Although electronic business card now occurred socially, but existing electronic business card just carries out simple communication by bluetooth or infrared radio technology, for example application number is: 201010185290.3, name is called: the patent of cell-phone visiting card, it discloses by bluetooth electronic business card has been spread out of mutually, because the coverage of bluetooth recognition has 10 meters left and right, in public, if all adopt this scheme, to cause mobile phone searching to arrive a lot of bluetooth equipments, it is which that the user can't understand the other side's bluetooth equipment, fail safe is low, and those electronic business cards are in transmission just simply is stored in mobile phone afterwards, can't accomplish the reasonable management of business card.
In addition, the existing wireless network transmissions card information that also adopts, comprise by multimedia message, mail or other network communication tools, but these technical schemes all only resting on Long-range Data Transmission, is not the electronic business card exchange on real practical significance, because, business card exchanges a kind of mode as traditional human communication, and its condition is, in will meeting closely, mutually to submit, could, in exchange message, promote the perceptual knowledge between interchanger like this.
Summary of the invention
The electronic business card switching method that the purpose of this invention is to provide a kind of movement-based terminal, can guarantee electronic business card closely, high accuracy exchange.
The present invention adopts following scheme to realize: a kind of electronic business card switching method of movement-based terminal is characterized in that comprising the following steps:
Step S01: provide a server, the electronic business card information of uploading in order to store the user;
Step S02: the user when electronic name card exchanging, described mobile terminal according to a triggering command to described server request match objects;
Step S03: according to matching result, the electronic business card information that described mobile terminal is corresponding sends to the object that the match is successful to server; Simultaneously, the electronic business card information that described server is corresponding by described object sends to described mobile terminal;
The described condition that the match is successful comprises: described triggering command be section internal trigger at one time and according to the latitude and longitude information in the residing geographical position of mobile terminal of electronic name card exchanging, according to an algorithm, calculate current exchange distance and be controlled in 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
Lat1 wherein, the longitude and latitude that lng1 is a, lat2, the longitude and latitude that lng2 is b;
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 mobile terminal paddling direction straight line deepening 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, the user uploads is to comprise 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, the user uploads is that the mobile terminal collection by the user forms, and this acquisition mode comprises artificial establishment, utilize the camera of mobile terminal that ready-made business card scan is become to picture and be identified as text message or local electronic business card is uploaded acquisition.
In an embodiment of the present invention, described artificial establishment is included on mobile terminal and generates according to an electronic business card template completion text message.
In an embodiment of the present invention, described server adopts cloud, possess with described mobile terminal data synchronize, data backup and data recovery function.
In an embodiment of the present invention, described mobile terminal possesses described electronic business card information and imports in batches and export function.
High speed development along with mobile Internet, mobile office, Mobile business become more and more general, method of the present invention will be overturned current papery business card and be carried inconvenience, easily loses and the shortcoming such as the wasting of resources, an as long as mobile terminal (mobile phone), just can realize closely electronic business card high accuracy exchange and electronic business card management, carry out more easily the commercial activity of individual or enterprise personnel etc.
The 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 schematic diagrames of the present invention.
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 business card switching method of movement-based terminal, it is characterized in that comprising the following steps: step S01: provide a server, the electronic business card information of uploading in order to store the user; Step S02: the user when electronic name card exchanging, described mobile terminal according to a triggering command to described server request match objects; Step S03: according to matching result, the electronic business card information that described mobile terminal is corresponding sends to the object that the match is successful to server, and simultaneously, the electronic business card information that described server is corresponding by described object sends to described mobile terminal; The present invention is applicable to double or many people electronic business card and exchanges alternately.
Preferably, the described mobile terminal of the present embodiment is a mobile phone, the accuracy that exchanges alternately distance and guarantee the mutual exchange of electronic business card in order to dwindle 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 to 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 mobile terminal paddling direction straight line deepening 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 definite according to departing from clockwise positive northern angle algorithm, and it can rely on mobile terminal to call compass API and realize.
It is worth mentioning that, the present embodiment, after the server coupling surpasses a scheduled time, can carry out garbage reclamation, the out-of-date information of exchanging visiting cards alternately group is destroyed.That is to say, over what set, can't successfully exchange alternately mutual swap time.In addition, the described condition that the match is successful also comprises: according to the latitude and longitude information in the residing geographical position of mobile terminal of electronic name card exchanging, according to an algorithm, calculate whether little one preset distance such as grade of current interaction distance, on individuality, the latitude and longitude information in each residing geographical position of mobile terminal has certain error, in the present embodiment, this preset distance can be in 1-50 rice, preferably, is≤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, angle AOB,Qiu angle AOB can first ask the length of the maximum limit AB of AOB.Again can be in the hope of angle according to cosine law.AB is in triangle AQB, and the length of AQ can be calculated according to the difference of the latitude of AB.BQ is in triangle BPQ, and BP and PQ can ask, and angle BPQ can obtain according to both longitudes, and the length of BQ also can be obtained like this, so the length of AB can be obtained.Because triangle ABQ is right-angled triangle, two limits have been obtained.After having known angle AOB, the arc length of AB can in the hope of.Release like this its formula as follows:
radLat1?=?lat1*π/180.0
radLat2?=?lat2*π/180.0
a?=?radLat1?-?radLat2
b?=?(lng1-lng2)*π/180.0
Lat1 wherein, the longitude and latitude that lng1 is a, lat2, the longitude and latitude that lng2 is b;
The distance of a, b point-to-point transmission is:
By the combination of above-mentioned three kinds of matching conditions or all can guarantee accurately that electronic business card exchange realizes in-plant accuracy, can use in public like this, 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, the user uploads can be formed by user's mobile terminal collection, and this acquisition mode comprises artificial establishment, utilize the camera of mobile terminal that ready-made papery business card scan is become to picture and be identified as text message or local electronic business card is uploaded acquisition.Described artificial establishment is included on mobile terminal and generates according to an electronic business card template completion text message.Described scanned business card can adopt single-sweep and duplex scanning, and provides one or four arm of angle frames as scanning boundary, can guarantee like this definition of scanned photograph, conveniently is identified as the electronic business card text message.It can be that mobile phone is connected to computer or uploads 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 VCard, business card picture, head portrait or above-mentioned three s' combination in any.Preferably, this electronic business card information is by electronic business card picture (positive and negative), VCard format text information+user's head portrait picture.The user can arrange a plurality of card informations, and a people can have multiple electronic business cards, when sending electronic business card, can set the corresponding electronic business card information of selecting according to the user.
Receive the other side's electronic business card at mobile phone after, this mobile phone can be automatically or according to artificial selection by electronic business card information the address list according to the telephone number auto-associating mobile phone in information, be that the user is searching by address list, when perhaps electronic business card is searched, can auto-associating phone number, realize that phone searches and dial.Described mobile phone also possesses described electronic business card information and imports in batches and export function.The user, when changing mobile terminal, can realize that a key shifts by this function like this.In order to allow method of the present invention hommization more, system is safer, stable, and described server adopts cloud, possess with described mobile terminal data synchronize, data backup and data recovery function.That is, when the user loses the business card data in mobile terminal because of carelessness, the user can sign in to server and carry out datum recover, thoroughly solves the problem that user mobile phone is lost, and realizes that user's visiting card data never loses.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing 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.