Electronic device and switching method using the same
AssigneesChi Mei Communication Systems, Inc., Shenzhen Futaihong Precision Industry Co., Ltd.
InventorCHENG YE
Life of this patent
Estimating the term…
Abstract
In a switching method of an electronic device, the electronic device receives a message sent from an earphone that is in electronic connection with the electronic device, the message comprising an input password, if the input password is equal to a password to switch an application layer into a host mode, the electronic device switches the application layer into the host mode to access private information of the application layer.
Claims15
A switching method of an electronic device, the electronic device comprising an application layer, a driver layer, at least one central processing unit (CPU), and a storage device, the method comprising:
- storing preset passwords in the storage device, the preset passwords comprising a first password to switch the application layer into a host mode, wherein the host mode allows access to private information of the electronic device;
- receiving a first message from the driver layer, the first message comprising an input password sent from an earphone that is in electronic connection with the electronic device;
- switching the application layer into the host mode when the input password in the first message is equal to the first password in the storage device;
- and
- outputting a preset voice message to the earphone to notify that the application layer has been switched into the host mode, by invoking an audio interface of the electronic device.
An electronic device, comprising:
- an application layer;
- a driver layer;
- at least one central processing unit (CPU);
- a storage device;
- and
- one or more programs that are stored in the storage device and are executed by the at least one CPU, the one or more programs comprising:
- a storing module that stores preset passwords in the storage device, the preset passwords comprising a first password to switch the application layer into a host mode, wherein the host mode allows access to private information of the electronic device;
- a receiving module that receives a first message from the driver layer, the first message comprising an input password sent from an earphone that is in electronic connection with the electronic device;
- a switching module that switches the application layer into the host mode when the input password in the first message is equal to the first password in the storage device;
- and
- an outputting module that outputs a preset voice message to the earphone to notify that the application layer has been switched into the host mode, by invoking an audio interface of the electronic device.
A non-transitory storage medium having stored thereon instructions that, when executed by a central processing unit (CPU), causes the electronic device to perform a switching method of the electronic device, the electronic device comprising an application layer, a driver layer, at least one CPU, and a storage device, the method comprising:
- storing preset passwords in the storage device, the preset passwords comprising a first password to switch the application layer into a host mode, wherein the host mode allows access to private information of the electronic device;
- receiving a first message from the driver layer, the first message comprising an input password sent from an earphone that is in electronic connection with the electronic device;
- switching the application layer into the host mode when the input password in the first message is equal to the first password in the storage device;
- and
- outputting a preset voice message to the earphone to notify that the application layer has been switched into the host mode, by invoking an audio interface of the electronic device.
Dependencies are inferred from the claim text.