Electronic device and power adapter thereof and method for identifying power adapter
Abstract
An electronic device includes a detection module, an identification code generation module, a decryption module, a comparison module, and a control module. The detection module transmits a detection signal after detecting that a power adapter is connected to the electronic device. The identification code generation module randomly generates an encrypted identification code after receiving the detection signal. The decryption module decrypts the identification code to generate a first decryption code. The comparison module compares a second decryption code that has been fed back from the power adapter after the power adapter receiving the detection signal, with the first decryption code. The control module controls the electronic device to receive power from the power adapter when the first decryption code is the same as the second decryption code.
Claims
exact text as granted — not AI-modified1 . An electronic device comprising:
a detection module operable to transmit a detection signal, in response to detecting that a power adapter is connected to the electronic device; an identification code generation module operable to randomly generate an encrypted identification code, in response to receiving the detection signal; a decryption module operable to decrypt the identification code received from the identification code generation module, to generate a first decryption code; a comparison module operable to compare the first decryption code received from the decryption module with a second decryption code that has been fed back from the power adapter, wherein the power adapter generates the second decryption code, in response to receiving the identification code from the identification code generation module; and a control module operable to control the electronic device to receive power from the power adapter, in response to the first decryption code being the same as the second decryption code.
2 . The electronic device of claim 1 , wherein the decryption module comprises a decryption algorithm unit and a secret key generation unit, the secret key generation unit is operable to generate a secret key, the decryption algorithm unit is operable to decrypt the identification code and the secret key to generate the first decryption code.
3 . The electronic device of claim 2 , wherein the decryption algorithm unit decrypts the identification code and the secret key by an irreversible cryptographic algorithm to generate the first decryption code.
4 . The electronic device of claim 1 , further comprising an alarm module controlled by the control module, wherein in response to the first decryption code being different from the second decryption code, the control module controls the electronic device not to receive power from the power adapter, and activates the alarm module.
5 . A power adapter for supplying power to an electronic device, the power adapter comprising:
a decryption module operable to decrypt an identification code received from the electronic device to generate a first decryption code, and operable to transmit the first decryption code to the electronic device; wherein the first decryption code is compared with a second decryption code generated by the electronic device by decrypting the identification code, and in response to the first decryption code being the same as the second decryption code, power supplied by the power adapter is received by the electronic device.
6 . The power adapter of claim 5 , wherein the decryption module comprises a decryption algorithm unit and a secret key generation unit, the secret key generation unit is operable to generate a secret key, the decryption algorithm unit is operable to decrypt the identification code and the secret key to generate the first decryption code.
7 . The power adapter of claim 6 , wherein the decryption algorithm unit decrypts the identification code and the secret key by an irreversible cryptographic algorithm to generate the first decryption code.
8 . A method for identifying whether a power adapter connected to an electronic device is an authentic power adapter of the electronic device, the method comprising:
transmitting a detection signal in response to detecting that the power adapter is connected to the electronic device; generating an encrypted identification code randomly in response to receiving the detection signal; decrypting the identification code received from the identification code generation module to generate a first decryption code; comparing the first decryption code received from the decryption module with a second decryption code that has been fed back from the power adapter, wherein the power adapter generates the second decryption code, in response to receiving the identification code from the identification code generation module; and controlling the electronic device to receive power from the power adapter, in response to the first decryption code being the same as the second decryption code.
9 . The method of claim 8 , further comprising controlling the electronic device not to receive power from the power adapter, and activating an alarm module of the electronic device, in response to the first decryption code being different from the second decryption code.Join the waitlist — get patent alerts
Track US2011197075A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.