CN104035631B - A kind of detection method and a kind of electronic equipment - Google Patents
A kind of detection method and a kind of electronic equipment Download PDFInfo
- Publication number
- CN104035631B CN104035631B CN201310067415.6A CN201310067415A CN104035631B CN 104035631 B CN104035631 B CN 104035631B CN 201310067415 A CN201310067415 A CN 201310067415A CN 104035631 B CN104035631 B CN 104035631B
- Authority
- CN
- China
- Prior art keywords
- capacitance
- detection unit
- electronic equipment
- capacitance detection
- electric capacity
- 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
Landscapes
- Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
- Position Input By Displaying (AREA)
Abstract
This application discloses a kind of detection method and a kind of electronic equipment, methods described is applied to the first electronic equipment, first electronic equipment has M surface, M is the integer more than or equal to 4, first electronic equipment is internally provided with the first capacitance detection unit, and each surface connects in first capacitance detection unit and the M surface, and methods described includes:When the T1 moment that first electronic equipment is disengaged with operating body and contacted with the second electronic equipment, the first capacitance is obtained by first capacitance detection unit;Based on corresponding relation, determine that first surface corresponding with first capacitance is the surface contacted with second electronic equipment in the M surface.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of detection method and a kind of electronic equipment.
Background technology
In the prior art, E-dice (electronic dice) takes active mode, using acceleration transducer detection direction and
A kind of Zigbee (short-distance wireless communication technology) communication is transmitted, identification process of the prior art to points
For:The direction of dice is first detected with acceleration transducer, the points of dice are then quoted to corresponding electronic equipment by Zigbee,
To be played.
It can be seen that, it is the points that dice is obtained by the direction vector of the acceleration transducer in dice in the prior art
Information.Specifically it is:First, the contact surface for obtaining dice is detected by acceleration transducer, dice is then based on again
Contact surface so that obtain dice point information.
But, the applicant has found in the prior art, acceleration sensing during technical scheme is realized
Device is when the contact surface of dice is detected, it is necessary to when dice stop motion and after totally stationary, can be detected.
Conversely, in the prior art, when some contact surface of dice is contacted with horizontal plane, but rocked with slight, this
It is that its acceleration is among change, now being examined using acceleration transducer in the prior art cannot obtain accurate
Detected value, that is, there is the inaccurate technical problem of detection.
Therefore, in the prior art, it is inaccurate with detecting when the contact surface of dice is detected using acceleration transducer
Technical problem.
The content of the invention
The present invention provides a kind of detection method and a kind of electronic equipment, be used to solve present in prior art using plus
With the inaccurate technical problem of detection during the contact surface of velocity sensor detection dice.
On the one hand, one embodiment that the present invention passes through the application, there is provided following technical scheme:
A kind of detection method, methods described is applied to the first electronic equipment, and first electronic equipment has M surface, M
It is the integer more than or equal to 4, first electronic equipment is internally provided with the first capacitance detection unit, and first electricity
Each surface connects in holding detection unit and the M surface, and methods described includes:As first electronic equipment and behaviour
At the T1 moment for being disengaged as body and being contacted with the second electronic equipment, the first electricity is obtained by first capacitance detection unit
Capacitance;Based on corresponding relation, determined in the M surface first surface corresponding with first capacitance be with it is described
The surface of the second electronic equipment contact.
Preferably, the corresponding relation is specially:First corresponding relation of capacitance and contact surface, the M surface
In the electric capacity material of different area is provided with each surface, when first capacitance detection unit is total capacitance detection unit
When, the electric capacity material of different area is connected with the total capacitance detection unit on described each face.
Preferably, when the corresponding relation be first corresponding relation when, it is described when first electronic equipment with behaviour
At the T1 moment for being disengaged as body and being contacted with the second electronic equipment, the first electricity is obtained by first capacitance detection unit
Capacitance, specially:When the first electric capacity material on first surface in the M surface is contacted with second electronic equipment,
According to the first area of the first electric capacity material, calculate and obtain corresponding capacitance.
Preferably, it is described based on corresponding relation, corresponding with first capacitance is determined in the M surface
One surface is the surface contacted with second electronic equipment, specially:Based on first corresponding relation, according to the correspondence
Capacitance, determine that the first surface is the surface contacted with second electronic equipment.
Preferably, the corresponding relation is specially:M described in second corresponding relation of capacitance detection unit and contact surface
The electric capacity material of different area is provided with each surface in surface, first capacitance detection unit is by M the second electric capacity
Detection unit is constituted, in electric capacity material and the M the second capacitance detection unit of the different area set on described each face
Each second capacitance detection unit connects one to one.
Preferably, when the corresponding relation be second corresponding relation when, it is described when first electronic equipment with behaviour
At the T1 moment for being disengaged as body and being contacted with the second electronic equipment, the first electricity is obtained by first capacitance detection unit
Capacitance, specifically also includes:When the electric capacity material on the first surface is contacted with second electronic equipment, according to described
Electric capacity material on one surface, obtains first capacitance;According to first capacitance, in M the second capacitance detecting list
The 3rd capacitance detection unit that capacitance changes is determined in unit, the 3rd capacitance detection unit is and first table
The capacitance detection unit connected on face.
Preferably, it is described based on corresponding relation, corresponding with first capacitance is determined in the M surface
One surface is the surface contacted with second electronic equipment, specially:Based on second corresponding relation, according to the described 3rd
Capacitance detection unit, determines that the first surface is the surface contacted with second electronic equipment.
Preferably, when the corresponding relation is specially first corresponding relation or capacitance detecting of capacitance and contact surface
During the second corresponding relation of unit and contact surface, methods described also includes:When first electronic equipment and the operating body
At the T2 moment of contact, at least two second capacitances are obtained by first capacitance detection unit, wherein, described at least two
Each second capacitance is different in second capacitance, wherein, the T1 moment is different from the T2 moment;Based on described
Corresponding relation, determines at least two surface corresponding with described at least two second capacitances and institute in the M surface
State operating body contact.
On the other hand, the present invention is provided by another embodiment of the application:
A kind of electronic equipment, the electronic equipment has M surface, and M is the integer more than or equal to 4, the electronic equipment
Be internally provided with the first capacitance detection unit, and first capacitance detection unit and each table in the M surface
Face all connects, and the electronic equipment includes:First capacitance detection unit, for being set with the second electronics when the first electronic equipment
During standby contact, the first capacitance is obtained;Determining unit, for based on corresponding relation, determined in the M surface with it is described
The corresponding first surface of first capacitance is the surface contacted with second electronic equipment.
Preferably, the electric capacity material of different area is provided with the M surface on each surface, when first electric capacity
When detection unit is total capacitance detection unit, the electric capacity material of different area detects single with the total capacitance on described each face
Unit's connection.
Preferably, when the first corresponding relation that the corresponding relation is capacitance and contact surface, the total capacitance inspection
Unit is surveyed specifically for being contacted with second electronic equipment when the first electric capacity material on first surface in the M surface
When, according to the first area of the electric capacity material on the first surface, calculate and obtain corresponding capacitance.
Preferably, the determining unit is specifically for based on first corresponding relation, according to the corresponding capacitance,
Determine that the first surface is the surface contacted with second electronic equipment.
Preferably, the electric capacity material of different area, first electric capacity are provided with each surface in the M surface
Detection unit is made up of M the second capacitance detection unit, the electric capacity material and the M of the different area set on described each face
Each second capacitance detection unit connects one to one in individual second capacitance detection unit.
Preferably, when the second corresponding relation that the corresponding relation is capacitance detection unit and contact surface, the M
Second capacitance detection unit specifically for when the electric capacity material on the first surface is contacted with second electronic equipment, root
According to the electric capacity material on the first surface, first capacitance is obtained;The M the second capacitance detection unit is specifically also used
According to first capacitance, the 3rd electric capacity inspection that capacitance changes is determined in M the second capacitance detection unit
Unit is surveyed, the 3rd capacitance detection unit is the capacitance detection unit being connected with the first surface.
One or more technical schemes in above-mentioned technical proposal, have the following technical effect that or advantage:
In one or more embodiment above, the specific implementation process of detection method is described, implemented in the application
In example, first when the T1 moment that first electronic equipment is disengaged with operating body and contacted with the second electronic equipment, lead to
Cross first capacitance detection unit and obtain the first capacitance, be then based on corresponding relation, determined in M surface and first
The corresponding first surface of capacitance is the surface contacted with the second electronic equipment, it is seen then that due to being according to capacitance in the application
Corresponding relation and between surface determines contact surface, in the case where dice is motion and standstill state, can accurately detect contact surface,
Thus it is possible to contact surface can be detected when the first electronic equipment is contacted with the second electronic equipment, so, effectively solve
Inaccurate technical problem is detected present in prior art, with the accurate effect of detection.
Further, due to the embodiment of the present application in the first electronic equipment have two kinds of structures, one kind is built-in one
Each surface connection on total capacitance detection unit, and the first electronic equipment;Another kind is that built-in quantity and the first electronics set
The equal capacitance detection unit of standby number of surfaces, each electric capacity is corresponded to the surface of detection unit and the first electronic equipment
Connection.So, the application can realize different detection modes, therefore in actual applications, also have according to both annexations
Have can be flexibly to select a kind of mode of two ways to be detected technique effect.
Further, can be detected when two different by the first capacitance detection unit, the first electronic equipment
The contact of specific and operating body or and the second electronic equipment contact.
Brief description of the drawings
Fig. 1 is the flow chart of detection method in the embodiment of the present application;
Fig. 2 is schematic diagram of the dice on panel computer in the embodiment of the present application;
Fig. 3 A- Fig. 3 F are the schematic diagram on some surface of dice in the embodiment of the present application;
Fig. 4 is the schematic diagram of electronic equipment in the embodiment of the present application.
Specific embodiment
In order to there is detection not when solving and the contact surface of acceleration transducer detection dice is used present in prior art
Accurate technical problem, the embodiment of the present invention proposes a kind of detection method and a kind of electronic equipment, its solution totality
Thinking is as follows:
In this application, it is proposed that a kind of detection method, the method is applied to the first electronic equipment.First electronic equipment has
There is a M surface, M is the integer more than or equal to 4, the first electronic equipment is internally provided with the first capacitance detection unit, and
Each surface connects in one capacitance detection unit and M surface.The specific embodiment of the method is:First when the first electricity
At the T1 moment that sub- equipment is disengaged with operating body and contacted with the second electronic equipment, obtained by the first capacitance detection unit
First capacitance;Corresponding relation is then based on, determines that first surface corresponding with the first capacitance is and in M surface
The surface of two electronic equipments contact.Scheme in the embodiment of the present application uses capacitance detection unit detection contact surface
Mode, can be when the first electronic equipment be contacted with the second electronic equipment, and it is specifically that the first electronics sets that contact surface is detected immediately
Which standby surface, detection efficiency is high.
Technical solution of the present invention is described in detail below by accompanying drawing and specific embodiment, it should be understood that the present invention
Specific features in embodiment and embodiment are the detailed description to technical solution of the present invention, rather than to the technology of the present invention side
The restriction of case, in the case where not conflicting, the technical characteristic in the embodiment of the present invention and embodiment can be mutually combined.
Embodiment one:
In the embodiment of the present application, there is provided a kind of detection method.
Further, the method is applied to the first electronic equipment.
Further, the first electronic equipment has a M surface, and M is the integer more than or equal to 4, the first electronic equipment it is interior
Each surface connects during portion is provided with the first capacitance detection unit, and the first capacitance detection unit and M surface.
The first electronic equipment is illustrated underneath with specific example.
Such as the first electronic equipment is dice, and dice at least has four surfaces.When with four surfaces, the shape of dice
Shape is that Mitsubishi is tapered;When with five surfaces, dice to be shaped as four water chestnuts tapered;When with six surfaces, the shape of dice
Shape is square build.
Further, dice is internally provided with the first capacitance detection unit, and the first capacitance detection unit and dice
In each surface connect.
Annexation herein has two kinds:The first, the first capacitance detection unit only one of which total capacitance detection unit, always
Capacitance detection unit and all of surface all connect.Second, the first capacitance detection unit is divided into quantity and dice number of surfaces
M equal the second capacitance detection unit, M the second capacitance detection unit connects one to one with M surface on dice.
Based on structure above, the specific implementation process of the detection method is as follows, refer to Fig. 1.
S101, when the T1 moment that the first electronic equipment is disengaged with operating body and contacted with the second electronic equipment, leads to
Cross the first capacitance detection unit and obtain the first capacitance.
S102, based on corresponding relation, determines that first surface corresponding with the first capacitance is and second in M surface
The surface of electronic equipment contact.
In S101, as shown in Fig. 2 the first electronic equipment is a dice 201, the second electronic equipment is a panel computer
202.Assuming that certain user is playing flight chess game using panel computer 202, when dice 201 is thrown in 202 surface of panel computer,
Some plane of dice 201 will form a contact surface with the touch display screen of panel computer 202.
Certainly, in specific implementation process, the second electronic equipment is not limited to panel computer 202, or all-in-one, pen
Remember this computer and the other equipment with touch control induction device etc., the application is not limited.In follow-up introduction, in order to introduce
It is convenient, all it is introduced so that the second electronic equipment is panel computer 202 as an example.
Further, at the T1 moment, when the first capacitance detection unit is connected with the surface of dice, operating body has been had been detached from
Contact, and the first capacitance detection unit with the surface of dice when being connected, specifically with the electric capacity thing that sets on dice surface
Matter is attached.When the electric capacity material on some surface of dice is contacted with panel computer, then capacitance can be produced, and
When the electric capacity material of different area is contacted with the touch display screen of panel computer, different capacitances can be produced.Therefore, dice table
Face meeting setting area electric capacity material not of uniform size, it is therefore intended that when being contacted with the touch display screen of panel computer, can produce
Different capacitances.
By taking six dices in face as an example, the electric capacity material of different area is both provided with this six faces, and each surface
Corresponding electric capacity material area and point information are specific as follows:
1. face:Electric capacity material area is 1, and point information is 1.
2. face:Electric capacity material area is 2, and point information is 2.
3. face:Electric capacity material area is 3, and point information is 3.
4. face:Electric capacity material area is 4, and point information is 4.
5. face:Electric capacity material area is 5, and point information is 5.
6. face:Electric capacity material area is 6, and point information is 6.
As can be seen from the above example, the electric capacity material area in this six surfaces be increase according to point information and
Increased, certainly, the electric capacity material area on dice corresponding with point information can not also increase, it is possible to which point information is increasing
While big, electric capacity material area is in the trend for reducing;It is also possible to trend and electric capacity material area of the point information in change
Variation tendency do not have certain rule.For point information and electric capacity material area according to what kind of Long-term change trend, this Shen
Please embodiment illustrated with example, be not limited.
Specific corresponding to relation refer to Fig. 3 A- Fig. 3 F, and a surface of dice 201 is all described in each diagram,
Described successively from Fig. 3 A- Fig. 3 F first surface on dice 201, second surface, the 3rd surface, the 4th surface, the 5th surface,
The electric capacity material of different area on 6th surface, and also there is different point informations on dice 201.
Therefore, can be a total capacitance detection unit when capacitance detection unit is connected with the electric capacity material on dice
The electric capacity material on six faces on connection dice;Can also be that the second capacitance detection unit of six difference each connects six
The electric capacity material of different area, that is, connect one to one.
Specifically, the specific implementation process of the first capacitance of contact surface is detected using the first capacitance detection unit,
It is different from the annexation of the electric capacity material on dice surface according to the first capacitance detection unit, and there are different embodiment party
Formula.
The first:First capacitance detection unit is total capacitance detection unit.
When the first capacitance detection unit be total capacitance detection unit when, on each face the electric capacity material of different area with always
Capacitance detection unit is connected.
Detecting step so in S101 is then specially:
When the first electric capacity material on first surface in M surface is contacted with the second electronic equipment, according to the first electric capacity
First area of material, calculates and obtains corresponding capacitance.
Specifically, so that dice has six surfaces as an example, if having first surface in six surfaces on dice with flat board electricity
Brain is contacted, then when the first electric capacity material on the first surface is contacted with the touch display screen of panel computer, electric capacity can be caused to become
Change, and according to the first area of the first electric capacity material, the electric capacity material area pair of and the first electric capacity material can be obtained
The capacitance answered.
Second:First capacitance detection unit is divided into quantity and the equal M of dice number of surfaces the second capacitance detecting list
Unit.
When the first capacitance detection unit is divided into quantity and the equal M of dice number of surfaces the second capacitance detection unit, M
Individual second capacitance detection unit connects one to one with M surface on dice.Such as so that dice has six surfaces as an example, then
Second capacitance detection unit also has six, and this six second capacitance detection units each connect one to one six different areas
Electric capacity material.
Now, the detecting step in S101 is then specially:
First, when the T1 moment that the first electronic equipment is disengaged with operating body and is contacted with the second electronic equipment, root
According to the electric capacity material on first surface, the first capacitance is obtained.
Then, according to the first capacitance, the capacitance changes the 3rd is determined in M the second capacitance detection unit
Capacitance detection unit, the 3rd capacitance detection unit is the capacitance detection unit being connected with first surface.
Specifically, so that dice has six surfaces as an example, then be then provided with six the second capacitance detectings inside dice
The electric capacity material of each different area on unit, and each second capacitance detection unit and dice surface is corresponded
Connection.
Now, when having a first surface to be contacted with the touch display screen of panel computer on dice, particular by
Electric capacity material on first surface is in contact with it, and can cause capacitance variations in contact, and according to the first electric capacity material
First area, can obtain a capacitance corresponding with the electric capacity material area of the first electric capacity material.
Further, the first capacitance of acquisition can be by what the second capacitance detection unit was detected.And now
It is specifically which face has capacitance variations to only need to the detection of the second capacitance detection unit, is not necessarily to obtain specific
Capacitance.Such as when the second capacitance detection unit contacted with first surface has detected capacitance variations, it is possible to it is determined that from
The second capacitance detection unit for detecting capacitance variations is determined in six the second capacitance detection units, in order to other second
Capacitance detection unit is distinguished, and the second capacitance detection unit that will detect capacitance variations is named as the 3rd capacitance detection unit.
The second way is specifically to be detected according to the change of capacitance, when determining the 3rd capacitance detection unit
When, then can determine the corresponding contact surface of the 3rd capacitance detection unit.
Implementation process above is the specific implementation process of the detecting step in S101, when obtain the first capacitance it
Afterwards, then S102 is performed:Based on corresponding relation, determine that first surface corresponding with the first capacitance is and in M surface
The surface of two electronic equipments contact.
In S102, corresponding relation is built in the first electronic equipment, specifically there is three kinds of corresponding relations:
First corresponding relation is:The corresponding relation of capacitance and contact surface.It is specific when detecting according to this corresponding relation
Capacitance when, the corresponding contact surface of capacitance can be detected.
Second corresponding relation is:The corresponding relation of capacitance detection unit and contact surface.According to this corresponding relation, when knowing
When being specifically which capacitance detection unit detects capacitance, then the corresponding contact of the capacitance detection unit can be detected
Surface.
3rd corresponding relation is:Contact surface and the corresponding relation for throwing points.According to this corresponding relation, when having known tool
When which contact surface body be, then corresponding point information can be obtained according to contact surface.
Further, after the first capacitance is defined, then can be determined according to above-named corresponding relation
First surface in dice is the contact surface with the touch display screen of panel computer.
Specifically, the description in S101 above, can be by the capacitance that detects to judge specific contact
Surface;Or can judge specific contact surface according to the 3rd capacitance detection unit, and both are in the specific implementation for judging
During also and differ, specifically refer to following description.
In the embodiment of the present application, according to the first way enumerated in S101, (i.e. the first capacitance detection unit is total electricity
Hold detection unit) detected the first capacitance after, the specific steps in S102 can be:
Based on the first corresponding relation, according to corresponding capacitance, determine that first surface is contacted with the second electronic equipment
Surface.
Specifically, the first corresponding relation is specifically:The corresponding relation of capacitance and contact surface.When obtaining specific electricity
Capacitance, then can determine corresponding contact surface according to the specific size of capacitance.Now, dice surface, on dice surface
The electric capacity material of the different area of presence, the capacitance produced by electric capacity material has with corresponding relation, as follows:
1. face:Electric capacity material area is 1, capacitance 1.
2. face:Electric capacity material area is 2, capacitance 2.
3. face:Electric capacity material area is 3, capacitance 3.
4. face:Electric capacity material area is 4, capacitance 4.
5. face:Electric capacity material area is 5, capacitance 5.
6. face:Electric capacity material area is 6, capacitance 6.
For example when the 1. face contacts in the touch display screen of panel computer, then the capacitance that it is produced is then 1, this
When, according to corresponding relation above, you can with determine specific 1. face be the table that is contacted with the touch display screen of panel computer
Face.
Further, when specific contact surface has been judged, then can also judge to use according to the 3rd corresponding relation
Some has specifically been thrown out when dice is thrown in family.
Specifically, user is when dice is thrown, having a surface on dice is contacted with the touch display screen of panel computer
Surface, and there is one's own point information on this surface, such as the 1. face connect with the touch display screen of panel computer
Touch, and belong to the 1. face be 1 point.But, if the 1. face be contact surface, the 1. face be then in bottom surface, then what user saw should
This is the 6. face, and the throwing points seen also should be 6 points.By that analogy, it can be deduced that contact surface and the points thrown
Corresponding relation, it is as follows:
Contact surface:1. face;Throw points:6.
Contact surface:2. face;Throw points:5.
Contact surface:3. face;Throw points:4.
Contact surface:4. face;Throw points:3.
Contact surface:5. face;Throw points:2.
Contact surface:6. face;Throw points:1.
According to corresponding relation described above, when corresponding contact surface is determined, then corresponding throwing can be determined
Points.
According to the second way enumerated in S101, (the first capacitance detection unit is divided into quantity and dice number of surfaces is equal
M the second capacitance detection units) detected the first capacitance after, the specific steps in S102 can be:
Based on the second corresponding relation, according to the 3rd capacitance detection unit, determine that first surface is connect with the second electronic equipment
Tactile surface.
Specifically, the second corresponding relation is:The corresponding relation of capacitance detection unit and contact surface.Detected when determining
Second detection unit of capacitance variations, then can determine corresponding contact surface according to this second capacitance detection unit.Now,
Second capacitance detection unit is as follows with the corresponding relation of contact surface:
Detect the detection unit of capacitance variations:Second capacitance detection unit is 1.;Contact surface:1. face.
Detect the detection unit of capacitance variations:Second capacitance detection unit is 2.;Contact surface:2. face.
Detect the detection unit of capacitance variations:Second capacitance detection unit is 3.;Contact surface:3. face.
Detect the detection unit of capacitance variations:Second capacitance detection unit is 4.;Contact surface:4. face.
Detect the detection unit of capacitance variations:Second capacitance detection unit is 5.;Contact surface:5. face.
Detect the detection unit of capacitance variations:Second capacitance detection unit is 6.;Contact surface:6. face.
When with corresponding relation above, however, it is determined that go out the detection unit of capacitance variations, then can then determine with
The contact surface of the touch display screen of panel computer.
For example determine that 1. the second capacitance detection unit detects capacitance variations, then then can be according to correspondence above
Relation determines that the surface that is contacted with the touch display screen of panel computer is the 1. face.
Further, when specific contact surface has been judged, then can also judge to use according to the 3rd corresponding relation
Some has specifically been thrown out when dice is thrown in family.And specific determination mode has been described above in first way,
The application is repeated no more herein.
Above embodiment is specifically described when the first electronic equipment touches the second electronic equipment, determines the first electronics
The specific determination mode of the contact surface in equipment, and in following method, when the first electronic equipment is contacted with operating body
The T2 moment, it may be determined that go out the surface contacted with operating body.
The method is specially:
First, at least two second capacitances are obtained by the first capacitance detection unit, wherein, at least two second electric capacity
Each second capacitance is different in value, wherein, the T1 moment is different from the T2 moment;
Secondly, based on corresponding relation, determined in M surface and at least two second capacitances corresponding at least two
Surface contacts with operating body.
And specifically detecting that the mode of contact surface is consistent with detection process above, the application is repeated no more herein.
Detection contact surface is specifically illustrated above and throws two kinds of implementation methods of points, below, will be using specific
Example is described to both above mode in specific interaction.
First example:
The first electronic equipment is illustrated with 6 dices on surface herein, and the second electronic equipment is by taking panel computer as an example.
Now, 6 surfaces of dice have the electric capacity material of different area respectively, and dice is internally provided with one always
Capacitance detection unit, the electric capacity material on 6 surfaces of total capacitance detection unit and dice has annexation.
If user is when flight chess is played, determine that whom first goes out chess by by throwing dice, also, panel computer can according to
The dice that family is thrown provides corresponding authority.
Such as user A throws dice to panel computer first.Now, dice can then rotate and then stop on panel computer
Get off, stop when, even if having it is slight rock, if the electric capacity material on dice surface is contacted with panel computer, it is also possible to
Capacitance is produced immediately.
Now, total capacitance detection unit can then detect the capacitance of the surface generation that dice is contacted with panel computer,
The capacitance for such as detecting is 3.
Then, according to default first corresponding relation, can obtain the corresponding contact surface of capacitance 3 for dice the 3.
Face.
Further, when knowing the 3. face being contact surface, then can know that the specific points that user A throws are 4.
When the throwing for detecting user A is counted, dice can send this result to panel computer.
Then user B starts to throw dice, when user B throws dice, detects contact surface and specific point information
Implementation process when throwing dice of implementation process and user A as, now repeat no more.
If the points that user B throws are 6, can also this result be sent to panel computer, then by panel computer root
Counted the corresponding authority of granting according to the throwing of user A and user B.
Second example:
The first electronic equipment is illustrated with 6 dices on surface herein, and the second electronic equipment is by taking panel computer as an example.
Now, 6 surfaces of dice have the electric capacity material of different area respectively, and dice is internally provided with 6 electricity
Hold detection unit, the electric capacity material on 6 surfaces of this 6 capacitance detection units and dice connects one to one.
Specific annexation is as follows:
1. capacitance detection unit connects the of dice the 1. face.
2. capacitance detection unit connects the of dice the 2. face.
3. capacitance detection unit connects the of dice the 3. face.
4. capacitance detection unit connects the of dice the 4. face.
5. capacitance detection unit connects the of dice the 5. face.
6. capacitance detection unit connects the of dice the 6. face.
If user is when flight chess is played, determine that whom first goes out chess by by throwing dice, also, panel computer can according to
The dice that family is thrown provides corresponding authority.
Such as user A throws dice to panel computer first.Now, dice can then rotate and then stop on panel computer
Get off, stop when, even if having it is slight rock, if the electric capacity material on dice surface is contacted with panel computer, it is also possible to
Capacitance is produced immediately.
Now, that capacitance detection unit being connected with contact surface can then detect capacitance, such as capacitance detecting list
1. unit detects capacitance.May determine that 1. capacitance detection unit detects capacitance variations according to capacitance, then root
The corresponding relation according to default the, 1. corresponding contact surface is the 1. face, i.e. dice of dice can to obtain capacitance detection unit
1. face contacted with panel computer.
Further, when knowing the 1. face being contact surface, then can know that the specific points that user A throws are 6.
When the throwing for detecting user A is counted, dice can send this result to panel computer.
Then user B starts to throw dice, and when user B throws dice, specific detection process and user A throw dice
When detection process it is the same, now repeat no more.Certainly, now user B can be counted using other dice, such as made
Thrown with the dice in the first example points also can, detection mode now is then such as the detection mode of the first example.
If the points that user B throws are 3, can also this result be sent to panel computer, then by panel computer root
Counted the corresponding authority of granting according to the throwing of user A and user B.
Above embodiment describes the specific implementation process of detection method, in the embodiment of the present application, first when first
When electronic equipment is contacted with the second electronic equipment, the first capacitance is obtained by the first capacitance detection unit, be then based on correspondence
Relation, determines that first surface corresponding with the first capacitance is the surface contacted with the second electronic equipment in M surface.Energy
It is enough that contact surface can be detected when the first electronic equipment is contacted with the second electronic equipment, be not in make in the prior art
Inaccurate technical problem is detected when detecting the contact surface of dice with acceleration transducer, with the accurate effect of detection.
Further, the first electronic equipment in the embodiment of the present application has two kinds of structures, and a kind of is built-in one total
Each surface connection on capacitance detection unit, and the first electronic equipment;Another kind is built-in quantity and the first electronic equipment table
The equal capacitance detection unit of face quantity, each electric capacity is corresponded to the surface of detection unit and the first electronic equipment and connected
Connect.According to both annexations, with different detection modes, therefore in actual applications, two kinds of sides can be flexibly selected
One kind of formula is detected.
Above embodiment provides a kind of detection method, in the following embodiments, specifically introduces the method corresponding
Electronic equipment.
Embodiment two:
In the embodiment of the present application, there is provided a kind of electronic equipment.
Further, the electronic equipment has M surface, and M is the integer more than or equal to 4, and the inside of electronic equipment is set
Each surface connects in having the first capacitance detection unit, and the first capacitance detection unit and M surface.
Such as the first electronic equipment is dice, and dice at least has four surfaces.When with four surfaces, the shape of dice
Shape is that Mitsubishi is tapered;When with five surfaces, dice to be shaped as four water chestnuts tapered;When with six surfaces, the shape of dice
Shape is square build.
Further, dice is internally provided with the first capacitance detection unit, and the first capacitance detection unit and dice
In each surface connect.
Annexation herein has two kinds:The first, the first capacitance detection unit only one of which total capacitance detection unit, always
Capacitance detection unit and all of surface all connect.Second, the first capacitance detection unit is divided into quantity and dice number of surfaces
M equal the second capacitance detection unit, M the second capacitance detection unit connects one to one with M surface on dice.
Further, Fig. 4 is refer to, electronic equipment includes:
First capacitance detection unit 401, for when the first electronic equipment is contacted with the second electronic equipment, obtaining the first electricity
Capacitance.
Determining unit 402, for based on corresponding relation, corresponding with the first capacitance first being determined in M surface
Surface is the surface contacted with the second electronic equipment.
Further, the electric capacity material of different area is provided with M surface on each surface, when the first capacitance detection unit
401 be total capacitance detection unit when, the electric capacity material of different area is connected with total capacitance detection unit on each face.
Further, when the first corresponding relation that corresponding relation is capacitance and contact surface, total capacitance detection unit tool
Body is used for when the first electric capacity material on first surface in M surface is contacted with the second electronic equipment, according on first surface
Electric capacity material the first area, calculate and obtain corresponding capacitance.
Further, determining unit 402 is specifically for based on the first corresponding relation, according to corresponding capacitance, determining first
Surface is the surface contacted with the second electronic equipment.
Further, the electric capacity material of different area, the first capacitance detection unit are provided with each surface in M surface
401 are made up of M the second capacitance detection unit, and the electric capacity material of the different area set on each face is examined with M the second electric capacity
Each second capacitance detection unit in unit is surveyed to connect one to one.
Further, when the second corresponding relation that corresponding relation is capacitance detection unit and contact surface, M the second electric capacity
Detection unit specifically for when the electric capacity material on first surface is contacted with the second electronic equipment, according to the electricity on first surface
Tolerant matter, obtains the first capacitance.
M the second capacitance detection unit is specifically additionally operable to according to the first capacitance, in M the second capacitance detection unit really
The 3rd capacitance detection unit that capacitance changes is made, the 3rd capacitance detection unit is the electric capacity being connected with first surface
Detection unit.
By one or more embodiments of the invention, it is possible to achieve following technique effect:
In one or more embodiment above, the specific implementation process of detection method is described, implemented in the application
In example, first when the first electronic equipment is contacted with the second electronic equipment, the first electric capacity is obtained by the first capacitance detection unit
Value, is then based on corresponding relation, determines that first surface corresponding with the first capacitance is set with the second electronics in M surface
The surface of standby contact, it is seen then that due to being to determine contact surface according to the corresponding relation between capacitance and surface in the application, in dice
Under son is motion and standstill state, contact surface can be accurately detected, thus it is possible to be set with the second electronics in the first electronic equipment
Contact surface can be detected during standby contact, so, effectively solve to detect that inaccurate technology is asked present in prior art
Topic, with the accurate effect of detection.
Further, due to the embodiment of the present application in the first electronic equipment have two kinds of structures, one kind is built-in one
Each surface connection on total capacitance detection unit, and the first electronic equipment;Another kind is that built-in quantity and the first electronics set
The equal capacitance detection unit of standby number of surfaces, each electric capacity is corresponded to the surface of detection unit and the first electronic equipment
Connection.So, the application can realize different detection modes, therefore in actual applications, also have according to both annexations
Have can be flexibly to select a kind of mode of two ways to be detected technique effect.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced
The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger
Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention
God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising these changes and modification.
Claims (14)
1. a kind of detection method, methods described is applied to the first electronic equipment, it is characterised in that first electronic equipment has
M surface, M is the integer more than or equal to 4, and first electronic equipment is internally provided with the first capacitance detection unit, and
Each surface connects in first capacitance detection unit and the M surface, and methods described includes:
When the T1 moment that first electronic equipment is disengaged with operating body and contacted with the second electronic equipment, by described
First capacitance detection unit obtains the first capacitance;
Based on corresponding relation, determined in the M surface first surface corresponding with first capacitance be with it is described
The surface of the second electronic equipment contact;
Wherein, the electric capacity material of different area is provided with the M surface on each surface, when first in the M surface
When the first electric capacity material on surface is contacted with second electronic equipment, according to the first area of the first electric capacity material,
Obtain first capacitance corresponding with the first area of the first electric capacity material.
2. the method for claim 1, it is characterised in that
The corresponding relation is specially the first corresponding relation of capacitance and contact surface, when first capacitance detection unit is
During total capacitance detection unit, the electric capacity material of different area is connected with the total capacitance detection unit on described each face.
3. method as claimed in claim 2, it is characterised in that when the corresponding relation is first corresponding relation, institute
The T1 moment for being disengaged with operating body and being contacted with the second electronic equipment when first electronic equipment is stated, by described
One capacitance detection unit obtains the first capacitance, specially:
When the first electric capacity material on first surface in the M surface is contacted with second electronic equipment, according to described
First area of the first electric capacity material, calculates and obtains corresponding capacitance.
4. method as claimed in claim 3, it is characterised in that described based on corresponding relation, determines in the M surface
First surface corresponding with first capacitance is the surface contacted with second electronic equipment, specially:
Based on first corresponding relation, according to the corresponding capacitance, determine that the first surface is and the described second electricity
The surface of sub- equipment contact.
5. the method for claim 1, it is characterised in that
The corresponding relation is specially:Second corresponding relation of capacitance detection unit and contact surface, it is every in the M surface
The electric capacity material of different area is provided with individual surface, first capacitance detection unit is by M the second capacitance detection unit structure
Into, in electric capacity material and the M the second capacitance detection unit of the different area set on described each face each second
Capacitance detection unit connects one to one.
6. method as claimed in claim 5, it is characterised in that when the corresponding relation is second corresponding relation, institute
The T1 moment for being disengaged with operating body and being contacted with the second electronic equipment when first electronic equipment is stated, by described
One capacitance detection unit obtains the first capacitance, specifically also includes:
When the electric capacity material on the first surface is contacted with second electronic equipment, according to the electricity on the first surface
First area of tolerant matter, obtains first capacitance;
According to first capacitance, the 3rd electric capacity that capacitance changes is determined in M the second capacitance detection unit
Detection unit, the 3rd capacitance detection unit is the capacitance detection unit being connected with the first surface.
7. method as claimed in claim 6, it is characterised in that described based on corresponding relation, determines in the M surface
First surface corresponding with first capacitance is the surface contacted with second electronic equipment, specially:
Based on second corresponding relation, according to the 3rd capacitance detection unit, determine that the first surface is and described
The surface of two electronic equipments contact.
8. the method as described in claim 2 or 5, it is characterised in that when the corresponding relation is specially capacitance and contact table
During the second corresponding relation of first corresponding relation or capacitance detection unit in face and contact surface, methods described also includes:
When the T2 moment that first electronic equipment is contacted with the operating body, by first capacitance detection unit obtain to
Few two the second capacitances, wherein, each second capacitance is different in described at least two second capacitances, wherein,
The T1 moment is different from the T2 moment;
Based on the corresponding relation, determined in the M surface corresponding at least with described at least two second capacitances
Two surfaces contact with the operating body.
9. a kind of electronic equipment, the electronic equipment has M surface, and M is the integer more than or equal to 4, the electronic equipment
It is internally provided with the first capacitance detection unit, and first capacitance detection unit and each surface in the M surface
All connect, it is characterised in that the electronic equipment includes:
First capacitance detection unit, for when the first electronic equipment and operating body disengage and with the second electronic equipment
At the T1 moment of contact, obtain the first capacitance;
Determining unit, for based on corresponding relation, being determined in the M surface and first capacitance corresponding first
Surface is the surface contacted with second electronic equipment;
Wherein, the electric capacity material of different area is provided with the M surface on each surface, when first in the M surface
When the first electric capacity material on surface is contacted with second electronic equipment, according to the first area of the first electric capacity material,
Calculate and obtain corresponding capacitance.
10. electronic equipment as claimed in claim 9, it is characterised in that
When first capacitance detection unit is total capacitance detection unit, the electric capacity material of different area on described each face
It is connected with the total capacitance detection unit.
11. electronic equipments as claimed in claim 10, it is characterised in that when the corresponding relation is capacitance and contact surface
The first corresponding relation when, the total capacitance detection unit specifically for when on first surface in the M surface first electricity
When tolerant matter is contacted with second electronic equipment, according to the first area of the electric capacity material on the first surface, calculating is obtained
Obtain corresponding capacitance.
12. electronic equipments as claimed in claim 11, it is characterised in that the determining unit is specifically for based on described first
Corresponding relation, according to the corresponding capacitance, determines that the first surface is the surface contacted with second electronic equipment.
13. electronic equipments as claimed in claim 9, it is characterised in that
The electric capacity material of different area is provided with each surface in the M surface, first capacitance detection unit is by M
Individual second capacitance detection unit is constituted, individual second electric capacity of electric capacity material and the M of the different area set on described each face
Each second capacitance detection unit connects one to one in detection unit.
14. electronic equipments as claimed in claim 13, it is characterised in that when the corresponding relation be capacitance detection unit with connect
When touching second corresponding relation on surface, the M the second capacitance detection unit is specifically for when the electric capacity on the first surface
When material is contacted with second electronic equipment, according to the first area of the electric capacity material on the first surface, obtain described
First capacitance;
The M the second capacitance detection unit is specifically additionally operable to according to first capacitance, in M the second capacitance detection unit
In determine the 3rd capacitance detection unit that capacitance changes, the 3rd capacitance detection unit is and the first surface
The capacitance detection unit of upper connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310067415.6A CN104035631B (en) | 2013-03-04 | 2013-03-04 | A kind of detection method and a kind of electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310067415.6A CN104035631B (en) | 2013-03-04 | 2013-03-04 | A kind of detection method and a kind of electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104035631A CN104035631A (en) | 2014-09-10 |
CN104035631B true CN104035631B (en) | 2017-06-27 |
Family
ID=51466426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310067415.6A Active CN104035631B (en) | 2013-03-04 | 2013-03-04 | A kind of detection method and a kind of electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104035631B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789346A (en) * | 2012-05-22 | 2012-11-21 | 联想(北京)有限公司 | Method and device for information acquisition |
CN102902402A (en) * | 2012-06-29 | 2013-01-30 | 联想(北京)有限公司 | Electronic device, electronic equipment and method for distinguishing surfaces of electronic device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IL121666A (en) * | 1997-08-31 | 2001-03-19 | Bronfeld Joshua | Electronic dice |
US20040248650A1 (en) * | 2003-03-25 | 2004-12-09 | Colbert Savalas O. | Programmable electronic game apparatus |
-
2013
- 2013-03-04 CN CN201310067415.6A patent/CN104035631B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789346A (en) * | 2012-05-22 | 2012-11-21 | 联想(北京)有限公司 | Method and device for information acquisition |
CN102902402A (en) * | 2012-06-29 | 2013-01-30 | 联想(北京)有限公司 | Electronic device, electronic equipment and method for distinguishing surfaces of electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN104035631A (en) | 2014-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203894708U (en) | Touchpen detection device for detecting touch from touchpen | |
KR101304162B1 (en) | Touch tracking device and method for a touch screen | |
CN108073334B (en) | Vector operation-based suspension touch method and device | |
CN104423855B (en) | A kind of information processing method and electronic equipment | |
JP2019511774A (en) | Data processing method and data processing apparatus | |
CN105242780B (en) | A kind of interaction control method and device | |
CN202422047U (en) | Device for detecting touch track of touch screen | |
CN107376341B (en) | Data processing method and device for gamepad and gamepad | |
CN106445089A (en) | Virtual reality tactile feedback apparatus and method | |
CN109491579A (en) | The method and apparatus that virtual objects are manipulated | |
EP3090326B1 (en) | An apparatus, method and computer program for enabling a user to make user inputs | |
CN103677416B (en) | A kind of sliding process prevents the method and apparatus that interface is shaken | |
CN105531667B (en) | Common mode noise is eliminated in touching application | |
CN104035631B (en) | A kind of detection method and a kind of electronic equipment | |
CN105528098B (en) | A kind of method and electronic equipment of controlling electronic devices | |
CN103677376B (en) | The method and electronic equipment of information processing | |
CN105380604A (en) | Exercise calorie consumption obtaining method and system and electronic equipment | |
CN102681713B (en) | Three-dimensional touch display system and method | |
CN104699393B (en) | A kind of information processing method and electronic equipment | |
CN108184015A (en) | Irregular shaped region display methods and Related product | |
CN103729104B (en) | Electronic apparatus provided with resistive film type touch panel | |
CN104035692B (en) | A kind of information processing method and electronic equipment | |
CN103853477B (en) | The method and electronic equipment of a kind of information processing | |
CN103713780B (en) | The method and electronic equipment of a kind of information processing | |
CN105739848B (en) | A kind of information processing method and electronic equipment |
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 |