[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN104063095B - A kind of localization method and electronic equipment - Google Patents

A kind of localization method and electronic equipment Download PDF

Info

Publication number
CN104063095B
CN104063095B CN201310085609.9A CN201310085609A CN104063095B CN 104063095 B CN104063095 B CN 104063095B CN 201310085609 A CN201310085609 A CN 201310085609A CN 104063095 B CN104063095 B CN 104063095B
Authority
CN
China
Prior art keywords
electronic equipment
information
distance
writing
transmitter unit
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
Application number
CN201310085609.9A
Other languages
Chinese (zh)
Other versions
CN104063095A (en
Inventor
谢兵
黎广斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310085609.9A priority Critical patent/CN104063095B/en
Publication of CN104063095A publication Critical patent/CN104063095A/en
Application granted granted Critical
Publication of CN104063095B publication Critical patent/CN104063095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The present invention discloses a kind of localization method and electronic equipment.Method is applied to the first electronic equipment, first electronic equipment and the connection of the second electronic device data, first equipment includes at least two first collecting units, the first transmitter unit that second electronic equipment includes and the first collecting unit is matched, first transmitter unit is located at the first area of the second electronic equipment, first area is different from the writing end of the second electronic equipment, and method includes:The first transmitter unit is positioned by the first collecting unit, the positional information of first area is obtained;Obtain correction parameter information;Correction parameter information is used to represent the deviation between the position of first area and the position of writing end;According to correction parameter information and the positional information of first area, the positional information of writing end is determined.Using the method or electronic equipment of the present invention, it is possible to achieve to being accurately positioned for the writing pencil person's handwriting using ultrasonic wave positioning principle.

Description

A kind of localization method and electronic equipment
Technical field
The present invention relates to track positioning field, more particularly to a kind of localization method and electronic equipment.
Background technology
With continuing to develop for electronic equipment, the occupation mode for electronic equipment is also more and more various.In the prior art, There is a kind of utilization ultrasonic wave positioning principle to realize the writing pencil of hand-write input function.
The writing pencil of hand-write input function, which is illustrated, to be realized using ultrasonic wave positioning principle to this with an example below. The lower end of the writing pencil, at a certain distance from nib, is provided with ultrasonic transmitting element.The writing pencil is carried out in hand-written plane During writing, the side of hand-written plane is provided with least two ultrasonic wave receiving units.Between described two ultrasonic wave receiving units It is spaced apart.The ultrasonic signal received by described two ultrasonic wave receiving units, it is possible to achieve exist to writing pencil Person's handwriting positioning in hand-written plane.
But, the localization method of the person's handwriting of the prior art for writing pencil, due to being entered to ultrasonic transmitting element Row positioning, so as to realize the positioning for writing pencil person's handwriting, so actual location go out be ultrasonic transmitting element position and Track.It is of the prior art for hand-written again because the nib of ultrasonic transmitting element and writing pencil is spaced apart , there is deviation between the two in the person's handwriting localization method of pen, the person's handwriting the oriented running orbit actual with nib.Used for example, working as Family is using the ultrasonic transmitting element above writing pencil nib as rotary shaft, with writing pencil in hand-written one bowlder of plane picture, by Keep constant in the position of ultrasonic transmitting element, so, using person's handwriting localization method of the prior art, None- identified is gone out The circular trace that the nib of writing pencil is formed.
The content of the invention
It is an object of the invention to provide a kind of localization method and electronic equipment, it can eliminate in the prior art, simple basis Ultrasonic transmitting element is carried out to position the obtained person's handwriting running orbit actual with nib, the deviation existed between the two is real Now to being accurately positioned using the writing pencil person's handwriting of ultrasonic wave positioning principle.
To achieve the above object, the invention provides following scheme:
A kind of localization method, applied to the first electronic equipment, first electronic equipment and the second electronic device data connect Connect, first electronic equipment includes at least two first collecting units, and second electronic equipment includes and described first adopts Collect the first transmitter unit of units match, first transmitter unit is located at the first area of second electronic equipment, described First area is different from the writing end of the second electronic equipment, and methods described includes:
First transmitter unit is positioned by first collecting unit, the position letter of the first area is obtained Breath;
Obtain correction parameter information;The correction parameter information is used for the position and the position of writing end for representing first area Between deviation;
According to the correction parameter information and the positional information of the first area, the position letter of the writing end is determined Breath.
Optionally, the acquisition correction parameter information includes:
Offset distance information is obtained, the offset distance information represents throwing of first transmitter unit on writing plane The distance between shadow and the writing end;
And/or, offset direction information is obtained, the offset direction information represents first transmitter unit in writing plane On projection point to the direction of the writing end.
Optionally, the acquisition offset distance information, including:
Obtain the inclination angle between second electronic equipment and the writing plane;
The first distance is obtained, first distance is the distance of first transmitter unit and the writing end;
According to the inclination angle and the first distance, projection of first transmitter unit on writing plane and the book are calculated The distance between end is write, offset distance information is obtained.
Optionally, the periphery of second electronic equipment is provided with multiple second transmitter units, and the second different transmittings is single Member has different identification informations, and first electronic equipment is provided with the second collection matched with second transmitter unit Unit, acquisition offset direction information, including:
Obtain the first identification information of the second nearest transmitter unit of writing plane described in distance on first direction;Described One direction is perpendicular to the writing plane;
Obtain the second identification information of the second nearest transmitter unit of the second collecting unit described in distance in second direction;Institute It is that the direction of the second collecting unit is pointed to from second electronic equipment to state second direction;
According to first identification information and the second identification information, determine first transmitter unit on writing plane Projection point to the direction of the writing end, obtain offset direction information.
Optionally, gravity sensor is provided with second electronic equipment, the writing plane is horizontal plane, described to obtain The first identification information of the second nearest transmitter unit of writing plane described in distance on first direction is taken, including:
The of the second nearest transmitter unit of horizontal plane described in distance on gravity direction is obtained by the gravity sensor One identification information.
A kind of electronic equipment, the electronic equipment is the first electronic equipment, and first electronic equipment and the second electronics are set Standby data cube computation, first electronic equipment includes at least two first collecting units, and second electronic equipment includes and institute The first transmitter unit of the first collecting unit matching is stated, first transmitter unit is located at the firstth area of second electronic equipment Domain, the first area is different from the writing end of the second electronic equipment, and first electronic equipment includes:
First area position information acquisition module, for fixed to first transmitter unit by first collecting unit Position, obtains the positional information of the first area;
Correction parameter acquisition module, for obtaining correction parameter information;The correction parameter information is used to represent the firstth area Deviation between the position in domain and the position of writing end;
Writing end positional information determining module, for the position according to the correction parameter information and the first area Information, determines the positional information of the writing end.
Optionally, the correction parameter acquisition module, including:
Offset distance information acquisition unit, for obtaining offset distance information, the offset distance information represents described Distance between projection and the writing end of one transmitter unit on writing plane;
And/or, offset direction information acquisition unit, for obtaining offset direction information, the offset direction information is represented The direction of the writing end is pointed in projection of first transmitter unit on writing plane.
Optionally, the offset distance information acquisition unit, including:
Inclination angle obtains subelement, for obtaining the inclination angle between second electronic equipment and the writing plane;
First distance obtains subelement, for obtaining the first distance, first distance for first transmitter unit with The distance of the writing end;
Offset distance information computation subunit, it is single for according to the inclination angle and the first distance, calculating first transmitting Distance between projection and the writing end of the member on writing plane, obtains offset distance information.
Optionally, the periphery of second electronic equipment is provided with multiple second transmitter units, and the second different transmittings is single Member has different identification informations, and first electronic equipment is provided with the second collection matched with second transmitter unit Unit, the offset direction information acquisition unit, including:
First identification information obtains subelement, second hair nearest for obtaining writing plane described in distance on first direction Penetrate the first identification information of unit;The first direction is perpendicular to the writing plane;
Second identification information obtains subelement, and nearest for obtaining the second collecting unit described in distance in second direction the Second identification information of two transmitter units;The second direction is that the side of the second collecting unit is pointed to from second electronic equipment To;
Offset direction information determination subelement, for according to first identification information and the second identification information, it is determined that The direction of the writing end is pointed in projection of first transmitter unit on writing plane, obtains offset direction information.
Optionally, it is provided with gravity sensor on second electronic equipment, the writing plane is horizontal plane, described the One identification information obtains subelement, including:
The identification information of gravity direction first obtain subelement, for by the gravity sensor obtain gravity direction on away from First identification information of second transmitter unit nearest from the horizontal plane.
A kind of electronic equipment, the electronic equipment is the second electronic equipment, and second electronic equipment is set with the first electronics Standby data cube computation, first electronic equipment includes at least two first collecting units, and second electronic equipment includes and institute The first transmitter unit of the first collecting unit matching is stated, first transmitter unit is located at the firstth area of second electronic equipment Domain, the first area is different from the writing end of the second electronic equipment, and the periphery of second electronic equipment is provided with multiple Two transmitter units, the second different transmitter unit has a different identification informations, first electronic equipment be provided with it is described The second collecting unit that second transmitter unit matches.
Optionally, gravity sensor is provided with second electronic equipment, second electronic equipment includes:
First discrimination information acquisition unit, for obtaining level described in distance on gravity direction by the gravity sensor First identification information of the second nearest transmitter unit of face;
First identification information transmitting element, for sending first identification information to first electronic equipment.
The specific embodiment provided according to the present invention, the invention discloses following technique effect:
The localization method and electronic equipment of the present invention, by obtaining correction parameter information;According to the correction parameter information And the positional information of the first area, the positional information of the writing end is determined, can be eliminated in the prior art, simple root According to the position for ultrasonic transmitting element position obtained person's handwriting and nib reality, the deviation existed between the two is realized To being accurately positioned for the writing pencil person's handwriting using ultrasonic wave positioning principle.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the localization method embodiment 1 of the present invention;
Fig. 2 is the structural representation of the second electronic equipment of the present invention;
Fig. 3 is the flow chart of the localization method embodiment 2 of the present invention;
Fig. 4 is the flow chart of the localization method embodiment 3 of the present invention;
Fig. 5 is the schematic top plan view of the second electronic equipment;
Fig. 6 is the flow chart of the localization method embodiment 4 of the present invention;
Fig. 7 is the structure chart of the electronic equipment embodiment 1 of the present invention;
Fig. 8 is the structure chart of the offset distance information acquisition unit of the electronic equipment of the present invention;
Fig. 9 is the structure chart of the offset direction information acquisition unit of the electronic equipment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real Applying mode, the present invention is further detailed explanation.
The localization method of the present invention, applied to the first electronic equipment.First electronic equipment can be provided with first The electronic equipment of collecting unit, such as notebook computer.First collecting unit can be ultrasonic signal collecting unit.Institute The signal of the first collecting unit collection is stated, can be used to realize the positioning function to the first transmitter unit.First transmitting Unit can be ultrasonic signal transmitter unit.First electronic equipment and the second electronic device data connection.Wherein, it is described Second electronic equipment can be writing pencil;The mode of data cube computation can be wired connection or wireless connection.
First electronic equipment includes at least two first collecting units, and second electronic equipment includes and described the First transmitter unit of one collecting unit matching, first transmitter unit is located at the first area of second electronic equipment, The first area is different from the writing end of the second electronic equipment.Specifically, first transmitter unit can be located at described the The top of the writing end of two electronic equipments, i.e., described first area can be the top of the writing end of second electronic equipment. The writing end of second electronic equipment, can be the nib of writing pencil.
Fig. 1 is the flow chart of the localization method embodiment 1 of the present invention.As shown in figure 1, methods described can include:
Step 101:First transmitter unit is positioned by first collecting unit, the first area is obtained Positional information;
First collecting unit can be ultrasonic signal collecting unit, and first transmitter unit can be ultrasonic wave Signal transmitter unit.First electronic equipment includes at least two first collecting units.At least two first collection is single Member can be arranged on the side of the first electronic equipment.Can be to first transmitter unit by first collecting unit Positioned on one imaginary plane.First imaginary plane is as where first collecting unit and first transmitter unit The plane that point is constituted.The positional information of the first area where the first transmitter unit can be obtained after positioning.
Step 102:Obtain correction parameter information;The correction parameter information is used for position and the writing for representing first area Deviation between the position at end;
Fig. 2 is the structural representation of the second electronic equipment of the present invention.As shown in Fig. 2 writing plane 206 can be imagination Plane.Second electronic equipment 201 can be a kind of shape of writing pencil.The first transmitting list is provided with second electronic equipment 201 Member 202.Second electronic equipment 201 has writing end 203.
Generally, by the first collecting unit can position be the first transmitter unit 202 position.But, due to first The position of transmitter unit 202 is not the position of writing end 203, so the position according to the first transmitter unit 202 is needed, it is determined that The position of writing end 203.
In step 102, what the correction parameter information was represented is exactly position and the writing end 203 of the first transmitter unit 202 Position between deviation.
Specifically, the correction parameter information can include offset distance information, and/or, offset direction information.
The offset distance information can represent projection of first transmitter unit on writing plane and the writing The distance between end.In fig. 2, the offset distance information can just represent first transmitter unit 202 in writing plane The distance between projection 205 and the writing end 203 on 206.
The offset direction information can represent that the book is pointed in projection of first transmitter unit on writing plane Write the direction at end.In fig. 2, the offset direction information can just represent first transmitter unit 202 in writing plane 206 On projection 205 point to the direction of the writing end 203.
Step 103:According to the correction parameter information and the positional information of the first area, the writing end is determined Positional information.
Because the positional information of the first area can be obtained according to the first collecting unit to the positioning of the first transmitter unit, The correction parameter information is also known, also, the correction parameter information represents position and the writing end of first area Deviation between position, so, according to the correction parameter information and the positional information of the first area, it can determine institute State the positional information of writing end.
In the present embodiment, by obtaining correction parameter information;According to the correction parameter information and the first area Positional information, determine the positional information of the writing end, can eliminate in the prior art, it is simple to launch single according to ultrasonic wave Member is carried out positioning the obtained person's handwriting position actual with nib, and the deviation existed between the two is realized to using ultrasonic wave positioning The writing pencil person's handwriting of principle is accurately positioned.
Fig. 3 is the flow chart of the localization method embodiment 2 of the present invention.As shown in figure 3, methods described can include:
Step 301:First transmitter unit is positioned by first collecting unit, the first area is obtained Positional information;
Step 302:Obtain the inclination angle between second electronic equipment and the writing plane;
Gravity sensor can be provided with second electronic equipment.Described can be detected by gravity sensor Inclination angle between two electronic equipments and the writing plane.
Specifically, can first detect the inclination angle between second electronic equipment and horizontal plane by gravity sensor. The locus of the first collecting unit on the first electronic equipment can be detected by other gravity sensor, second Gravity sensor on electronic equipment can detect the locus of the first transmitter unit, single according at least two first collections Member locus, and the first transmitter unit locus, it may be determined that the inclination angle gone out between writing plane and horizontal plane.Root According to the inclination angle between the inclination angle between writing plane and horizontal plane, and the second electronic equipment and horizontal plane, institute can be detected State the inclination angle between the second electronic equipment and the writing plane.Certainly, the writing plane can also be overlapped with horizontal plane.
Step 303:Obtain the first distance, first distance for first transmitter unit and the writing end away from From;
Reference picture 2, first distance is the distance between the first transmitter unit 202 and writing end 203.Generally, first Transmitter unit 202 is provided in the fixed position on the second electronic equipment 201.Therefore, first transmitter unit and institute Stating the distance of writing end can be stored in as given data in the first electronic equipment or the second electronic equipment.
Step 304:According to the inclination angle and the first distance, projection of first transmitter unit on writing plane is calculated The distance between with the writing end, obtain offset distance information.
The cosine value at the inclination angle can be multiplied by with first distance, the offset distance is obtained.
Step 305:According to the offset distance information and the positional information of the first area, the writing end is determined Positional information.
In the present embodiment, the direction of offset distance can be preset, by throwing of the first area on writing plane Shadow, according to offset direction set in advance, mobile first distance, so as to obtain and determine the positional information of the writing end.
Fig. 4 is the flow chart of the localization method embodiment 3 of the present invention.In the present embodiment, outside second electronic equipment It is provided with multiple second transmitter units week, the second different transmitter units has different identification informations, and first electronics is set It is standby to be provided with the second collecting unit matched with second transmitter unit.
Referring to Fig. 2, the second transmitter unit 204 is additionally provided with second electronic equipment 201.Fig. 5 is that the second electronics is set Standby schematic top plan view.In Fig. 5, the periphery of the second electronic equipment is provided with 8 the second transmitter units, in Figure 5, number is used respectively Word 1-8 is identified.Second transmitter unit can be infrared signal transmitter unit.The signal of different the second transmitter unit transmittings In, there can be different identification informations.Second receiving unit is received after the signal of the second transmitter unit transmitting, can basis The identification information, determines that the signal is sent by which the second transmitter unit.
As shown in figure 4, methods described can include:
Step 401:First transmitter unit is positioned by first collecting unit, the first area is obtained Positional information;
Step 402:Obtain the first identification letter of the second nearest transmitter unit of writing plane described in distance on first direction Breath;The first direction is perpendicular to the writing plane;
When the writing plane is horizontal plane, the first direction can be just gravity direction.It can be passed by gravity Sensor gets the first identification information of second transmitter unit nearest apart from the writing plane.For example in Fig. 5, distance is described The serial number 5 of the second nearest transmitter unit of writing plane (in Fig. 5 be horizontal plane), the of the second transmitter unit of serial number 5 One identification information can also be 5.
Gravity sensor is provided with second electronic equipment specifically, working as, when the writing plane is horizontal plane, institute The first identification information for obtaining the second nearest transmitter unit of writing plane described in distance on first direction is stated, can be included:
The of the second nearest transmitter unit of horizontal plane described in distance on gravity direction is obtained by the gravity sensor One identification information.
Step 403:Obtain the second nearest transmitter unit of the second collecting unit described in distance in second direction second is known Other information;The second direction is that the direction of the second collecting unit is pointed to from second electronic equipment.
In Fig. 5, the first electronic equipment is 501, and the second collecting unit 502 is arranged on the side of the first electronic equipment 501.Away from The serial number 3 of second transmitter unit nearest from second collecting unit 502, the first of the second transmitter unit of serial number 3 Identification information can also be 3.It from second electronic equipment (can be specifically the of serial number 3 in Fig. 5 that the second direction, which is, Two transmitter units) point to the second collecting unit 502 direction.
Step 404:According to first identification information and the second identification information, determine first transmitter unit in book The direction that the writing end is pointed in the projection in plane is write, offset direction information is obtained.
Specifically, the sequence number for the second transmitter unit for pointing to writing plane can be known according to first identification information, The sequence number for the second transmitter unit for pointing to the second collecting unit, and because multiple the can be known according to second identification information Relative position relation between two collecting units is known, so according to spatial relation, just can determine described first The direction of the writing end is pointed in projection of the transmitter unit on writing plane, obtains offset direction information.
By taking Fig. 5 as an example, the serial number 5 of the second transmitter unit of writing plane is pointed in Fig. 5, the second collecting unit is pointed to The serial number 3 of second transmitter unit, then, it is possible to determine that institute is pointed in projection of first transmitter unit on writing plane It is the direction from A to B to state the direction of writing end.
Step 405:According to the correction parameter information and the positional information of the first area, the writing end is determined Positional information.
In the present embodiment, offset distance can be preset, by projection of the first area on writing plane, according to The offset direction measured, mobile default bias distance, so as to obtain and determine the positional information of the writing end.
Fig. 6 is the flow chart of the localization method embodiment 4 of the present invention.As shown in fig. 6, methods described includes:
Step 601:First transmitter unit is positioned by first collecting unit, the first area is obtained Positional information;
Step 602:Obtain the inclination angle between second electronic equipment and the writing plane;
Step 603:Obtain the first distance, first distance for first transmitter unit and the writing end away from From;
Step 604:According to the inclination angle and the first distance, projection of first transmitter unit on writing plane is calculated The distance between with the writing end, obtain offset distance information.
Step 605:Obtain the first identification letter of the second nearest transmitter unit of writing plane described in distance on first direction Breath;The first direction is perpendicular to the writing plane;
Step 606:Obtain the second nearest transmitter unit of the second collecting unit described in distance in second direction second is known Other information;The second direction is that the direction of the second collecting unit is pointed to from second electronic equipment;
Step 607:According to first identification information and the second identification information, determine first transmitter unit in book The direction that the writing end is pointed in the projection in plane is write, offset direction information is obtained.
Step 608:By the point of projection of first transmitter unit on the writing plane, moved on offset direction Offset distance, obtains the position of the writing end of second electronic equipment.
In the present embodiment, both offset direction and offset distance are obtained, according to offset direction and offset distance The position of the writing end of second electronic equipment is determined, can make it that positioning is more accurate.
The invention also discloses a kind of electronic equipment.The electronic equipment is the first electronic equipment, for example, be provided with first The notebook computer of collecting unit.First electronic equipment and the second electronic device data connection.Second electronic equipment It can be writing pencil.First electronic equipment include at least two first collecting units, second electronic equipment include and First transmitter unit of the first collecting unit matching, first transmitter unit is located at the first of second electronic equipment Region, the first area is different from the writing end of the second electronic equipment.
Fig. 7 is the structure chart of the electronic equipment embodiment 1 of the present invention.As shown in fig. 7, the electronic equipment can include:
First area position information acquisition module 701, for single to the described first transmitting by first collecting unit Member positioning, obtains the positional information of the first area;
Correction parameter acquisition module 702, for obtaining correction parameter information;The correction parameter information is used to represent first Deviation between the position in region and the position of writing end;
Writing end positional information determining module 703, for according to the correction parameter information and the first area Positional information, determines the positional information of the writing end.
Wherein, the correction parameter acquisition module 702, can include:
Offset distance information acquisition unit, for obtaining offset distance information, the offset distance information represents described Distance between projection and the writing end of one transmitter unit on writing plane;
And/or, offset direction information acquisition unit, for obtaining offset direction information, the offset direction information is represented The direction of the writing end is pointed in projection of first transmitter unit on writing plane.
In the present embodiment, by obtaining correction parameter information;According to the correction parameter information and the first area Positional information, determine the positional information of the writing end, can eliminate in the prior art, it is simple to launch single according to ultrasonic wave Member is carried out positioning the obtained person's handwriting position actual with nib, and the deviation existed between the two is realized to using ultrasonic wave positioning The writing pencil person's handwriting of principle is accurately positioned.
Fig. 8 is the structure chart of the offset distance information acquisition unit of the electronic equipment of the present invention.As shown in figure 8, described inclined Moving range information acquiring unit can include:
Inclination angle obtains subelement 801, for obtaining the inclination angle between second electronic equipment and the writing plane;
First distance obtains subelement 802, and for obtaining the first distance, first distance is first transmitter unit With the distance of the writing end;
Offset distance information computation subunit 803, for according to the inclination angle and the first distance, calculating first transmitting Distance between projection and the writing end of the unit on writing plane, obtains offset distance information.
Fig. 9 is the structure chart of the offset direction information acquisition unit of the electronic equipment of the present invention.As shown in figure 9, when described The periphery of second electronic equipment is provided with multiple second transmitter units, and the second different transmitter units has different identification letters Breath, when first electronic equipment is provided with the second collecting unit matched with second transmitter unit, the skew side It can include to information acquisition unit:
First identification information obtains subelement 901, and nearest for obtaining writing plane described in distance on first direction the First identification information of two transmitter units;The first direction is perpendicular to the writing plane;
Second identification information obtains subelement 902, and for obtaining in second direction, the second collecting unit is nearest described in distance The second transmitter unit the second identification information;The second direction is to point to the second collecting unit from second electronic equipment Direction;
Offset direction information determination subelement 903, for according to first identification information and the second identification information, really The direction of the writing end is pointed in projection of fixed first transmitter unit on writing plane, obtains offset direction information.
Wherein, it is described when the writing plane is horizontal plane when being provided with gravity sensor on second electronic equipment First identification information obtains subelement, can include:
The identification information of gravity direction first obtain subelement, for by the gravity sensor obtain gravity direction on away from First identification information of second transmitter unit nearest from the horizontal plane.
The invention also discloses a kind of electronic equipment.The electronic equipment is the second electronic equipment, such as writing pencil.It is described Second electronic equipment is connected with the first electronic device data.First electronic equipment can be provided with the first collecting unit Notebook computer.
First electronic equipment includes at least two first collecting units, and second electronic equipment includes and described the First transmitter unit of one collecting unit matching, first transmitter unit is located at the first area of second electronic equipment, The first area is different from the writing end of the second electronic equipment, and the periphery of second electronic equipment is provided with multiple second hairs Unit is penetrated, the second different transmitter units has different identification informations, and first electronic equipment is provided with and described second The second collecting unit that transmitter unit matches.
Second electronic equipment can also include:
First discrimination information acquisition unit, for obtaining level described in distance on gravity direction by the gravity sensor First identification information of the second nearest transmitter unit of face;
First identification information transmitting element, for sending first identification information to first electronic equipment.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware, but in many cases before Person is more preferably embodiment.Understood based on such, whole that technical scheme contributes to background technology or Person part can be embodied in the form of software product, and the computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions are to cause a computer equipment (can be personal computer, service Device, or the network equipment etc.) perform method described in some parts of each embodiment of the invention or embodiment.
The embodiment of each in this specification is described by the way of progressive, and what each embodiment was stressed is and other Between the difference of embodiment, each embodiment identical similar portion mutually referring to.For electronics disclosed in embodiment For equipment, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method portion Defend oneself bright.
Specific case used herein is set forth to the principle and embodiment of the present invention, and above example is said The bright method and its core concept for being only intended to help to understand the present invention;Simultaneously for those of ordinary skill in the art, foundation The thought of the present invention, will change in specific embodiments and applications.In summary, this specification content is not It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of localization method, applied to the first electronic equipment, it is characterised in that first electronic equipment and the second electronics are set Standby data cube computation, first electronic equipment includes at least two first collecting units, and second electronic equipment includes and institute The first transmitter unit of the first collecting unit matching is stated, first transmitter unit is located at the firstth area of second electronic equipment Domain, the first area is different from the writing end of the second electronic equipment, and the periphery of second electronic equipment is provided with multiple Two transmitter units, the second different transmitter unit has a different identification informations, first electronic equipment be provided with it is described The second collecting unit that second transmitter unit matches, methods described includes:
First transmitter unit is positioned by first collecting unit, the positional information of the first area is obtained;
Obtain correction parameter information;The correction parameter information is used to represent between the position of first area and the position of writing end Deviation, the correction parameter information includes offset direction information, and the offset direction information represents first transmitter unit The direction of the writing end is pointed in projection on writing plane;
According to the correction parameter information and the positional information of the first area, the positional information of the writing end is determined;
Wherein, the acquisition methods of the offset direction information, including:
Obtain the first identification information of the second nearest transmitter unit of writing plane described in distance on first direction;The first party To perpendicular to the writing plane;
Obtain the second identification information of the second nearest transmitter unit of the second collecting unit described in distance in second direction;Described Two directions are the direction that the second collecting unit is pointed to from second electronic equipment;
According to first identification information and the second identification information, throwing of first transmitter unit on writing plane is determined Shadow points to the direction of the writing end, obtains offset direction information.
2. according to the method described in claim 1, it is characterised in that the acquisition correction parameter information includes:
Obtain offset distance information, the offset distance information represent projection of first transmitter unit on writing plane with The distance between described writing end;
Obtain offset direction information.
3. method according to claim 2, it is characterised in that the acquisition offset distance information, including:
Obtain the inclination angle between second electronic equipment and the writing plane;
The first distance is obtained, first distance is the distance of first transmitter unit and the writing end;
According to the inclination angle and the first distance, projection of first transmitter unit on writing plane and the writing end are calculated The distance between, obtain offset distance information.
4. according to the method described in claim 1, it is characterised in that be provided with gravity sensor on second electronic equipment, The writing plane is horizontal plane, the of the second nearest transmitter unit of writing plane described in distance on the acquisition first direction One identification information, including:
Obtain the second nearest transmitter unit of horizontal plane described in distance on gravity direction by the gravity sensor first is known Other information.
5. a kind of electronic equipment, it is characterised in that the electronic equipment is the first electronic equipment, first electronic equipment and the Two electronic device datas are connected, and first electronic equipment includes at least two first collecting units, second electronic equipment Including the first transmitter unit matched with first collecting unit, first transmitter unit is located at second electronic equipment First area, the first area is different from the writing end of the second electronic equipment, and the periphery of second electronic equipment is set There are multiple second transmitter units, the second different transmitter units has different identification informations, and first electronic equipment is set There is the second collecting unit matched with second transmitter unit, first electronic equipment includes:
First area position information acquisition module, for being positioned by first collecting unit to first transmitter unit, Obtain the positional information of the first area;
Correction parameter acquisition module, for obtaining correction parameter information;The correction parameter information is used to represent first area Deviation between position and the position of writing end, the correction parameter information includes offset direction information, the offset direction letter Breath represents that the direction of the writing end is pointed in projection of first transmitter unit on writing plane;
Writing end positional information determining module, for being believed according to the position of the correction parameter information and the first area Breath, determines the positional information of the writing end;
Wherein, the correction parameter acquisition module, including offset direction information acquisition unit;
The offset direction information acquisition unit, including:
First identification information obtains subelement, single for obtaining the second nearest transmitting of writing plane described in distance on first direction First identification information of member;The first direction is perpendicular to the writing plane;
Second identification information obtains subelement, second hair nearest for obtaining the second collecting unit described in distance in second direction Penetrate the second identification information of unit;The second direction is that the direction of the second collecting unit is pointed to from second electronic equipment;
Offset direction information determination subelement, for according to first identification information and the second identification information, it is determined that described The direction of the writing end is pointed in projection of first transmitter unit on writing plane, obtains offset direction information.
6. electronic equipment according to claim 5, it is characterised in that the correction parameter acquisition module, including:
Offset distance information acquisition unit, for obtaining offset distance information, the offset distance information represents first hair The distance penetrated between projection and the writing end of the unit on writing plane;
Offset direction information acquisition unit, for obtaining offset direction information.
7. electronic equipment according to claim 6, it is characterised in that the offset distance information acquisition unit, including:
Inclination angle obtains subelement, for obtaining the inclination angle between second electronic equipment and the writing plane;
First distance obtains subelement, for obtaining the first distance, first distance for first transmitter unit with it is described The distance of writing end;
Offset distance information computation subunit, exists for according to the inclination angle and the first distance, calculating first transmitter unit The distance between projection and the writing end on writing plane, obtain offset distance information.
8. electronic equipment according to claim 5, it is characterised in that be provided with gravity sensitive on second electronic equipment Device, the writing plane is horizontal plane, and first identification information obtains subelement, including:
The identification information of gravity direction first obtains subelement, for obtaining distance institute on gravity direction by the gravity sensor State the first identification information of the second nearest transmitter unit of horizontal plane.
9. a kind of electronic equipment, it is characterised in that the electronic equipment is the second electronic equipment, second electronic equipment and power Profit requires 5 the first electronic device data connection, and first electronic equipment includes at least two first collecting units, described the The first transmitter unit that two electronic equipments include and first collecting unit is matched, first transmitter unit is located at described the The first area of two electronic equipments, the first area is different from the writing end of the second electronic equipment, second electronic equipment Periphery be provided with multiple second transmitter units, the second different transmitter units has different identification informations, first electricity Sub- equipment is provided with the second collecting unit matched with second transmitter unit.
10. electronic equipment according to claim 9, it is characterised in that gravity biography is provided with second electronic equipment Sensor, second electronic equipment includes:
First discrimination information acquisition unit, for obtaining nearest apart from horizontal plane on gravity direction by the gravity sensor First identification information of the second transmitter unit;
First identification information transmitting element, for sending first identification information to first electronic equipment.
CN201310085609.9A 2013-03-18 2013-03-18 A kind of localization method and electronic equipment Active CN104063095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310085609.9A CN104063095B (en) 2013-03-18 2013-03-18 A kind of localization method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310085609.9A CN104063095B (en) 2013-03-18 2013-03-18 A kind of localization method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104063095A CN104063095A (en) 2014-09-24
CN104063095B true CN104063095B (en) 2017-09-29

Family

ID=51550837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310085609.9A Active CN104063095B (en) 2013-03-18 2013-03-18 A kind of localization method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104063095B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105572639B (en) * 2016-01-06 2017-11-03 南昌大学 A kind of indoor ultrasonic Differential positioning method
CN112860079B (en) * 2019-11-26 2024-07-19 华为机器有限公司 Method, equipment, chip and medium for positioning pen point of handwriting pen

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6184873B1 (en) * 1998-01-20 2001-02-06 Electronics For Imaging, Inc. Pen positioning system
US6717073B2 (en) * 2000-12-29 2004-04-06 Intel Corporation Wireless display systems, styli, and associated methods
CN1521688A (en) * 2003-02-14 2004-08-18 微软公司 Determining the location of the tip of an electronic stylus
CN101398720A (en) * 2007-09-30 2009-04-01 联想(北京)有限公司 Pen interactive device
CN102253769A (en) * 2011-08-12 2011-11-23 宁波易方教育科技发展有限公司 Handwriting input calibrator and calibration method thereof
CN103294285A (en) * 2012-02-23 2013-09-11 精量电子(深圳)有限公司 Ultrasonic handwriting input system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6184873B1 (en) * 1998-01-20 2001-02-06 Electronics For Imaging, Inc. Pen positioning system
US6717073B2 (en) * 2000-12-29 2004-04-06 Intel Corporation Wireless display systems, styli, and associated methods
CN1521688A (en) * 2003-02-14 2004-08-18 微软公司 Determining the location of the tip of an electronic stylus
CN101398720A (en) * 2007-09-30 2009-04-01 联想(北京)有限公司 Pen interactive device
CN102253769A (en) * 2011-08-12 2011-11-23 宁波易方教育科技发展有限公司 Handwriting input calibrator and calibration method thereof
CN103294285A (en) * 2012-02-23 2013-09-11 精量电子(深圳)有限公司 Ultrasonic handwriting input system

Also Published As

Publication number Publication date
CN104063095A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
US9122916B2 (en) Three dimensional fingertip tracking
CN104936283B (en) Indoor orientation method, server and system
Niu et al. Resource-efficient and automated image-based indoor localization
US20120025975A1 (en) Augmented reality and location determination methods and apparatus
CN107194361B (en) Two-dimensional posture detection method and device
CN106793086A (en) A kind of indoor orientation method
CN205644666U (en) On --spot personnel location and attendance management intelligent system of industrial production
CN103440686A (en) Mobile authentication system and method based on voiceprint recognition, face recognition and location service
CN104781849A (en) Fast initialization for monocular visual simultaneous localization and mapping (SLAM)
CN104200702B (en) System and method for looking up parking space
CN103150777A (en) Mobile attendance method and system
CN103826301A (en) Node positioning method and device
CN105323208A (en) Method for tracing calligraphy and painting identity tag
Meek et al. Mobile capture of remote points of interest using line of sight modelling
EP3066544A1 (en) Disambiguation of styli by correlating acceleration on touch inputs
CN104063095B (en) A kind of localization method and electronic equipment
KR101467295B1 (en) Information input device and method
CN103197761B (en) Gesture identification method and device
CN103870812A (en) Method and system for acquiring palmprint image
CN105574535B (en) Graphic symbol recognition method based on indirect distance angle histogram space relational model
CN105320390A (en) Double handwriting recognition method and device based on electromagnetic white plate and electromagnetic pens
CN102833671A (en) Method and system for positioning robot vision
CN103886303A (en) Palmprint recognition method and device
CN106358150B (en) A kind of mobile device indoor orientation method
CN106215404A (en) Method, device and system for checking motion integral at any time

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