CN105450961B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105450961B CN105450961B CN201410407369.4A CN201410407369A CN105450961B CN 105450961 B CN105450961 B CN 105450961B CN 201410407369 A CN201410407369 A CN 201410407369A CN 105450961 B CN105450961 B CN 105450961B
- Authority
- CN
- China
- Prior art keywords
- mode
- unit
- projection
- state
- preset
- 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
- 230000010365 information processing Effects 0.000 title claims abstract description 20
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 230000006854 communication Effects 0.000 claims abstract description 169
- 238000004891 communication Methods 0.000 claims abstract description 163
- 238000000034 method Methods 0.000 claims abstract description 32
- 230000008859 change Effects 0.000 claims description 8
- 230000006870 function Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 8
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of information processing method, the method is applied in an electronic equipment, and the electronic equipment can operate at first state or the second state;The electronic equipment includes a projecting cell, and the projecting cell can operate at first mode or second mode;When the electronic equipment is in the first state, the method also includes: judge whether the mode of the projecting cell is in the first preset mode, and generates the first judging result;When the mode that first judging result characterizes the projecting cell is in the first preset mode, controls the electronic equipment and switch first state to second state;Meanwhile the invention also discloses a kind of electronic equipment.It can effectively realize the switching between video communication and voice communication, promote user experience.
Description
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
Electronic equipment such as mobile terminals and tablet computers can realize voice communication and video communication. Considering that video communication has different advantages from voice communication, how to realize fast switching between voice communication and video communication becomes a problem to be solved urgently.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide an information processing method and an electronic device, which can effectively implement switching between video communication and voice communication, have high switching efficiency, and can improve user experience.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment can work in a first state or a second state; the electronic equipment comprises a projection unit, wherein the projection unit can work in a first mode or a second mode;
when the electronic device is in the first state, the method further comprises:
judging whether the mode of the projection unit is in a first preset mode or not, and generating a first judgment result;
and when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the electronic equipment to switch from the first state to the second state.
In the above scheme, the method further comprises:
the projection unit presents the first mode or the second mode through the rotation of a module device arranged on the electronic equipment;
correspondingly, the determining whether the mode of the projection unit is in a first preset mode includes:
detecting the rotation form of the module device through a sensor;
and when the rotation state of the module device is detected to be in a first preset state, judging that the projection unit is in the first preset mode.
In the above scheme, the method further comprises:
the electronic equipment further comprises a first acquisition unit and a second acquisition unit;
when the mobile terminal is in the first state, controlling a first acquisition unit to acquire a first image and a second acquisition unit to acquire a first audio;
controlling the projection unit to project the first image and/or the first audio to a projection surface;
and when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the first acquisition unit to be closed and the second acquisition unit to continuously acquire a first audio.
In the above scheme, the method further comprises:
the electronic equipment comprises a first sensing unit and a second sensing unit, wherein the second sensing unit rotates along with the rotation of the module device;
when the module device rotates to different forms, the mode of the projection unit is obtained by the second sensing unit sensing the change of the first parameter between the second sensing unit and the first sensing unit;
correspondingly, the determining whether the mode of the projection unit is in a first preset mode includes:
detecting whether the first parameter sensed by the second sensing unit reaches a preset first threshold value;
when the first parameter sensed by the second sensing unit reaches the first threshold value, the mode of the projection unit is judged to be in the first preset mode.
In the above scheme, the method further comprises:
the electronic equipment comprises an image acquisition unit;
when the first image acquired by the image acquisition unit is detected to meet a preset condition, the mode of the projection unit is judged to be in the first preset mode.
In the above scheme, the method further comprises:
when the electronic equipment is in the first state, a first channel is controlled to be opened, and a first acquisition unit of the electronic equipment acquires a first audio through the first channel;
and when the first judgment result represents that the mode of the projection unit is in a first preset mode, closing the first channel, controlling the second channel to be opened, and acquiring the first audio through the second channel by the first acquisition unit.
The embodiment of the invention also provides the electronic equipment, which can work in a first state or a second state; the electronic equipment comprises a projection unit, wherein the projection unit can work in a first mode or a second mode; the electronic device further includes:
the first judging unit is used for judging whether the mode of the projection unit is in a first preset mode or not when the projection unit is in the first state and generating a first judging result;
and the first control unit is used for controlling the first state to be switched to the second state when the first judgment result represents that the mode of the projection unit is in a first preset mode.
In the above solution, the projection unit presents the first mode or the second mode by rotation of a module device disposed on the electronic device;
accordingly, the method can be used for solving the problems that,
the first control unit is used for detecting the rotation state of the module device through a sensor;
and when the rotation state of the module device is detected to be in a first preset state, judging that the projection unit is in the first preset mode.
In the above scheme, the electronic device further includes a first acquisition unit, a second acquisition unit, and a second control unit; wherein,
the second control unit is used for controlling the first acquisition unit to acquire a first image and the second acquisition unit to acquire a first audio when the second control unit is in the first state;
controlling the projection unit to project the first image and/or the first audio to a projection surface;
accordingly, the method can be used for solving the problems that,
the first control unit is configured to control the first acquisition unit to be turned off and the second acquisition unit to continuously acquire a first audio when the first determination result indicates that the mode of the projection unit is in a first preset mode.
In the above scheme, the electronic device includes a first sensing unit and a second sensing unit, and the second sensing unit rotates along with the rotation of the module device;
the first control unit is used for acquiring the mode of the projection unit by the second sensing unit sensing the change of a first parameter between the first sensing unit and the second sensing unit when the module device rotates to different forms;
further, in the above-mentioned case,
the first control unit is used for detecting whether the first parameter sensed by the second sensing unit reaches a preset first threshold value or not;
when the first parameter sensed by the second sensing unit reaches the first threshold value, the mode of the projection unit is judged to be in the first preset mode.
In the above scheme, the electronic device includes an image acquisition unit;
the first control unit is further configured to determine that the mode of the projection unit is in the first preset mode when it is detected that the first image acquired by the image acquisition unit meets a preset condition.
In the above scheme, the electronic device further includes a first acquisition unit and a third control unit;
the third control unit is used for controlling the first channel to be opened and controlling the first acquisition unit to acquire a first audio through the first channel when the third control unit is in the first state;
the first control unit is further configured to close the first channel, control the second channel to open, and control the first acquisition unit to acquire the first audio through the second channel when the first determination result indicates that the mode of the projection unit is in a first preset mode.
The information processing method and the electronic equipment provided by the embodiment of the invention are applied to the electronic equipment, and the electronic equipment can work in a first state or a second state; the electronic equipment comprises a projection unit, wherein the projection unit can work in a first mode or a second mode; when the electronic device is in the first state, the method further comprises: judging whether the mode of the projection unit is in a first preset mode or not, and generating a first judgment result; when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the electronic equipment to switch from a first state to a second state; by using the technical scheme of the embodiment of the invention, the switching between the video communication and the voice communication can be effectively realized, the switching efficiency is high, and the user experience can be improved.
Drawings
Fig. 1(a) and (b) are schematic diagrams of projection modes of a projection unit in an electronic device according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating an implementation of a first embodiment of an information processing method according to the present invention;
FIG. 3 is a flowchart illustrating an implementation of a second embodiment of an information processing method according to the present invention;
FIG. 4 is a flowchart illustrating an implementation of a third embodiment of an information processing method according to the present invention;
fig. 5 is a schematic structural diagram of a first embodiment of an electronic device provided in the present invention;
fig. 6 is a schematic structural diagram of a second embodiment of an electronic device provided in the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
In the following embodiments of the information processing method and the electronic device provided by the present invention, the electronic device includes, but is not limited to: industrial control computers, personal computers, and the like, all types of computers, all-in-one computers, tablet computers, mobile phones, electronic readers, and the like. In the embodiment of the invention, the preferred object of the electronic equipment is a mobile phone or a tablet computer.
Fig. 1(a) and (b) are schematic diagrams of projection modes of a projection unit in an electronic device according to an embodiment of the present invention; the electronic device includes: a body 11 and a body 12; the projection unit 13 is arranged at one side of the body 12, and the body 12 can rotate around one end of the body 11; when the body 12 is rotated to a side where the projection unit 13 is parallel to the body 11 (as shown in fig. 1 (a)), and the projection unit 13 is activated, the projection unit 13 operates in a direct projection mode; otherwise, the projection unit operates in the oblique projection mode (as shown in fig. 1 (b)). In practical applications, the oblique-cast mode is better suited for video communication, and the direct-cast mode is better suited for voice communication.
In the following embodiments of the information processing method and the electronic device provided by the present invention, please refer to the above description of fig. 1(a) and (b) for the projection mode of the projection unit in the electronic device, which is not repeated.
The first embodiment of the information processing method provided by the invention is applied to an electronic device, and the electronic device can work in a first state or a second state; the electronic equipment comprises a projection unit, and the projection unit can work in a first mode or a second mode. When the first state is a voice communication state, the second state is a video communication state; when the first state is a video communication state, the second state is a voice communication state; when the first mode is a direct projection mode of the projection unit, the second mode is an oblique projection mode; when the first mode is the oblique projection mode, the second mode is the direct projection mode.
FIG. 2 is a schematic flow chart illustrating an implementation of a first embodiment of an information processing method according to the present invention; as shown in fig. 2, the method includes:
step 21: when the electronic equipment is in the first state, judging whether the mode of the projection unit is in a first preset mode or not, and generating a first judgment result;
step 22: and when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the electronic equipment to switch from the first state to the second state.
In a preferred embodiment of the present invention, when the first state is a video communication state, the second state is a voice communication state,
in consideration of the following application scenario, when the electronic device is in a video communication state, the projection unit is in an oblique projection mode, and both communication parties play games or chess and card games by using the projection surface 14 projected by the projection unit, but when one user needs to do something and cannot play games continuously, the user needs to close the video and keep voice communication continuously, the user rotates the body 12 to present a direct projection mode, and when the electronic device detects that the projection unit rotates from the oblique projection mode to the direct projection mode, the video communication state is switched to the voice communication state, the video functions of both communication parties are closed, and the normal conversation function is kept continuously. In the above scheme, the first preset mode may also be a no-work mode of the projection unit, that is, when the electronic device detects that the oblique projection mode of the projection unit is turned off, the video communication state is switched to the voice communication state.
In another preferred embodiment of the present invention, when the first state is a voice communication state, the second state is a video communication state,
in consideration of the following application scenario, the electronic equipment is in a voice communication state, the projection unit is in a direct projection mode, and when the communication requirements of both parties cannot be met only through voice, both parties of communication intentionally start a video communication function; at this time, the communication party rotates the body 12 of the electronic device of the communication party, the projection unit rotates along with the rotation of the body 12, and when the electronic device detects that the projection unit rotates from the direct projection mode to the oblique projection mode, the voice communication state is switched to the video communication state, that is, the communication functions of video, voice and the like are simultaneously started to maintain the video communication state; wherein, the first preset mode is an oblique projection mode. In the above scheme, the method may further include: when the electronic equipment detects that the projection unit is in a closed state firstly and then in an open state and is in an oblique projection mode, the voice communication state is switched to a video communication state.
Therefore, in the embodiment of the present invention, when the electronic device is in the first state and the projection unit is in the first preset mode, the first state is switched to the second state, that is, the video communication state of the electronic device is switched to the voice communication state, or the voice communication state is switched to the video communication state; the switching between the video communication and the voice communication is effectively realized, the switching efficiency is high, and the use experience of a user is effectively improved.
The second embodiment of the information processing method provided by the invention is applied to an electronic device, and the electronic device can work in a first state or a second state; the electronic equipment comprises a projection unit, and the projection unit can work in a first mode or a second mode. When the first state is a voice communication state, the second state is a video communication state; when the first state is a video communication state, the second state is a voice communication state; when the first mode is a direct projection mode of the projection unit, the second mode is an oblique projection mode; when the first mode is the oblique projection mode, the second mode is the direct projection mode.
FIG. 3 is a flowchart illustrating an implementation of a second embodiment of an information processing method according to the present invention; as shown in fig. 3, the method includes:
step 31: when the electronic equipment is in the first state, judging whether the mode of the projection unit is in a first preset mode or not, and generating a first judgment result;
step 32: and when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the electronic equipment to switch from the first state to the second state.
In a preferred embodiment of the present invention, the projection unit assumes the first mode or the second mode by rotation of a module device provided on the electronic apparatus;
correspondingly, the determining whether the mode of the projection unit is in a first preset mode includes:
detecting the rotation state of the module device through a sensor;
and when the rotation state of the module device is detected to be in a first preset state, judging that the projection unit is in the first preset mode.
In the above scheme, a module device is built in the body 12, the form of the module device changes along with the rotation of the body 12, and the change is detected by the sensor; in this embodiment, the mode of the module device when the projection unit is determined to be in the direct projection mode is regarded as the first predetermined mode. Specifically, taking the first state as the video communication state as an example, when the electronic device is in the video communication state and the projection unit is in the oblique projection mode, and both parties of the communication want to turn off the video function, the user only needs to rotate the body 12, and when the sensor detects that the form of the module device caused by the rotation of the body 12 is in the first preset form, it is determined that the mode of the projection unit is changed from the oblique projection mode to the direct projection mode, the video function is automatically turned off, and the voice communication function is continuously maintained.
In another preferred embodiment of the present invention, the electronic device includes a first sensing unit and a second sensing unit, wherein the second sensing unit rotates along with the rotation of the module device;
when the module device rotates to different forms, the mode of the projection unit is obtained by the second sensing unit sensing the change of the first parameter between the second sensing unit and the first sensing unit;
correspondingly, the determining whether the mode of the projection unit is in a first preset mode includes:
detecting whether the first parameter sensed by the second sensing unit reaches a preset first threshold value;
when the first parameter sensed by the second sensing unit reaches the first threshold value, the mode of the projection unit is judged to be in the first preset mode.
In the above solution, the first sensing unit is built in the body 11, and the second sensing unit is built in the body 12, and the first sensing unit and the second sensing unit may be magnets such as magnets. The second sensing unit changes the magnetic field intensity with the first sensing unit along with the rotation of the body 12. In the embodiment of the invention, the magnetic field intensity value between the second sensing unit and the first sensing unit is considered as the first threshold when the projection unit is in the direct projection mode. Specifically, taking the first state as the video communication state as an example, when the electronic device is in the video communication state and the projection unit is in the oblique projection mode, the two communication parties want to turn off the video function, the user only needs to rotate the body 12, when the second sensing unit senses that the magnetic field intensity between the second sensing unit and the first sensing unit caused by the rotation of the body 12 is the first threshold, the electronic device determines that the mode of the projection unit is changed from the oblique projection mode to the direct projection mode, automatically turns off the video function, and continues to maintain the voice communication function. In the above solution, how the second sensing unit detects the magnetic field strength between the second sensing unit and the first sensing unit may specifically refer to the description of the hall switch in the related art.
In a further preferred embodiment of the present invention, the electronic device comprises an image acquisition unit;
when the first image acquired by the image acquisition unit is detected to meet a preset condition, the mode of the projection unit is judged to be in the first preset mode.
Taking the first preset mode as the direct projection mode as an example, in practical applications, considering that when the electronic device is in a voice communication state (the projection unit is in the direct projection mode), an ear of a user is usually attached to a receiver, and when it is detected that the first image acquired by the image acquisition unit is the ear of the user, it is determined that the acquired first image meets a preset condition, that is, the projection mode is in the direct projection mode; or the brightness value of the acquired image is low when the ear of the user is attached to the receiver, and when the brightness of the first image acquired by the image acquisition unit is detected to be lower than the second threshold, it is determined that the acquired first image meets the preset condition, that is, the projection mode is in the direct projection mode.
In the above scheme, a method of detecting whether the mode of the projection unit is in the first preset mode through the sensor and the second sensing unit is regarded as a hardware detection method; and determining that the first image acquired by the image acquisition unit meets a preset condition as a software detection method. Of course, whether the projection unit is in the first preset mode may also be detected by a combination of software and hardware.
Therefore, in the embodiment of the present invention, when the electronic device is in the first state and it is detected that the projection unit is in the first preset mode, the first state is switched to the second state, that is, the video communication state of the electronic device is switched to the voice communication state, or the voice communication state is switched to the video communication state; the method comprises the following steps of detecting whether a projection unit is in a first preset mode or not through a hardware and/or software detection method; the switching between the video communication and the voice communication is effectively realized, the switching efficiency is high, and the use experience of a user is effectively improved.
The third embodiment of the information processing method provided by the invention is applied to an electronic device, and the electronic device can work in a first state or a second state; the electronic equipment comprises a projection unit, and the projection unit can work in a first mode or a second mode. When the first state is a voice communication state, the second state is a video communication state; when the first state is a video communication state, the second state is a voice communication state; when the first mode is a direct projection mode of the projection unit, the second mode is an oblique projection mode; when the first mode is the oblique projection mode, the second mode is the direct projection mode.
FIG. 4 is a flowchart illustrating an implementation of a third embodiment of an information processing method according to the present invention; as shown in fig. 4, the method includes:
step 41: when the electronic equipment is in the first state, judging whether the mode of the projection unit is in a first preset mode or not, and generating a first judgment result;
step 42: and when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the electronic equipment to switch from the first state to the second state.
In a preferred embodiment of the present invention, the electronic device further includes a first acquisition unit and a second acquisition unit;
when the mobile terminal is in the first state, controlling a first acquisition unit to acquire a first image and a second acquisition unit to acquire a first audio; controlling the projection unit to project the first image and/or the first audio to a projection surface;
and when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the first acquisition unit to be closed and the second acquisition unit to continuously acquire a first audio.
Taking the first state as a video communication state and the first acquisition unit as an image acquisition unit such as a camera as an example, specifically, when two communication parties are in a video communication state, the camera acquires a video stream in a communication process, the sound acquisition unit acquires an audio stream in the communication process, on the projection surface 14 projected by the projection unit, the electronic device controls the video stream to be displayed on the projection surface 14, and can also perform voice recognition on the audio stream to convert the audio stream into text information and control the video stream to be displayed on the projection surface 14 while displaying the text information on the projection surface 14; when the mode of the projection unit is detected to be in the direct projection mode through the hardware and/or software detection method, the camera is controlled to be closed, and the sound collection unit is controlled to continuously collect audio streams in the communication process, so that normal voice communication of two communication parties is ensured.
In another preferred embodiment of the present invention, when in the first state, the first channel is controlled to be opened, and the first capture unit of the electronic device captures a first audio through the first channel;
and when the first judgment result represents that the mode of the projection unit is in a first preset mode, closing the first channel, controlling the second channel to be opened, and acquiring the first audio through the second channel by the first acquisition unit.
Taking the first state as a video communication state, the first channel as a wireless fidelity (WIFI) voice channel, and the second channel as a Global System for mobile communications (GSM) voice channel as an example, when in the video communication state, controlling the camera and the WIFI voice channel to be turned on, acquiring a video through the camera, and acquiring an audio through the WIFI voice channel by the sound acquisition unit, when detecting that the mode of the projection unit is in the direct projection mode by the hardware and/or software detection method, controlling the camera and the WIFI voice channel to be turned off, controlling the GSM voice channel to be turned on, and continuously acquiring the audio through the GSM voice channel by the sound acquisition unit, so as to ensure normal voice communication between both parties.
Therefore, in the embodiment of the invention, when the electronic device is in the first state and the projection unit is detected to be in the first preset mode, the purpose of switching the video communication state to the voice communication state is achieved by switching different voice channels; the switching from video communication to voice communication is effectively realized, the switching efficiency is high, and the use experience of a user is effectively improved.
According to a first embodiment of the electronic device provided by the invention, the electronic device can work in a first state or a second state; the electronic equipment comprises a projection unit, and the projection unit can work in a first mode or a second mode. When the first state is a voice communication state, the second state is a video communication state; when the first state is a video communication state, the second state is a voice communication state; when the first mode is a direct projection mode of the projection unit, the second mode is an oblique projection mode; when the first mode is the oblique projection mode, the second mode is the direct projection mode.
Fig. 5 is a schematic structural diagram of a first embodiment of an electronic device provided in the present invention; as shown in fig. 5, the electronic device includes: a first judgment unit 51, a first control unit 52; wherein,
the first judging unit 51 is configured to judge whether the mode of the projection unit is in a first preset mode when the projection unit is in the first state, and generate a first judgment result;
the first control unit 52 is configured to control the first state to be switched to the second state when the first determination result indicates that the mode of the projection unit is in a first preset mode.
In a preferred embodiment of the present invention, when the first state is a video communication state, the second state is a voice communication state,
in consideration of the application scenario that when the projection unit is in a video communication state, the projection unit is in an oblique projection mode, and two communication parties play games or chess and card games by using the projection surface 14 projected by the projection unit, but when one user has other things to do and is inconvenient to play continuously, the video needs to be closed, voice communication needs to be kept continuously, and the user needs to rotate the body 12 to enable the body to be in a direct projection mode; the electronic device, specifically the first determining unit 51, determines whether the projection mode is rotated from the oblique projection mode to the direct projection mode, and generates a first determination result; the first control unit 52 determines that the first determination result generated by the first determination unit 51 is used for indicating that the projection unit rotates from the oblique projection mode to the direct projection mode, switches the video communication state to the voice communication state, closes the video functions of both communication parties, and continues to maintain the normal communication function. In the above scheme, the first preset mode may also be a no-operation mode of the projection unit, that is, when the electronic device, specifically the first control unit 52 detects that the oblique projection mode of the projection unit is turned off, the video communication state is switched to the voice communication state.
In another preferred embodiment of the present invention, when the first state is a voice communication state, the second state is a video communication state,
in consideration of the following application scenario, the electronic equipment is in a voice communication state, the projection unit is in a direct projection mode, and when the communication requirements of both parties cannot be met only through voice, both parties of communication intentionally start a video communication function; at this time, the communication party rotates the body 12 of the electronic device of the communication party, the projection unit rotates along with the rotation of the body 12, and when the electronic device, specifically, the first determination unit 51 determines whether the projection unit rotates from the direct projection mode to the oblique projection mode, a first determination result is generated; when the first control unit 52 determines that the first determination result generated by the first determination unit 51 is used for indicating that the projection unit rotates from the direct projection mode to the oblique projection mode, the voice communication state is switched to the video communication state, that is, communication functions such as video and voice are simultaneously started to maintain the video communication state; wherein, the first preset mode is an oblique projection mode. In the above scheme, the method may further include: when the electronic device, specifically the first control unit 52 detects that the projection unit is in the off state first, then in the on state, and is in the oblique projection mode, the voice communication state is switched to the video communication state.
Therefore, in the embodiment of the present invention, when the electronic device is in the first state and the projection unit is in the first preset mode, the first state is switched to the second state, that is, the video communication state of the electronic device is switched to the voice communication state, or the voice communication state is switched to the video communication state; the switching between the video communication and the voice communication is effectively realized, the switching efficiency is high, and the use experience of a user is effectively improved.
According to a second embodiment of the electronic device provided by the invention, the electronic device can work in a first state or a second state; the electronic equipment comprises a projection unit, and the projection unit can work in a first mode or a second mode. When the first state is a voice communication state, the second state is a video communication state; when the first state is a video communication state, the second state is a voice communication state; when the first mode is a direct projection mode of the projection unit, the second mode is an oblique projection mode; when the first mode is the oblique projection mode, the second mode is the direct projection mode.
Fig. 6 is a schematic structural diagram of a second embodiment of an electronic device provided in the present invention; as shown in fig. 6, the electronic apparatus includes: a first judging unit 61, a first control unit 62; wherein,
the first judging unit 61 is configured to judge whether the mode of the projection unit is in a first preset mode when the projection unit is in the first state, and generate a first judgment result;
the first control unit 62 is configured to control the first state to be switched to the second state when the first determination result indicates that the mode of the projection unit is in a first preset mode.
In a preferred embodiment of the present invention, the projection unit assumes the first mode or the second mode by rotation of a module device provided on the electronic apparatus;
correspondingly, the first control unit 62 is configured to detect a rotation state of the module device through the sensor;
and when the rotation state of the module device is detected to be in a first preset state, judging that the projection unit is in the first preset mode.
In the above scheme, a module device is built in the body 12, the form of the module device changes along with the rotation of the body 12, and the change is detected by the sensor; in this embodiment, the first control unit 62 may determine that the mode of the module device when the projection unit is in the direct projection mode is the first predetermined mode. Specifically, taking the first state as the video communication state as an example, when the projection unit is in the video communication state and the projection unit is in the oblique projection mode, and both parties of the communication want to turn off the video function, the user only needs to rotate the body 12; the first judging unit 61 judges whether the projection unit is in a direct projection mode, and generates a first judgment result; when the first control unit 62 detects that the form of the module device caused by the rotation of the body 12 is in the first preset form through the sensor, that is, when it is determined that the first judgment result is used for representing that the projection unit rotates from the oblique projection mode to the direct projection mode, the video function is automatically turned off, and the voice communication function is continuously maintained.
In another preferred embodiment of the present invention, the electronic device includes a first sensing unit and a second sensing unit, wherein the second sensing unit rotates along with the rotation of the module device;
the first control unit 62 is configured to obtain a mode of the projection unit by the second sensing unit sensing a change of a first parameter between the first sensing unit and the second sensing unit when the module device rotates to different configurations;
further, in the above-mentioned case,
the first control unit 62 is configured to detect whether the first parameter sensed by the second sensing unit reaches a preset first threshold;
when the first parameter sensed by the second sensing unit reaches the first threshold value, the mode of the projection unit is judged to be in the first preset mode.
In the above solution, the first sensing unit is built in the body 11, and the second sensing unit is built in the body 12, and the first sensing unit and the second sensing unit may be magnets such as magnets. The second sensing unit changes the magnetic field intensity with the first sensing unit along with the rotation of the body 12. In the embodiment of the invention, the magnetic field intensity value between the second sensing unit and the first sensing unit is considered as the first threshold when the projection unit is in the direct projection mode. Specifically, taking the first state as a video communication state as an example, when the electronic device is in a video communication state and the projection unit is in an oblique projection mode, the two parties of communication want to turn off the video function, the user only needs to rotate the body 12, and when the second sensing unit senses that the magnetic field intensity between the second sensing unit and the first sensing unit caused by the rotation of the body 12 is a first threshold, the electronic device, specifically, the first determining unit 61 determines whether the projection unit is in a direct projection mode, and generates a first determination result; when the first control unit 62 determines that the mode of the projection unit is changed from the oblique projection mode to the direct projection mode, that is, determines that the first determination result generated by the first determination unit 61 is used for representing that the projection mode is in the direct projection mode, the video function is automatically turned off, and the voice communication function is continuously maintained. In the above solution, how the second sensing unit detects the magnetic field strength between the second sensing unit and the first sensing unit may specifically refer to the description of the hall switch in the related art.
In a further preferred embodiment of the present invention, the electronic device comprises an image acquisition unit;
the first control unit 62 is further configured to determine that the mode of the projection unit is in the first preset mode when it is detected that the first image acquired by the image acquisition unit meets a preset condition.
Taking the first preset mode as the direct projection mode as an example, in practical applications, considering that when the electronic device is in a voice communication state (the projection unit is in the direct projection mode), an ear of a user is usually attached to an earphone, and when the first control unit 62 detects that the first image acquired by the image acquisition unit is the ear of the user, it is determined that the acquired first image meets a preset condition, that is, the projection mode is in the direct projection mode; or, the brightness value of the acquired image is low when the ear of the user is attached to the receiver, and when the first control unit 62 detects that the brightness of the first image acquired by the image acquisition unit is lower than the second threshold, it is determined that the acquired first image meets the preset condition, that is, the projection mode is in the direct projection mode.
In the above solution, a method of detecting whether the mode of the projection unit is in the first preset mode through the first control unit 62 by using the sensor and the second sensing unit is regarded as a hardware detection method; and determining that the first image acquired by the image acquisition unit meets a preset condition as a software detection method. Of course, whether the projection unit is in the first preset mode may also be detected by a combination of software and hardware.
Therefore, in the embodiment of the present invention, when the electronic device is in the first state and it is detected that the projection unit is in the first preset mode, the first state is switched to the second state, that is, the video communication state of the electronic device is switched to the voice communication state, or the voice communication state is switched to the video communication state; the method comprises the following steps of detecting whether a projection unit is in a first preset mode or not through a hardware and/or software detection method; the switching between the video communication and the voice communication is effectively realized, the switching efficiency is high, and the use experience of a user is effectively improved.
According to a third embodiment of the electronic device provided by the invention, the electronic device can work in a first state or a second state; the electronic equipment comprises a projection unit, and the projection unit can work in a first mode or a second mode. When the first state is a voice communication state, the second state is a video communication state; when the first state is a video communication state, the second state is a voice communication state; when the first mode is a direct projection mode of the projection unit, the second mode is an oblique projection mode; when the first mode is the oblique projection mode, the second mode is the direct projection mode.
Fig. 7 is a schematic structural diagram of a third embodiment of an electronic device provided in the present invention; as shown in fig. 7, the electronic apparatus includes: a first determination unit 71, a first control unit 72; wherein,
a first judging unit 71, configured to, when the projection unit is in the first state, judge whether a mode of the projection unit is in a first preset mode, and generate a first judgment result;
the first control unit 72 is configured to control the electronic device to switch the first state to the second state when the first determination result indicates that the mode of the projection unit is in a first preset mode.
In a preferred embodiment of the present invention, the electronic device includes a first acquisition unit and a second acquisition unit; as shown in fig. 7, the electronic apparatus further includes a second control unit 73;
the second control unit 73 is configured to control the first acquisition unit to acquire a first image and the second acquisition unit to acquire a first audio when the mobile terminal is in the first state; controlling the projection unit to project the first image and/or the first audio to a projection surface;
accordingly, the method can be used for solving the problems that,
the first control unit 72 is configured to control the first acquisition unit to be turned off and the second acquisition unit to continuously acquire the first audio when the first determination result indicates that the mode of the projection unit is in a first preset mode.
Taking the first state as a video communication state and the first acquisition unit as an image acquisition unit such as a camera as an example, specifically, when both communication parties are in a video communication state, the electronic device, specifically, the second control unit 73 controls the camera to acquire a video stream in a communication process, controls the sound acquisition unit to acquire an audio stream in the communication process, and controls the video stream to be displayed on the projection surface 14 projected by the projection unit on the projection surface 14, and the second control unit 73 can also perform voice recognition on the audio stream to be converted into text information, and controls the video stream to be displayed on the projection surface 14 while displaying the text information on the projection surface 14; when the first control unit 72 detects, by the aforementioned hardware and/or software detection method, that the first determination result generated by the first determination unit 71 is used to indicate that the mode of the projection unit is in the direct projection mode, the camera is controlled to be turned off, and the sound collection unit continuously collects audio streams in the communication process, so as to ensure normal voice communication between the two communication parties.
In another preferred embodiment of the present invention, as shown in fig. 7, the electronic device further comprises a third control unit 74;
the third control unit 74 is configured to control a first channel to be opened when the electronic device is in the first state, and the first acquisition unit of the electronic device acquires a first audio through the first channel;
the first control unit 72 is further configured to close the first channel and control the second channel to open when the first determination result indicates that the mode of the projection unit is in a first preset mode, and the first acquisition unit acquires the first audio through the second channel.
Taking the first state as a video communication state, the first channel as a WIFI voice channel, and the second channel as a GSM voice channel as an example, when in the video communication state, the electronic device, specifically, the third control unit 74 controls the camera, the WIFI voice channel is turned on, the camera collects video, the sound collection unit collects audio through the WIFI voice channel, when the first control unit 72 detects, through the aforementioned hardware and/or software detection method, that the mode in which the first determination result generated by the first determination unit 71 is used for representing the projection unit is in the direct projection mode, the camera and the WIFI voice channel are both controlled to be turned off, the GSM voice channel is controlled to be turned on, and the sound collection unit continuously collects audio through the GSM voice channel, so as to ensure normal voice communication of both parties.
Therefore, in the embodiment of the invention, when the electronic device is in the first state and the projection unit is detected to be in the first preset mode, the purpose of switching the video communication state to the voice communication state is achieved by switching different voice channels; the switching from video communication to voice communication is effectively realized, the switching efficiency is high, and the use experience of a user is effectively improved.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (12)
1. An information processing method is applied to an electronic device, and the electronic device can work in a first state or a second state; the electronic equipment comprises a projection unit, a display unit and a control unit, wherein the projection unit can work in a direct projection mode or an oblique projection mode;
when the electronic device is in the first state, the method further comprises:
judging whether the mode of the projection unit is in a first preset mode or not, and generating a first judgment result;
when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the electronic equipment to switch from a first state to a second state;
when the first state is a video communication state, a first preset mode of the projection unit is a direct projection mode, and the electronic equipment is controlled to be switched to a voice communication state; when the first state is a voice communication state, the first preset mode of the projection unit is an oblique projection mode, and the electronic equipment is controlled to be switched to a video communication state.
2. The method of claim 1, further comprising:
the projection unit presents the direct projection mode or the oblique projection mode through the rotation of a module device arranged on the electronic equipment;
correspondingly, the determining whether the mode of the projection unit is in a first preset mode includes:
detecting the rotation form of the module device through a sensor;
and when the rotation state of the module device is detected to be in a first preset state, judging that the projection unit is in the first preset mode.
3. The method of claim 1, further comprising:
the electronic equipment further comprises a first acquisition unit and a second acquisition unit;
when the mobile terminal is in the first state, controlling a first acquisition unit to acquire a first image and a second acquisition unit to acquire a first audio;
controlling the projection unit to project the first image and/or the first audio to a projection surface;
and when the first judgment result represents that the mode of the projection unit is in a first preset mode, controlling the first acquisition unit to be closed and the second acquisition unit to continuously acquire a first audio.
4. The method of claim 2, further comprising:
the electronic equipment comprises a first sensing unit and a second sensing unit, wherein the second sensing unit rotates along with the rotation of the module device;
when the module device rotates to different forms, the mode of the projection unit is obtained by the second sensing unit sensing the change of the first parameter between the second sensing unit and the first sensing unit;
correspondingly, the determining whether the mode of the projection unit is in a first preset mode includes:
detecting whether the first parameter sensed by the second sensing unit reaches a preset first threshold value;
when the first parameter sensed by the second sensing unit reaches the first threshold value, the mode of the projection unit is judged to be in the first preset mode.
5. The method of claim 1, further comprising:
the electronic equipment comprises an image acquisition unit;
when the first image acquired by the image acquisition unit is detected to meet a preset condition, the mode of the projection unit is judged to be in the first preset mode.
6. The method of claim 1, further comprising:
when the electronic equipment is in the first state, a first channel is controlled to be opened, and a first acquisition unit of the electronic equipment acquires a first audio through the first channel;
and when the first judgment result represents that the mode of the projection unit is in a first preset mode, closing the first channel, controlling the second channel to be opened, and acquiring the first audio through the second channel by the first acquisition unit.
7. An electronic device capable of operating in a first state or a second state; the electronic equipment comprises a projection unit, a display unit and a control unit, wherein the projection unit can work in a direct projection mode or an oblique projection mode; the electronic device further includes:
the first judging unit is used for judging whether the mode of the projection unit is in a first preset mode or not when the projection unit is in the first state and generating a first judging result;
the first control unit is used for controlling the first state to be switched to the second state when the first judgment result represents that the mode of the projection unit is in a first preset mode;
when the first state is a video communication state, a first preset mode of the projection unit is a direct projection mode, and the first control unit is used for controlling the electronic equipment to be switched to a voice communication state; when the first state is a voice communication state, the first preset mode of the projection unit is an oblique projection mode, and the first control unit is used for controlling the electronic equipment to be switched to a video communication state.
8. The electronic device according to claim 7, wherein the projection unit assumes the direct-projection mode or the oblique-projection mode by rotation of a module device provided on the electronic device;
accordingly, the method can be used for solving the problems that,
the first control unit is used for detecting the rotation state of the module device through a sensor;
and when the rotation state of the module device is detected to be in a first preset state, judging that the projection unit is in the first preset mode.
9. The electronic device of claim 7, further comprising a first acquisition unit, a second control unit; wherein,
the second control unit is used for controlling the first acquisition unit to acquire a first image and the second acquisition unit to acquire a first audio when the second control unit is in the first state;
controlling the projection unit to project the first image and/or the first audio to a projection surface;
accordingly, the method can be used for solving the problems that,
the first control unit is configured to control the first acquisition unit to be turned off and the second acquisition unit to continuously acquire a first audio when the first determination result indicates that the mode of the projection unit is in a first preset mode.
10. The electronic device of claim 8, wherein the electronic device comprises a first sensing unit and a second sensing unit, and the second sensing unit rotates along with the rotation of the module device;
the first control unit is used for acquiring the mode of the projection unit by the second sensing unit sensing the change of a first parameter between the first sensing unit and the second sensing unit when the module device rotates to different forms;
further, in the above-mentioned case,
the first control unit is used for detecting whether the first parameter sensed by the second sensing unit reaches a preset first threshold value or not;
when the first parameter sensed by the second sensing unit reaches the first threshold value, the mode of the projection unit is judged to be in the first preset mode.
11. The electronic device of claim 7, wherein the electronic device comprises an image capture unit;
the first control unit is further configured to determine that the mode of the projection unit is in the first preset mode when it is detected that the first image acquired by the image acquisition unit meets a preset condition.
12. The electronic device of claim 7, further comprising a first acquisition unit and a third control unit;
the third control unit is used for controlling the first channel to be opened and controlling the first acquisition unit to acquire a first audio through the first channel when the third control unit is in the first state;
the first control unit is further configured to close the first channel, control the second channel to open, and control the first acquisition unit to acquire the first audio through the second channel when the first determination result indicates that the mode of the projection unit is in a first preset mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410407369.4A CN105450961B (en) | 2014-08-18 | 2014-08-18 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410407369.4A CN105450961B (en) | 2014-08-18 | 2014-08-18 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105450961A CN105450961A (en) | 2016-03-30 |
CN105450961B true CN105450961B (en) | 2019-07-26 |
Family
ID=55560690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410407369.4A Active CN105450961B (en) | 2014-08-18 | 2014-08-18 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105450961B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109005395A (en) * | 2018-09-21 | 2018-12-14 | 联想(北京)有限公司 | A kind of electronic equipment |
CN109375460B (en) * | 2018-12-27 | 2021-03-23 | 成都极米科技股份有限公司 | Control method of intelligent projector and intelligent projector |
CN112243114B (en) * | 2020-08-14 | 2022-03-29 | 峰米(北京)科技有限公司 | Method and device for switching working modes of projection equipment and projection equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101006709A (en) * | 2004-09-09 | 2007-07-25 | 株式会社尼康 | Electronic device provided with projector |
CN103701983A (en) * | 2013-11-27 | 2014-04-02 | 英华达(南京)科技有限公司 | Method and system for operating mobile phone applications quickly |
CN104049720A (en) * | 2013-03-11 | 2014-09-17 | 联想(北京)有限公司 | Electronic equipment and display method used for same |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7548255B2 (en) * | 2003-09-30 | 2009-06-16 | Microsoft Corporation | Method and system for capturing video on a personal computer |
CN201156737Y (en) * | 2008-01-16 | 2008-11-26 | 神州亿品科技有限公司 | Audio and video switching control system |
CN201312342Y (en) * | 2008-04-24 | 2009-09-16 | 方东 | Mobile phone supporting projection display mode |
KR101460609B1 (en) * | 2008-05-23 | 2014-11-14 | 삼성전자주식회사 | Method and apparatus for setting telephony mode of mobile terminal |
CN101640720A (en) * | 2008-07-31 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal and switching method of answer mode thereof |
CN101340730A (en) * | 2008-08-14 | 2009-01-07 | 华为技术有限公司 | Method, device and system for falling video call to audio call |
CN101426246A (en) * | 2008-12-04 | 2009-05-06 | 中兴通讯股份有限公司 | Method and device for switching between visible telephone and speech telephone |
CN102291619A (en) * | 2010-06-18 | 2011-12-21 | 北京千术宽文化传媒有限公司 | Method for calling audio and video |
CN102098483B (en) * | 2010-12-17 | 2016-01-13 | 惠州Tcl移动通信有限公司 | The receiving control method of a kind of mobile terminal and video calling thereof and device |
CN102799050A (en) * | 2012-09-07 | 2012-11-28 | 黄力华 | Control device for light-emitting diode (LED) flasher of rotary camera |
CN103237178B (en) * | 2013-03-26 | 2017-06-16 | 小米科技有限责任公司 | The method of Switch Video picture, device and equipment |
-
2014
- 2014-08-18 CN CN201410407369.4A patent/CN105450961B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101006709A (en) * | 2004-09-09 | 2007-07-25 | 株式会社尼康 | Electronic device provided with projector |
CN104049720A (en) * | 2013-03-11 | 2014-09-17 | 联想(北京)有限公司 | Electronic equipment and display method used for same |
CN103701983A (en) * | 2013-11-27 | 2014-04-02 | 英华达(南京)科技有限公司 | Method and system for operating mobile phone applications quickly |
Also Published As
Publication number | Publication date |
---|---|
CN105450961A (en) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI621072B (en) | Camera-based orientation fix from portrait to landscape | |
EP3046016A1 (en) | Method and apparatus for switching display mode | |
US10610152B2 (en) | Sleep state detection method, apparatus and system | |
US20150116544A1 (en) | Method and apparatus of working mode control, and electronic device | |
CN104182313B (en) | Be delayed the method and apparatus taken pictures | |
CN105357466A (en) | Video communication method and video communication device | |
CN106055144B (en) | Control method and device, the electronic equipment of touch screen state | |
CN109040351B (en) | Camera control method and device, mobile terminal and storage medium | |
CN106095401A (en) | Informing message treatment method and device | |
CN107567082A (en) | The control method and terminal device of network mode | |
US20180088664A1 (en) | Method and device for switching environment picture | |
CN104320542A (en) | Method and device for sending reminding message | |
US20150065207A1 (en) | Electronic device and method of expanding function in electronic device | |
CN104869595A (en) | Method and device for controlling data traffic | |
CN104486490A (en) | Method and device for notifying battery capacity | |
CN107071862A (en) | Account binding method and device and smart machine | |
CN104636110A (en) | Method and device for controlling volume | |
CN105653165A (en) | Method and device for regulating character display | |
CN105450961B (en) | A kind of information processing method and electronic equipment | |
CN106325575A (en) | Touch response method and apparatus | |
CN104703255A (en) | Resident network adjustment method and device and electronic device | |
CN105282867A (en) | Network connection method and device | |
CN106657647A (en) | Incoming call processing method and device and mobile terminal | |
CN105072245B (en) | Network service provider method and device | |
CN108401519A (en) | Internet of Things method for connecting network and device |
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 |