CN103885684B - Directional transmission method and the portable electric appts using this method - Google Patents
Directional transmission method and the portable electric appts using this method Download PDFInfo
- Publication number
- CN103885684B CN103885684B CN201210558519.2A CN201210558519A CN103885684B CN 103885684 B CN103885684 B CN 103885684B CN 201210558519 A CN201210558519 A CN 201210558519A CN 103885684 B CN103885684 B CN 103885684B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- signal
- data
- equipment
- sensor
- 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.)
- Active
Links
Abstract
It is used for the method for directional transmissions data and the electronic equipment using this method between multiple electronic equipments of wireless connection the invention provides a kind of.Methods described comprises the following steps:First electronic equipment receives the direction signal from the second electronic equipment;The user of first electronic equipment is towards the stroke on the touchscreen of the direction of the second electronic equipment;First electronic equipment judges whether the corresponding direction in the stroke track is in opposite direction with the direction signal of the second electronic equipment;If in opposite direction, the first electronic equipment sends the data to the second electronic equipment.By methods described and equipment, as long as user can easily transmit data to the direct stroke screen in direction of designated equipment.
Description
Technical field
The present invention relates to a kind of directional transmission method and using this method portable electric appts, more particularly,
It is related to the data transmission method and the portable set using this method of a kind of orthotype.
Background technology
The data transfer of traditional electric room is mainly using movable storage device or network etc..But, it is this to pass
Defeated mode is slow and comparatively laborious.With the development of technology, directional transmissions technology is developed.According to directional transmissions technology, use
Family can be to specified electronic equipment data.Realize that the orientation between two electronic equipments needs the position of two points just to know
The direction of road other side.In the prior art, can by GSP, base station, WIFI etc. or to concentrate localization method be used in conjunction with reach
To the accurate of positioning and stably.For example, obtaining longitude and latitude by GPS, it is fixed then can be realized according to the longitude and latitude of two equipment
To.
But be oriented and had some limitations by above technology, in some cases can be not accurate enough.If two
Platform electronic equipment then realizes that positioning is difficult, it is possible to which the position of two electronic equipments in the range of one meter is phase apart from close
With, it can not thus get the direction of other side.In addition, positioning intensity not enough, influences the use of user indoors.In addition,
Use above technology is positioned consumes electricity very much.
The content of the invention
The invention provides a kind of closely localized delivery method, with real between multiple electronic equipment within the specific limits
Existing conveniently data transfer.
It is used for the directional transmissions between multiple electronic equipments of wireless connection there is provided a kind of according to an aspect of the present invention
The method of data, methods described comprises the following steps:First electronic equipment receives the direction signal B from the second electronic equipment;
The user of first electronic equipment is towards the stroke on the touchscreen of the second electronic equipment;First electronic equipment judges the stroke track
Whether corresponding direction is in opposite direction with the direction signal B of the second electronic equipment;If in opposite direction, the first electronic equipment
Send the data to the second electronic equipment.
Second electronic equipment can obtain the direction signal B by direction sensor, and by transmission/reception unit by institute
State direction signal B and be sent to the first electronic equipment.
First electronic equipment can obtain the direction signal A of the first electronic equipment by direction sensor, by calculating stroke
Angle between track and the direction signal A, to calculate the corresponding direction in the stroke track.
First electronic equipment can also receive gravity sensor signal from the second electronic equipment, by by gravity sensor signal
Compared to determine whether that the second electronic equipment sends data with reference value.
Second electronic equipment can change gravity sensor signal by adjusting posture.
First electronic equipment can calculate line and electronic equipment between 2 points by choosing two points on stroke track
Direction signal between angle determine the corresponding direction in stroke track.
According to another aspect of the present invention there is provided a kind of electronic equipment, the electronic equipment includes:Touch-screen, is used for
Receive the touch of user;Direction sensor, the direction signal for output electronic equipment;Transmission/reception unit, for sending/
Receive direction signal and transmission/reception data;Judging unit, for judge user touch track direction whether with reception
Direction signal it is in opposite direction;Control unit, if the direction of the touch track of user and the direction of the direction signal received
On the contrary, then control transmission/reception unit sends data.
The electronic equipment may also include gravity sensor signal, and/reception gravity also can be transmitted in the transmission/reception unit
Sensor signal.
When judging unit judge touch course bearing with receive direction signal it is in opposite direction when, judging unit is also
Can be by the way that the gravity sensor signal of reception be compared with reference signal, to determine whether to send the data specified.
Judging unit can calculate the direction of the line and electronic equipment between 2 points by taking two points in touch track
Angle between signal determines the direction of touch track.
By methods described and equipment, as long as user can conveniently, soon towards the direct stroke screen in direction of designated equipment
Data are transmitted promptly.
Brief description of the drawings
By the description carried out with reference to the accompanying drawing for being exemplarily illustrated one, above and other purpose of the invention and
Feature will become apparent, wherein:
Fig. 1 is the flow chart of the directional transmission method of the exemplary embodiment according to the present invention;
Fig. 2 is to show to go out to transmit the schematic diagram of data between two electronic equipments using the method in Fig. 1;
Fig. 3 is the schematic diagram of travel direction judgement in the electronic equipment for send data;
Fig. 4 is the Sample Scenario for showing the method using Fig. 1;
Fig. 5 is electronic equipment according to an exemplary embodiment of the present invention.
Embodiment
Below, be described in detail the present invention exemplary embodiment, the exemplary embodiment provide multiple electronic equipment it
Between directional transmission method.
Many (at least two) portable electric appts of the present invention be respectively provided with direction sensor and/or gravity sensor,
Touch-screen, radio communication function (for example, wifi, Bluetooth function etc.), and many portable electric appts make within the specific limits
With.The electronic equipment can be portable electric appts, for example, mobile phone, PAD, notebook computer etc..
So-called direction sensor, is the sensor for monitoring device with respect to the orientation (magnetic field of the earth) of the earth.Pass through side
To sensor, it is capable of the direction value of measuring apparatus, the scope of direction value is 0~360 degree.In the present invention, it is possible to use direction
The direction signal that sensor is sensed represent portable electric appts whether be in request data posture.
So-called gravity sensor, refers to size of the current device by gravity, mainly there is three parameters, respectively X, Y, Z.
X refers to value of the equipment or so by gravity, and equipment is more smaller toward right bank X values.Y refers to the front and rear value by gravity of equipment, and equipment is got over
Smaller toward top rake Y value, Z refers to equipment front towards the value of sky, equipment forward direction in face of day space-time Z values maximum, when equipment back to
Its space-time Z values are minimum.By gravity sensor, equipment can be sent【X, Y, Z】Signal, represents the inclination of portable electric appts
Posture.If for example, Y > 0, Z < 0, X represents the state of user's hand held portable electronics normal operating.If X is any, Y
< 0 (for example, Y < -2), Z > 0, represent that equipment is in and face up, front end is downward, the state turned forward that rear end is lifted.
When being attached for the first time by radio communication function between multiple electronic equipment, it is necessary to which matching manually, is entering
Row second when connecting then can Auto-matching, wireless user connects manually, that is to say, that before transmitting the data, electronic equipment it
Between be connected with each other.
Between multiple electronic equipment after wireless connection, every electronic equipment can obtain other portable electronics and set
Standby direction sensor and the real time data of gravity sensor.
With reference to the accompanying drawings, the directional transmission method of the present invention is described in detail.
Fig. 1 shows the schematic diagram that data directional transmissions are carried out between electronic equipment A and electronic equipment B.In order to describe
Convenience, hereinafter referred to as device A and equipment B.In Fig. 1, wirelessly it is attached between device A and equipment B, it is real respectively
When send the direction signal of oneself, and receive the direction signal of other equipment.
In step S110, equipment B is to device A request data, and equipment B is adjusted to direction by equipment B user
Aligning equipment A.For example, equipment B upper end is adjusted to aligning equipment by equipment B user in the state of normal operating equipment B
A.So-called direction, refers to the direction of the direction sensor direction of the launch signal of equipment.By taking tablet personal computer PAD as an example, touch
Upward, in the state of user's normal operating, PAD front end is directed at the electronic equipment of requested date to the screen of screen, by direction
Signal is sent to requested equipment.
As shown in Figure 2, in the case of the upper end that equipment B is arranged in direction sensor, when equipment B is asked to device A
During data, equipment B is adjusted to upper end aligning equipment A, by direction signal B ' be sent to device A (see in Fig. 2 1.).
Received in step S120, equipment B after the request of device A, be confirmed whether to send data to device A.
If it is confirmed that send data to device A, then in step S130, the user of device A is on the screen of device A towards setting
Standby B direction slide (see in Fig. 2 2.).
In step S140, device A judges whether the corresponding direction value of stroke direction C ' on screen is believed with equipment B direction
Number B ' direction value is opposite (complementary, that is, differ 180 degree).
If the direction value of the stroke direction C ' and equipment B of the user of device A direction signal is complementary, in step
S150, device A sends data to equipment B.
Data are received in step S160, equipment B slave units A.
Below, reference picture 2 and 3 explains in detail step S140 operation.
As shown in figure 3, device A obtains the direction value A ' of device A by the direction sensor installed in device A.
Two points are taken on the track of stroke on screen from user, the coordinate value at 2 points is obtained.According to the two of selection points
Judge the direction of stroke, and according to the folder between this 2 points of coordinate value computing device A direction signal A ' and stroke direction C '
Angle D1.
Then, the corresponding direction value C '=A ' ± D1 in stroke track are calculated.
Finally, judging the direction value C ' and equipment B of stroke track direction value B ', whether in opposite direction (that is, angle is mutual
Mend).If both are in opposite direction, it is determined that stroke direction corresponds to equipment B aligning direction, therefore, in step S150, if
The equipment B data asked are sent to equipment B by standby A.
In the examples described above, it is to compare when the direction value C ' of stroke track differs 180 with equipment B direction value B ' direction
Preferable situation, and in practical operation, 190-170 degree may be differed, as long as in scope of design.
Fig. 4 shows the scene using the above method, and requested date person is only needed on the PAD screens of oneself towards please
Ask the PAD of data to slide, just can easily send data to requestor.
According to above-described embodiment, when there are two or more equipment in the same direction, request is received
Device A may not exactly judge and send data, it may occur that misinformation.For example, equipment B and equipment C is in same
On direction, and during forward direction ancillary equipment A, if device A is towards B transmission data, it is likely that C can be sent to by mistake, and can not
Give B.
When exist as described above it is multiple receive data equipment when, can be with order to avoid misinformating in this case
Manually select the equipment for receiving data.
Alternatively, it is also possible to by the way that the equipment B of request data pose adjustment is made with the posture difference of other equipment
Device A distinguishes correct receiving device.For example, making the equipment B of request data lift equipment B rear end, make front end diagonally downward,
Inclined plane, to device A, is equipment B rather than equipment C request datas to cause device A to can interpolate that out.Therefore, equipment B and set
Gravity sensor is may also include in standby C, and the signal value of gravity sensor is sent to device A.Device A can be by judging weight
The signal value of force snesor determines to send the data to equipment B or equipment C.
For example, if equipment B is tilted, Y value is less than zero, and the equipment C without request data is in flat condition, Y value
It is zero.Therefore, device A can be by being compared to the determination data that have been which device requests, and by number by Y value and reference value
According to being sent to the equipment.
That is, when device A receives two identical direction signals simultaneously, can be by receiving gravity sensor
Value, with the equipment by being compared to further determine that request data by gravity sensor signal and reference value.
Fig. 5 shows showing for the portable electric appts for using directional transmission method according to an exemplary embodiment of the present invention
Meaning property block diagram.
As shown in figure 5, equipment includes direction sensor 110, sends receiving unit 120, judging unit 130, gravity sensitive
Device 140 and control unit 150.
Sending receiving unit 120 is used for transmission/reception direction sensor signal, or direction sensor signal and gravity
Sensor signal.Judging unit 130 be used to judging stroke direction whether with the direction signal of the equipment of request data on the contrary, and
The gravity sensor signal of reception is compared with reference signal.The overall operation and number of the control device of control unit 150
According to send and receive.
According to the electronic equipment and directional transmission method of the present invention, user only needs on the touchscreen gently stroke and specified
Data just can realize the directional transmissions of data.Therefore, it is accommodating fast for that can enter between a range of multiple equipment
Prompt transmission, it is not necessary to by very complicated step, such as, found using movable storage device, in LAN by software
The complexity means such as name of other equipment, have provided the user great convenience.
Although being shown and described herein specific embodiment, it should be understood by those skilled in the art that not taking off
In the case of from spirit and principles of the present invention, various variants and modifications can be carried out.
Claims (9)
1. a kind of be used for the method for the directional transmissions data between multiple electronic equipments of wireless connection, methods described includes as follows
Step:
First electronic equipment receives the direction signal B from the second electronic equipment;
The user of first electronic equipment is towards the stroke on the touchscreen of the second electronic equipment;
First electronic equipment judge the corresponding direction in the stroke track whether the direction with the direction signal B of the second electronic equipment
Conversely;
If in opposite direction, the first electronic equipment sends the data to the second electronic equipment,
Wherein, the second electronic equipment obtains the direction signal B by direction sensor, and by transmission/reception unit by institute
State direction signal B and be sent to the first electronic equipment,
Wherein, the direction signal that utilization orientation sensor is sensed represent the second electronic equipment whether be in request data appearance
State, when the second electronic equipment is that direction is directed at the first electronic equipment, is sent to the first electronics by the direction signal B and sets
Standby, the direction refers to the direction of the direction sensor direction of the launch signal of the second electronic equipment.
2. the method for claim 1, wherein the first electronic equipment obtains the first electronic equipment by direction sensor
Direction signal A, it is corresponding to calculate the stroke track by calculating the angle between stroke track and the direction signal A
Direction.
3. the method as described in any one of claim 1-2 claim, the first electronic equipment also connects from the second electronic equipment
Gravity sensor signal is received, determines whether that the second electronic equipment is sent by the way that gravity sensor signal is compared with reference value
Data.
4. method as claimed in claim 3, the second electronic equipment changes gravity sensor signal by adjusting posture.
5. method as claimed in claim 2, wherein, the first electronic equipment is calculated by choosing two points on stroke track
The angle between line and the direction signal of electronic equipment between 2 points determines the corresponding direction in stroke track.
6. a kind of electronic equipment, the electronic equipment includes:
Touch-screen, the touch for receiving user;
Direction sensor, the direction signal for output electronic equipment;
Transmission/reception unit, for sending/receiving direction signal and transmission/reception data;
Judging unit, for judging whether the direction of touch track of user is in opposite direction with the direction signal of reception;
Control unit, if the direction of the touch track of user with receive direction signal it is in opposite direction, control send/connect
Receive unit and send data,
Wherein, the direction signal that utilization orientation sensor is sensed represent electronic equipment whether be in request data posture,
When electronic equipment is that direction is directed at the electronic equipment for sending data, direction signal is sent to by transmission/reception unit
The electronic equipment of data is sent, the direction refers to the direction of direction sensor direction of the launch signal.
7. electronic equipment as claimed in claim 6, in addition to gravity sensor signal, the transmission/reception unit can also be sent out
Send/receive gravity sensor signal.
8. electronic equipment as claimed in claim 7, when judging unit judges that direction of the course bearing touched with receiving is believed
Number it is in opposite direction when, judging unit is also by the way that the gravity sensor signal of reception is compared with reference signal, to determine
Whether the data that transmission is specified.
9. electronic equipment as claimed in claim 6, wherein, judging unit calculates two by taking two points in touch track
Line between point and the angle between the direction signal of electronic equipment determine the direction of touch track.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210558519.2A CN103885684B (en) | 2012-12-20 | 2012-12-20 | Directional transmission method and the portable electric appts using this method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210558519.2A CN103885684B (en) | 2012-12-20 | 2012-12-20 | Directional transmission method and the portable electric appts using this method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103885684A CN103885684A (en) | 2014-06-25 |
CN103885684B true CN103885684B (en) | 2017-10-10 |
Family
ID=50954609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210558519.2A Active CN103885684B (en) | 2012-12-20 | 2012-12-20 | Directional transmission method and the portable electric appts using this method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103885684B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106020659B (en) * | 2015-03-16 | 2020-04-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN106201217B (en) * | 2016-07-27 | 2019-12-24 | 青岛海信电器股份有限公司 | File transmission method and terminal |
CN112822790B (en) * | 2021-01-08 | 2023-03-21 | 重庆创通联智物联网有限公司 | Data transmission method and device, electronic equipment and computer readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8457651B2 (en) * | 2009-10-02 | 2013-06-04 | Qualcomm Incorporated | Device movement user interface gestures for file sharing functionality |
CN102340332B (en) * | 2010-07-21 | 2014-03-19 | 中兴通讯股份有限公司 | Apparatus, equipment and method for transmitting data in touch mode |
CN102541326B (en) * | 2010-12-30 | 2016-10-05 | 上海科斗电子科技有限公司 | Data sending, receiving method for touch-screen system |
CN102419689B (en) * | 2011-10-27 | 2016-09-28 | 康佳集团股份有限公司 | A kind of gesture based on touch screen is slided and is transmitted document method and system |
CN102707880B (en) * | 2012-04-24 | 2015-01-07 | 华为终端有限公司 | File transmission method and terminal |
-
2012
- 2012-12-20 CN CN201210558519.2A patent/CN103885684B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103885684A (en) | 2014-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2945136B1 (en) | Mobile terminal and method for controlling the mobile terminal | |
KR101450411B1 (en) | Device movement user interface gestures for file sharing functionality | |
CN101846736B (en) | Indoor accurate positioning system and method thereof | |
CN109541655B (en) | Differential positioning system and method | |
WO2020114275A1 (en) | Virtual prop transfer method and apparatus, and electronic device and computer storage medium | |
US20140256250A1 (en) | Peer-to-peer data transfer using near field communication (nfc)-enabled styluses | |
KR101680667B1 (en) | Mobile device and method for controlling the mobile device | |
US20130337849A1 (en) | Mobile device position detection | |
CN103885684B (en) | Directional transmission method and the portable electric appts using this method | |
WO2021022981A1 (en) | Terminal interaction method and terminal | |
CN105101099A (en) | Body scale being capable of communication with intelligent terminal through bluetooth | |
KR20210104643A (en) | Charging station for tracked mobile objects | |
US9002273B2 (en) | Apparatus and process for detection of a bluetooth device | |
CN103095341A (en) | Data transmission control method and electronic equipment | |
CN102999284B (en) | Transmission method and electronic equipment | |
CN102340332B (en) | Apparatus, equipment and method for transmitting data in touch mode | |
CN103780665B (en) | Data transmission system, data transmission method and mobile electronic device | |
EP3402173A1 (en) | Mobile device and method for controlling mobile device | |
KR101549027B1 (en) | Mobile device and method for controlling the mobile device | |
CN110095792A (en) | The method and device of positioning terminal | |
CN203848930U (en) | Body scale capable of communicating with intelligent terminal through Bluetooth | |
CN209072744U (en) | A kind of wireless sensor location tracking system based on the mobile terminal iOS | |
CN110166947B (en) | Position sharing method, first mobile terminal and base station | |
JP2017146739A (en) | Location information sharing system, information processing device and program | |
KR20170006081A (en) | the mobile terminal and Payment method using a mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |