A kind of apparatus and method being sent electronic business card by bluetooth earphone
Technical field
Information processing of the present invention and exchange field, particularly relate to a kind of by bluetooth earphone send electronic business card device and
Method.
Background technology
Business card, also known as card, is to indicate name and affiliated tissue, company's unit and the scraps of paper of contact method.People exist
Current social field exchanges information each other by the way of exchanging cards, but traditional entity business card is limited to it and sets
Meter thought itself, inevitably has some technical disadvantages, is embodied in the following aspects: first, and conventional business card is many
For papery or plastics, and do not meet the standard of modern requirements low-carbon environment-friendly;Second, increase when needing the crowd's radix exchanged visiting cards
Time to a certain extent, as in large-scale seminar, the most this traditional method is clearly inefficent, is also very simultaneously
Difficult realization;3rd, from the point of view of business card user itself, will be difficult to manage after it has a considerable amount of entity business card
Manage the most numerous associated person informations, it is easy to go out active, the phenomenon of damage business card, thus cause individual or even its place group
The benefit damage of body;4th, the mode of traditional distribution paper business card lacks a kind of operational motility, i.e. people can not
Be known a priori by social life oneself interested to as if who, can only contact one by one by the way of talk and determine the most again
The fixed personal information whether asking for the other side.
For disadvantages mentioned above, the Chinese invention patent of Publication No. CN104853023A discloses dividing of a kind of electronic business card
Forwarding method and system, the method comprises the following steps: provides terminal and transfers a electronic business card, and based on iBeacon agreement lattice
The content of described electronic business card is sent by formula;Provide any one in the Bluetooth signal range of receiving of terminal and receive terminal reception
Put the content of the electronic business card that terminal sends;The content receiving the electronic business card that end-on receives resolves, and is reduced to
Electronic business card shows on the display screen receiving terminal.Although this patent document solves four shortcomings of paper business card, but
It there is also certain technological deficiency, and such as, the data of electronic business card are relatively big, extend the reception speed of electronic business card.
Summary of the invention
The present invention proposes a kind of apparatus and method being sent electronic business card by bluetooth earphone, can either solve paper business card
Various defects, also can improve the transmission of electronic business card and receive speed.
The technical scheme is that and be achieved in that:
A kind of device being sent electronic business card by bluetooth earphone, including mobile terminal, background server and bluetooth earphone,
Described bluetooth earphone includes binding button and business card sends button, and described binding button is used for allowing described bluetooth earphone enter binding
Broadcast state, described mobile terminal receives the relevant information of described bluetooth earphone, and editing electronic card information, after packing data
Send extremely described background server to bind;Described business card sends button and is used for sending described bluetooth earphone information, described shifting
Dynamic terminal downloads corresponding electronic business card information according to the bluetooth earphone information received from described background server.
Further, described binding button and described business card send button and use same button composition.
A kind of method sending electronic business card by bluetooth earphone, comprises the following steps:
Step 1, electronic business card information and the transmission of bluetooth earphone information are entered to background server by user by mobile terminal
Row binding;
Step 2, sender user clicks on business card on described bluetooth earphone and sends button, described bluetooth earphone based on
IBeacon agreement initiates electronic business card broadcast, comprises corresponding bluetooth earphone information in broadcast data packet;
Step 3, recipient user receives broadcast data packet, extracts the bluetooth earphone information wherein comprised, sends a request to
Background server;
Step 4, corresponding electronic business card information is sent to described recipient user, shows electronics by described background server
Business card.
Further, described step 1 specifically includes following steps:
Step 101, user controls bluetooth earphone and enters binding broadcast state;
Step 102, mobile terminal receives bluetooth earphone information;
Step 103, editing electronic card information;
Step 104, sends bluetooth earphone information and electronic business card information to described background server, described background service
Bluetooth earphone and electronic business card are bound by device.
Further, broadcast data packet includes header fields, access address field, PDU data field and data check word
Section;
Described header fields uses 1 byte as the initial part of broadcast data packet;
Described access address field uses 4 bytes, is located at the rear of described header fields;
Described PDU data field uses 2-39 byte, is located at the rear of described access address field;
Described data check field uses 3 bytes, is located at the end of described broadcast data packet.
Further, described PDU data field includes that data head, MAC Address and data portion, described data head are 2 bytes,
Described MAC Address is 6 bytes, and described data portion is less than or equal to 31 bytes, and described data portion comprises bluetooth earphone information.
Further, in a step 101, press the button on bluetooth earphone with the head of a household, control bluetooth earphone and enter binding extensively
Broadcast state.
Further, described bluetooth earphone information is No. ID of bluetooth earphone.
Further, described electronic business card information includes user picture, name, unit, post, phone number, unit electricity
One or more in words, Home Telephone, mailbox, QQ, wechat, microblogging, website of organization and unit LOGO.
The beneficial effects of the present invention is: in advance electronic business card is bound with bluetooth earphone, send electronic business card at needs
Time, it is only necessary to send the relevant information of bluetooth earphone, because the data volume of bluetooth earphone is fewer than the data volume of electronic business card, pole
The earth improves transmission and the reception speed of electronic business card.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used
To obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the functional-block diagram of a kind of device being sent electronic business card by bluetooth earphone of the present invention;
Fig. 2 is the circuit theory diagrams of the control chip of bluetooth earphone in Fig. 1;
Fig. 3 is the flow chart of a kind of method being sent electronic business card by bluetooth earphone of the present invention.
In figure, 1-bluetooth earphone;2-mobile terminal;3-background server.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, the present invention proposes a kind of device being sent electronic business card by bluetooth earphone, including mobile terminal
2, background server 3 and bluetooth earphone 1, bluetooth earphone 1 includes that binding button and business card sends button, and binding button is used for allowing indigo plant
Tooth earphone 1 enters binding broadcast state, and mobile terminal 2 receives the relevant information of bluetooth earphone 1, editing electronic card information, incites somebody to action
Send to background server 3 after data packing and bind;Business card sends button and is used for sending bluetooth earphone 1 information, mobile whole
End 2 downloads corresponding electronic business card information according to bluetooth earphone 1 information received from background server 3.
Concrete, in the present embodiment, at least include two mobile terminals 2 and supporting bluetooth earphone 1 thereof.
In other embodiments, binding button and business card send button and use same button to constitute, long by this button, real
Now bind keypress function.Concrete, can set long by the time of above-mentioned button, after the such as 3-5 second so that bluetooth earphone 1 enters
Binding broadcast state.
As in figure 2 it is shown, the control chip of bluetooth earphone 1 uses NRF51822, the connection of its relevant pins is as shown in the figure.
As it is shown on figure 3, the present invention proposes a kind of method sending electronic business card by bluetooth earphone, including following step
Rapid:
Step 1, electronic business card information and the transmission of bluetooth earphone information are entered to background server by user by mobile terminal
Row binding;
Concrete, mobile terminal includes but not limited to mobile phone, notebook, panel computer, POS and vehicle-mounted computer.Mobile
It is mobile phone or panel computer or notebook the most frequently that terminal uses.
In the present embodiment, electronic business card information and bluetooth earphone information are packed by user by the APP on mobile phone
And binding, transmission to background server stores.Concrete, background server can use Cloud Server.
Step 1 specifically includes following steps:
Step 101, user controls bluetooth earphone and enters binding broadcast state;
In a step 101, press the button on bluetooth earphone with the head of a household, control bluetooth earphone and enter binding broadcast state.
Bluetooth earphone information is No. ID of bluetooth earphone.
Step 102, mobile terminal receives bluetooth earphone information;
Step 103, editing electronic card information;
Step 104, sends bluetooth earphone information and electronic business card information to background server, and background server is by bluetooth
Earphone and electronic business card are bound.
In the present embodiment, user includes sender user and recipient user, and sender user is sent out by bluetooth earphone
Sending bluetooth earphone information to recipient user, recipient user is according to the bluetooth earphone information received, from background server
Carry corresponding electronic business card information.
The role of recipient user and sender user can exchange, and the number ratio of sender user and recipient user can
Being one to one or one-to-many.
Step 2, sender user clicks on the business card on bluetooth earphone and sends button, and bluetooth earphone is based on iBeacon agreement
Initiation electronic business card is broadcasted, and comprises corresponding bluetooth earphone information in broadcast data packet;
After sender user clicks on the business card transmission button of bluetooth earphone, it is wide that bluetooth earphone just starts to send electronic business card
Broadcast, but broadcasted content is not real electronic business card information, but bluetooth earphone No. ID.Due to sender user before
Through earphone being bound together with business card by binding function, after recipient user receives No. ID of bluetooth earphone, by bluetooth ear
No. ID of machine is sent to background server, obtains corresponding card information.
Step 3, recipient user receives broadcast data packet, extracts the bluetooth earphone information wherein comprised, sends a request to
Background server;
Step 4, corresponding electronic business card information is sent to recipient user, shows electronic business card by background server.
Broadcast data packet includes header fields, access address field, PDU data field and data check field;Concrete,
Data check field uses CRC data verification.
Header fields uses 1 byte as the initial part of broadcast data packet;
Access address field uses 4 bytes, is located at the rear of header fields;
PDU data field uses 2-39 byte, is located at the rear of access address field;
Data check field uses 3 bytes, is located at the end of broadcast data packet.
PDU data field includes data head, MAC Address and data portion, and data head is 2 bytes, and MAC Address is 6 bytes, number
According to portion less than or equal to 31 bytes, data portion comprises bluetooth earphone information.
Concrete, sender user is also by mobile phone transmission GPS information to recipient user, and recipient user can root
The azimuth information between sender user and recipient user is judged, it may be judged whether need from background server according to GPS information
Carry corresponding electronic business card.
Electronic business card information includes user picture, name, unit, post, phone number, WorkPhone, Home Telephone, postal
One or more in case, QQ, wechat, microblogging, website of organization and unit LOGO.Electronic business card information is all stored to backstage
Server, recipient user can select different information to download according to demand.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.