CN107087249A - Communication means and device - Google Patents
Communication means and device Download PDFInfo
- Publication number
- CN107087249A CN107087249A CN201710209210.5A CN201710209210A CN107087249A CN 107087249 A CN107087249 A CN 107087249A CN 201710209210 A CN201710209210 A CN 201710209210A CN 107087249 A CN107087249 A CN 107087249A
- Authority
- CN
- China
- Prior art keywords
- terminal
- produced
- communication
- hall voltage
- hall
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure is directed to a kind of communication means and device, belong to field of terminal technology.This method is applied in first terminal, including:It is determined that Hall voltage of the Hall element installed produced by the presence of the magnetic field that second terminal is produced;Whether the Hall voltage produced by judging meets preparatory condition;When produced Hall voltage meets the preparatory condition, default traffic operation is performed, to be communicated with the second terminal.Due to when the Hall element of installation can produce Hall voltage in the presence of the magnetic field that second terminal is produced, illustrate the closer to the distance of second terminal and first terminal, i.e. second terminal is close to first terminal, therefore, the method provided by the embodiment of the present disclosure, user need not perform many more manipulations, it is only necessary to by second terminal close to first terminal be can be achieved terminal room communication, user is easy to operate, and efficiency is higher.
Description
Technical field
This disclosure relates to field of terminal technology, more particularly to a kind of communication means and device.
Background technology
With the fast development of terminal technology, terminal is also increasingly popularized in the life of people.In people's using terminal
During, often it is related to the communication between terminal.Such as, set up between bluetooth connection, or terminal and mutually pass between terminal
File etc..
In correlation technique, if allowing terminal to be communicated with other-end, need to perform many more manipulations ability by user
Realize.Exemplified by setting up bluetooth connection with other-end, user needs first to be unlocked terminal, then opens bluetooth setting interface
Open after Bluetooth function, the terminal could set up bluetooth connection with other-end.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of communication means and device.The technical scheme
It is as follows:
First aspect is there is provided a kind of communication means, and applied in first terminal, methods described includes:
It is determined that Hall voltage of the Hall element installed produced by the presence of the magnetic field that second terminal is produced;
Whether the Hall voltage produced by judging meets preparatory condition;
When produced Hall voltage meets the preparatory condition, perform default traffic operation, with described second eventually
End is communicated.
Alternatively, whether the Hall voltage produced by the judgement meets preparatory condition, including:
When produced Hall voltage is more than predetermined voltage threshold, it is determined that produced Hall voltage meets described default
Condition.
Alternatively, it is described to perform before presetting traffic operation, in addition to:
When the consecutive hours length that produced Hall voltage is more than the predetermined voltage threshold is more than preset duration, institute is performed
State the step of traffic operation is preset in execution.
Alternatively, described perform presets traffic operation, including:
Open wireless near field communication function;
By the near radio function, the communication connection set up between the second terminal.
Alternatively, after the unlatching wireless near field communication function, in addition to:
Communication response is sent to the second terminal, the communication response is used for the low coverage for indicating the first terminal
Had turned on from radio communication function, and indicate that the second terminal opens institute when the wireless near field communication function is not opened
State wireless near field communication function.
Alternatively, it is described by the near radio function, the communication connection set up between the second terminal it
Afterwards, in addition to:
By the wireless near field communication function, the file destination that the second terminal is sent, the target text are received
Part is that the second terminal is being selected before the first terminal and sent based on the communication connection.
Alternatively, it is described by the near radio function, the communication connection set up between the second terminal it
Afterwards, in addition to:
2 D code information is sent to the second terminal, the 2 D code information carries what the first terminal was currently logged in
Account account, so that the second terminal is transferred accounts to the account account, or, the 2 D code information carries described the
The instant messaging account that one terminal is currently logged in, so that the instant messaging account is added to described second by the second terminal
In the customer relationship chain of terminal.
Second aspect is there is provided a kind of communicator, and applied in first terminal, described device includes:
Determining module, for the Hall element that determines to install in the presence of the magnetic field that second terminal is produced it is produced suddenly
That voltage;
Whether judge module, the Hall voltage produced by for judging meets preparatory condition;
Communication module, for when produced Hall voltage meets the preparatory condition, performing default traffic operation, with
Communicated with the second terminal.
Alternatively, the judge module is used for:
When produced Hall voltage is more than predetermined voltage threshold, it is determined that produced Hall voltage meets described default
Condition.
Alternatively, described device also includes:
Trigger module, for being more than the consecutive hours length of the predetermined voltage threshold when produced Hall voltage more than default
During duration, trigger the communication module and perform the default traffic operation.
Alternatively, the communication module includes:
Start submodule, for opening wireless near field communication function;
Communicate submodule, for by the near radio function, the communication link set up between the second terminal
Connect.
Alternatively, described device also includes:
Sending module, for sending communication response to the second terminal, the communication response is used to indicate described first
The wireless near field communication function of terminal has turned on, and indicates the second terminal in the wireless near field communication function
The wireless near field communication function is opened when not opening.
Alternatively, described device also includes:
Receiving module, for by the wireless near field communication function, receiving the target text that the second terminal is sent
Part, the file destination is that the second terminal is selecting before the first terminal and is being based on the communication link sending and receiving
Send.
Alternatively, described device also includes:
Sending module, for sending 2 D code information to the second terminal, the 2 D code information carries described first
The account account that terminal is currently logged in, so that the second terminal is transferred accounts to the account account, or, the Quick Response Code
Information carries the instant messaging account that the first terminal is currently logged in, so that the second terminal is by the instant messaging account
Added in the customer relationship chain of the second terminal.
The third aspect includes there is provided a kind of communicator, described device:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
It is determined that Hall voltage of the Hall element installed produced by the presence of the magnetic field that second terminal is produced;
Whether the Hall voltage produced by judging meets preparatory condition;
When produced Hall voltage meets the preparatory condition, perform default traffic operation, with described second eventually
End is communicated.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, the effect in the magnetic field that first terminal can be produced in the Hall element of installation in second terminal
During lower generation Hall voltage, whether the Hall voltage produced by judging meets preparatory condition, it is possible in produced Hall electricity
When pressure meets preparatory condition, default traffic operation is performed, to be communicated with second terminal.Due to when the Hall element energy installed
It is enough when producing Hall voltage in the presence of the magnetic field that second terminal is produced, illustrate the distance of second terminal and first terminal compared with
Closely, i.e., second terminal is close to first terminal, and therefore, the method provided by the embodiment of the present disclosure, user need not perform multistep
Operation, it is only necessary to be the communication that terminal room can be achieved close to first terminal by second terminal, user is easy to operate, and efficiency is higher.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Figure 1A is a kind of communication system schematic diagram according to an exemplary embodiment;
Figure 1B is a kind of flow chart of communication means according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of communication means according to another exemplary embodiment;
Fig. 3 A are a kind of communicator block diagrams according to an exemplary embodiment;
A kind of communicator block diagrams of Fig. 3 B according to another exemplary embodiment;
A kind of structural representation of communication modules 330 of Fig. 3 C according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of communicator 400 according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Before detailed explanation is carried out to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given
Introduce.The method that the embodiment of the present disclosure is provided is applied in the scene communicated between terminal.Figure 1A is exemplary according to one
Implement a kind of communication system schematic diagram exemplified, as shown in Figure 1A, the communication system includes first terminal 10 and second terminal
20, first terminal 10 and second terminal 20 can be communicated under the operation of user.In correlation technique, if to allow first eventually
End 10 is communicated with second terminal 20, then needs to be realized by user's execution many more manipulations, therefore user's operation is more numerous
It is trivial, it is less efficient.In order to simplify the operation of user, the communication efficiency of terminal room is improved, the embodiment of the present disclosure provides a kind of base
The close action of terminal room is detected in Hall effect, the method that the close action triggers terminal based on terminal room initiates communication.
It should be noted that first and second in first terminal and second terminal described in the embodiment of the present disclosure be only to use
In distinguishing in two terminals, practical application, the first terminal and the second terminal can be any terminal, and terminal can be hand
Machine, tablet personal computer etc., the embodiment of the present disclosure is not limited this.
Figure 1B is a kind of flow chart of communication means according to an exemplary embodiment, as shown in Figure 1B, this method
Applied in first terminal, comprise the following steps:
In a step 101, it is determined that the Hall element installed in the presence of the magnetic field that second terminal is produced it is produced suddenly
That voltage.
In a step 102, whether the Hall voltage produced by judging meets preparatory condition.
In step 103, when produced Hall voltage meets the preparatory condition, perform default traffic operation, with
The second terminal is communicated.
In the embodiment of the present disclosure, the effect in the magnetic field that first terminal can be produced in the Hall element of installation in second terminal
During lower generation Hall voltage, whether the Hall voltage produced by judging meets preparatory condition, it is possible in produced Hall electricity
When pressure meets preparatory condition, default traffic operation is performed, to be communicated with second terminal.Due to when the Hall element energy installed
It is enough when producing Hall voltage in the presence of the magnetic field that second terminal is produced, illustrate the distance of second terminal and first terminal compared with
Closely, i.e., second terminal is close to first terminal, and therefore, the method provided by the embodiment of the present disclosure, user need not perform multistep
Operation, it is only necessary to be the communication that terminal room can be achieved close to first terminal by second terminal, user is easy to operate, and efficiency is higher.
Alternatively, whether the Hall voltage produced by the judgement meets preparatory condition, including:
When produced Hall voltage is more than predetermined voltage threshold, it is determined that produced Hall voltage meets the default bar
Part.
Alternatively, before the default traffic operation of the execution, in addition to:
When the consecutive hours length that produced Hall voltage is more than the predetermined voltage threshold is more than preset duration, performs this and hold
The step of row presets traffic operation.
Alternatively, traffic operation is preset in the execution, including:
Open wireless near field communication function;
By the near radio function, the communication connection set up between the second terminal.
Alternatively, after the unlatching wireless near field communication function, in addition to:
Communication response is sent to the first terminal, the communication response is used to indicate that the near radio of the first terminal to lead to
Telecommunication function has turned on, and indicates that the second terminal is opened the near radio when the wireless near field communication function is not opened and led to
Telecommunication function.
Alternatively, it should set up after the communication connection between the second terminal, also wrap by the near radio function
Include:
By the wireless near field communication function, the file destination of second terminal transmission is received, the file destination is should
Second terminal is being selected before the first terminal and sent based on the communication connection.
Alternatively, it should set up after the communication connection between the second terminal, also wrap by the near radio function
Include:
2 D code information is sent to the second terminal, the 2 D code information carries the account account that the first terminal is currently logged in
Number, so that the second terminal is transferred accounts to account account, or, the 2 D code information carries the first terminal and currently logged in
Instant messaging account, so as to the second terminal by the instant messaging account added to the second terminal customer relationship chain in.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real
Example is applied no longer to repeat this one by one.
Fig. 2 is a kind of flow chart of communication means according to another exemplary embodiment, as shown in Fig. 2 this method
Applied in first terminal, comprise the following steps:
In step 201, it is determined that the Hall element installed in the presence of the magnetic field that second terminal is produced it is produced suddenly
That voltage.
The second terminal can produce the magnetic field to external radiation by the magnet of installation.When second terminal can produce magnetic field
When, first terminal can be based on Hall effect, and the close action of second terminal is detected by the Hall element of installation, and second
Terminal close to when, triggering and the communication of first terminal, so as to conveniently and efficiently realize the communication of terminal room.
Wherein, Hall element refers to the semiconductor using Hall effect, and has electric current to pass through in the semiconductor.So-called Hall
Effect, when referring to carrier of the magnetic fields in semiconductor, produces the physical phenomenon of horizontal potential difference.When electric current is by partly leading
During body, if applying magnetic field perpendicular to sense of current, horizontal potential difference occurs in the semiconductor two sides, the horizontal current potential
Difference is Hall voltage.
Therefore, the principle based on Hall effect, during second terminal is close to first terminal, is installed in first terminal
Hall element be can second terminal produce magnetic field in the presence of produce Hall voltage.
In practical application, for the ease of detecting the close action of second terminal, first terminal can install Hall element
In the marginal position of first terminal, such as, Hall element can be located at top, bottom, left border or the right side of first terminal
Frame etc..Certainly, Hall element can also be located at the other positions of first terminal, and the embodiment of the present disclosure is not limited this.
Furthermore, it is contemplated that the microphone of terminal typically has magnet function, therefore for cost-effective, the magnetic of second terminal
Iron need not can be added specially, directly can regard microphone as the magnet for applying magnetic field.The microphone can be for second eventually
The microphone of microphone or bottom at the top of end.Certainly, in another embodiment, can also second terminal specified location
The other magnet of addition, the disclosure is not limited this.
Using be provided with the top of first terminal Hall element, second terminal bottom microphone as exemplified by magnet, then when
User by the bottom of second terminal close to the top of first terminal when, the Hall element at the top of the first terminal is can be second eventually
Hall voltage is produced in the presence of the magnetic field that the microphone of end bottom is produced.
Further, each terminal in the first terminal and the second terminal can be provided with Hall element and magnetic
Iron, when being located proximate to another terminal and being provided with the position of Hall element of magnet, another end are provided with by one of terminal
End can produce Hall voltage.
It is determined that after the Hall element installed Hall voltage produced in the presence of the magnetic field that second terminal is produced,
Whether the Hall voltage produced by the first terminal can also be determined whether meets the preparatory condition.In the present embodiment, judge
Whether produced Hall voltage meets the preparatory condition and may comprise steps of 202-203.
In step 202., whether the Hall voltage produced by judging is more than predetermined voltage threshold.
Wherein, the predetermined voltage threshold can be by terminal default setting, and the predetermined voltage threshold is used to indicate second eventually
Pre-determined distance between end and first terminal.When produced Hall voltage is more than the predetermined voltage threshold, second is represented eventually
The distance between end and first terminal are less than the pre-determined distance.
From the principle of Hall effect, the distance of magnet and Hall element is nearer, the magnetic field applied to Hall element
Magnetic field intensity it is also bigger;Magnetic field intensity is bigger, and the Hall voltage that Hall element is produced is also bigger.If for example, logical
The semiconductor for having electric current i is placed in its magnetic field, then electrical potential difference uh, and electrical potential difference uh can be produced in the both sides of semiconductor
It is directly proportional, is inversely proportional with semiconductor thickness d, i.e., to electric current i and magnetic induction intensity:Uh=k (ib/d), wherein k are Hall coefficient.
Therefore, according to the size of produced Hall voltage, you can determine between second terminal and first terminal away from
From.In the embodiment of the present disclosure, distance that can be between second terminal and first terminal is less than pre-determined distance, determines Hall electricity
Pressure meets preparatory condition.The pre-determined distance can also can be set, the embodiment of the present disclosure is to this by terminal default setting by user
Do not limit.
Example, the pre-determined distance can be set to a less distance so that the second terminal contact this first
During terminal, it is determined that the Hall voltage produced meets preparatory condition.For example, the pre-determined distance can be 2cm, 1cm etc..
In step 203, when produced Hall voltage is more than predetermined voltage threshold, it is determined that produced Hall voltage
Meet the preparatory condition.
Further, in order to prevent false touch, improve the accuracy of detection, the first terminal can also judge produced by suddenly
Whether the continuous duration that your voltage is more than the predetermined voltage threshold is more than preset duration, when produced Hall voltage is pre- more than this
If the consecutive hours length of voltage threshold is more than the preset duration, it is determined that produced Hall voltage meets the preparatory condition, and perform
Following step 204.
The continuous duration is used to indicate that the second terminal and the distance between the first terminal are continuous less than pre-determined distance
Duration, that is to say, when second terminal is more than the preset duration close to the consecutive hours length of first terminal, just perform following step
204.In this way, the false touch of terminal room can be prevented effectively, the accuracy of detection is improved.
Wherein, the preset duration can also can be set by terminal default setting by user, the embodiment of the present disclosure to this not
Limit.For example, the preset duration can be 3s, 5s, 10s etc..
In step 204, when produced Hall voltage meets the preparatory condition, perform default traffic operation, with
The second terminal is communicated.
The default traffic operation is used to trigger the communication between second terminal, and the default traffic operation can be by terminal
Default setting, can also be set, the embodiment of the present disclosure is not limited this by user.For example, the default traffic operation can be
Set up operation, the operation of inter-transmitting file, the operation of triggering payment of wireless near field communication etc..
It that is to say, when the Hall voltage that the Hall element for detecting installation is produced is default more than predeterminated voltage, this is first eventually
End can determine that now have second terminal close, and be less than pre-determined distance close to distance, so that the default traffic operation is performed, with
Communication between triggering and the second terminal.In this way, user is only needed second terminal close to first terminal, you can two ends of triggering
Communication between end, it is easy to operate.
In practical application, the first terminal can be provided with Hall chip and processor, the Hall chip include it is above-mentioned suddenly
Your element, it is possible to pass through the Hall chip and the computing device default traffic operation.
In the first possible implementation, it is somebody's turn to do when the Hall voltage that Hall chip detects Hall element generation is more than
During predetermined voltage threshold, specified level is exported to processor, the specified level is high level or low level;When the processor is received
During to the specified level, the first terminal is controlled to perform the default traffic operation.
In second of possible implementation, it is somebody's turn to do when the Hall voltage that Hall chip detects Hall element generation is more than
During predetermined voltage threshold, specified level is exported to processor, the specified level is high level or low level;When the processor is received
When being more than the preset duration to the consecutive hours length of the specified level, the first terminal is controlled to perform default traffic operation.
Wherein, can be with integrated comparator in the Hall chip, it is possible to judge that the Hall element is generated by the comparator
Hall voltage whether be more than the predetermined voltage threshold.Can be with integrated timer in the processor, it is possible to pass through the timer
Judge whether the continuous duration for receiving the specified level is more than the preset duration.
It should be noted that the mode that the embodiment of the present disclosure communicates for providing between a kind of quick initiating terminal, and two
Specific traffic operation between terminal is varied, can be configured according to user's real needs.
In one embodiment, performing default traffic operation includes:Open wireless near field communication function;It is near by this
Apart from radio function, the communication connection set up between the second terminal.
Wherein, the wireless near field communication function can be Bluetooth function, WIFI (WIreless-Fidelity, wireless guarantor
Very) function etc., the embodiment of the present disclosure is not limited this.
So that the wireless near field communication function is Bluetooth function as an example, when Hall element detection of the first terminal based on installation
To after the close action of second terminal, you can open bluetooth, and the bluetooth connection set up between second terminal.
In the second embodiment, performing default traffic operation includes:Open wireless near field communication function;To this second
Terminal sends communication response, and the communication response is used to indicate that the wireless near field communication function of the first terminal has turned on, and
Indicate that the second terminal opens the wireless near field communication function when the wireless near field communication function is not opened;It is near by this
Apart from radio function, the communication connection set up between the second terminal.
By the way that after wireless near field communication function is opened, communication response is sent to second terminal, the ensure that
Two terminals also open the wireless near field communication function in the case where not opening the wireless near field communication function so that the
One terminal can be successfully established between second terminal in the case where the wireless near field communication function of two terminals is opened
Communication connection, improve communication initiate success rate.
In the 3rd embodiment, performing default traffic operation includes:Open wireless near field communication function;It is near by this
Apart from radio function, the communication connection set up between the second terminal;Text is mutually passed by the communication connection and the second terminal
Part.
Wherein, included by the communication connection with the second terminal inter-transmitting file:
1) by the wireless near field communication function, the file destination of second terminal transmission is received, the file destination is
The second terminal is being selected before the first terminal and sent based on the communication connection.
It that is to say, file destination to be sent can be pre-set by second terminal, and second terminal passes through whole close to first
File destination is sent to first terminal by end, so as to realize that the file of terminal room is mutually passed.
For example, the user of second terminal before first terminal, can select by second terminal from second terminal
File destination to be sent.By second terminal, after first terminal, the first terminal can be set up and the second terminal
Between communication connection.The second terminal to the first terminal can send the file destination based on the communication connection set up,
So that first terminal is received.
2) by the wireless near field communication function, file destination is sent to the second terminal, the file destination for this
One terminal pre-sets and is based on communication connection transmission.
It that is to say, file destination to be sent can be pre-set by first terminal, and second terminal passes through whole close to first
End obtains the file destination of first terminal, so as to realize that the file of terminal room is mutually passed.
For example, the user of first terminal can set file destination to be sent in first terminal, it is possible to which control should
First terminal shows the file destination.The user of second terminal is seen after the file destination that the first terminal is shown, if it is desired to
The file destination is obtained, then is only needed second terminal close to the first terminal.
In the 4th embodiment, performing default traffic operation includes:Open wireless near field communication function;It is near by this
Apart from radio function, the communication connection set up between the second terminal;2 D code information, the two dimension are sent to the second terminal
Code information carries the account account that the first terminal is currently logged in, so that the second terminal is transferred accounts to account account, or
Person, the 2 D code information carries the instant messaging account that the first terminal is currently logged in, so that the second terminal is by the IMU
Believe that account is added in the customer relationship chain of the second terminal.
Wherein, the 2 D code information is the 2 D code information to be sent that the first terminal is pre-set.For example, can be
The 2 D code information for the image in 2 D code that the first terminal is currently shown.
In correlation technique, if second terminal is wanted to obtain the 2 D code information of first terminal, need to open camera, lead to
Crossing after camera scans and recognized the image in 2 D code that first terminal is shown can just acquire.And the embodiment of the present disclosure is provided
A kind of method of quick obtaining 2 D code information, i.e. user is only needed second terminal close to first terminal, second terminal
Obtain the 2 D code information of first terminal.
For example, so that first terminal is merchant terminal, second terminal is user terminal as an example, being taken if merchant terminal is shown
The image in 2 D code of account account with businessman, then when user settles accounts, it is only necessary to by user terminal close to the merchant terminal
The account account of businessman is obtained, so as to rapidly be transferred accounts to businessman, without being then turned on camera, is swept by camera
Retouch.
In the 5th embodiment, performing default traffic operation includes:The default communication interface of display.
Wherein, the default communication page can pay the page, default file transmission page etc., the embodiment of the present disclosure to be default
This is not limited.
In the present embodiment, user can be by first terminal close to second terminal, the Hall member for passing through installation when first terminal
When part is detected close to the action of second terminal, you can show the default communication page, first terminal is based on the default communication page
Face is communicated with second terminal.
By user terminal of first terminal, second terminal be merchant terminal, the default communication page be default to pay the page
Exemplified by, then user is only needed user terminal close to the merchant terminal, the user terminal can automatic spring this it is default pay page,
So that user is quickly paid in the default payment page.
In the embodiment of the present disclosure, the effect in the magnetic field that first terminal can be produced in the Hall element of installation in second terminal
During lower generation Hall voltage, whether the Hall voltage produced by judging meets preparatory condition, it is possible in produced Hall electricity
When pressure meets preparatory condition, default traffic operation is performed, to be communicated with second terminal.Due to when the Hall element energy installed
It is enough when producing Hall voltage in the presence of the magnetic field that second terminal is produced, illustrate the distance of second terminal and first terminal compared with
Closely, i.e., second terminal is close to first terminal, and therefore, the method provided by the embodiment of the present disclosure, user need not perform multistep
Operation, it is only necessary to be the communication that terminal room can be achieved close to first terminal by second terminal, user is easy to operate, and efficiency is higher.
Fig. 3 A are a kind of communicator block diagrams according to an exemplary embodiment, and the device is applied to first terminal
In.Reference picture 3A, the device includes:
Determining module 310, the Hall element for determination installation is produced by the presence of the magnetic field that second terminal is produced
Hall voltage;
Whether judge module 320, the Hall voltage produced by for judging meets preparatory condition;
Communication module 330, for when produced Hall voltage meets the preparatory condition, performing default traffic operation,
To be communicated with the second terminal.
Alternatively, the judge module 320 is used for:
When produced Hall voltage is more than predetermined voltage threshold, it is determined that produced Hall voltage meets the default bar
Part.
Alternatively, reference picture 3B, the device also includes:
Trigger module 340, the consecutive hours length for being more than the predetermined voltage threshold when produced Hall voltage is more than in advance
If during duration, triggering the communication module and performing the default traffic operation.
Alternatively, reference picture 3C, the communication module 330 includes:
Start submodule 331, for opening wireless near field communication function;
Communicate submodule 332, for by the near radio function, the communication link set up between the second terminal
Connect.
Alternatively, the device also includes:
Sending module, for sending communication response to the second terminal, the communication response is used to indicate the first terminal
The wireless near field communication function has turned on, and indicates that the second terminal is opened when the wireless near field communication function is not opened
The wireless near field communication function.
Alternatively, the device also includes:
Receiving module, should for by the wireless near field communication function, receiving the file destination of second terminal transmission
File destination is that the second terminal is being selected before the first terminal and sent based on the communication connection.
Alternatively, the device also includes:
Sending module, for sending 2 D code information to the second terminal, the 2 D code information carries the first terminal and worked as
The account account of preceding login, so that the second terminal is transferred accounts to account account, or, the 2 D code information carry this
The instant messaging account that one terminal is currently logged in, so that the instant messaging account is added to the second terminal by the second terminal
In customer relationship chain.
In the embodiment of the present disclosure, the effect in the magnetic field that first terminal can be produced in the Hall element of installation in second terminal
During lower generation Hall voltage, whether the Hall voltage produced by judging meets preparatory condition, it is possible in produced Hall electricity
When pressure meets preparatory condition, default traffic operation is performed, to be communicated with second terminal.Due to when the Hall element energy installed
It is enough when producing Hall voltage in the presence of the magnetic field that second terminal is produced, illustrate the distance of second terminal and first terminal compared with
Closely, i.e., second terminal is close to first terminal, and therefore, the method provided by the embodiment of the present disclosure, user need not perform multistep
Operation, it is only necessary to be the communication that terminal room can be achieved close to first terminal by second terminal, user is easy to operate, and efficiency is higher.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of communicator 400 according to an exemplary embodiment.For example, device 400 can be
Mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building is set
It is standby, the terminal such as personal digital assistant.
Reference picture 4, device 400 can include following one or more assemblies:Processing assembly 402, memory 404, power supply
Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and
Communication component 416.
The integrated operation of the usual control device 400 of processing assembly 402, such as with display, call, data communication, phase
Machine operates the operation associated with record operation.Processing assembly 402 can refer to including one or more processors 420 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 402 can include one or more modules, just
Interaction between processing assembly 402 and other assemblies.For example, processing assembly 402 can include multi-media module, it is many to facilitate
Interaction between media component 408 and processing assembly 402.
Memory 404 is configured as storing various types of data supporting the operation in device 400.These data are shown
Example includes the instruction of any application program or method for being operated on device 400, and contact data, telephone book data disappears
Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing power supply for device 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between described device 400 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers
Body component 408 includes a front camera and/or rear camera.When device 400 be in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and
Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike
Wind (MIC), when device 400 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 404 or via communication set
Part 416 is sent.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interfaces 412 is provide interface between processing assembly 402 and peripheral interface module, above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented
Estimate.For example, sensor cluster 414 can detect opening/closed mode of device 400, the relative positioning of component is for example described
Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device
Position change, the existence or non-existence that user contacts with device 400, the orientation of device 400 or acceleration/deceleration and device 400
Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect in not any physical contact
The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device
400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of device 400.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by said apparatus 400
During computing device so that device 400 is able to carry out above-mentioned communication means.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice scheme disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (15)
1. a kind of communication means, it is characterised in that applied in first terminal, methods described includes:
It is determined that Hall voltage of the Hall element installed produced by the presence of the magnetic field that second terminal is produced;
Whether the Hall voltage produced by judging meets preparatory condition;
When produced Hall voltage meets the preparatory condition, default traffic operation is performed, to enter with the second terminal
Row communication.
2. the method as described in claim 1, it is characterised in that whether the Hall voltage produced by the judgement meets default bar
Part, including:
When produced Hall voltage is more than predetermined voltage threshold, it is determined that produced Hall voltage meets the default bar
Part.
3. method as claimed in claim 2, it is characterised in that the execution is preset before traffic operation, in addition to:
When the consecutive hours length that produced Hall voltage is more than the predetermined voltage threshold is more than preset duration, held described in execution
The step of row presets traffic operation.
4. the method as described in claim 1-3 is any, it is characterised in that traffic operation is preset in the execution, including:
Open wireless near field communication function;
By the near radio function, the communication connection set up between the second terminal.
5. method as claimed in claim 4, it is characterised in that after the unlatching wireless near field communication function, in addition to:
To the second terminal send communication response, the communication response be used for indicate the first terminal it is described closely without
Line communication function has turned on, and it is described near to indicate that the second terminal is opened when the wireless near field communication function is not opened
Distance wireless communication function.
6. method as claimed in claim 4, it is characterised in that described by the near radio function, set up with it is described
After communication connection between second terminal, in addition to:
By the wireless near field communication function, the file destination that the second terminal is sent is received, the file destination is
The second terminal is being selected before the first terminal and sent based on the communication connection.
7. method as claimed in claim 4, it is characterised in that described by the near radio function, set up with it is described
After communication connection between second terminal, in addition to:
2 D code information is sent to the second terminal, the 2 D code information carries the account that the first terminal is currently logged in
Account, so that the second terminal is transferred accounts to the account account, or, the 2 D code information carries described first eventually
The instant messaging account currently logged in is held, so that the instant messaging account is added to the second terminal by the second terminal
Customer relationship chain in.
8. a kind of communicator, it is characterised in that applied in first terminal, described device includes:
Determining module, the Hall electricity produced in the presence of the magnetic field that second terminal is produced for determining the Hall element of installation
Pressure;
Whether judge module, the Hall voltage produced by for judging meets preparatory condition;
Communication module, for when produced Hall voltage meets the preparatory condition, performs default traffic operation, with institute
Second terminal is stated to be communicated.
9. device as claimed in claim 8, it is characterised in that the judge module is used for:
When produced Hall voltage is more than predetermined voltage threshold, it is determined that produced Hall voltage meets the default bar
Part.
10. device as claimed in claim 9, it is characterised in that described device also includes:
Trigger module, the consecutive hours length for being more than the predetermined voltage threshold when produced Hall voltage is more than preset duration
When, trigger the communication module and perform the default traffic operation.
11. the device as described in claim 8-10 is any, it is characterised in that the communication module includes:
Start submodule, for opening wireless near field communication function;
Communicate submodule, for by the near radio function, the communication connection set up between the second terminal.
12. device as claimed in claim 11, it is characterised in that described device also includes:
Sending module, for sending communication response to the second terminal, the communication response is used to indicate the first terminal
The wireless near field communication function have turned on, and indicate that the second terminal is not opened in the wireless near field communication function
The wireless near field communication function is opened when opening.
13. device as claimed in claim 11, it is characterised in that described device also includes:
Receiving module, for by the wireless near field communication function, receiving the file destination that the second terminal is sent, institute
File destination is stated to select and sending based on the communication connection before the first terminal for the second terminal.
14. device as claimed in claim 11, it is characterised in that described device also includes:
Sending module, for sending 2 D code information to the second terminal, the 2 D code information carries the first terminal
The account account currently logged in, so that the second terminal is transferred accounts to the account account, or, the 2 D code information
The instant messaging account that the first terminal is currently logged in is carried, so that the second terminal adds the instant messaging account
Into the customer relationship chain of the second terminal.
15. a kind of communicator, it is characterised in that described device includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
It is determined that Hall voltage of the Hall element installed produced by the presence of the magnetic field that second terminal is produced;
Whether the Hall voltage produced by judging meets preparatory condition;
When produced Hall voltage meets the preparatory condition, default traffic operation is performed, to enter with the second terminal
Row communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710209210.5A CN107087249A (en) | 2017-03-31 | 2017-03-31 | Communication means and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710209210.5A CN107087249A (en) | 2017-03-31 | 2017-03-31 | Communication means and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107087249A true CN107087249A (en) | 2017-08-22 |
Family
ID=59614818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710209210.5A Pending CN107087249A (en) | 2017-03-31 | 2017-03-31 | Communication means and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107087249A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107371277A (en) * | 2017-09-08 | 2017-11-21 | 锤子科技(北京)股份有限公司 | Mobile terminal, WIFI hot spot shared system and automatic connection method |
CN113966958A (en) * | 2021-10-29 | 2022-01-25 | 添可智能科技有限公司 | Stirring shovel installation state detection method and intelligent cooking equipment |
CN117227682A (en) * | 2023-11-15 | 2023-12-15 | 北京全路通信信号研究设计院集团有限公司 | Magnetic field safety detection method, system, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142868A (en) * | 2010-01-29 | 2011-08-03 | 国民技术股份有限公司 | Near field communication method and system |
CN102668396A (en) * | 2009-09-24 | 2012-09-12 | 捷讯研究有限公司 | System and associated NFC tag using plurality of nfc tags associated with location or devices to communicate with communications device |
CN106101430A (en) * | 2016-06-30 | 2016-11-09 | 维沃移动通信有限公司 | The method to set up of mobile terminal screen state and mobile terminal thereof |
-
2017
- 2017-03-31 CN CN201710209210.5A patent/CN107087249A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102668396A (en) * | 2009-09-24 | 2012-09-12 | 捷讯研究有限公司 | System and associated NFC tag using plurality of nfc tags associated with location or devices to communicate with communications device |
CN102142868A (en) * | 2010-01-29 | 2011-08-03 | 国民技术股份有限公司 | Near field communication method and system |
CN106101430A (en) * | 2016-06-30 | 2016-11-09 | 维沃移动通信有限公司 | The method to set up of mobile terminal screen state and mobile terminal thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107371277A (en) * | 2017-09-08 | 2017-11-21 | 锤子科技(北京)股份有限公司 | Mobile terminal, WIFI hot spot shared system and automatic connection method |
CN107371277B (en) * | 2017-09-08 | 2019-08-23 | 北京字节跳动网络技术有限公司 | Mobile terminal, WIFI hot spot shared system and automatic connection method |
CN113966958A (en) * | 2021-10-29 | 2022-01-25 | 添可智能科技有限公司 | Stirring shovel installation state detection method and intelligent cooking equipment |
CN117227682A (en) * | 2023-11-15 | 2023-12-15 | 北京全路通信信号研究设计院集团有限公司 | Magnetic field safety detection method, system, equipment and storage medium |
CN117227682B (en) * | 2023-11-15 | 2024-03-22 | 北京全路通信信号研究设计院集团有限公司 | Magnetic field safety detection method, system, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101908420B1 (en) | Mobile terminal and control method for the same | |
CN105607834B (en) | Screen control method, device and terminal | |
CN104933556A (en) | Mode setting method and apparatus | |
CN104182313B (en) | Be delayed the method and apparatus taken pictures | |
CN103926890A (en) | Intelligent terminal control method and device | |
CN105160239A (en) | Application program access restriction method and apparatus | |
CN105657173A (en) | Volume adjustment method and device and terminal | |
CN105391621B (en) | Information communicating method and device | |
CN105072079A (en) | Account logon method, account logon device and terminal device | |
CN105049219B (en) | Flow booking method and system, mobile terminal and server | |
CN105224174B (en) | The display methods and device of Paste | |
CN105550568A (en) | Mobile terminal data protection method and apparatus | |
CN105068632A (en) | Terminal charging method and device and terminal | |
CN107219992A (en) | Open the method and device of split screen function | |
CN105282446A (en) | Camera management method and device | |
CN105554255A (en) | Operation control method and device for terminal equipment | |
CN106953969A (en) | The screen control method and device of mobile terminal | |
CN105323152A (en) | Message processing method, device and equipment | |
CN107087249A (en) | Communication means and device | |
CN106790018A (en) | Resource-sharing player method and device | |
CN105187671A (en) | Recording method and device | |
CN107566750A (en) | Control method, device and the storage medium of flash lamp | |
CN105357634A (en) | User position change determination method and device | |
CN105208510A (en) | Method and device of intelligent alarm clock | |
CN106912090A (en) | New information reminding method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170822 |
|
RJ01 | Rejection of invention patent application after publication |