Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, it can also realize the application technical solution claimed.
The first embodiment of the present invention is related to a kind of communication means of intelligent module, the core of present embodiment is,
Authentication information built in intelligent module;Communication means includes:Using authentication information, foundation and smart machine
Short-range communication communication connection so that intelligent module can be attached by borrowing identity information with smart machine;
By the communication connection established, data to be transmitted is sent to smart machine, passes through remote transmission mode for smart machine
Forwarding, in this way in the case where not carrying telecommunication equipment, carries out telecommunication so that user by other people smart machine
Can the equipment that can be transmitted at a distance not at one's side when, by the intelligent module of short range transmission can only be carried out
To complete telecommunication, and for intelligent module is compared to the equipment that can be transmitted at a distance, user's carrying of being more convenient for.
The realization details of the communication means of the intelligent module of present embodiment is specifically described below, the following contents
Only for convenience of the realization details provided is understood, realize that details not implements the necessary of this programme.
The communication means of the intelligent module of present embodiment, particular flow sheet are as shown in Figure 1:
Step 101, using the authentication information of intelligent module, the communication link with the short-range communication of smart machine is established
It connects.
Specifically, using identity information built-in in intelligent module, the communication connection of short distance is established with smart machine,
The equipment that smart machine can have telecommunication function for other people mobile phone, tablet computer etc. is established close with smart machine
The communication connection of distance can be established by establishing the direct-connected mode of bluetooth connection, wifi, and concrete implementation scene can lift
Example explanation:For example (intelligent module simple in structure, only has proximity communication module, does not have long distance the intelligent earphone of user A
From communication module) be bundled with user A mobile phone account, in user A only band intelligent earphone, the case where without carrying mobile phone
Under, established using the mobile phone of the peripherad user B of mobile phone account in intelligent earphone it is direct-connected, direct-connected mode be short distance bluetooth
Connection, the function of communication is realized using the mobile phone (mobile phone account of user A) of user B.
In addition, intelligent module is in the step of establishing the communication connection with the short-range communication of smart machine, intelligent module
Communication can be sent out and borrow request, it may include authentication information (such as mobile phone account of user A) that communication, which borrows in request,
It can also include borrowing request type of request, such as request communication function, function of surfing the Net etc. that communication, which borrows in request, intelligently set
It is standby after receiving communication and borrowing request, if agreeing to establish the communication connection of short-range communication with intelligent module, to intelligence
Module sends feedback information, and when intelligent module receives the feedback of the borrow from smart machine, intelligent module is receiving
When being fed back from the borrow of smart machine, the communication connection with the short-range communication of smart machine is established, wherein borrowing feedback includes
The information of the interface channels such as the channel address, such as the Bluetooth address of smart machine, wifi passwords that smart machine provides, in addition,
Smart machine can verify authentication letter when verification communicates the authentication information in borrowing request by predetermined server
It ceases, can be the server of communication in preset server, for example verify whether authentication information meets by operator
It is required that can also be by verifying identity information dedicated for the server verified early period, seldom limiting herein, can
It verifies from the device for borrowing the authentication information in asking, in the protection domain of the present embodiment.
It should be noted that in intelligent module the step of establishing the communication connection with the short-range communication of smart machine
In, it is specifically as follows, intelligent module parses user instruction, wherein user instruction can be voice after receiving user instruction
Instruction, or other instruction types execute foundation and set with intelligence if parsing networking request from the instruction of user
The step of communication connection of standby short-range communication, wherein utilize gravity sensor, touch sensor, gyroscope, pressure sensing
The units tests user instruction such as device, button, for example sense that user makes when pushing button, touching the operations such as specified region, i.e.,
Judge that user assigns user instruction.
It is noted that the identity information in intelligent module can utilize following one to generate:Prestore identification code, low coverage
Identification code, user account from communication unit.I.e. intelligent module can utilize the knowledge that prestores when with the binding of the facility information of user
One of other code, the identification code of close communication unit, user account generate the identity information of binding, in addition, in intelligent module
Identity information can also be other characterization user terminal identities information, such as terminal sequence number etc., in this way with intelligence
When equipment connects, the identity information with intelligent module binding is obtained convenient for smart machine.
Step 102, by the communication connection established, data to be transmitted is sent to smart machine, it is logical for smart machine
Distance Transmission mode forwards too far.
Specifically, in intelligent module after smart machine establishes the communication connection of short-range communication, intelligent module is by band
The data of transmission are sent to smart machine by short-range communication connection, are forwarded to by remote transmission mode for smart machine
The destination address or transfer server of intelligent module.For example intelligent module is borrowing intelligence by the communication connection of short-range communication
When the telecommunication function of equipment, i.e. when user A wants that the mobile phone for borrowing user B by intelligent earphone contacts user C, Intellgent Ear
The data for the transmission that machine is sent to the mobile phone of user B are the phone number that user A wants word and user C.
In addition, when data to be transmitted voice data collected for intelligent module, data to be transmitted is sent to intelligence
Equipment, the step of forwarding by remote transmission mode for smart machine, specially:Data to be transmitted is sent to intelligence to set
It is standby, semantic resolution server is forwarded to by remote transmission mode for smart machine.Such as when intelligent module is intelligent earphone
When, the phonetic order of user is received, the phonetic order of user can be sent to intelligence by intelligent earphone by short-range communication connection
Then equipment is forwarded to the semantic parsing clothes that can parse user speech instruction in smart machine by remote transmission mode
Business device seldom limits herein in addition, the semantic parsing of phonetic order can also be completed by smart machine.
Further, server parses received transmission data, obtains the destination address of received transmission data, and root
Corresponding operation is executed according to destination address, server is in resolving, when the destination address parsed is Self address, processing
The data parsed forward parsed number according to destination address when destination address is not the Self address of server
According to.Also, server can also send voice data by smart machine to intelligent module, and voice data can be for described
The feedback data of transmission data plays received voice data for intelligent module.
Compared with prior art, present embodiments provide for a kind of communication means of intelligent module, wherein in intelligent module
Set authentication information;Communication means includes:Using authentication information, the communication with the short-range communication of smart machine is established
Connection so that intelligent module can be attached by borrowing identity information with smart machine;Pass through the communication link established
It connects, data to be transmitted is sent to smart machine, forwarded by remote transmission mode for smart machine, do not carried far in this way
It in the case of journey communication equipment, is carried out telecommunication by other people smart machine so that user can carry out long distance
Equipment from transmission not at one's side when, can complete telecommunication by the intelligent module that can only carry out short range transmission, and
For intelligent module is compared to the equipment that can be transmitted at a distance, user's carrying of being more convenient for.
Second embodiment of the present invention is related to a kind of communication means of intelligent module.Present embodiment tangible first is implemented
It is further improved on the basis of mode, specifically thes improvement is that:In the present embodiment, using authentication information,
It is specially to send out to communicate borrow request with the forms of broadcasting to establish with the process of the communication connection of the short-range communication of smart machine, is led to
It includes authentication information that letter, which borrows request, is verified for smart machine;Borrow is allowed to respond from smart machine receiving
When, establish the communication connection with the short-range communication of smart machine.
The particular flow sheet of the communication means of the intelligent module of present embodiment is as shown in Fig. 2, specifically include:
Step 201, it sends out communication with the forms of broadcasting and borrows request.
Specifically, intelligent module is to nearby transmission communication borrows request in the form of broadcast, wherein the form of broadcast can
To include the modes such as Bluetooth broadcast or wifi broadcast, it may include borrowing the function of request (for example to borrow that communication, which borrows in request,
With communication function, borrow function of surfing the Net etc.) and intelligent module authentication information and intelligent module Bluetooth address or
It is the address informations such as the addresses wifi.
Step 202, receive allows to borrow when responding from smart machine, establishes and the short-range communication of smart machine
Communication connection.
Specifically, intelligent module by the forms of broadcasting to nearby send out communication borrow request after, with response broadcast simultaneously
Feedback allows to borrow the smart machine responded, establishes the communication connection of short-range communication, wherein smart machine can be for other people
The equipment that mobile phone, tablet computer etc. have telecommunication function, send out broadcast request may range from user's setting, also may be used
Think the limit range of short-range communication, it can be the data packet with special format that the communication of broadcast, which borrows request, wherein wrapping
Containing authentication information, the smart machine in environs receives request broadcast, is by the solicited message judgement in broadcast
No agreement is established short-range communication with intelligent module and is connect.Concrete implementation scene can illustrate:Such as the intelligence of user A
Earphone (intelligent module simple in structure, only has proximity communication module, does not have telecommunication module) is bundled with user A
Mobile phone account, in the case that in user A, only band intelligent earphone is without carrying mobile phone, to nearby sending out broadcast request,
The Meaning of Information carried in broadcast can be:I is mobile phone A, and XXX when my account has equipment that can borrow communication, near
Equipment receive broadcast after, judge whether to agree to establish short-range communication with intelligence module and connect by the information of broadcast, such as
Fruit has smart machine to agree to establish communication connection, then responds broadcast, and the Meaning of Information of the carrying in response broadcast can be:I is
Equipment B, I agrees to connect, my address is XXX, and intelligent module upon receiving the response, is connect with smart machine.
Step 203, by the communication connection established, data to be transmitted is sent to smart machine, it is logical for smart machine
Distance Transmission mode forwards too far.
Since step 102 causes identical in step 203 first embodiment in present embodiment, details are not described herein again.
Compared with prior art, present embodiments provide for a kind of communication means of intelligent module, wherein does not have in user
When the smart machine of specified connection, the smart machine that can be connected can be found by the form of broadcast, then by with intelligence
Equipment establishes communication connection, and data to be transmitted is sent to smart machine, is forwarded by remote transmission mode for smart machine
To destination server, in this way in the case where not carrying telecommunication equipment, other people intelligence that can be borrowed can be also searched out
Can equipment communicated so that user can the equipment that can be transmitted at a distance not at one's side when, by can only carry out
The intelligent module of short range transmission can complete telecommunication, and intelligent module is set compared to what can be transmitted at a distance
For standby, user's carrying of being more convenient for.
Third embodiment of the present invention is related to a kind of communication means of intelligent module.Present embodiment and the second embodiment party
Formula is roughly the same, and difference place is:In this second embodiment, it using authentication information, establishes close with smart machine
The process of the communication connection of distance communication is specially to send out communication with the forms of broadcasting to borrow request, and it includes body that communication, which borrows request,
Part verification information, is verified for smart machine;Receive from smart machine allow to borrow respond when, establish with smart machine
The communication connection of short-range communication, and in the present embodiment, using authentication information, establish the short distance with smart machine
The process of the communication connection of communication is specially to search that the smart machine that communication borrows service can be provided;To the smart machine searched
It sends out communication and borrows request, it includes authentication information that communication, which borrows request, is verified for smart machine;It is receiving from intelligence
When allowing to borrow response of equipment, establish the communication connection with the short-range communication of smart machine.
The particular flow sheet of the communication means of the intelligent module of present embodiment is as shown in figure 3, specifically include:
Step 301, the smart machine that communication borrows service can be provided by searching.
It specifically, can be with the smart machine of Near Field Communication to neighbouring search, wherein communication can be provided and borrow service
Smart machine can be the smart machine for opening Bluetooth switch or wifi connecting valves, can also be search and binding
Smart machine under the same account cluster of authentication information (for example register by the mobile phone account of the mobile phone account of user A and user B
Under same account cluster, borrow agreement is just agreed in registration, then the intelligent earphone in user A is bundled with user A
Mobile phone account in the case of, in the mobile phone free time of user B, user A will preferentially borrow the mobile phone of user B), can also be
It searches and meets the smart machine set by user for borrowing object requirement.
Step 302, it sends out communication to the smart machine for providing communication borrow service searched and borrows request.
It specifically, can to what is searched after intelligent module searches and can provide the smart machine that communication borrows service
The smart machine that offer communication borrows service sends out communication borrow request by Near Field Communication, and communication borrows can wrap in request
Include the function (for example borrow communication function, borrow function of surfing the Net etc.) and intelligent module that borrow request authentication information,
And the Bluetooth address or the address informations such as addresses wifi of intelligent module.
Step 303, receive allows to borrow when responding from smart machine, establishes and the short-range communication of smart machine
Communication connection.
Specifically, intelligent module asks and feeds back that the smart machine for borrowing response is allowed to establish short-range communication with reception
Communication connection.It can also be the data packet with special format that communication, which borrows request, wherein be sent comprising user in data packet
Data information send after searching smart machine and borrow request, receive to borrow in smart machine and ask and after feeding back, with
Smart machine establishes the communication connection of short-range communication.
Step 304, by the communication connection established, data to be transmitted is sent to smart machine, it is logical for smart machine
Distance Transmission mode forwards too far.
Since step 304 is roughly the same with step 102 in first embodiment in present embodiment, details are not described herein again.
Compared with prior art, present embodiments provide for a kind of communication means of intelligent module, wherein is sent out in user
After borrowing request, the smart machine that can be attached nearby is searched, the intelligence then asked with the feedback reception searched
Equipment establishes communication connection, and data to be transmitted is sent to smart machine, is forwarded by remote transmission mode for smart machine
To destination server, in this way in the case where not carrying telecommunication equipment, also can by search near smart machine into
Row communicates, and the requirement of user can be also more in line with by the method for search, but also user can carry out far
The equipment of Distance Transmission not at one's side when, can complete telecommunication by the intelligent module that can only carry out short range transmission,
And for intelligent module is compared to the equipment that can be transmitted at a distance, user's carrying of being more convenient for.
The 4th embodiment of the present invention is related to a kind of intelligent module, and the structural schematic diagram of intelligent module is as shown in figure 4, packet
Include at least one processor 401;And the memory 402 communicated to connect at least one processor 401;Wherein, memory
402 are stored with the instruction that can be executed by least one processor 401, and instruction is executed by least one processor 401, so that at least
One processor 401 is able to carry out any of the above-described embodiment of the method.
Wherein, memory 402 is connected with processor 401 using bus mode, and bus may include any number of interconnection
Bus and bridge, bus one or more processors 401 and the various of memory 402 are electrically connected to together.Bus may be used also
To be electrically connected to the various other of such as peripheral equipment, voltage-stablizer and management circuit or the like together, these are all
It is known in the art, therefore, it will not be further described herein.Bus interface provides between bus and transceiver
Interface.Transceiver can be an element, can also be multiple element, such as multiple receivers and transmitter, provide for
The unit communicated with various other devices on transmission medium.Through processor 401 handle data by antenna on the radio medium
It is transmitted, further, antenna also receives data and transfers data to processor 401.
Processor 401 is responsible for bus and common processing, can also provide various functions, including timing, periphery connects
Mouthful, voltage adjusting, power management and other control functions.And memory 402 can be used to store processor 401 and execute
Used data when operation.
Fifth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Any of the above-described embodiment of the method is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are making
It obtains an equipment (can be microcontroller, chip etc.) or processor (processor) executes side described in each embodiment of the application
The all or part of step of method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.