CN104345988B - A kind of state switching method and electronic equipment - Google Patents
A kind of state switching method and electronic equipment Download PDFInfo
- Publication number
- CN104345988B CN104345988B CN201310347170.2A CN201310347170A CN104345988B CN 104345988 B CN104345988 B CN 104345988B CN 201310347170 A CN201310347170 A CN 201310347170A CN 104345988 B CN104345988 B CN 104345988B
- Authority
- CN
- China
- Prior art keywords
- infrared
- electronic equipment
- input state
- state
- receiving tube
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/042—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means
Abstract
Embodiments of the invention provide a kind of state switching method and electronic equipment, it is related to display field, can be when electronic equipment be in the first input state, by obtaining the first information, electronic equipment is switched into the second input state from the first input state, there is provided two kinds of input states, the demand of different user is met, Consumer's Experience sense is improved.Its method is:When electronic equipment is in the first input state, the first information is obtained, the first information is used to indicate that the first infrared signal that electronic equipment is received meets the first preparatory condition;According to the first information, electronic equipment is switched into the second input state from the first input state, wherein, the first input state is to determine to touch the state of body position using the first positioning method, and the second input state is to determine to touch the state of body position using the second positioning method.
Description
Technical field
The present invention relates to display field, more particularly to a kind of state switching method and electronic equipment.
Background technology
With continuing to develop for science and technology, infrared touch display screen is with the stability of its height, adaptability, service life length etc.
Advantage occupies an important seat in the touch display screen of numerous types.Four frames of common infrared touch panel are provided with infrared
Reception pipe and infrared transmitting tube, as shown in figure 1, infrared receiving tube and infrared transmitting tube are oppositely arranged, infrared transmitting tube transmitting is red
External signal, the infrared signal that infrared receiving tube demodulation infrared transmitting tube is launched.When there is touch body touch display screen, body is touched
The infrared signal that corresponding infrared transmitting tube is launched can be blocked, infrared receiving tube can not demodulate corresponding infrared transmitting tube and be sent out
The infrared signal penetrated, therefore, infrared touch display screen can determine the position for touching body.
However, traditional infrared touch display screen only supports single infrared positioning method, it is impossible to meet different user
Demand, Consumer's Experience sense is poor.
The content of the invention
Embodiments of the invention provide a kind of state switching method and electronic equipment, can be in first in electronic equipment defeated
When entering state, by obtaining the first information, the electronic equipment is switched into the second input state from first input state,
There is provided two kinds of input states, the demand of different user is met, Consumer's Experience sense is improved.
To reach above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
In a first aspect, the embodiment of the present invention provides a kind of state switching method, applied in electronic equipment, the electronics is set
It is standby that there is at least two input states, including the infrared receiving tube and infrared transmitting tube being oppositely arranged, it is characterised in that the side
Method includes:
When the electronic equipment is in the first input state, the first information is obtained, the first information is used to indicate institute
State the first infrared signal the first preparatory condition of satisfaction that electronic equipment is received;
According to the first information, the electronic equipment is switched into the second input state from first input state,
Wherein, first input state is to determine to touch the state of body position, described second using the first positioning method
Input state is the state that the touch body position is determined using the second positioning method.
In the first possible implementation, according in a first aspect, the acquisition first information is specifically included:
Detect whether the electronic equipment receives the first infrared signal, first infrared signal is modulated with first and preset
Infrared coding;
If the electronic equipment receives the first infrared signal, confirm whether the described first default infrared coding meets the
One preparatory condition;
If the described first default infrared coding meets the first preparatory condition, the first information is generated.
In second of possible implementation, with reference to first aspect or the first possible implementation, the confirmation
The method whether the described first default infrared coding meets the first preparatory condition, is specifically included:
Judge the described first default infrared coding whether with being pre-stored in corresponding default infrared volume in the infrared receiving tube
Code-phase is matched.
In the third possible implementation, with reference to first aspect or the first possible implementation or second can
Can implementation, under first input state, the infrared receiving tube and infrared transmitting tube are opened, described infrared to connect
Closed tube demodulates the second infrared signal of the infrared transmitting tube transmitting;
First positioning method determines that the method for touching body position is specifically included:
Obtain the position for the infrared receiving tube for not receiving second infrared signal;
According to the position of the infrared receiving tube for not receiving second infrared signal, the touch body is determined
Position,
Wherein, the body that touches is provided with infrared receiving tube and infrared emission positioned at the display unit of the electronic equipment
The side of pipe.
In the 4th kind of possible implementation, with reference to first aspect or the first possible implementation to the third can
The implementation of energy, under second input state, two or more infrared receiving tubes are opened;
Second positioning method determines that the method for touching body position is specifically included:
The position for the infrared receiving tube opened is obtained, and receives first infrared signal to the infrared of the unlatching and is connect
The round of closed tube;
According to the position of the infrared receiving tube of the unlatching and the round, the position of the touch body is determined,
Wherein, the body that touches is provided with infrared receiving tube and infrared emission positioned at the display unit of the electronic equipment
The side of pipe.
In the 5th kind of possible implementation, with reference to first aspect or the first possible implementation to the 4th kind can
Can implementation, it is described by the electronic equipment after first input state switches to the second input state, it is described
Method also includes:
The position of the touch body is determined according to second positioning method.
In the 6th kind of possible implementation, with reference to first aspect or the first possible implementation to the 5th kind can
The implementation of energy, methods described also includes:
If the electronic equipment does not receive the first infrared signal, the touch body is determined according to first positioning method
Position.
In the 7th kind of possible implementation, with reference to first aspect or the first possible implementation to the 6th kind can
The implementation of energy, methods described also includes:
If the described first default infrared coding is unsatisfactory for first preparatory condition, determined according to first positioning method
The position for touching body.
In the 8th kind of possible implementation, with reference to first aspect or the first possible implementation to the 7th kind can
Can implementation, when the electronic equipment be in the second input state, and open two infrared receiving tubes when, two institutes
The infrared receiving tube for stating unlatching is respectively the infrared receiving tube at the electronic equipment same infrared receiver side two ends.
In the 9th kind of possible implementation, with reference to first aspect or the first possible implementation to the 8th kind can
Can implementation, it is described by the electronic equipment after first input state switches to the second input state, it is described
Method also includes:
Second information is obtained, second information is infrared for indicating that the electronic equipment does not receive described first
Signal, or the first infrared signal that the electronic equipment is received are unsatisfactory for first preparatory condition;
According to second information, the electronic equipment is switched into the first input shape from second input state
State.
Second aspect, the embodiment of the present invention provides a kind of electronic equipment, with least two input states, including sets relatively
The infrared receiving tube and infrared transmitting tube put, it is characterised in that the electronic equipment also includes:
Acquisition module, for when the electronic equipment is in the first input state, obtaining the first information, first letter
Cease for indicating that the first infrared signal that the electronic equipment is received meets the first preparatory condition;
Handover module, for according to the first information, the electronic equipment to be switched to from first input state
Second input state,
Wherein, first input state is to determine to touch the state of body position, described second using the first positioning method
Input state is the state that the touch body position is determined using the second positioning method.
In the first possible implementation, according to second aspect, the acquisition module is specifically included:
Detection module, for detecting whether the electronic equipment receives the first infrared signal, first infrared signal
It is modulated with the first default infrared coding;
Confirm module, if receiving the first infrared signal for the electronic equipment, confirm that described first is default infrared
Whether coding meets the first preparatory condition;
Generation module, if meeting the first preparatory condition for the described first default infrared coding, generates first letter
Breath.
In second of possible implementation, with reference to second aspect or the first possible implementation, the confirmation
Module, specifically for judge the described first default infrared coding whether be pre-stored in it is corresponding default red in the infrared receiving tube
Outer coding matches.
In the third possible implementation, with reference to second aspect or the first possible implementation or second can
Can implementation, under first input state, the infrared receiving tube and infrared transmitting tube are opened, described infrared to connect
Closed tube demodulates the second infrared signal of the infrared transmitting tube transmitting;
The electronic equipment, in addition to:
The acquisition module, is additionally operable to obtain the position for the infrared receiving tube for not receiving second infrared signal
Put;
Locating module, the position of the infrared receiving tube for not receiving second infrared signal according to,
The position of the touch body is determined,
Wherein, the body that touches is provided with infrared receiving tube and infrared emission positioned at the display unit of the electronic equipment
The side of pipe.
In the 4th kind of possible implementation, with reference to second aspect or the first possible implementation to the third can
The implementation of energy, under second input state, two or more infrared receiving tubes are opened;
The acquisition module, is additionally operable to obtain the position for the infrared receiving tube opened, and receives the first infrared letter
Number to the unlatching infrared receiving tube round;
The locating module, is additionally operable to the position according to the infrared receiving tube of the unlatching and the round, it is determined that
The position for touching body,
Wherein, the body that touches is provided with infrared receiving tube and infrared emission positioned at the display unit of the electronic equipment
The side of pipe.
In the 5th kind of possible implementation, with reference to second aspect or the first possible implementation to the 4th kind can
The implementation of energy, the second input state is switched in the handover module by the electronic equipment from first input state
Afterwards, the locating module, is additionally operable to:
The position of the touch body is determined according to second positioning method.
In the 6th kind of possible implementation, with reference to second aspect or the first possible implementation to the 5th kind can
Can implementation, the locating module, if being additionally operable to the electronic equipment does not receive the first infrared signal, according to described the
One positioning method determines the position of the touch body.
In the 7th kind of possible implementation, with reference to second aspect or the first possible implementation to the 6th kind can
The implementation of energy, the locating module, if being additionally operable to the described first default infrared coding is unsatisfactory for first preparatory condition,
The position of the touch body is determined according to first positioning method.
In the 8th kind of possible implementation, with reference to second aspect or the first possible implementation to the 7th kind can
Can implementation, when the electronic equipment be in the second input state, and open two infrared receiving tubes when, two institutes
The infrared receiving tube for stating unlatching is respectively the infrared receiving tube at the electronic equipment same infrared receiver side two ends.
In the 9th kind of possible implementation, with reference to second aspect or the first possible implementation to the 8th kind can
The implementation of energy, the second input state is switched in the handover module by the electronic equipment from first input state
Afterwards,
The acquisition module, is additionally operable to obtain second information, second information is used to indicate the electronic equipment
Do not receive first infrared signal, or to be unsatisfactory for described first pre- for the first infrared signal for receiving of the electronic equipment
If condition;
The handover module, is additionally operable to according to second information, by the electronic equipment from second input state
Switch to first input state.
A kind of state switching method and electronic equipment that the embodiment of the present invention is provided, by being in first when electronic equipment
During input state, the first information is obtained, the first information is used to indicate that the first infrared signal that electronic equipment is received meets first
Preparatory condition, and according to the first information, electronic equipment is switched into the second input state from the first input state, wherein, first
Input state is to determine to touch the state of body position using the first positioning method, and the second input state is to use the second positioning method
It is determined that touching the state of body position., can be when electronic equipment be in the first input state, by obtaining first by the program
Information, switches to the second input state, electronic equipment provides two kinds of input states, full by electronic equipment from the first input state
The foot demand of different user, improves Consumer's Experience sense.
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 embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the structural representation of infrared receiving tube and infrared transmitting tube in infrared touch display screen;
Fig. 2 is the schematic flow sheet one of state switching method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet two of state switching method provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet that electronic equipment provided in an embodiment of the present invention obtains the first information;
Fig. 5 is that the first positioning method provided in an embodiment of the present invention determines to touch the schematic flow sheet of body position;
Fig. 6 is that the first positioning method provided in an embodiment of the present invention determines to touch the schematic diagram of body position;
Fig. 7 is that the second positioning method provided in an embodiment of the present invention determines to touch the schematic flow sheet of body position;
Fig. 8 is that the second positioning method provided in an embodiment of the present invention determines to touch the schematic diagram of body position;
Fig. 9 is the structural representation one of electronic equipment provided in an embodiment of the present invention;
Figure 10 is the structural representation two of electronic equipment provided in an embodiment of the present invention;
Figure 11 is the structural representation three of electronic equipment provided in an embodiment 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.
Embodiment one
The embodiment of the present invention provides a kind of state switching method, and applied in electronic equipment, electronic equipment has at least two
Input state, including the infrared receiving tube and infrared transmitting tube being oppositely arranged are planted, as shown in Fig. 2 this method includes:
S101, when electronic equipment be in the first input state when, electronic equipment obtain the first information, the first information be used for refer to
Show that the first infrared signal that electronic equipment is received meets the first preparatory condition.
Infrared touch display screen is with the stability of its height, adaptability, and the advantages of service life is long is widely used in touching
In the manufacture for touching display screen.Under normal conditions, it is provided with infrared receiving tube and red using four frames of infrared touch technology
Outer transmitting tube, wherein, infrared receiving tube and infrared transmitting tube are oppositely arranged, infrared transmitting tube transmitting infrared signal, infrared receiver
The infrared signal that pipe demodulation infrared transmitting tube is launched.When there is touch body touch display screen, touch cognition is blocked corresponding red
The infrared signal that outer transmitting tube is launched, infrared receiving tube can not demodulate the infrared signal that corresponding infrared transmitting tube is launched,
Therefore, infrared touch display screen can determine the position for touching body.
The a kind of electronic equipment that the present invention is provided has at least two input states, and the electronic equipment includes what is be oppositely arranged
Infrared receiving tube and infrared transmitting tube, infrared transmitting tube launch the second infrared signal, infrared receiving tube demodulation infrared transmitting tube institute
Second infrared signal of transmitting.
When electronic equipment is in the first input state, electronic equipment obtains the first information, and the first information is used to indicate electricity
The first infrared signal that sub- equipment is received meets the first preparatory condition.
Specifically, the process how electronic equipment obtains the first information will be described in detail in the following embodiments, this
Place is repeated no more.
S102, according to the first information, electronic equipment is switched into the second input state from the first input state.
Wherein, the first input state is to determine to touch the state of body position, the second input state using the first positioning method
It is to determine to touch the state of body position using the second positioning method.
Electronic equipment is obtained after the first information, according to the first information, and electronic equipment is switched into the from the first input state
Two input states, wherein, the first input state is to determine to touch the state of body position, the second input shape using the first positioning method
State is to determine to touch the state of body position using the second positioning method.
Specifically, determining to touch body position using the first positioning method and determining to touch body position using the second positioning method
Method will be described in detail in the following embodiments, and here is omitted.
A kind of state switching method that the embodiment of the present invention is provided, by being in the first input state when electronic equipment
When, the first information is obtained, the first information is used to indicate that the first infrared signal that electronic equipment is received meets the first preparatory condition,
And according to the first information, electronic equipment is switched into the second input state from the first input state, wherein, the first input state is
Determine to touch the state of body position using the first positioning method, the second input state is to determine to touch body using the second positioning method
The state of position., can be when electronic equipment be in the first input state, by obtaining the first information, by electricity by the program
Sub- equipment switches to the second input state from the first input state, and electronic equipment provides two kinds of input states, meets difference
The demand of user, improves Consumer's Experience sense.
Embodiment two
The embodiment of the present invention provides a kind of state switching method, and applied in electronic equipment, electronic equipment has at least two
Input state, including the infrared receiving tube and infrared transmitting tube being oppositely arranged are planted, as shown in figure 3, this method includes:
S201, when electronic equipment be in the first input state when, electronic equipment obtain the first information, the first information be used for refer to
Show that the first infrared signal that electronic equipment is received meets the first preparatory condition.
Infrared touch display screen is with the stability of its height, adaptability, and the advantages of service life is long is widely used in touching
In the manufacture for touching display screen.Under normal conditions, it is provided with infrared receiving tube and red using four frames of infrared touch technology
Outer transmitting tube, wherein, infrared receiving tube and infrared transmitting tube are oppositely arranged, infrared transmitting tube transmitting infrared signal, infrared receiver
The infrared signal that pipe demodulation infrared transmitting tube is launched.When there is touch body touch display screen, touch cognition is blocked corresponding red
The infrared signal that outer transmitting tube is launched, infrared receiving tube can not demodulate the infrared signal that corresponding infrared transmitting tube is launched,
Therefore, infrared touch display screen can determine the position for touching body.
The a kind of electronic equipment that the present invention is provided has at least two input states, and the electronic equipment includes what is be oppositely arranged
Infrared receiving tube and infrared transmitting tube, infrared transmitting tube launch the second infrared signal, infrared receiving tube demodulation infrared transmitting tube institute
Second infrared signal of transmitting.
When electronic equipment is in the first input state, electronic equipment obtains the first information, and the first information is used to indicate electricity
The first infrared signal that sub- equipment is received meets the first preparatory condition.
Wherein, as shown in figure 4, the method that electronic equipment obtains the first information is specifically included:
Whether S301, electronic equipment detection electronic equipment receive the first infrared signal, and the first infrared signal is modulated with the
One default infrared coding.
If electronic equipment will obtain the first information, electronic equipment detects whether electronic equipment receives the first infrared letter first
Number, the first infrared signal is modulated with the first default infrared coding.
Sent it should be noted that the first infrared signal touches body, be modulated with the signal of the first default infrared coding.
Certainly, not necessarily all touch body can all send the first infrared signal, and it can send infrared to touch body
The pen of signal, human body, can also can arbitrarily touch the equipment of electronic equipment, the present invention is not limited.
If S302, electronic equipment receive the first infrared signal, whether electronic equipment confirms the first default infrared coding
Meet the first preparatory condition.
Wherein, confirm the method whether the first default infrared coding meets the first preparatory condition, specifically include judgement first
Whether default infrared coding matches with being pre-stored in corresponding default infrared coding in infrared receiving tube.
If electronic equipment receives the first infrared signal, electronic equipment confirms whether the first default infrared coding meets the
One preparatory condition, wherein, confirm the method whether the first default infrared coding meets the first preparatory condition, specifically include judgement the
Whether one default infrared coding matches with being pre-stored in corresponding default infrared coding in infrared receiving tube.If first is default infrared
Encode and match with being pre-stored in corresponding default infrared coding in infrared receiving tube, then illustrate that now the first default infrared coding is expired
The first preparatory condition of foot;If the first default infrared coding and being pre-stored in and corresponding in infrared receiving tube not presetting infrared coding not
Match somebody with somebody, then illustrate that now the first default infrared coding is unsatisfactory for the first preparatory condition.
If S303, the first default infrared coding meet the first preparatory condition, the electronic equipment generation first information.
Electronic equipment confirms whether the first default infrared coding meets the first preparatory condition, if the first default infrared coding is expired
Foot the first preparatory condition, then electronic equipment generation the first information.Wherein, the first information is used to indicate that electronic equipment can be from current
The first input state switch to the second input state.
S202, according to the first information, electronic equipment is switched into the second input state from the first input state.
Wherein, the first input state is to determine to touch the state of body position, the second input state using the first positioning method
It is to determine to touch the state of body position using the second positioning method.
Electronic equipment is obtained after the first information, according to the first information, and electronic equipment is switched into the from the first input state
Two input states, wherein, the first input state is to determine to touch the state of body position, the second input shape using the first positioning method
State is to determine to touch the state of body position using the second positioning method.
It should be noted that under the first input state, infrared receiving tube and infrared transmitting tube are opened, infrared receiving tube
Demodulate the second infrared signal of infrared transmitting tube transmitting.
As shown in figure 5, the first positioning method determines that the method for touching body position is specifically included:
S401, electronic equipment obtain the position for the infrared receiving tube for not receiving the second infrared signal.
The positioning method that first positioning method is used by common infrared touch display screen, when electronic equipment uses first
When positioning method determines to touch the position of body, electronic equipment obtains the infrared receiving tube that does not receive the second infrared signal first
Position.
S402, the position according to the infrared receiving tube for not receiving the second infrared signal, electronic equipment determine to touch body
Position.
Wherein, body is located at the display unit of electronic equipment be provided with infrared receiving tube and infrared transmitting tube one is touched
Side.
Electronic equipment is got behind the position for the infrared receiving tube for not receiving the second infrared signal, according to not receiving
The position of the infrared receiving tube of two infrared signals, electronic equipment determines the position of touch body, wherein, touch body and be located at electronic equipment
Display unit the side for being provided with infrared receiving tube and infrared transmitting tube.
Exemplary, as shown in fig. 6, the position of touch body is as shown in stain in figure, electronic equipment uses the first positioning side
When formula determines to touch the position of body, infrared transmitting tube sends the second infrared signal(As shown in solid arrow in figure), but be due to
The stop of body is touched, corresponding infrared receiving tube can not receive the second infrared signal, according to not receiving the second infrared signal
Infrared receiving tube position, electronic equipment determine touch body position(As shown in phantom in FIG.).
Accordingly, as shown in fig. 7, under the second input state, two or more infrared receiving tubes are opened, second
Positioning method determines that the method for touching body position is specifically included:
S501, electronic equipment obtain the position for the infrared receiving tube opened, and receive the first infrared signal to unlatching
The round of infrared receiving tube.
When electronic equipment determines to touch the position of body using the second positioning method, electronic equipment obtains the red of unlatching first
The position of outer reception pipe, and the first infrared signal is received to the round for the infrared receiving tube opened.
S502, the position according to the infrared receiving tube of unlatching and round, electronic equipment determine to touch the position of body.
Wherein, body is located at the display unit of electronic equipment be provided with infrared receiving tube and infrared transmitting tube one is touched
Side.
Electronic equipment gets the position of the infrared receiving tube of unlatching, and receives the infrared of the first infrared signal extremely unlatching
After the round of reception pipe, according to the position of the infrared receiving tube of unlatching and round, electronic equipment determines to touch body
Position, wherein, touch the side for being provided with infrared receiving tube and infrared transmitting tube that body is located at the display unit of electronic equipment.
Exemplary, as shown in figure 8, the infrared receiving tube opened is the infrared receiving tube of arrow instruction in figure, touch body
Position as shown in stain in figure, electronic equipment using the second positioning method determine touch body position when, obtain open it is red
The position of outer reception pipe, and the first infrared signal is received to the round for the infrared receiving tube opened(Institute dashed lines
Show), according to the position of the infrared receiving tube of unlatching and round, triangle polyester fibre, electronic equipment determines to touch the position of body.
S203, electronic equipment determine to touch the position of body according to the second positioning method.
When electronic equipment is according to the first information, electronic equipment is switched to after the second input state from the first input state,
Electronic equipment determines to touch the position of body according to the second positioning method.
If S204, electronic equipment do not receive the first infrared signal, electronic equipment determines to touch according to the first positioning method
The position of body.
A kind of situation arranged side by side with step S202, if electronic equipment does not receive the first infrared signal, that is, electronics is set
Standby not switch to the second input state from the first input state, electronic equipment is currently still determined using the first positioning method
Touch the position of body.
If S205, the first default infrared coding are unsatisfactory for the first preparatory condition, electronic equipment is true according to the first positioning method
Surely the position of body is touched.
A kind of situation arranged side by side with step S202 and S204, if the first default infrared coding is unsatisfactory for the first preparatory condition,
Namely electronic equipment does not switch to the second input state from the first input state, and electronic equipment currently still uses first
Positioning method determines to touch the position of body.
S206, electronic equipment obtain the second information, and the second information is used to indicate that electronic equipment does not receive the first infrared letter
Number, or the first infrared signal that electronic equipment is received is unsatisfactory for the first preparatory condition.
When electronic equipment is according to the first information, electronic equipment is switched to after the second input state from the first input state,
Electronic equipment obtains the second information, and the second information is used to indicate that electronic equipment does not receive the first infrared signal, or electronics is set
Standby the first infrared signal received is unsatisfactory for the first preparatory condition.
It should be noted that when electronic equipment is according to the first information, electronic equipment is switched to the from the first input state
After two input states, electronic equipment obtains the second information, that is to say, that now electronic equipment does not receive the first infrared signal, or
The first infrared signal that person's electronic equipment is received is unsatisfactory for the first preparatory condition, and electronic equipment can not be maintained by using again
Two positioning methods determine to touch the state of body position.
S207, according to the second information, electronic equipment is switched into the first input state from the second input state.
Electronic equipment is switched to the first input state by electronic equipment according to the second information from the second input state.
You need to add is that, when electronic equipment is in the second input state, and when opening two infrared receiving tubes, two are opened
The infrared receiving tube opened is respectively the infrared receiving tube at electronic equipment same infrared receiver side two ends.The purpose for the arrangement is that in order to
The infrared receiving tube for making unlatching and the structure for touching the triangle that body is constituted are more obvious, and body is touched so as to be accurately determined
Position.
It should be noted that a kind of state switching method provided in an embodiment of the present invention, enables electronic equipment from first
Input state switches to the second input state, wherein, the first input state is to determine to touch body position using the first positioning method
State, the second input state be using the second positioning method determine touch body position state.Generally, due to relative
The quantity limitation of the infrared receiving tube and infrared transmitting tube of setting, the first input state is equally accurate without the input state of the image of Buddha second
Ground positioning determines to touch the position of body.But, if in the case of conditions permit, if the infrared receiving tube being oppositely arranged and
Infrared transmitting tube is enough, and the first input state is also that the position for determining to touch body can be precisely located as the second input state
Put.Certainly, electronic equipment using the first input state when being positioned and being positioned using the second input state, and first
The power consumption that input state and the second input state are consumed is also different.
It should be noted that user can also define the first input state and the second input respectively according to the demand of oneself
The priority of state, so that the voluntarily input state that is used in the state of unlatching of selection electronic equipment, and being capable of basis at any time
Self-demand, manual switching input state, the present invention is not limited.
A kind of state switching method that the embodiment of the present invention is provided, by being in the first input state when electronic equipment
When, the first information is obtained, the first information is used to indicate that the first infrared signal that electronic equipment is received meets the first preparatory condition,
And according to the first information, electronic equipment is switched into the second input state from the first input state, wherein, the first input state is
Determine to touch the state of body position using the first positioning method, the second input state is to determine to touch body using the second positioning method
The state of position., can be when electronic equipment be in the first input state, by obtaining the first information, by electricity by the program
Sub- equipment switches to the second input state from the first input state, and electronic equipment provides two kinds of input states, meets difference
The demand of user, improves Consumer's Experience sense.
Embodiment three
The embodiment of the present invention provide a kind of electronic equipment 1, with least two input states, including be oppositely arranged it is infrared
Reception pipe and infrared transmitting tube, as shown in figure 9, the electronic equipment also includes:
Acquisition module 10, for when electronic equipment is in the first input state, obtaining the first information, the first information is used for
Indicate that the first infrared signal that electronic equipment is received meets the first preparatory condition;
Handover module 11, for according to the first information, electronic equipment to be switched into the second input shape from the first input state
State,
Wherein, the first input state is to determine to touch the state of body position, the second input state using the first positioning method
It is to determine to touch the state of body position using the second positioning method.
Further, as shown in Figure 10, acquisition module 10 is specifically included:
Detection module 100, for detecting whether electronic equipment receives the first infrared signal, the first infrared signal is modulated with
First default infrared coding;
Confirm module 101, if receiving the first infrared signal for electronic equipment, confirm that the first default infrared coding is
The first preparatory condition of no satisfaction;
Generation module 102, if meeting the first preparatory condition for the first default infrared coding, generates the first information.
Further, module 101 is confirmed, specifically for judging the first default infrared coding whether with being pre-stored in infrared receiver
Default infrared coding matches accordingly in pipe.
Further, under the first input state, infrared receiving tube and infrared transmitting tube are opened, infrared receiving tube demodulation
Second infrared signal of infrared transmitting tube transmitting;
As shown in figure 11, the electronics sets 1, in addition to:
Acquisition module 10, is additionally operable to obtain the position for the infrared receiving tube for not receiving the second infrared signal;
Locating module 12, for the position according to the infrared receiving tube for not receiving the second infrared signal, it is determined that touching body
Position,
Wherein, body is located at the display unit of electronic equipment be provided with infrared receiving tube and infrared transmitting tube one is touched
Side.
Further, under the second input state, two or more infrared receiving tubes are opened;
Acquisition module 10, is additionally operable to obtain the position for the infrared receiving tube opened, and receives the first infrared signal to opening
The round of the infrared receiving tube opened;
Locating module 12, is additionally operable to position and the round of infrared receiving tube according to unlatching, it is determined that touching the position of body
Put,
Wherein, body is located at the display unit of electronic equipment be provided with infrared receiving tube and infrared transmitting tube one is touched
Side.
Further, handover module 11 by electronic equipment after the first input state switches to the second input state, it is fixed
Position module 12, is additionally operable to:
Determined to touch the position of body according to the second positioning method.
Further, locating module 12, if being additionally operable to electronic equipment does not receive the first infrared signal, according to the first positioning
Mode determines to touch the position of body.
Further, locating module 12, if being additionally operable to the first default infrared coding is unsatisfactory for the first preparatory condition, according to the
One positioning method determines to touch the position of body.
Further, when electronic equipment be in the second input state, and open two infrared receiving tubes when, two unlatching
Infrared receiving tube is respectively the infrared receiving tube at electronic equipment same infrared receiver side two ends.
Further, handover module 11 by electronic equipment after the first input state switches to the second input state,
Acquisition module 10, is additionally operable to obtain the second information, the second information is red for indicating that electronic equipment does not receive first
External signal, or the first infrared signal that electronic equipment is received are unsatisfactory for the first preparatory condition;
Handover module 11, is additionally operable to according to the second information, and electronic equipment is switched into the first input from the second input state
State.
The embodiment of the present invention provides a kind of electronic equipment, including acquisition module, for being in the first input when electronic equipment
During state, the first information is obtained, the first information is used to indicate that the first infrared signal satisfaction first that electronic equipment is received is preset
Condition, and handover module, for according to the first information, electronic equipment to be switched into the second input shape from the first input state
State, wherein, the first input state is to determine to touch the state of body position using the first positioning method, and the second input state is to use
Second positioning method determines to touch the state of body position.By the program, can electronic equipment be in the first input state when,
By obtaining the first information, electronic equipment is switched into the second input state from the first input state, electronic equipment provides two
Input state is planted, the demand of different user is met, improves Consumer's Experience sense.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (16)
1. a kind of state switching method, applied in electronic equipment, the electronic equipment has at least two input states, including
The infrared receiving tube and infrared transmitting tube being oppositely arranged, it is characterised in that methods described includes:
When the electronic equipment is in the first input state, the first information is obtained, the first information is used to indicate the electricity
The first infrared signal that sub- equipment is received meets the first preparatory condition;
According to the first information, the electronic equipment is switched into the second input state from first input state,
Wherein, first input state is to determine to touch the state of body position, second input using the first positioning method
State is the state that the touch body position is determined using the second positioning method, and the touch body is located at the aobvious of the electronic equipment
Show the side for being provided with infrared receiving tube and infrared transmitting tube of unit;
Under first input state, the infrared receiving tube and infrared transmitting tube are opened, the infrared receiving tube demodulation
Second infrared signal of the infrared transmitting tube transmitting;First positioning method determines that the method for touching body position is specifically wrapped
Include:Obtain the position for the infrared receiving tube for not receiving second infrared signal;Described is not received according to described
The position of the infrared receiving tube of two infrared signals, determines the position of the touch body;Or,
Under second input state, two or more infrared receiving tubes are opened;Second positioning method
It is determined that the method for touching body position is specifically included:The position for the infrared receiving tube that acquisition is opened, and reception described first are infrared
Signal to the infrared receiving tube of the unlatching round;According to the position of the infrared receiving tube of the unlatching and the propagation
Route, determines the position of the touch body.
2. state switching method according to claim 1, it is characterised in that the acquisition first information is specifically included:
Detect whether the electronic equipment receives the first infrared signal, it is default infrared that first infrared signal is modulated with first
Coding;
If the electronic equipment receives the first infrared signal, confirm whether the described first default infrared coding meets first pre-
If condition;
If the described first default infrared coding meets the first preparatory condition, the first information is generated.
3. state switching method according to claim 2, it is characterised in that infrared coding is preset in the confirmation described first
The method for whether meeting the first preparatory condition, is specifically included:
Judge the described first default infrared coding whether with being pre-stored in corresponding default infrared coding phase in the infrared receiving tube
Matching.
4. the state switching method according to any one in claim 1-3, it is characterised in that described by the electronics
Equipment is switched to after the second input state from first input state, and methods described also includes:
The position of the touch body is determined according to second positioning method.
5. the state switching method according to any one in claim 1-3, it is characterised in that methods described also includes:
If the electronic equipment does not receive the first infrared signal, the position of the touch body is determined according to first positioning method
Put.
6. the state switching method according to Claims 2 or 3, it is characterised in that methods described also includes:
If the described first default infrared coding is unsatisfactory for first preparatory condition, according to being determined first positioning method
Touch the position of body.
7. the state switching method according to any one in claim 1-3, it is characterised in that
When the electronic equipment is in the second input state, and when opening two infrared receiving tubes, two unlatchings
Infrared receiving tube is respectively the infrared receiving tube at the electronic equipment same infrared receiver side two ends.
8. the state switching method according to any one in claim 1-3, it is characterised in that described by the electronics
Equipment is switched to after the second input state from first input state, and methods described also includes:
The second information is obtained, second information is used to indicate that the electronic equipment does not receive first infrared signal, or
The first infrared signal that electronic equipment described in person is received is unsatisfactory for first preparatory condition;
According to second information, the electronic equipment is switched into first input state from second input state.
9. a kind of electronic equipment, with least two input states, including the infrared receiving tube and infrared transmitting tube being oppositely arranged,
Characterized in that, the electronic equipment also includes:
Acquisition module, for when the electronic equipment is in the first input state, obtaining the first information, the first information is used
In the first infrared signal the first preparatory condition of satisfaction for indicating that the electronic equipment is received;
Handover module, for according to the first information, the electronic equipment to be switched into second from first input state
Input state,
Wherein, first input state is to determine to touch the state of body position, second input using the first positioning method
State is the state that the touch body position is determined using the second positioning method, and the touch body is located at the aobvious of the electronic equipment
Show the side for being provided with infrared receiving tube and infrared transmitting tube of unit;
Under first input state, the infrared receiving tube and infrared transmitting tube are opened, the infrared receiving tube demodulation
Second infrared signal of the infrared transmitting tube transmitting;
The acquisition module, is additionally operable to obtain the position for the infrared receiving tube for not receiving second infrared signal;
Locating module, the position of the infrared receiving tube for not receiving second infrared signal according to, it is determined that
The position for touching body;
Under second input state, two or more infrared receiving tubes are opened;
The acquisition module, is additionally operable to obtain the position for the infrared receiving tube opened, and receives first infrared signal extremely
The round of the infrared receiving tube of the unlatching;
The locating module, is additionally operable to the position according to the infrared receiving tube of the unlatching and the round, it is determined that described
Touch the position of body.
10. electronic equipment according to claim 9, it is characterised in that the acquisition module is specifically included:
Detection module, for detecting whether the electronic equipment receives the first infrared signal, the first infrared signal modulation
There is the first default infrared coding;
Confirm module, if receiving the first infrared signal for the electronic equipment, confirm the described first default infrared coding
Whether first preparatory condition is met;
Generation module, if meeting the first preparatory condition for the described first default infrared coding, generates the first information.
11. electronic equipment according to claim 10, it is characterised in that the confirmation module, described specifically for judging
Whether the first default infrared coding matches with being pre-stored in corresponding default infrared coding in the infrared receiving tube.
12. the electronic equipment according to any one in claim 9-11, it is characterised in that in the handover module by institute
State electronic equipment to switch to after the second input state from first input state, the locating module is additionally operable to:
The position of the touch body is determined according to second positioning method.
13. the electronic equipment according to any one in claim 9-11, it is characterised in that
The locating module, if being additionally operable to the electronic equipment does not receive the first infrared signal, according to the first positioning side
Formula determines the position of the touch body.
14. the electronic equipment according to claim 10 or 11, it is characterised in that
The locating module, if being additionally operable to the described first default infrared coding is unsatisfactory for first preparatory condition, according to described
First positioning method determines the position of the touch body.
15. the electronic equipment according to any one in claim 9-11, it is characterised in that
When the electronic equipment is in the second input state, and when opening two infrared receiving tubes, two unlatchings
Infrared receiving tube is respectively the infrared receiving tube at the electronic equipment same infrared receiver side two ends.
16. the electronic equipment according to any one in claim 9-11, it is characterised in that in the handover module by institute
Electronic equipment is stated to switch to after the second input state from first input state,
The acquisition module, is additionally operable to obtain the second information, second information is used to indicate that the electronic equipment is not received
First infrared signal, or the first infrared signal that the electronic equipment is received are unsatisfactory for first preparatory condition;
The handover module, is additionally operable to, according to second information, the electronic equipment be switched from second input state
To first input state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310347170.2A CN104345988B (en) | 2013-08-09 | 2013-08-09 | A kind of state switching method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310347170.2A CN104345988B (en) | 2013-08-09 | 2013-08-09 | A kind of state switching method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104345988A CN104345988A (en) | 2015-02-11 |
CN104345988B true CN104345988B (en) | 2017-08-29 |
Family
ID=52501758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310347170.2A Active CN104345988B (en) | 2013-08-09 | 2013-08-09 | A kind of state switching method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104345988B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082850A (en) * | 2006-05-31 | 2007-12-05 | 北京汇冠新技术有限公司 | Infrared touch screen for realizing scan driving by bus organized structure |
CN101398724A (en) * | 2007-09-29 | 2009-04-01 | 宏碁股份有限公司 | Input device with multi-mode switching function |
CN101409733A (en) * | 2007-10-12 | 2009-04-15 | 集嘉通讯股份有限公司 | Touch panel structure with double touch modes as well as method and apparatus for processing signal |
CN101788870A (en) * | 2009-11-04 | 2010-07-28 | 深圳市山鹰科技有限公司 | Multi-frequency scanning infrared touch device |
CN102693024A (en) * | 2011-03-21 | 2012-09-26 | 汉王科技股份有限公司 | Dual-touch apparatus and positioning method thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8542218B2 (en) * | 2010-08-19 | 2013-09-24 | Hyundai Motor Company | Electronic switch apparatus for vehicle |
-
2013
- 2013-08-09 CN CN201310347170.2A patent/CN104345988B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101082850A (en) * | 2006-05-31 | 2007-12-05 | 北京汇冠新技术有限公司 | Infrared touch screen for realizing scan driving by bus organized structure |
CN101398724A (en) * | 2007-09-29 | 2009-04-01 | 宏碁股份有限公司 | Input device with multi-mode switching function |
CN101409733A (en) * | 2007-10-12 | 2009-04-15 | 集嘉通讯股份有限公司 | Touch panel structure with double touch modes as well as method and apparatus for processing signal |
CN101788870A (en) * | 2009-11-04 | 2010-07-28 | 深圳市山鹰科技有限公司 | Multi-frequency scanning infrared touch device |
CN102693024A (en) * | 2011-03-21 | 2012-09-26 | 汉王科技股份有限公司 | Dual-touch apparatus and positioning method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104345988A (en) | 2015-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103298142B (en) | A kind of wireless network connecting method, system and terminal unit | |
KR20140086000A (en) | Terminal which can use wired charging and wireless charging and method for charging thereof | |
CN103377058A (en) | Method and device for conducting factory reset for terminal device | |
KR20180042919A (en) | Electronic device with wireless charging structure | |
WO2013087970A1 (en) | Method and apparatus for improving electronic devices wireless charging using inertial sensors | |
CN104035669A (en) | Electronic-equipment-based interface switching method and device | |
CN104345988B (en) | A kind of state switching method and electronic equipment | |
JP4976540B1 (en) | Controller, communication method, and network system | |
KR101037682B1 (en) | A combination remote controller which has lce and touch screen together | |
CN103235751B (en) | Battery capacity displaying method and system, remote control device and remote controlled terminal | |
JP2009079895A (en) | Air conditioner | |
JP2009109190A (en) | Air conditioner | |
CN205881160U (en) | Learning -oriented gesture remote controller of infrared sign indicating number of built -in gyroscope | |
CN209928588U (en) | Domestic natural gas leakage alarm device | |
CN104571861B (en) | A kind of method and device for reminding user | |
CN103561478A (en) | Method and device for automatically achieving wireless connection between devices | |
CN103713824B (en) | Terminal management method and device | |
CN104682465B (en) | Wireless charging device and method | |
KR100839559B1 (en) | Apparatus for sealing valve by remote conrol and preventing ubiquitous sensor network system using that | |
CN206695404U (en) | Gas heater | |
CN209015402U (en) | A kind of portable information acquisition terminal | |
CN108800594A (en) | Gas heater | |
JP2009005426A (en) | Charger device for apparatus | |
CN107481656A (en) | Optical sensing means, display control unit and household electrical appliance | |
CN107179425A (en) | A kind of intelligent electric meter with voice prompting function |
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 |