CN111159068B - Information processing method and electronic device - Google Patents
Information processing method and electronic device Download PDFInfo
- Publication number
- CN111159068B CN111159068B CN201911422612.9A CN201911422612A CN111159068B CN 111159068 B CN111159068 B CN 111159068B CN 201911422612 A CN201911422612 A CN 201911422612A CN 111159068 B CN111159068 B CN 111159068B
- Authority
- CN
- China
- Prior art keywords
- target
- equipment
- pin
- external
- electronic device
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The present disclosure provides an information processing method, including: under the condition that the memory in the electronic equipment is powered off, responding to the fact that the external equipment is connected into the electronic equipment through the multimedia interface, and determining whether the external equipment is target equipment or not; and under the condition that the external equipment is the target equipment, connecting a target pin of the multimedia interface into a target signal channel of the at least two signal channels, so that the electronic equipment is communicated with the external equipment through the target signal channel. Wherein, among the at least two signal channels, the power consumption of the target signal channel is minimized.
Description
Technical Field
The present disclosure relates to an information processing method and an electronic device.
Background
In order to improve the observability of the computer display content, the computer display content can be expanded through an external display device. In the related art, when the computer is connected to the external display device, the computer can communicate with the external display device only when the computer is turned on and the display of the computer is turned on. When the computer is in a low power consumption state such as a sleep state or a shutdown state, the external display device cannot be identified, and the computer cannot communicate with the external display device. Therefore, in order to ensure the communication between the computer and the external display device, the computer is required to be in a normal working state, and when the computer is a notebook computer, the electrical energy consumption of the computer is undoubtedly too fast, so that the user experience is poor.
Disclosure of Invention
One aspect of the present disclosure provides an information processing method, including: under the condition that the memory in the electronic equipment is powered off, responding to the fact that the external equipment is connected into the electronic equipment through the multimedia interface, and determining whether the external equipment is target equipment or not; and under the condition that the external equipment is the target equipment, connecting a target pin of the multimedia interface into a target signal channel of the at least two signal channels, so that the electronic equipment is communicated with the external equipment through the target signal channel. Wherein, among the at least two signal channels, the power consumption of the target signal channel is minimized.
Optionally, the electronic device comprises a controller; the determining whether the external device is the target device includes: detecting a first voltage value of a target access point connected with a first pin in a multimedia interface by a controller; and determining the external equipment as target equipment under the condition that the first voltage value is the target voltage value.
Optionally, the information processing method further includes: under the condition that the external equipment is target equipment, detecting a second voltage value of a second pin in the multimedia interface; determining whether the external equipment has a target identification function or not according to the second voltage value; and under the condition that the external device has the target identification function, switching the electronic device to a first working state.
Optionally, the information processing method further includes: when the electronic equipment is in a first working state, target information obtained by the external equipment through a target identification function is obtained through a target signal channel; and switching the electronic equipment from the first working state to the second working state under the condition that the target information is the preset information. And when the electronic equipment is in the first working state, the power consumption is smaller than that when the electronic equipment is in the second working state.
Optionally, the information processing method further includes: when the electronic equipment is in a second working state, target leaving information obtained by the external equipment through sensing of the sensor is obtained through the target signal channel; and responding to the obtained target leaving information, and switching the electronic equipment from the second working state to the first working state.
Another aspect of the present disclosure provides an electronic device including: the multimedia interface comprises a plurality of pins, and the plurality of pins are used for accessing the external equipment; a memory; at least two signal channels; and a controller connected to the multimedia interface, the controller for performing the following operations: under the condition of power failure of the memory, determining whether the external equipment is target equipment; and under the condition that the external equipment is the target equipment, accessing the target pin in the plurality of pins into a target signal channel in the at least two signal channels, so that the electronic equipment communicates with the external equipment through the target signal channel. Wherein, among the at least two signal channels, the power consumption of the target signal channel is minimized.
Optionally, the electronic device further includes: a voltage dividing circuit, wherein the controller is connected with a first pin in the plurality of pins through the voltage dividing circuit; the controller determines whether the external device is a target device by: detecting a first voltage value at an access point of a controller accessed to a voltage division circuit; and determining the external equipment as target equipment under the condition that the first voltage value is the target voltage value.
Optionally, the voltage divider circuit includes a first resistor and a second resistor connected in series; the access voltage of the first end of the first resistor is the resting voltage or the shutdown voltage of the electronic equipment; the second end of the first resistor is connected with the first end of the second resistor, and the second end of the second resistor is grounded. Wherein, the access point that the controller inserts bleeder circuit includes: a point between the second end of the first resistor and the first end of the second resistor.
Optionally, the controller is connected to a second pin of the plurality of pins, and the controller is further configured to: detecting a second voltage value of the second pin under the condition that the external equipment is target equipment; determining whether the external equipment has a target identification function or not according to the second voltage value; and under the condition that the external device has the target identification function, switching the electronic device to a first working state.
Optionally, the target pin includes: two vacant pins of the plurality of pins; or a third pin used for connecting a control information channel and a fourth pin used for connecting an audio return channel in the plurality of pins; the first pin and/or the second pin comprise a grounding pin.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically shows an application scenario diagram of an information processing method and an electronic device according to an embodiment of the present disclosure;
fig. 2 schematically shows a block diagram of an electronic device according to a first exemplary embodiment of the present disclosure;
fig. 3 schematically shows a flow chart of an information processing method according to a first exemplary embodiment of the present disclosure;
fig. 4 schematically shows a block diagram of an electronic device according to a second exemplary embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart for determining whether an external device is a target device according to an embodiment of the disclosure;
fig. 6A schematically illustrates a structural diagram of an electronic device according to a third exemplary embodiment of the present disclosure;
FIG. 6B schematically illustrates an application scenario diagram of the electronic device in FIG. 6A;
fig. 7 schematically shows a flowchart of an information processing method according to an exemplary embodiment two of the present disclosure;
fig. 8 schematically shows a flowchart of an information processing method according to a third exemplary embodiment of the present disclosure; and
fig. 9 schematically shows a flowchart of an information processing method according to an exemplary embodiment four of the present disclosure;
fig. 10 schematically shows a flowchart of an information processing method in a process of an electronic device communicating with a target device.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
An embodiment of the present disclosure provides an information processing method, including: under the condition that the memory in the electronic equipment is powered off, responding to the fact that the external equipment is connected into the electronic equipment through the multimedia interface, and determining whether the external equipment is target equipment or not; and under the condition that the external equipment is the target equipment, connecting a target pin of the multimedia interface into a target signal channel of the at least two signal channels, so that the electronic equipment is communicated with the external equipment through the target signal channel. Wherein, among the at least two signal channels, the power consumption of the target signal channel is minimized.
According to the information processing method, the target pin is connected to the target signal channel with the minimum power consumption under the condition that the memory is powered off, so that the electronic equipment can be communicated with the external equipment even in a dormant state, specific information of the external equipment can be conveniently identified, and the external equipment is controlled through communication. Therefore, the information processing method does not need the electronic equipment to be in a normal power consumption state for communicating with the external equipment, so that the power consumption of the electronic equipment can be effectively reduced.
Fig. 1 schematically shows an application scenario diagram of an information processing method and an electronic device according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, an application scenario 100 of the present disclosure may include, for example, an electronic device 110 and an external device 120, where the electronic device 110 may be provided with, for example, a multimedia interface, and the external device 120 may be connected with the electronic device 110 through the multimedia interface.
The electronic device 110 may be, for example, a notebook computer, the external device 120 may be, for example, an external display device, and through connection between the electronic device 110 and the external device 120, the electronic device 110 may transmit audio and video data, image data, or digital signals to the external device 120, so that the external device 120 may respond to the received data or signals to perform corresponding operations, such as playing received audio and video, and displaying received images or videos.
According to an embodiment of the present disclosure, the electronic device 110 may include, for example, a plurality of operating states, which may include, for example, S0, S1 …, S5 operating states. In the S0 operation state, the electronic device 110 is in a normal operation state, in which all hardware devices are in an open or normal operation state. In the state of S1, the CPU stops operating, and the other hardware devices are still in a normal operating state. In the state of S2, the CPU is turned off and the remaining hardware devices are still operating. In S3, the electronic device writes the data in operation into the memory, and closes the hard disk after writing the data into the memory. In the state of S4, the memory information is written to the hard disk, and all components stop operating. In the S5 state, all hardware devices (including power) are turned off, i.e., the electronic device is in a power-off state.
According to an embodiment of the present disclosure, in order to ensure that the electronic device 110 can complete power scheduling for an external power system, power detection for a smart battery, charging and discharging tasks, and some practical shortcut buttons when in a standby state, a shutdown state, or a shutdown state, the electronic device 110 may further be provided with a controller, and the tasks that need to be executed in the standby state, the sleep state, or the shutdown state are executed by the controller. Therefore, in order to ensure that the electronic device 110 can still communicate with the external device 120 when in the hibernation or power-off state, the controller can control the communication between the electronic device 110 and the external device 120. Meanwhile, considering that the power consumption of the electronic device 110 is substantially 0 in the hibernation or power-off state, the controller should control the electronic device 110 and the external device 120 to communicate through a low-power signal channel in the hibernation or power-off state. Therefore, in a sleep or power-off state, if the external device provided with the protocol for transmitting information through the low-power-consumption signal channel is connected to the electronic device 110, the electronic device 110 may respond to the connection of the external device to connect the low-power-consumption communication channel.
It is understood that the information processing method of the embodiment of the present disclosure may be executed by the electronic device 110, for example. Accordingly, the electronic device provided by the embodiments of the present disclosure may be the electronic device 110. The types of electronic device 110 and external device 120 described above are merely illustrative. Any type of electronic device 110 and peripheral device 120 may be present, as desired for implementation.
Fig. 2 schematically shows a block diagram of an electronic device according to a first exemplary embodiment of the present disclosure.
As shown in fig. 2, the electronic device 200 of this embodiment may include a multimedia interface 210, a signal path 220, a controller 230, and a memory 240.
According to an embodiment of the present disclosure, the controller 230 may be, for example, in communication with the multimedia interface 210 through the signal channel 220, and the controller 230 is connected to the memory 240, and is configured to control an operating state of the memory 240 and control writing data into the memory 240 or reading data from the memory 240.
According to an embodiment of the present disclosure, the signal channel 220 may include, for example, at least two signal channels, which may include, for example, a ubs (universal Serial bus) channel, an I2C (Inter-Integrated Circuit) channel, a cec (consumer Electronics control) transmission channel, and the like. The Multimedia Interface may include, for example, a High Definition Multimedia Interface (HDMI), and the Multimedia Interface may include, for example, a plurality of pins, and the controller 230 may, for example, switch on a matched signal channel of at least two signal channels when the electronic device is in different states, so as to implement connection with a target pin 211 of the plurality of pins of the Multimedia Interface, so as to communicate with an external device accessing the Multimedia Interface when the electronic device is in different states.
According to the embodiment of the present disclosure, the Controller 230 may be, for example, an Embedded Controller (EC), which is responsible for tasks such as a built-in keyboard, a touch panel, battery intelligent charging and discharging management, and temperature monitoring of a notebook computer. The Flash with certain capacity is arranged in the Flash memory to store own codes. In a notebook computer, the EC can keep running all the time, wait for the startup information, and after the notebook computer is started, be used as the control of a keyboard controller, a charging indicator light, a fan and other devices, and can also control the standby, the dormancy or the shutdown state of the system.
According to the embodiment of the present disclosure, when the electronic device is in the aforementioned S4 or S5 state, that is, in the case of power failure of the memory, in order to ensure power consumption of substantially 0, the electronic device may select, for example, a signal channel with the smallest power consumption from among the plurality of signal channels for signal transmission. The target pin 211 may be, for example, an empty pin among the plurality of pins, in order to ensure that when the target pin of the multimedia interface is connected to a signal channel with minimum power consumption, the connection between other pins and the device is not affected.
According to the embodiment of the present disclosure, in order to ensure that communication with the external device is enabled in the S4 and S5 states, the external device also needs to be provided with the signal channel with the minimum power consumption. Therefore, when the electronic device is in the state of S4 or S5, if the controller detects that the external device is accessed through the multimedia interface, for example, it may be determined whether the external device is a target device (for example, the target device is a device provided with a signal channel with minimum power consumption), and when the external device is the target device, a target pin of the multiple pins in the multimedia interface may be accessed to the target signal channel (the channel with minimum power consumption) to communicate with the external device through the target signal channel. According to the embodiment of the disclosure, in order to ensure that power consumption is low and at the same time ensure compatibility of transmission signals, the target signal channel may be, for example, an I2C channel.
According to an embodiment of the present disclosure, if the signal channel with the minimum power consumption is the I2C channel, the target pin 211 may be two vacant pins among the plurality of pins considering that the I2C channel includes the data line and the I2C _ SDA and the clock line I2C _ SCL. Further, considering that the CEC channel and the ARC are not generally used or the CEC channel and the ARC (audio return channel) are not generally provided for the notebook computer, the two idle pins may be pins for connecting the CEC channel and the ARC among a plurality of pins included in the HDMI, and the two idle pins may be, for example, a Pin13 Pin and a Pin14 Pin.
Based on the electronic device, the embodiment of the disclosure further provides an information processing method, which is used for realizing communication with an external device provided with a low-power-consumption signal channel when the electronic device is in a low-power-consumption state.
Fig. 3 schematically shows a flowchart of an information processing method according to a first exemplary embodiment of the present disclosure.
As shown in fig. 3, the information processing method may include, for example, operations S310 to S320.
In operation S310, in the case that the memory in the electronic device is powered off, in response to the external device accessing the electronic device through the multimedia interface, it is determined whether the external device is a target device.
According to the embodiment of the present disclosure, considering that in the low power consumption state (S4 state or S5 state), the electronic device has all stopped working except the hard disk and the EC, the information of the external device cannot be determined by the information transmission method until the low power consumption information channel is connected. Therefore, in order to determine whether the external device is the target device, for example, the voltage value of the multimedia interface after the external device is connected to the electronic device may be used to determine. If the voltage value is a first voltage value specified between the target device and the electronic device according to a communication protocol, the external device can be determined as the target device.
When it is determined that the external device is the target device, operation S320 is performed. In operation S320, in a case that the external device is a target device, a target pin of the multimedia interface is connected to a target signal channel of the at least two signal channels, so that the electronic device communicates with the external device through the target signal channel.
According to an embodiment of the present disclosure, in order to facilitate determining whether the external device is the target device in the S4 or S5 state, for example, it may be implemented by multiplexing a ground pin among a plurality of pins included in the HDMI interface. This is because the ground pin generally has a voltage value of 0, which facilitates setting up a communication protocol with a target device. In this case, for example, a voltage dividing resistor may be introduced into the electronic device so that the voltage value of the multiplexed ground pin is not 0 when the external device is connected to the electronic device.
Fig. 4 schematically shows a structural schematic diagram of an electronic device according to an exemplary embodiment of the present disclosure.
As shown in fig. 4, the electronic device 400 of the embodiment may further include a voltage divider 450 disposed between the multimedia interface 210 and the controller 230, in addition to the multimedia interface 210, the signal channel 220, the controller 230, and the memory 240. For example, the controller 230 may be connected to a first pin 412 of a plurality of pins of the multimedia interface through the voltage divider circuit 450 in addition to the connection to the multimedia interface through the signal path 220. The first pin 412 may be the aforementioned ground pin.
According to an embodiment of the present disclosure, for the HDMI interface, the ground pins may be, for example, a pin2 pin and a pin17 pin. The first pin 412 may be, for example, a pin2 pin serving as a ground terminal for minimizing transmission of differential signals.
Through the setting of the voltage dividing circuit 450, determining whether the external device is the target device according to the voltage value of the multimedia interface after the external device is connected to the electronic device may be implemented by the flow shown in fig. 5, for example.
Fig. 5 schematically shows a flowchart for determining whether an external device is a target device according to an embodiment of the present disclosure.
As shown in fig. 5, operation S310 of determining whether the external device is the target device may include, for example, operations S511 to S512.
In operation S511, a first voltage value of a target access point to which a controller is connected to a first pin in a multimedia interface is detected. The access point of the controller and the first pin in the multimedia interface may be, for example, a connection point of the voltage divider circuit and the first pin. The first voltage value may be read, for example, by an analog-to-digital converter that converts an input voltage signal of the target access point to an output digital signal. The controller is integrated with or connected with the analog-to-digital converter to obtain the first voltage value of the target access point.
In operation S512, in case that the first voltage value is the target voltage value, it is determined that the external device is the target device. This operation S512 may include, for example: after the controller reads the first voltage value through operation S511, the controller compares the first voltage value with the target voltage value, and if the first voltage value is equal to the target voltage value, determines that the external device is the target device. Thereby performing operation S320 to enable communication of the electronic device with the target device in the S4 or S5 state.
Fig. 6A schematically illustrates a structural schematic diagram of an electronic device according to a third exemplary embodiment of the present disclosure.
As shown in fig. 6A, the electronic device includes a controller, a multimedia interface, a voltage divider circuit, a memory, and a signal channel.
The signal channels may include an I2C channel and a CEC channel, and the multimedia interface includes Pin13 and Pin14 pins, which may be switched to communicate with the I2C channel or the CEC channel via an electronic switch. It is understood that the CEC channel may not be provided for the signal channel in the electronic device, and in this case, the pins Pin13 and Pin14 may be switched between the two states of idle and connected I2C channels.
As shown in fig. 6A, an analog-to-digital converter ADC may be disposed in the controller, and the ADC is connected to Pin2 in the multimedia interface through a voltage dividing circuit. The voltage divider circuit may include, for example, a first resistor R1 and a second resistor R2 connected in series. One end of the first resistor R1 can be connected to the S4 voltage or the S5 voltage of the electronic device, that is, to the sleep voltage or the shutdown voltage of the electronic device, the second end of the first resistor R2 is connected to the first end of the second resistor R2, and the second end of the second resistor R2 is grounded to GND.
According to an embodiment of the present disclosure, the access point of the controller to the voltage dividing circuit may be, for example, a point between the second end of the first resistor R1 and the first end of the second resistor R2, so that the digital signal output by the analog-to-digital converter is an input voltage value of a point between the first resistor R1 and the second resistor R2.
According to the embodiment of the disclosure, in order to improve user experience, a sensor may be disposed in the electronic device, and configured to detect a surrounding environment in a standby state, determine whether a user approaches, and light up a screen of the electronic device when the user approaches. However, considering that the sensor needs to operate all the time, the power consumption of the electronic device is necessarily large. In addition, when the user approaches the electronic device and does not use the electronic device, the electronic device may be turned on by mistake. If the external device of the electronic device has the environment information recognition function, it may be considered that the sensor of the electronic device is turned off, and the function of detecting the surrounding environment is transferred to the external device to be executed. Therefore, when the external device is connected to the electronic device, it is also necessary to determine whether the external device has the environment information identification function.
According to the embodiment of the present disclosure, in order to facilitate the electronic device to determine whether the external device has the environment information recognition function without communication with the external device in a low power consumption state, a second Pin in the multimedia interface may be multiplexed, and considering that the CEC channel in the electronic device is not used basically, the second Pin may be, for example, a ground Pin of CEC, and specifically, may be a Pin17 Pin. In consideration of the fact that the voltage values of the micro control unit MCU of the external device integrated with different sensors are different after the external device is connected to the electronic device, the voltage value of the micro control unit MCU of the external device is detected through the contact between the external device and the Pin17 Pin of the electronic device, and the type of the sensor arranged in the external device can be determined.
Based on the multimedia interface of the electronic device shown in fig. 6A, the electronic device can communicate with a target device having the same multimedia interface.
Fig. 6B schematically shows an application scenario diagram of the electronic device in fig. 6A.
As shown in fig. 6B, the application scenario includes an electronic device 610 and a target device 620. The structure of the electronic device 610 is similar to that of the electronic device in fig. 6A.
The target device 620 is provided with the same multimedia interface and voltage dividing circuit as those of the electronic device 610. The Pin2 Pin is connected to a Microcontroller (MCU) through a voltage divider circuit for providing a target voltage value to the electronic device 610. The Pin13 Pin and the Pin14 Pin are both connected to a Central Processing Unit (CPU) for enabling the CPU to communicate with the electronic device 610 via the Pin13 Pin and the Pin14 Pin. The Pin17 Pin is connected to an MCU in which a sensor is disposed, so that the electronic device 610 can determine the type of sensor included in the target device 620 through its Pin17 Pin and the Pin17 Pin of the target device 620.
Fig. 7 schematically shows a flowchart of an information processing method according to an exemplary embodiment two of the present disclosure.
As shown in fig. 7, the information processing method of the embodiment of the present disclosure may further include operations S730 to S750, in addition to operations S310 to S320.
In operation S730, in case that the external device is the target device, a second voltage value of a second pin in the multimedia interface is detected. After determining that the external device is the target device, in order to determine whether to transfer the environment information recognition function of the electronic device to the target device, it is first determined whether the target device has the environment information recognition function, and therefore, the controller may detect a second voltage value of the second Pin17 in the multimedia interface, and determine whether the external device has a sensor related to the environment recognition function according to the second voltage value.
In operation S740, it is determined whether the external device has a target recognition function according to the second voltage value. The operation S740 may include, for example: and determining whether the second voltage value is equal to a preset voltage value of the MCU of the external device with the biological recognition sensor. And if so, determining that the external equipment has the target identification function. The target recognition function is an environmental information recognition function. Specifically, in order to determine whether to turn on the display screen of the electronic device, the environment information recognition function may be specifically a biometric function to determine whether there is a user approaching.
In operation S750, in the case that the external device has the target recognition function, the electronic device is switched to a first operating state. After the external equipment is determined to have the target recognition function, the target recognition function of the electronic equipment can be transferred to be executed by the external equipment. Therefore, the electronic equipment can be switched into a dormant state or a power-off state to turn off the sensor, so that the power consumption of the electronic equipment is reduced.
After the target recognition function is transferred to the external device, the external device can determine whether a user approaches according to the target recognition function of the external device, and performs face recognition and the like on the approaching user to obtain a recognition result. In order to facilitate the electronic device to determine whether to switch from the hibernation state or the power-off state to the power-on state, the external device may send the identification result to the electronic device through the target signal channel described in operation S320, and the controller of the electronic device determines whether to switch the electronic device to the power-on state according to the identification result.
Fig. 8 schematically shows a flowchart of an information processing method according to a third exemplary embodiment of the present disclosure.
As shown in fig. 8, the information processing method of the embodiment may further include operations S860 to S870 in addition to operations S310 to S320, and operations S730 to S750, and the operations S860 to S870 may be performed by the controller.
In operation S860, when the electronic device is in the first operating state, target information obtained by the external device through the target recognition function is obtained through the target signal channel. The operation S860 may include: when the electronic equipment is in a dormant state or a shutdown state, receiving information which is sent by the external equipment through the target signal channel and is sent when the external equipment starts a target identification function and obtains an identification result. Therefore, the target information is the recognition result.
In operation S870, in the case that the target information is the predetermined information, the electronic device is switched from the first operating state to the second operating state. The predetermined information may be, for example, user information of a registered user stored in the electronic device. In view of the fact that the memory is in the power-off state when the electronic device is in the first operating state, the user information of the registered user may be stored in the hard disk, or in the controller, for example. The operation S870 may include: and comparing the obtained identification result with the user information of the registered user, and determining whether the face information included in the identification result belongs to the user information of the registered user. If yes, the target information is determined to be the preset information, and the electronic equipment is switched to a second working state (for example, a starting-up state). If not, the first working state is maintained. The predetermined information is the user information of the registered user.
And the power consumption of the electronic equipment in the first working state is less than that of the electronic equipment in the second working state. Through the operation S870, the low power consumption state of the electronic device may be maintained when the user approaches but the recognition result is not the predetermined information, so that the electronic device may be prevented from being triggered by mistake, and the power consumption of the electronic device may be effectively reduced.
According to the embodiment of the disclosure, since the target recognition function is transferred to the external device, the external device may also recognize whether the user leaves, for example. If the user leaves is detected, in order to further reduce the power consumption of the electronic equipment, the information that the user leaves can be sent to the electronic equipment in time, so that the electronic equipment is switched from the second working state to the first working state in time. The external device may determine whether the distance between the identified user and the external device is farther and farther by comparing a plurality of identification results obtained continuously, and determine that the user leaves if the distance is farther and farther.
Fig. 9 schematically shows a flowchart of an information processing method according to an exemplary embodiment four of the present disclosure.
As shown in fig. 9, the information processing method according to the embodiment of the present disclosure may include, for example, operations S980 to S990, in addition to operations S310 to S320, operations S730 to S750, and operations S860 to S870.
In operation S980, when the electronic device is in the second operating state, target departure information obtained by the external device through sensing by the sensor is obtained through the target signal channel.
In operation S990, in response to obtaining the target leaving information, the electronic device is switched from the second operating state to the first operating state. Namely, the electronic equipment is switched from the power-on state to the dormant state or the power-off state, so as to reduce the power consumption of the electronic equipment.
According to an embodiment of the present disclosure, the information processing method of the embodiment as a whole may include, for example:
whether the external device is the target device is determined by the Pin2 multiplexing the HDMI interface, and if the voltage of the target access point connected with the Pin2 is detected to be a preset value (for example, 5V), the external device is determined to be the target device.
Then, Pin13 and Pin14 of the HDMI interface are communicated with the data line and the clock line of I2C, respectively, thereby communicating the target signal channel. Then detects and determines whether the external device has a sensor and a biological identification module (the biological identification module has a biological identification function) through the Pin 17. If yes, informing the operating system through the BIOS, and transferring the sensing operation of the user leaving/approaching and the work of face recognition to the external equipment for processing. And if the user perception sensor of the external display device detects and confirms that the user leaves, the electronic device is informed through an I2C channel communicated with the Pin13/Pin 14. The electronic equipment automatically completes state switching work through the EC to switch to a low-power-consumption state, and the effects of saving electricity and protecting privacy are achieved.
When a sensor on the external equipment detects the presence of a user, a display screen of the external equipment is lightened, the biological identification module carried by the external equipment is used for locally identifying the user, and after identification processing is completed, processed biological identification information is transmitted to the electronic equipment through the multiplexing access of the Pin13 and the Pin 14. The electronic device determines whether the electronic device needs to wake up and start the operating system by judging the biometric identification. If the electronic equipment judges that the user is not the local user through the biological identification information, an operating system of the electronic equipment does not need to be awakened, so that the effect of saving electric quantity is achieved.
Fig. 10 schematically shows a flowchart of information processing in a process in which an electronic device communicates with a target device. As shown in fig. 10, the electronic device may be, for example, a notebook computer, and the target device may be, for example, a display device with a distance sensor (sensor) and a biometric module. The notebook computer has the structure of the electronic device 610 shown in fig. 6A, and the display device has the structure of the target device 620 shown in fig. 6B. The information processing flow for realizing the communication between the notebook computer and the display equipment is as follows:
the notebook computer completes the identification action of the display device through the Pin2 Pin of the multimedia interface. After the display device is determined to be the target device, communication of an I2C channel is established with Pin13 and Pin14 pins of the display device through the Pin13 Pin and the Pin14 Pin.
Then the notebook computer determines that the display device has a Sensor and a biological recognition module through a Pin17 Pin, and informs an operating system through a BIOS of the notebook computer, and transfers the sensing operation of detecting the leaving/appearing of the user by the Sensor and the work of biological recognition to the display device. And after receiving the transfer instruction and determining to take over the work, the display equipment sends feedback information of operations such as Sensor detection and biological identification received by the real equipment to the notebook computer.
When the Sensor of the display device for detecting the user detects the user and confirms that the distance between the user and the Sensor is increased, the user is confirmed to leave, and the information of the detected user leaving is sent to the processor of the display device. The processor of the display device confirms the user's departure when it is determined that the departing user is a previously identified user. The message confirming the user' S departure is then notified to the notebook computer through the I2C channel connected by the multiplexed Pin13 Pin and Pin14 Pin to notify the notebook computer to enter a low power consumption mode (i.e., S4 state or S5 state). Therefore, the notebook computer can save time and effectively protect privacy.
When the sensor of the display device detecting the user detects that the user appears and the distance from the sensor is reduced, the processor is informed to light up the screen of the display device and inform the biological recognition module to start local recognition of the user. If the identification result represents that the user is the local user, the identification result (carrying the information of the user) is confirmed to be notified to the notebook computer through the I2C channel connected by the multiplexed Pin13 Pin and Pin14 Pin so as to notify the identification information (namely the identification result) of the display equipment of the notebook computer. The notebook computer can judge the identification information, so as to judge whether to wake up and start the system according to the judgment result. If the notebook computer judges that the information of the user carried in the identification information is not the information of the local user of the notebook computer, the system does not need to be started. And if the notebook computer judges that the user information carried in the identification information is the information of the local user of the notebook computer, starting the system.
In summary, the electronic device and the information processing method according to the embodiments of the present disclosure can complete operations such as user detection and face recognition when the electronic device is in a state with extremely low power consumption, such as hibernation or shutdown, and can prevent power consumption waste caused by false triggering, thereby prolonging battery life of the electronic device. Moreover, for the electronic equipment without the sensor and the face recognition module, the same experience can be obtained through the external equipment with the function. And users of high, medium and low end product lines can obtain similar user experience. In addition, the biological recognition function is transferred to the external equipment, and the external equipment is generally fixed in placement position, so that the user can conveniently land on the face, and the success rate of the land on the face is improved.
According to the embodiments of the present disclosure, the following technical teaching can be given by the above technical solution for transferring the biological recognition function: for some electronic devices with specific applications, such as high-performance devices like game notebooks, it is possible to transfer some functions to an external display device for a specific external device, so that the electronic device itself can release more optimal performance, and at the same time, a better audio-visual experience can be obtained. Or for the electronic equipment in the mobile office, the effect of further helping the electronic equipment to save power is obtained by transferring some functions to the external equipment.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
Claims (8)
1. An information processing method comprising:
under the condition that the memory in the electronic equipment is powered off, responding to the fact that an external device is connected into the electronic equipment through a multimedia interface, and determining whether the external device is a target device or not; and
under the condition that the external equipment is the target equipment, a target pin of the multimedia interface is accessed into a target signal channel of at least two signal channels, the electronic equipment is in a dormant state or a memory power-off state, so that the electronic equipment is communicated with the external equipment through the target signal channel,
wherein, of the at least two signal channels, power consumption of the target signal channel is minimal;
wherein the electronic device comprises a controller; the determining whether the external device is a target device comprises:
detecting a first voltage value of a target access point connected with a first pin in the multimedia interface by the controller; and
and under the condition that the first voltage value is a target voltage value, determining that the external equipment is the target equipment.
2. The method of claim 1, further comprising:
under the condition that the external equipment is target equipment, detecting a second voltage value of a second pin in the multimedia interface;
determining whether the external equipment has a target identification function or not according to the second voltage value; and
and under the condition that the external equipment has the target identification function, switching the electronic equipment to a first working state.
3. The method of claim 2, further comprising:
when the electronic equipment is in a first working state, obtaining target information obtained by the external equipment through the target identification function through the target signal channel; and
switching the electronic equipment from the first working state to a second working state under the condition that the target information is predetermined information,
wherein the power consumption of the electronic device in the first operating state is less than the power consumption of the electronic device in the second operating state.
4. The method of claim 3, further comprising:
when the electronic equipment is in a second working state, target leaving information obtained by the external equipment through sensing of a sensor is obtained through the target signal channel; and
and responding to the obtained target leaving information, and switching the electronic equipment from the second working state to the first working state.
5. An electronic device, comprising:
the multimedia interface comprises a plurality of pins, and the plurality of pins are used for accessing external equipment;
a memory;
at least two signal channels; and
a controller coupled to the multimedia interface, the controller configured to:
under the condition that the memory is powered off, determining whether the external equipment is target equipment; and
when the external device is a target device, a target pin of the plurality of pins is accessed to a target signal channel of the at least two signal channels, the electronic device is in a dormant state or a memory power-off state, so that the electronic device communicates with the external device through the target signal channel,
wherein, of the at least two signal channels, power consumption of the target signal channel is minimal;
the device further comprises:
a voltage divider circuit through which the controller is connected to a first pin of the plurality of pins;
the controller determines whether the external device is a target device by:
detecting a first voltage value at an access point of the controller accessed to the voltage division circuit; and
and under the condition that the first voltage value is a target voltage value, determining that the external equipment is the target equipment.
6. The apparatus of claim 5, wherein the voltage divider circuit comprises a first resistor and a second resistor in series;
the access voltage of the first end of the first resistor is the resting voltage or the shutdown voltage of the electronic equipment;
the second end of the first resistor is connected with the first end of the second resistor, the second end of the second resistor is grounded,
wherein, the access point that the controller inserts the bleeder circuit includes: a point between the second end of the first resistor and the first end of the second resistor.
7. The apparatus of claim 5, wherein:
the controller is connected to a second pin of the plurality of pins, the controller further configured to:
detecting a second voltage value of the second pin under the condition that the external equipment is target equipment;
determining whether the external equipment has a target identification function or not according to the second voltage value; and
and under the condition that the external equipment has the target identification function, switching the electronic equipment to a first working state.
8. The apparatus of claim 7, wherein:
the target pin includes: two vacant pins of the plurality of pins; or a third pin used for connecting a control information channel and a fourth pin used for connecting an audio return channel in the plurality of pins;
the first pin and/or the second pin comprise a ground pin.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911422612.9A CN111159068B (en) | 2019-12-30 | 2019-12-30 | Information processing method and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911422612.9A CN111159068B (en) | 2019-12-30 | 2019-12-30 | Information processing method and electronic device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111159068A CN111159068A (en) | 2020-05-15 |
| CN111159068B true CN111159068B (en) | 2022-04-22 |
Family
ID=70560762
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911422612.9A Active CN111159068B (en) | 2019-12-30 | 2019-12-30 | Information processing method and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111159068B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114968378B (en) * | 2021-02-23 | 2024-12-06 | 广州视源电子科技股份有限公司 | A control method, device, equipment and storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101452337A (en) * | 2008-12-18 | 2009-06-10 | 北京中星微电子有限公司 | Control method and device for peripheral equipment |
| CN102083657A (en) * | 2009-04-10 | 2011-06-01 | 丰田自动车株式会社 | On-vehicle multi-media device and power supply method thereof |
| CN102236405A (en) * | 2010-04-27 | 2011-11-09 | 联想(新加坡)私人有限公司 | Information equipment capable of reducing standby power and power control method |
| CN105868709A (en) * | 2016-03-28 | 2016-08-17 | 北京小米移动软件有限公司 | Method and apparatus for closing fingerprint identifying function |
| CN108292158A (en) * | 2015-11-24 | 2018-07-17 | 精工爱普生株式会社 | Communication device, display device, control method and program for display device |
| CN109521866A (en) * | 2018-10-24 | 2019-03-26 | 佛山市禅信通科技有限公司 | A kind of low-power consumption face identification method and system |
| CN109800552A (en) * | 2017-11-17 | 2019-05-24 | 上海箩箕技术有限公司 | A kind of circumscribed fingerprint identification device |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7870409B2 (en) * | 2007-09-26 | 2011-01-11 | Hitachi, Ltd. | Power efficient data storage with data de-duplication |
| US9972275B2 (en) * | 2013-05-14 | 2018-05-15 | Ati Technologies Ulc | Content presentation system and method |
| KR102246120B1 (en) * | 2014-11-21 | 2021-04-29 | 삼성전자주식회사 | User terminal for controlling display apparatus and control method thereof |
| CN105404603B (en) * | 2015-10-26 | 2018-10-09 | 云顶科技(江苏)有限公司 | Anti-interference drive circuit of USB interface |
| US10372194B2 (en) * | 2016-02-09 | 2019-08-06 | International Business Machines Corporation | Optimizing use of location services in mobile applications to improve battery consumption |
| WO2019071577A1 (en) * | 2017-10-13 | 2019-04-18 | 华为技术有限公司 | Universal serial bus (usb) apparatus and method for saving power of usb apparatus |
-
2019
- 2019-12-30 CN CN201911422612.9A patent/CN111159068B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101452337A (en) * | 2008-12-18 | 2009-06-10 | 北京中星微电子有限公司 | Control method and device for peripheral equipment |
| CN102083657A (en) * | 2009-04-10 | 2011-06-01 | 丰田自动车株式会社 | On-vehicle multi-media device and power supply method thereof |
| CN102236405A (en) * | 2010-04-27 | 2011-11-09 | 联想(新加坡)私人有限公司 | Information equipment capable of reducing standby power and power control method |
| CN108292158A (en) * | 2015-11-24 | 2018-07-17 | 精工爱普生株式会社 | Communication device, display device, control method and program for display device |
| CN105868709A (en) * | 2016-03-28 | 2016-08-17 | 北京小米移动软件有限公司 | Method and apparatus for closing fingerprint identifying function |
| CN109800552A (en) * | 2017-11-17 | 2019-05-24 | 上海箩箕技术有限公司 | A kind of circumscribed fingerprint identification device |
| CN109521866A (en) * | 2018-10-24 | 2019-03-26 | 佛山市禅信通科技有限公司 | A kind of low-power consumption face identification method and system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111159068A (en) | 2020-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10007316B2 (en) | State control method and apparatus and portable terminal | |
| KR101456723B1 (en) | Devices, software and methods with multiple graphics subsystems and power-saving modes | |
| US9542267B2 (en) | Enhanced recovery mechanisms | |
| US20100199112A1 (en) | Information processing apparatus and power supply control method | |
| US8407495B2 (en) | Information processor and power supply method for an information processor | |
| US8751835B2 (en) | Computer system and control method thereof | |
| US20100281183A1 (en) | Method and device for activating functions of a powered-off device via a serial data bus interface | |
| JP6725842B2 (en) | Information processing apparatus, power supply/reception control circuit, and power supply/reception control method | |
| KR20150097330A (en) | Method and Apparatus for Controlling Battery Charging | |
| KR20120088856A (en) | Connection to a USB device | |
| US20090160404A1 (en) | Information processing apparatus | |
| US20140379951A1 (en) | System and display control method | |
| KR100433397B1 (en) | Card type device capable of being used in secondary battery and host for using the card type device | |
| KR20180109593A (en) | Electronic device and method for detecting water in electronic device | |
| JP2014068526A (en) | Host device connectable to user terminal device, and charging method therefor | |
| CN106786960A (en) | Charge control method, device and terminal | |
| CN214670566U (en) | Computer wake-up circuit and computer | |
| JP2001067156A (en) | Computer peripheral device, control method therefor, imaging apparatus, and storage medium | |
| CN111159068B (en) | Information processing method and electronic device | |
| US11428753B2 (en) | Method for detecting water in connection terminal of electronic device and electronic device supporting the same | |
| US20100037074A1 (en) | Power control for serial bus peripheral device | |
| US20140143528A1 (en) | Information Processing Apparatus and Control Method | |
| US20150123875A1 (en) | Power management device and method | |
| CN110957791A (en) | Electronic device and charging method | |
| US20120303992A1 (en) | Display and power management method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |