Embodiment
Figure 1A is the calcspar of the electronic apparatus that illustrates according to one embodiment of the invention.Refer to Figure 1A, electronic apparatus 10 comprises sensor 110, mixed-media network modules mixed-media 120 and processor 130.In the present embodiment, electronic apparatus 10 can be the electronic apparatus of the tool portabilities such as mobile phone, intelligent mobile phone, personal digital assistant, flat computer, digital camera, e-book or game machine, the invention is not restricted to this.
Sensor 110 can be action sensing device, similarly be gyroscope (gyrosensor) or acceleration sensor (G-sensor) etc., also can be touch control sensor, similarly be electric resistance touch-control panel, capacitance type touch-control panel, acoustic wave contact panel, infrared-type touch panel or induction contact panel etc., do not limited at this.Sensor 110 can detect the control gesture that imposes on electronic apparatus 10.
For instance, action sensing device can sense the inertia information of electronic apparatus 10, similarly is translational speed, acceleration or the displacement etc. of electronic apparatus 10.Therefore when the hand-held electronic apparatus 10 of user and make when moving, shake, rock or mark certain track etc. and controlling gesture, action sensing device can sense the displacement of electronic apparatus 10 and the information such as the trajectory shape that is moved.In other words, control i.e. dynamic (movement) in space corresponding to electronic apparatus 10 of gesture.
In addition, if sensor 110 is a kind of touch control sensors, touch control sensor can sensing user impose on the touch control operation on sensor 110, also just corresponds to and control gesture the touch control operation that sensor 110 senses.For instance, if electronic apparatus has a Touch Screen (not illustrating), wherein Touch Screen is the combination of touch control sensor and screen.Touch Screen can the sensing user touch control operation performed to Touch Screen, and touch control operation is for example slide or clicking operation etc., control gesture also just corresponding to the slide or the clicking operation that impose on the Touch Screen of electronic apparatus 10, but the present invention is not restricted to this.
Mixed-media network modules mixed-media 120 is in order to set up a near-end wireless telecommunications line (Proximity-based connection), it can provide network communication to link function, makes electronic apparatus 10 to be connected to other electronic apparatus via near-end wireless network.Near-end wireless telecommunications line is classified according to communication network kenel, can comprise wireless personal network line (Wireless Personal Area Network, or WLAN line (Wireless Local Area Network WPAN), WLAN), the present invention does not limit this.Wherein, wireless personal network line is for example to set up line based on IEEE802.15 standard; WLAN line is for example to set up line based on IEEE802.11 standard.Furthermore, mixed-media network modules mixed-media 120 can be the element of bluetooth (Bluetooth) wireless communication technique of supporting wireless personal network line, also can be wireless compatibility authentication (the Wireless Fidelity that supports WLAN line, Wi-Fi) element of mechanics of communication, the present invention does not limit this.Furthermore, mixed-media network modules mixed-media 120 can comprise the not element of mechanics of communication of the same race of one or more support.
Processor 130 couples sensor 110 and mixed-media network modules mixed-media 120, for example CPU (Central Processing Unit, CPU), or other programmable microprocessor (Microprocessor), digital signal processor (Digital Signal Processor, DSP), Programmable Logic Controller, application-specific integrated circuit (ASIC) (Application Specific Integrated Circuits, ASIC), programmable logic device (Programmable Logic Device, PLD) or other possess the hardware unit of operational capability.
Figure 1B is the schematic diagram that two electronic apparatus that illustrate according to one embodiment of the invention are set up line.Refer to Figure 1B, in the present embodiment, the structure of electronic apparatus 20 and electronic apparatus 10 are same or similar, therefore do not repeat them here.Suppose that electronic apparatus 10 bestowed a control gesture (, the hand-held electronic apparatus 10 of user A mark track T in space by user Aa), and electronic apparatus 20 is bestowed same by user B and is controlled gesture (, the hand-held electronic apparatus 20 of user B mark track T in spaceb, wherein track Tawith track Tb(substantially) is identical in itself), electronic apparatus 10 can be set up near-end connecting wireless network 30 each other automatically with electronic apparatus 20.
Set up the near-end connecting wireless network 30 between electronic installation 10 and electronic installation 20 in order how to further illustrate according to controlling gesture, below especially exemplified by another embodiment, the present invention will be described.Fig. 2 is the flow chart of the connection establishment method between the electronic apparatus illustrating according to one embodiment of the invention, please refer to Figure 1A and Fig. 2.
First as shown in step S210, in the time that electronic apparatus 10 detects certain control gesture that imposes on electronic apparatus 10, processor 130 judges whether electronic apparatus 10 searches electronic apparatus 20, and wherein electronic apparatus 20 detects the same control gesture that imposes on electronic apparatus 20.In detail, in the time that sensor 110 detects control gesture, processor 130 is controlled mixed-media network modules mixed-media 120 and is opened, and starts outwards to search another electronic installation by mixed-media network modules mixed-media 120.Should be noted, another electronic installation of electronic apparatus 10 search nonvoluntary, the target that electronic apparatus 10 is searched is also to open the mobile electric installation 20 of its mixed-media network modules mixed-media because identical control gesture being detected.
As shown in step S220, if judging electronic apparatus 10, processor 130 searches electronic apparatus 20, set up the near-end connecting wireless network 30 between electronic apparatus 10 and electronic apparatus 20 by mixed-media network modules mixed-media 120.In simple terms, in the time that electronic apparatus 10 and electronic apparatus 20 all distinctly detect that being bestowed identical same controls gesture, electronic apparatus 10 and electronic apparatus 20 can be set up and near-end connecting wireless network 30 each other automatically.
That is to say, in one embodiment, in the time that two users want to allow two electronic apparatus carry out transmission of information by near-end wireless network, just can impose identical control gesture to two electronic apparatus respectively.Base this, two above-mentioned electronic apparatus just can carry out the work of line pairing automatically, and set up the near-end connecting wireless network between two electronic apparatus, transmission of information according to this.The information of transmitting can be word or any relevant information being stored on the shown User's Interface of archives, electronic apparatus in electronic apparatus, or the sectional drawing at user interface (screenshot) etc., do not limited at this.
It is worth mentioning that, implementation of the present invention is not limited to above-mentioned explanation, can give for actual demand the content that changes above-described embodiment as one thinks fit.For example, in the time that electronic apparatus 10 does not search electronic apparatus 20, electronic apparatus 10 can become the main control end in near-end wireless network.Describe with next act another embodiment of the present invention the step of setting up line between electronic apparatus in detail.
Fig. 3 is the flow chart of the connection establishment method between the electronic apparatus that illustrated according to another embodiment of the present invention, and Fig. 4 is the situation schematic diagram of setting up the line between electronic apparatus that illustrated according to another embodiment of the present invention.Please refer to Figure 1A, Fig. 3 and Fig. 4.In the present embodiment, suppose that sensor 110 is an action sensing device, and control gesture be corresponding electronic apparatus 10 in space dynamically.
First as shown in step S310, electronic apparatus 10 detects by sensor 110 the control gesture that imposes on electronic apparatus 10.As shown in Figure 4, the control gesture of the present embodiment is that user holds electronic apparatus 10 with hand 40 and electronic apparatus 10 moved in space and form track T1, in the time that electronic apparatus 10 is moved by user, sensor 110 can constantly produce corresponding sensing value.For convenience of description, the control gesture that imposes on electronic apparatus 10 is being called and is controlling gesture G1 below.
Then as shown in step S321, the sensing value that processor 130 produces according to sensor 110 is identified the feature of controlling gesture G1.For instance, processor 130 can identify and control gesture G1 and be made up of track m, n, o, p according to sensing value, can also identify track m, n, o is all camber line and track p is straight line.Further, processor 130 also can be from sensing value radian and the direction of the each camber line of interpretation.And the shape of track, length, direction all can be used as the feature of controlling gesture G1.
Then,, in step S322, processor 130 produces the identification code of corresponding control gesture G1 according to the feature of above-mentioned control gesture G1 and the multiple code presuppositions in database.For instance, multiple code presuppositions that the result that processor 130 can form according to track m, n, o, p is come in correspondence database produce the corresponding identification code of controlling gesture G1.That is to say, the result that processor 130 forms according to track m, n, o, p learns that control gesture G1 is similar to the shape of numerical value " 9 ", and the multiple code presuppositions of processor 130 basis " 9 " these results from database are found out corresponding identification code.In addition, processor 130 also can produce the multiple code presuppositions in track m, n, o, p correspondence database the corresponding identification code of controlling gesture G1.That is to say, processor 130 corresponds to track m, n, o, p respectively the multiple code presuppositions in database, finds the identification code of the corresponding multiple code presupposition composition control gesture G1 of track m, n, o, p.The present invention does not limit to this and is not restricted to above-mentioned identification code producing method, and any identification code producing method of can reflection controlling the feature of gesture all belongs to category of the present invention.
In step S323, processor 130 is controlled mixed-media network modules mixed-media 120 and is sent the line request that comprises identification code.In other words, identified after the feature of control gesture G1 when electronic apparatus 10, just started from surrounding and find specific pairing object.In order to search out specific pairing object, electronic apparatus 10 just can be sent the line request that comprises identification code.
In step S324, electronic apparatus 10 is by judge whether to receive the line reply that comprises identification code in a Preset Time, to be confirmed whether that any mobile device can supply line.
In step S325, in the time that electronic apparatus 10 receives the line reply that comprises identification code, the device that sends line reply is identified as electronic apparatus 20 by processor 130, also represents that electronic apparatus 10 searches the electronic apparatus correct with its pairing.
For instance, as shown in Figure 4, the user of the electronic apparatus 20 of the present embodiment holds electronic apparatus 20 with hand 50, and electronic apparatus 20 is moved in space and form track T2.Same, for convenience of description, the control gesture that imposes on electronic apparatus 20 is being called and is controlling gesture G2 below.The track T1 and the T2 that form with moving in space of electronic apparatus 20 due to electronic apparatus 10 are identical in essence, that is to say, controlling gesture G1 is same control gesture with controlling gesture G2, and therefore electronic apparatus 20 can produce identical identification code with electronic apparatus 10.So in the time that electronic apparatus 20 receives the line request that comprises identification code that electronic apparatus 10 sends, electronic apparatus 20 can confirm that electronic apparatus 10 is correct line object.Electronic apparatus 20 just can send line to electronic apparatus 10 and reply, and in line is replied, carries identification code secretly and identify for electronic apparatus 10.Accordingly, electronic apparatus 10, after receiving that line is replied, just can be considered as line object by the electronic apparatus 20 that sends line reply.
In step S330, because electronic apparatus 10 searches electronic apparatus 20, the mixed-media network modules mixed-media 120 of electronic apparatus 10 is just set up the near-end connecting wireless network 30 between electronic apparatus 10 and electronic apparatus 20 automatically.Thereafter, electronic apparatus 10 just can transmit data by near-end connecting wireless network 30 with electronic apparatus 20, and wherein the direction of transfer of data can be two-way, can be also unidirectional, and the present invention does not limit this.
For example, if when electronic apparatus 10 function with bluetooth transmission same with electronic apparatus 20, electronic apparatus 10 can be found out line object by near the bluetooth device searching.In the time finding the bluetooth device with same identification code, the bluetooth device (, electronic apparatus 20) that electronic apparatus 10 just has this same identification code is identified as line object, and sets up Bluetooth transmission line with electronic apparatus 20.
In simple terms, as long as a user imposes and controls after gesture its electronic apparatus in advance, another user, as long as its electronic apparatus is imposed to identical control gesture, just can make two electronic apparatus foundation line each other automatically.In addition, electronic apparatus 10 can be also the electronic apparatus of simultaneously supporting Wi-Fi mechanics of communication or wireless compatibility authentication direct-connected (Wi-Fi Direct) mechanics of communication with electronic apparatus 20, and the present invention does not limit this.
In another embodiment, authentication procedure must be first passed through in the data transmission between electronic apparatus 10 and electronic apparatus 20.In detail, in electronic apparatus 10 and electronic apparatus 20, by first detecting that the electronic apparatus of controlling gesture detects that to next the electronic apparatus of controlling gesture carries out authentication procedure, to determine whether carry out transfer of data.That is to say, after line between electronic apparatus is set up automatically, first detect that controlling the electronic apparatus of gesture can be confirmed whether the desired electronic apparatus line with user by authentication procedure further, match wrong generation to reduce line.This authentication procedure is for example that the identifying information that shows the electronic apparatus of current line (such as device name, code name, telephone number etc., but not as limit) is checked for user, and completes authentication procedure after the instruction of user's input validation.
On the other hand, in step S326, reply if electronic apparatus 10 is not received the line that comprises identification code in Preset Time, processor 130 is judged and is not searched electronic apparatus 20.For instance, Preset Time is 1 minute, but is not limited to this.Reply if electronic apparatus 10 was not all received the line that comprises identification code within 1 minute, the electronic apparatus that representative does not have same identification code instantly appears at the surrounding of electronic apparatus 10.
So in step S340, electronic apparatus 10 becomes the main control end of near-end wireless network.For instance, suppose mixed-media network modules mixed-media 120 comprise support bluetooth wireless communication technique element (for example, bluetooth chip), control gesture detected at sensor 110, and processor 130 accordingly opening network module 120 electronic apparatus 10 is started after bluetooth service, whether near can first detecting, also have other bluetooth device to send the line requirement with same identification code, if nothing, electronic apparatus 10 can will oneself first be set as main control end (Master).Next, main control end will, centered by oneself, to sending line requirement near surrounding, or continue the line requirement of waiting for that other bluetooth device sends, and identify correct line object according to identification code and set up with it bluetooth line.
It is worth mentioning that, in connection establishment method proposed by the invention, except being point-to-point wireless communication mode, can be also to build on the wireless communication mode of one-to-many or multi-to-multi.That is to say, electronic apparatus 10, except setting up line with electronic apparatus 20, also can be set up line with another electronic apparatus simultaneously.Below will be separately come for an embodiment that the present invention will be described.
Fig. 5 is the flow chart of the connection establishment method between the electronic apparatus that illustrated according to another embodiment of the present invention, and Fig. 6 is the situation schematic diagram of setting up the line between electronic apparatus that illustrated according to another embodiment of the present invention.Please refer to Fig. 1, Fig. 5 and Fig. 6.In the present embodiment, sensor 110 is touch control sensor, is the touch control operation of user on Touch Screen and control gesture.
First as shown in step S510, electronic apparatus 10, in the time the control gesture that imposes on electronic apparatus 10 being detected, starts to search other electronic apparatus that is applied to same control gesture.As shown in Figure 6, the control gesture of the present embodiment is that user is with hand 40 performed touch control operation on the Touch Screen 11 of electronic apparatus 10.Furthermore moreover, the performed touch control operation of user of the present embodiment is the slide of hand 40 on Touch Screen 11, and slide form as the track T3 of lightning shape.When Touch Screen 11 receives after the performed touch control operation of user, sensor 110 can constantly produce corresponding sensing value.For convenience of description, the control gesture that imposes on electronic apparatus 10 is being called and is controlling gesture G3 below.
Thereafter, if electronic apparatus 20 also detects the control gesture on the Touch Screen 22 that imposes on electronic apparatus 20, be user with hand 50 performed slide on the Touch Screen 22 of electronic apparatus 20, this slide slides and forms track T4 because of hand 50 on Touch Screen 22.Similarly, for convenience of description, the control gesture that imposes on electronic apparatus 20 is being called and is controlling gesture T4 below.Because track T3 and track T4 are the sliding traces of a similar lightning, track T3 is identical in essence with T4, in other words, controls gesture G3 and controls gesture G4 and belong to same class control gesture.Therefore, electronic apparatus 20 can produce identical identification code with electronic apparatus 10.
Then,, as shown in step S520, in the situation that electronic apparatus 10 searches electronic apparatus 20, mixed-media network modules mixed-media 120 is set up the near-end connecting wireless network 30 between electronic apparatus 10 and electronic apparatus 20.
Then, in step S530, first detect that the electronic apparatus 10 of controlling gesture G3 searches electronic apparatus 60, and electronic apparatus 60 also detects the same control gesture that imposes on electronic apparatus 60, the near-end connecting wireless network 70 that electronic apparatus 10 is set up between electronic apparatus 60.In the present embodiment, the structure of electronic apparatus 60 and electronic apparatus 10 are same or similar, therefore do not repeat them here.As shown in Figure 6, the user of the electronic apparatus 60 of the present embodiment carries out slide on Touch Screen 66, and this slide slides and forms track T5 because of hand 80 on Touch Screen 66.Similarly, for convenience of description, the control gesture that imposes on electronic apparatus 60 is being called and is controlling gesture G5 below.The method that electronic apparatus 10 and electronic apparatus 60 are set up line is set up the method for line as electronic apparatus 10 and electronic apparatus 20, do not repeat them here.But can notice, controlling gesture G5 is all the same control gesture of similar lightning shape with controlling gesture G3, G4.So electronic apparatus 10 is set up line with electronic apparatus 50, electronic apparatus 60 respectively.
In step S540, electronic apparatus 10, electronic apparatus 20 just can carry out transfer of data by near-end connecting wireless network 30 and near-end connecting wireless network 70 with electronic apparatus 60.For instance, if the device that electronic apparatus 10, electronic apparatus 20 and electronic apparatus 60 are supported Wi-Fi mechanics of communication (simultaneously, mixed-media network modules mixed-media separately comprises the element of supporting Wi-Fi mechanics of communication), communication between the electronic apparatus freely mode of direct (ad hoc) is carried out, also can under the coordination of access point (Access Point, AP), carry out.In the present embodiment, first detect that 10 roles of electronic apparatus of control gesture G3 are the access point in Wi-Fi network, and electronic apparatus 20 is the client (client) in Wi-Fi network with electronic apparatus 60.Base this, set up after near-end connecting wireless network 30 and near-end connecting wireless network 70 with electronic apparatus 20 and electronic apparatus 60 respectively at electronic apparatus 10, electronic apparatus 20 and electronic apparatus 60 just can carry out transfer of data by electronic apparatus 10.
In simple terms, for multiple electronic apparatus that identical control gesture detected, each electronic apparatus can be directly or by another electronic apparatus be interconnected with one another.Accordingly, multiple electronic apparatus can be by simple control mode, reaches and sets up line to carry out the object of Information Sharing.
Must special instruction, be to describe as an example of slide example at above-described embodiment, but the clicking operation that the touch control operation that is regarded as controlling gesture can be also user to carry out Touch Screen etc., the present invention does not limit this.
In sum, the present invention sets up the near-end connecting wireless network between electronic apparatus by user's control gesture.Users can set up the line between these electronic apparatus by its electronic apparatus being made to identical control gesture, that is to say, be used as to control gesture the voucher that line is set up, save complicated assignment procedure and the wrong incidence that reduces line pairing, improved the convenience on electronic apparatus uses.In addition, except man-to-man communication connection, method of the present invention is also set up the line between multiple electronic apparatus, Information Sharing between electronic apparatus can just can be realized by simple step, exempt extra setting and the manual operation process of user, improved the efficiency of Information Sharing.
Although the present invention discloses as above with embodiment; so it is not in order to limit the present invention; under any, in technical field, have and conventionally know the knowledgeable; without departing from the spirit and scope of the present invention; when doing a little change and retouching, therefore protection scope of the present invention is when being as the criterion depending on the appended claim scope person of defining.