CN104657117B - A kind of information processing method and electronic equipment - Google Patents

A kind of information processing method and electronic equipment Download PDF

Info

Publication number
CN104657117B
CN104657117B CN201310578150.6A CN201310578150A CN104657117B CN 104657117 B CN104657117 B CN 104657117B CN 201310578150 A CN201310578150 A CN 201310578150A CN 104657117 B CN104657117 B CN 104657117B
Authority
CN
China
Prior art keywords
parameter
state
action event
projecting cell
acquisition unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310578150.6A
Other languages
Chinese (zh)
Other versions
CN104657117A (en
Inventor
徐晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201310578150.6A priority Critical patent/CN104657117B/en
Publication of CN104657117A publication Critical patent/CN104657117A/en
Application granted granted Critical
Publication of CN104657117B publication Critical patent/CN104657117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of information processing methods, which comprises when the projecting cell is in first state, the acquisition unit obtains the first action event;First action event is parsed, the first parameter of first action event is obtained;Judge whether first parameter meets preset first condition, if satisfied, then generating the first response message;According to first response message, the projecting cell is made to switch to the second state;Wherein, second state is different from the first state.The invention also discloses a kind of electronic equipment, the state switching of projecting function can be made more flexible using the present invention, easily operated, to promote the usage experience of user.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to wireless communication field more particularly to a kind of information processing methods and electronic equipment.
Background technique
Currently, electronic equipment especially intelligent terminal, such as smart phone, tablet computer etc., can all install camera.It is logical When often, using the electronic equipment for having projecting function, if to exit projecting function, need using preset hardware button, Either dummy keyboard selectes exit function.In this way, the use that just will use family is not convenient enough, for example, being projected, being needed Projecting function is exited it is necessary to first select when switching to other function at once, then selected other function, so, it is possible to use The eyes at family are influenced to generate uncomfortable by the light that projection generates.As it can be seen that the projecting function provided in the prior art, may go out Now since diversified control operation can not be provided, lead to not provide more flexible usage experience for user.
Summary of the invention
In view of this, projecting function can be made the purpose of the present invention is to provide a kind of information processing method and electronic equipment State switching it is more flexible, it is easily operated, to promote the usage experience of user.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
The present invention provides a kind of information processing methods, are applied to electronic equipment, and the electronic equipment has projecting cell And acquisition unit;When acquisition unit is in running order, which comprises
When the projecting cell is in first state, the acquisition unit obtains the first action event;
First action event is parsed, the first parameter of first action event is obtained;
Judge whether first parameter meets preset first condition, if satisfied, then generating the first response message;
According to first response message, the projecting cell is made to switch to the second state;Wherein, second state with The first state is different
The present invention also provides a kind of electronic equipment, the electronic equipment includes: at projecting cell, acquisition unit and information Manage unit;Wherein,
The acquisition unit when being used in running order and when the projecting cell is in first state, obtains first Action event sends first action event to information process unit;
The information process unit, first action event sent for parsing the acquisition unit obtain described First parameter of the first action event;Judge whether first parameter meets preset first condition, if satisfied, then generating One response message;According to first response message, the projecting cell is made to switch to the second state;Wherein, second shape State is different from the first state;
The projecting cell switches to the second state for the control according to information process unit.
Information processing method and electronic equipment provided by the present invention, can make projecting cell when in running order, root Distance according to electronic equipment apart from perspective plane determines the need for closing projecting cell, closes without choosing in projecting function A series of more complicated operations such as function are closed, in this way, it is more flexible that the state of projecting function can be made to switch, it is easily operated, To promote the usage experience of user.
Detailed description of the invention
Fig. 1 is information processing method of embodiment of the present invention flow diagram one;
Fig. 2 is information processing method of embodiment of the present invention flow diagram two;
Fig. 3 is information processing method of embodiment of the present invention flow diagram three;
Fig. 4 is electronic devices structure of embodiment of the present invention composition schematic diagram.
Specific embodiment
With reference to the accompanying drawing and specific embodiment the present invention is further described in more detail.
Embodiment one,
A kind of information processing method provided in an embodiment of the present invention, can be used for electronic equipment, and the electronic equipment can be with For smart phone or tablet computer etc., the electronic equipment has projecting cell and acquisition unit;When acquisition unit is in work When state, as shown in Figure 1, which comprises
Step 101: when the projecting cell is in first state, the acquisition unit obtains the first action event.
Step 102: parsing first action event obtains the first parameter of first action event.
Step 103: judging whether first parameter meets preset first condition, if satisfied, then generating the first response Information.
Step 104: according to first response message, the projecting cell being made to switch to the second state;Wherein, described Two-state is different from the first state.
Above-mentioned projecting cell can be projector, such as PICO projector.
Above-mentioned acquisition unit may include: depth video camera (Depth Camara), and/or video camera, and/or light Line inductor etc..
The projecting cell is in the state that first state can open for the projecting cell.
First action event can be with are as follows: the operation blocked to the acquisition unit.
Parsing first action event, obtains the first parameter of first action event, comprising: described in parsing First action event obtains the light sensation parameter and/or image parameter in first action event, by the light sensation parameter and/ Or image parameter is as the first parameter.
Second state can be in off state, or be pause projection state.
As it can be seen that using scheme provided in this embodiment, can make projecting cell while projection, according to electronic equipment away from It determines the need for that projecting cell is closed to or suspended projection with a distance from perspective plane, is closed without being chosen in projecting function It closes a series of more complicated operations such as function and promotes the usage experience of user in this way, just more easily operating.
Embodiment two,
A kind of information processing method provided in an embodiment of the present invention, can be used for electronic equipment, and the electronic equipment can be with For smart phone or tablet computer etc., the electronic equipment has projecting cell and acquisition unit;When acquisition unit is in work When state, as shown in Figure 2, which comprises
Step 201: when the projecting cell is in first state, the acquisition unit obtains the first action event.
Step 202: parsing first action event obtains the first parameter of first action event.
Step 203: judging whether first parameter meets preset first condition, if satisfied, then generating the first response Information executes step 204;Otherwise, the projecting cell keeps first state, returns to step 201.
Step 204: according to first response message, the projecting cell being made to switch to the second state;Wherein, described Two-state is different from the first state.
Above-mentioned projecting cell can be projector, such as PICO projector.
Above-mentioned acquisition unit may include: depth video camera (Depth Camara), and/or video camera, and/or light Line inductor etc..
The projecting cell is in the state that first state can open for the projecting cell, for example, electronic equipment is opened Projecting function is opened, so that the projecting cell is in the state opened, is projected on perspective plane.
First action event can be with are as follows: to the operation that the acquisition unit is blocked, for example, user uses finger Acquisition unit generation is blocked when blocking acquisition unit, or electronic equipment being shifted near head.
Parsing first action event, obtains the first parameter of first action event, comprising: described in parsing First action event obtains the light sensation parameter and/or image parameter in first action event, by the light sensation parameter and/ Or image parameter is as the first parameter.
For example, carrying out the first action event when the acquisition unit is light sensor and blocking operation, the light Inductor can collect light sensation parameter, and the light sensation parameter is the first parameter;
Alternatively, when the acquisition unit is depth camera, it is described if executing the first action event blocks operation Depth camera obtains corresponding image parameter, using described image parameter as the first parameter;Wherein, described image parameter can be with It include: depth value and the image got.
Alternatively, when the acquisition unit is image pickup head, it is described if executing the first action event blocks operation Image pickup head obtains corresponding image parameter, using described image parameter as the first parameter;At this point, described image parameter can be with It include: the area of the primary color and the primary color in acquired image and described image.
Second state can be in off state, or be pause projection state.
It is described to judge whether first parameter meets preset first condition, comprising: according to the light sensation parameter and/or Image parameter, judges whether the distance between the perspective plane and the projecting cell are less than preset first threshold, if so, First parameter meets preset first condition.
Specifically, when the first parameter is light sensation parameter, using the size of the light sensation parameter, determine the perspective plane with The distance between described projecting cell, then judge the distance between the perspective plane and the projecting cell, if it is less than default First threshold, if being less than, it is determined that first parameter meets preset first condition, otherwise, it determines first parameter It is unsatisfactory for preset first condition;Wherein, the size using the light sensation parameter, determines the perspective plane and the projection The distance between unit is the prior art, is not described herein.
When the first parameter be depth camera acquired image parameter when, using the depth value in described image parameter as The distance between the perspective plane and the projecting cell, then judge the distance between the perspective plane and the projecting cell, Whether preset first threshold is less than, if being less than, it is determined that first parameter meets preset first condition, otherwise, it determines First parameter is unsatisfactory for preset first condition;Wherein, the depth value is the collected value of depth camera, the depth Degree video camera acquires and the method for obtaining the depth value is the prior art, is not described herein.
When the first parameter is image camera acquired image parameter, the primary color in described image parameter is obtained Area, judge whether the area is greater than preset area threshold, if then between the perspective plane and the projecting cell Distance be less than preset threshold value, determine that first parameter meets preset first condition.
As it can be seen that using scheme provided in this embodiment, can make projecting cell while projection, according to electronic equipment away from It determines the need for that projecting cell is closed to or suspended projection with a distance from perspective plane, is closed without being chosen in projecting function It closes a series of more complicated operations such as function and promotes the usage experience of user in this way, just more easily operating.
Embodiment three,
A kind of information processing method provided in an embodiment of the present invention, can be used for electronic equipment, and the electronic equipment can be with For smart phone or tablet computer etc., the electronic equipment has projecting cell and acquisition unit;When acquisition unit is in work When state, as shown in Figure 3, which comprises
Step 301: when the projecting cell is in first state, the acquisition unit obtains the first action event.
Step 302: parsing first action event obtains the first parameter of first action event.
Step 303: judging whether first parameter meets preset first condition, if satisfied, then generating the first response Information executes step 304;Otherwise, the projecting cell keeps first state, returns to step 301.
Step 304: according to first response message, the projecting cell being made to switch to the second state;Wherein, described Two-state is different from the first state.
Step 305: judging whether first parameter meets preset second condition, if satisfied, then generating the second response Information executes step 306;Otherwise, step 305 is repeated.
Step 306: according to second response message, obtaining the second action event, parse second action event, really Fixed second operational order.
Step 307: according to second operational order, the projecting cell being made to switch to first state.
Above-mentioned projecting cell can be projector, such as PICO projector.
Above-mentioned acquisition unit may include: depth video camera (Depth Camara), and/or video camera, and/or light Line inductor etc..
The projecting cell is in the state that first state can open for the projecting cell, for example, electronic equipment is opened Projecting function is opened, so that the projecting cell is in the state opened, is projected on perspective plane.
First action event can be with are as follows: to the operation that the acquisition unit is blocked, for example, user uses finger Acquisition unit generation is blocked when blocking acquisition unit, or electronic equipment being shifted near head.
Parsing first action event, obtains the first parameter of first action event, comprising: described in parsing First action event obtains the light sensation parameter and/or image parameter in first action event, by the light sensation parameter and/ Or image parameter is as the first parameter.
For example, carrying out the first action event when the acquisition unit is light sensor and blocking operation, the light Inductor can collect light sensation parameter, and the light sensation parameter is the first parameter;
Alternatively, when the acquisition unit is depth camera, it is described if executing the first action event blocks operation Depth camera obtains corresponding image parameter, using described image parameter as the first parameter;Wherein, described image parameter can be with It include: depth value and the image got.
Alternatively, when the acquisition unit is image pickup head, it is described if executing the first action event blocks operation Image pickup head obtains corresponding image parameter, using described image parameter as the first parameter;At this point, described image parameter can be with It include: the area of the primary color and the primary color in acquired image and described image.
Second state can be in off state, or be pause projection state.
It is described to judge whether first parameter meets preset first condition, comprising: according to the light sensation parameter and/or Image parameter, judges whether the distance between the perspective plane and the projecting cell are less than preset first threshold, if so, First parameter meets preset first condition.
Specifically, when the first parameter is light sensation parameter, using the size of the light sensation parameter, determine the perspective plane with The distance between described projecting cell, then judge the distance between the perspective plane and the projecting cell, if it is less than default First threshold, if being less than, it is determined that first parameter meets preset first condition, otherwise, it determines first parameter It is unsatisfactory for preset first condition;Wherein, the size using the light sensation parameter, determines the perspective plane and the projection The distance between unit is the prior art, is not described herein.
When the first parameter be depth camera acquired image parameter when, using the depth value in described image parameter as The distance between the perspective plane and the projecting cell, then judge the distance between the perspective plane and the projecting cell, Whether preset first threshold is less than, if being less than, it is determined that first parameter meets preset first condition, otherwise, it determines First parameter is unsatisfactory for preset first condition;Wherein, the depth value is the collected value of depth camera, the depth Degree video camera acquires and the method for obtaining the depth value is the prior art, is not described herein.
When the first parameter is image camera acquired image parameter, the primary color in described image parameter is obtained Area, judge whether the area is greater than preset area threshold, if then between the perspective plane and the projecting cell Distance be less than preset threshold value, determine that first parameter meets preset first condition.
It is above-mentioned that judge whether first parameter meets preset second condition may include: according to the light sensation parameter And/or image parameter, judge whether the distance between the perspective plane and the projecting cell are greater than preset second threshold, if It is that then first parameter meets preset second condition.
Specifically, when the first parameter is light sensation parameter, using the size of the light sensation parameter, determine the perspective plane with The distance between described projecting cell, then judge the distance between the perspective plane and the projecting cell, if it is greater than default Second threshold, if more than, it is determined that first parameter meets preset second condition, otherwise, it determines first parameter It is unsatisfactory for preset second condition;
When the first parameter be depth camera acquired image parameter when, using the depth value in described image parameter as The distance between the perspective plane and the projecting cell, then judge the distance between the perspective plane and the projecting cell, Whether preset second threshold is greater than, if more than, it is determined that first parameter meets preset second condition, otherwise, it determines First parameter is unsatisfactory for preset second condition;
When the first parameter is image camera acquired image parameter, the primary color in described image parameter is obtained Area, judge whether the area is less than preset second area threshold value, if the then perspective plane and the projecting cell The distance between be greater than preset second threshold, determine that first parameter meets preset second condition.
It is described that second action event is obtained according to second response message, second action event is parsed, determines the Whether two operational orders may include: to prompt user is selected the projecting cell is made to return to the when generating the second response message One state receives the selection of user, and user is selected as the second action event got;Parse the second operation thing Part, judging that user selects is that projecting cell returns to first state or keeps the second state of projecting cell, if the selection of user To return to first state, then the second operational order is generated.
It is described according to second operational order, the choosing for making the projecting cell switch to first state according to user It selects, the projecting cell is made to switch to open state or projection state.
As it can be seen that using scheme provided in this embodiment, can make projecting cell while projection, according to electronic equipment away from It determines the need for that projecting cell is closed to or suspended projection with a distance from perspective plane, is closed without being chosen in projecting function It closes a series of more complicated operations such as function and promotes the usage experience of user in this way, just more easily operating.
In addition it is possible to which intelligent opens projecting cell when detecting perspective plane far from electronic equipment, thus further Guarantee user usage experience.
Example IV,
Electronic equipment provided in an embodiment of the present invention, the electronic equipment can be for smart phone or tablet computers etc., such as Shown in Fig. 4, the electronic equipment includes: projecting cell, acquisition unit and information process unit;Wherein,
The acquisition unit when being used in running order and when the projecting cell is in first state, obtains first Action event sends first action event to information process unit;
The information process unit, first action event sent for parsing the acquisition unit obtain described First parameter of the first action event;Judge whether first parameter meets preset first condition, if satisfied, then generating One response message;According to first response message, the projecting cell is made to switch to the second state;Wherein, second shape State is different from the first state;
The projecting cell, for switching to the second state from first state according to the control of information process unit.
Above-mentioned projecting cell can be projector, such as PICO projector.
Above-mentioned acquisition unit can be with are as follows: depth video camera (Depth Camara), and/or video camera, and/or light Inductor etc..
The projecting cell is in the state that first state can open for the projecting cell.
First action event can be with are as follows: the operation blocked to the acquisition unit.
The information process unit is specifically used for parsing first action event, obtain in first action event Light sensation parameter and/or image parameter, using the light sensation parameter and/or image parameter as the first parameter.Second state It can be in off state, or be pause projection state.
As it can be seen that using scheme provided in this embodiment, can make projecting cell while projection, according to electronic equipment away from It determines the need for that projecting cell is closed to or suspended projection with a distance from perspective plane, is closed without being chosen in projecting function It closes a series of more complicated operations such as function and promotes the usage experience of user in this way, just more easily operating.
Embodiment five,
Electronic equipment provided in an embodiment of the present invention, the electronic equipment can be for smart phone or tablet computers etc., such as Shown in Fig. 4, the electronic equipment includes: projecting cell, acquisition unit and information process unit;Wherein,
The acquisition unit when being used in running order and when the projecting cell is in first state, obtains first Action event sends first action event to information process unit;
The information process unit, first action event sent for parsing the acquisition unit obtain described First parameter of the first action event;Judge whether first parameter meets preset first condition, if satisfied, then generating One response message, if not satisfied, then continuing to parse first action event that the acquisition unit is sent;According to described first Response message makes the projecting cell switch to the second state;Wherein, second state is different from the first state;
The projecting cell, for switching to the second state from first state according to the control of information process unit.
Above-mentioned projecting cell can be projector, such as PICO projector.
Above-mentioned acquisition unit may include: depth video camera (Depth Camara), and/or video camera, and/or light Line inductor etc..
The projecting cell is in the state that first state can open for the projecting cell, for example, electronic equipment is opened Projecting function is opened, so that the projecting cell is in the state opened, is projected on perspective plane.
First action event can be with are as follows: to the operation that the acquisition unit is blocked, for example, user uses finger Acquisition unit generation is blocked when blocking acquisition unit, or electronic equipment being shifted near head.
The information process unit is specifically used for parsing first action event, obtain in first action event Light sensation parameter and/or image parameter, using the light sensation parameter and/or image parameter as the first parameter.
For example, carrying out the first action event when the acquisition unit is light sensor and blocking operation, the light Inductor can collect light sensation parameter, and the light sensation parameter is the first parameter;
Alternatively, when the acquisition unit is depth camera, it is described if executing the first action event blocks operation Depth camera obtains corresponding image parameter, using described image parameter as the first parameter;Wherein, described image parameter can be with It include: depth value and the image got.
Alternatively, when the acquisition unit is image pickup head, it is described if executing the first action event blocks operation Image pickup head obtains corresponding image parameter, using described image parameter as the first parameter;At this point, described image parameter can be with It include: the area of the primary color and the primary color in acquired image and described image.
Second state can be in off state, or be pause projection state.
The information process unit is specifically used for judging the perspective plane according to the light sensation parameter and/or image parameter The distance between described projecting cell whether be less than preset first threshold, if so, first parameter meet it is preset First condition.
Specifically, when the first parameter is light sensation parameter, using the size of the light sensation parameter, determine the perspective plane with The distance between described projecting cell, then judge the distance between the perspective plane and the projecting cell, if it is less than default First threshold, if being less than, it is determined that first parameter meets preset first condition, otherwise, it determines first parameter It is unsatisfactory for preset first condition;Wherein, the size using the light sensation parameter, determines the perspective plane and the projection The distance between unit is the prior art, is not described herein.
When the first parameter be depth camera acquired image parameter when, using the depth value in described image parameter as The distance between the perspective plane and the projecting cell, then judge the distance between the perspective plane and the projecting cell, Whether preset first threshold is less than, if being less than, it is determined that first parameter meets preset first condition, otherwise, it determines First parameter is unsatisfactory for preset first condition;Wherein, the depth value is the collected value of depth camera, the depth Degree video camera acquires and the method for obtaining the depth value is the prior art, is not described herein.
When the first parameter is image camera acquired image parameter, the primary color in described image parameter is obtained Area, judge whether the area is greater than preset area threshold, if then between the perspective plane and the projecting cell Distance be less than preset threshold value, determine that first parameter meets preset first condition.
As it can be seen that using scheme provided in this embodiment, can make projecting cell while projection, according to electronic equipment away from It determines the need for that projecting cell is closed to or suspended projection with a distance from perspective plane, is closed without being chosen in projecting function It closes a series of more complicated operations such as function and promotes the usage experience of user in this way, just more easily operating.
Embodiment six,
Electronic equipment provided in an embodiment of the present invention, the electronic equipment can be for smart phone or tablet computers etc., such as Shown in Fig. 4, the electronic equipment includes: projecting cell, acquisition unit and information process unit;Wherein,
The acquisition unit when being used in running order and when the projecting cell is in first state, obtains first Action event sends first action event to information process unit;
The information process unit, first action event sent for parsing the acquisition unit obtain described First parameter of the first action event;Judge whether first parameter meets preset first condition, if satisfied, then generating One response message, if not satisfied, then continuing to parse first action event that the acquisition unit is sent;According to described first Response message makes the projecting cell switch to the second state;Wherein, second state is different from the first state;
The projecting cell, for switching to the second state from first state according to the control of information process unit.
The information process unit, is also used to judge whether first parameter meets preset second condition, if satisfied, The second response message is then generated, according to second response message, obtains the second action event, parses the second operation thing Part determines the second operational order, according to second operational order, the projecting cell is made to switch to first state;Otherwise, after It is continuous to judge whether first parameter meets preset second condition;Correspondingly, the projecting cell, is also used to according at information The control of reason unit switches to first state from the second state.
Above-mentioned projecting cell can be projector, such as PICO projector.
Above-mentioned acquisition unit may include: depth video camera (Depth Camara), and/or video camera, and/or light Line inductor etc..
The projecting cell is in the state that first state can open for the projecting cell, for example, electronic equipment is opened Projecting function is opened, so that the projecting cell is in the state opened, is projected on perspective plane.
First action event can be with are as follows: to the operation that the acquisition unit is blocked, for example, user uses finger Acquisition unit generation is blocked when blocking acquisition unit, or electronic equipment being shifted near head.
The information process unit is specifically used for parsing first action event, obtain in first action event Light sensation parameter and/or image parameter, using the light sensation parameter and/or image parameter as the first parameter.
For example, carrying out the first action event when the acquisition unit is light sensor and blocking operation, the light Inductor can collect light sensation parameter, and the light sensation parameter is the first parameter;
Alternatively, when the acquisition unit is depth camera, it is described if executing the first action event blocks operation Depth camera obtains corresponding image parameter, using described image parameter as the first parameter;Wherein, described image parameter can be with It include: depth value and the image got.
Alternatively, when the acquisition unit is image pickup head, it is described if executing the first action event blocks operation Image pickup head obtains corresponding image parameter, using described image parameter as the first parameter;At this point, described image parameter can be with It include: the area of the primary color and the primary color in acquired image and described image.
Second state can be in off state, or be pause projection state.
The information process unit is specifically used for judging the perspective plane according to the light sensation parameter and/or image parameter The distance between described projecting cell whether be less than preset first threshold, if so, first parameter meet it is preset First condition.
Specifically, when the first parameter is light sensation parameter, using the size of the light sensation parameter, determine the perspective plane with The distance between described projecting cell, then judge the distance between the perspective plane and the projecting cell, if it is less than default First threshold, if being less than, it is determined that first parameter meets preset first condition, otherwise, it determines first parameter It is unsatisfactory for preset first condition;Wherein, the size using the light sensation parameter, determines the perspective plane and the projection The distance between unit is the prior art, is not described herein.
When the first parameter be depth camera acquired image parameter when, using the depth value in described image parameter as The distance between the perspective plane and the projecting cell, then judge the distance between the perspective plane and the projecting cell, Whether preset first threshold is less than, if being less than, it is determined that first parameter meets preset first condition, otherwise, it determines First parameter is unsatisfactory for preset first condition;Wherein, the depth value is the collected value of depth camera, the depth Degree video camera acquires and the method for obtaining the depth value is the prior art, is not described herein.
When the first parameter is image camera acquired image parameter, the primary color in described image parameter is obtained Area, judge whether the area is greater than preset area threshold, if then between the perspective plane and the projecting cell Distance be less than preset threshold value, determine that first parameter meets preset first condition.
The information process unit is specifically used for judging the perspective plane according to the light sensation parameter and/or image parameter The distance between described projecting cell whether be greater than preset second threshold, if so, first parameter meet it is preset Second condition.
Specifically, when the first parameter is light sensation parameter, using the size of the light sensation parameter, determine the perspective plane with The distance between described projecting cell, then judge the distance between the perspective plane and the projecting cell, if it is greater than default Second threshold, if more than, it is determined that first parameter meets preset second condition, otherwise, it determines first parameter It is unsatisfactory for preset second condition;
When the first parameter be depth camera acquired image parameter when, using the depth value in described image parameter as The distance between the perspective plane and the projecting cell, then judge the distance between the perspective plane and the projecting cell, Whether preset second threshold is greater than, if more than, it is determined that first parameter meets preset second condition, otherwise, it determines First parameter is unsatisfactory for preset second condition;
When the first parameter is image camera acquired image parameter, the primary color in described image parameter is obtained Area, judge whether the area is less than preset second area threshold value, if the then perspective plane and the projecting cell The distance between be greater than preset second threshold, determine that first parameter meets preset second condition.
The information process unit is specifically used for when generating the second response message, prompt that user is selected and whether make described in Projecting cell returns to first state, receives the selection of user, user is selected as the second action event got;Parsing Second action event, judging that user selects is that projecting cell returns to first state or keeps the second shape of projecting cell State generates the second operational order if user's is selected as return first state.It is described according to second operational order, make It is the selection according to user that the projecting cell, which switches to first state, and the projecting cell is made to switch to open state or projection State.
As it can be seen that using scheme provided in this embodiment, can make projecting cell while projection, according to electronic equipment away from It determines the need for that projecting cell is closed to or suspended projection with a distance from perspective plane, is closed without being chosen in projecting function It closes a series of more complicated operations such as function and promotes the usage experience of user in this way, just more easily operating.
In addition it is possible to which intelligent opens projecting cell when detecting perspective plane far from electronic equipment, thus further Guarantee user usage experience.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned include: movable storage device, it is read-only Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or The various media that can store program code such as person's CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (6)

1. a kind of information processing method is applied to electronic equipment, which is characterized in that the electronic equipment has projecting cell and adopts Collect unit;When acquisition unit is in running order, which comprises
When the projecting cell is in first state, the projecting cell is projected on perspective plane;
The acquisition unit obtains the first action event;First action event is the behaviour blocked to the acquisition unit Make;
First action event is parsed, the first parameter of first action event is obtained;First parameter is image ginseng Number, and/or the light sensation parameter of corresponding light sensor;Wherein, described image parameter is the image parameter of corresponding depth camera, And/or the image parameter of correspondence image camera;
According to described image parameter and/or light sensation parameter, whether the distance between the perspective plane and the projecting cell are judged Less than preset first threshold, if so, generating the first response message;
According to first response message, the projecting cell is made to switch to the second state;Wherein, second state with it is described First state is different.
2. the method according to claim 1, wherein the parsing first action event, described the is obtained First parameter of one action event, comprising:
First action event is parsed, the light sensation parameter and/or image parameter in first action event are obtained, it will be described Light sensation parameter and/or image parameter are as the first parameter.
3. method according to claim 1 or 2, which is characterized in that it is described according to the response message, keep the projection single Member switches to after the second state, the method also includes:
Judge whether first parameter meets preset second condition, if satisfied, then generating the second response message;
According to second response message, the second action event is obtained, second action event is parsed, determines that the second operation refers to It enables;
According to second operational order, the projecting cell is made to switch to first state.
4. a kind of electronic equipment, which is characterized in that the electronic equipment includes: projecting cell, acquisition unit and information processing list Member;Wherein,
The acquisition unit when being used in running order and when the projecting cell is in first state, obtains the first operation Event sends first action event to information process unit;First action event is to carry out to the acquisition unit The operation blocked;The projecting cell is projected when being in first state on perspective plane;
The information process unit, first action event sent for parsing the acquisition unit, obtains described first First parameter of action event, first parameter are image parameter, and/or the light sensation parameter of corresponding light sensor;Wherein, Described image parameter is the image parameter of corresponding depth camera and/or the image parameter of correspondence image camera;
According to described image parameter and/or light sensation parameter, whether the distance between the perspective plane and the projecting cell are judged Less than preset first threshold, if so, generating the first response message;According to first response message, keep the projection single Member switches to the second state;Wherein, second state is different from the first state;
The projecting cell switches to the second state for the control according to information process unit.
5. electronic equipment according to claim 4, which is characterized in that the information process unit is specifically used for parsing institute The first action event is stated, the light sensation parameter and/or image parameter in first action event are obtained, by the light sensation parameter And/or image parameter is as the first parameter.
6. electronic equipment according to claim 4 or 5, which is characterized in that
The information process unit, is also used to judge whether first parameter meets preset second condition, if satisfied, then producing Raw second response message;According to second response message, the second action event is obtained, parses second action event, really Fixed second operational order;According to second operational order, the projecting cell is made to switch to first state;Correspondingly, described Projecting cell is also used to switch to first state from the second state according to the control of information process unit.
CN201310578150.6A 2013-11-18 2013-11-18 A kind of information processing method and electronic equipment Active CN104657117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310578150.6A CN104657117B (en) 2013-11-18 2013-11-18 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310578150.6A CN104657117B (en) 2013-11-18 2013-11-18 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104657117A CN104657117A (en) 2015-05-27
CN104657117B true CN104657117B (en) 2019-04-23

Family

ID=53248306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310578150.6A Active CN104657117B (en) 2013-11-18 2013-11-18 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104657117B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210345B (en) * 2016-07-29 2019-06-07 努比亚技术有限公司 A kind of mobile terminal and its control method
CN111539037A (en) * 2020-04-24 2020-08-14 联想(北京)有限公司 Control method and device and electronic equipment
CN114304994B (en) * 2020-09-29 2023-02-17 青岛海尔特种电冰柜有限公司 Freezer based on people's projection

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101889246A (en) * 2007-12-05 2010-11-17 微视公司 Proximity detection for control of an imaging device
CN202956580U (en) * 2012-12-03 2013-05-29 青岛科技大学 Projection system
CN103294178A (en) * 2012-02-29 2013-09-11 联想(北京)有限公司 Man-machine interaction control method and electronic terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5621317B2 (en) * 2010-05-17 2014-11-12 セイコーエプソン株式会社 projector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101889246A (en) * 2007-12-05 2010-11-17 微视公司 Proximity detection for control of an imaging device
CN103294178A (en) * 2012-02-29 2013-09-11 联想(北京)有限公司 Man-machine interaction control method and electronic terminal
CN202956580U (en) * 2012-12-03 2013-05-29 青岛科技大学 Projection system

Also Published As

Publication number Publication date
CN104657117A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN103916536B (en) For the user interface method and system in mobile terminal
CN105045463B (en) A kind of message display control method and device
CN109062479A (en) Split screen application switching method, device, storage medium and electronic equipment
CN109074819A (en) Preferred control method based on operation-sound multi-mode command and the electronic equipment using it
CN104320579A (en) Photographing device and method
CN109597313A (en) Method for changing scenes and device
CN104657117B (en) A kind of information processing method and electronic equipment
CN104808782B (en) Using split screen method and apparatus, intelligent terminal
CN105955041A (en) Control method for interaction between wearable equipment and intelligent household, interaction system of wearable equipment and intelligent household and wearable equipment
CN103105922A (en) Method and device for mobile terminal backlight control
CN103076956A (en) Method and device for controlling lock state of terminal and terminal
CN110276819A (en) A kind of displaying control method and device and computer readable storage medium
CN104484038A (en) Method and device for controlling intelligent equipment
CN110471604A (en) A kind of more application switching methods and relevant apparatus
CN105549857B (en) A kind of control method and electric terminal of electric terminal
CN106878783A (en) A kind of method and device of lookup equipment
CN104216620B (en) A kind of method and device for controlling the switching of List View content
CN104063033B (en) State switching method and electronic equipment based on interconnection electronic devices
CN104318209A (en) Iris image collection method and device
CN105183159B (en) Interface jump method and device
CN109426342A (en) Document reading method and device based on augmented reality
CN104598140B (en) A kind of information processing method and the first electronic equipment
CN105786167B (en) A kind of information processing method and electronic equipment
CN105491183B (en) Electronic equipment
CN109214541A (en) Presetting method, system and the device of electrical 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