Terminal and peripheral system thereof

Controlling the status of terminal device peripheral modules through the hardware security unit solves the problem that pure software protection solutions are easily bypassed, and achieves high-security personal privacy protection with a wider scope of application.

WO2024198704A1PCT designated stage expired Publication Date: 2024-10-03HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/074946
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-01-31
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

In the existing technology, peripherals of terminal devices are easily deceived and bypassed by third-party APPs through pure software protection solutions, resulting in a low security level and high implementation difficulty, which cannot effectively prevent the leakage of personal privacy information.

Method used

The hardware security unit is used to control the communication, power supply and startup status of the peripheral module to ensure that even if a third-party APP bypasses software protection, it cannot access or call the peripheral module to achieve hardware-level security protection.

Benefits of technology

It effectively improves the security level of terminal equipment, avoids the leakage of personal privacy information, simplifies the security protection process, has a wider scope of application, and achieves hardware-level security guarantees.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024074946_03102024_PF_FP_ABST
    Figure CN2024074946_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a terminal and a peripheral system thereof. The peripheral system comprises an input module, a processing module, and multiple peripheral modules. The input module is connected to the processing module; the input module is used for receiving input information and transmitting the input information to the processing module; the processing module is connected to the multiple peripheral modules; the processing module comprises a hardware security unit; and the hardware security unit is used for receiving the input information and outputting to some or all of the peripheral modules a control signal corresponding to the input information, so as to control the communication state, power supply state and / or activation state of some or all of the peripheral modules. Therefore, when a peripheral module is controlled to be disconnected from communication, powered off, and / or not operating, a third-party APP in a terminal cannot access or call the peripheral module, and thus cannot steal personal privacy information.
Need to check novelty before this filing date? Find Prior Art

Description

Terminal and its peripheral systems

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 31, 2023, with application number 202320792723.4 and titled “Terminal and Peripheral System Thereof,” the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a terminal and its peripheral system. Background Art

[0003] With the development of mobile devices and other terminal devices, the applications (Applications, Apps) installed on these devices are becoming increasingly diverse. However, non-native system apps on terminals, also known as third-party apps, may pose security risks. For example, third-party apps may access peripherals such as the terminal's camera and microphone in the background, thereby stealing users' personal privacy information.

[0004] Currently, pure software protection solutions are commonly used to protect peripherals. This approach involves attaching the peripherals to the processor core and utilizing the core's underlying security software for authentication, thereby preventing unauthorized access by third-party apps. However, security software is prone to vulnerabilities, making pure software protection solutions easily circumvented by third-party apps and lacking a high level of security. Furthermore, security software requires frequent interaction with the peripheral driver, resulting in complex authentication methods. This makes pure software protection solutions challenging to implement.

[0005] Summary of the Invention

[0006] In view of this, the present application provides a terminal and its peripheral system, which can effectively prevent third-party APPs from illegally accessing or calling peripherals through hardware, thereby avoiding the leakage of personal privacy information, and thus has a high security level.

[0007] In the first aspect, the present application provides a peripheral system of a terminal, the peripheral system including an input module, a processing module and multiple peripheral modules, the input module is connected to the processing module, the input module is used to receive input information and transmit the input information to the processing module, the processing module is connected to multiple peripheral modules, wherein the processing module includes a hardware security unit, the hardware security unit is used to receive input information and output a control signal corresponding to the input information to some or all peripheral modules to control the communication status, power supply status and / or startup status of some or all peripheral modules.

[0008] Based on such a design, when the control peripheral module is disconnected from communication, powered off and / or not running, even if a third-party APP in the terminal cheats and bypasses the software protection, it cannot access or call the peripheral module. Therefore, the peripheral system of the terminal of this application can effectively avoid the leakage of personal privacy information caused by illegal access or calling of the peripheral module by a third-party APP. Moreover, this application generates a control signal by a hardware security unit, which can achieve hardware anti-tampering and anti-intrusion, and realize hardware security protection. Therefore, the security level of the terminal and peripheral system of this application is high. Compared with the commonly used pure software protection scheme, this application uses a hardware structure to defend against illegal access and illegal calls to peripherals. Therefore, the security protection of the peripheral module of this application is simpler and easier to implement, so the scope of application can be wider.

[0009] In one possible design, at least one peripheral module includes peripheral hardware and a protection switch. The protection switch is connected between the peripheral hardware and the processing module, and the hardware security unit is connected to the protection switch. Based on this design, the hardware security unit can output a control signal to the protection switch to control the on / off state of the protection switch, thereby controlling the communication status of the peripheral hardware.

[0010] In a possible design, each protection switch is connected to at least two peripheral hardware of the same type, which can reduce the number of components, lower costs and control complexity.

[0011] In one possible design, the peripheral system also includes a power supply connected to the processing module and the plurality of peripheral modules to provide power to the processing module and the plurality of peripheral modules. At least one peripheral module includes peripheral hardware and a protection switch, the protection switch being connected between the peripheral hardware and the power supply, and the hardware security unit being connected to the protection switch. Based on this design, the hardware security unit can output a control signal to the protection switch to control the on / off state of the protection switch, thereby controlling the power supply state of the peripheral hardware.

[0012] In one possible design, the peripheral system further includes a first power supply and a second power supply. The first power supply is connected to the processing module for powering the processing module, and the second power supply is connected to multiple peripheral modules and the hardware security unit for powering the multiple peripheral modules. Based on this design, the hardware security unit can output a control signal to the second power supply to control the operation of the second power supply, thereby controlling the power supply status of the peripheral modules.

[0013] In a possible design, the processing module has an enable interface and / or a reset interface, and at least one peripheral module is connected to the enable interface and / or the reset interface. Based on such a design, the hardware security unit can output a control signal to the peripheral module through the enable interface to enable the peripheral module (that is, to enable the peripheral module) or disable the peripheral module (that is, to prohibit the peripheral module from starting), thereby realizing the startup state of controlling the peripheral module. Alternatively, the hardware security unit can also output a control signal to the peripheral module through the reset interface to reset the peripheral module (that is, to end the current state of the peripheral module and enter the reset waiting state, for example, to convert the working peripheral module into the reset waiting state) or not reset the peripheral module (that is, to maintain the current state of the peripheral module, for example, to continue working), thereby realizing the startup state of controlling the peripheral module.

[0014] In one possible design, the processing module also includes a processing unit, which is used to process data from multiple peripheral modules so that the multiple peripheral modules can achieve corresponding functions. The hardware security unit includes a first security unit, which can implement hardware-level security protection, prevent attacks and tampering, and other parts of the processing module and APPs cannot actively access the information in the first security unit. Therefore, the first security unit can safely generate control signals and transmit control signals to some or all peripheral modules. The first security unit is connected to the processing unit and is integrated with the processing unit in the system on chip SOC, so the first security unit and the processing unit can communicate, so that after the first security unit controls the communication status, power supply status and / or startup status of the peripheral module, the processing unit can obtain the communication status, power supply status and / or startup status of the peripheral module.

[0015] In one possible design, the hardware security unit also includes a second security unit, which is located outside the SOC and connected to the first security unit. Based on this design, the second security unit can be used to store information (such as keys, identity information, permissions, and other sensitive information) used by the first security unit to generate control signals corresponding to input information. Obviously, the use of the second security unit can achieve physical (i.e., hardware) isolation, which can further strengthen the storage security of sensitive information and improve hardware security.

[0016] In one possible design, the first security unit is a trusted execution environment TEE or processor in the SOC. It can be understood that when the first security unit is a TEE, it is equivalent to isolating a secure area in the SOC to achieve isolation from other parts of the processing module. When the first security unit is a processor, it can be physically independent (that is, hardware), and it can also be isolated from other parts of the processing module. Therefore, the first security unit is a TEE or processor in the SOC, which can enable the peripheral system to reach the hardware security protection level and ensure the confidentiality and security of information. The second security unit is a security element SE. Since it is external to the processing module, it can achieve better physical independence. Moreover, it is easier to establish physical protection and implement security by using simple components to store sensitive information.

[0017] In one possible design, the processing module further includes a processing unit, which is integrated into a system-on-chip (SOC) and is used to process data from multiple peripheral modules. The hardware security unit includes a second security unit, which is located outside the SOC and connected to the processing unit. The second security unit is used to output control signals to some or all of the peripheral modules. It can be understood that since the external second security unit generates and outputs the control signals, the security of the peripheral system of the present application can be higher.

[0018] In one possible design, the input module includes a key module, a display screen with a sensor, a keyboard, a mouse and / or a microphone. Therefore, the peripheral system of the present application can flexibly design the input module according to actual conditions.

[0019] In a second aspect, the present application further provides a terminal, which includes the peripheral system described in the first aspect or any possible implementation of the first aspect.

[0020] In addition, the technical effects brought about by any possible implementation method in the second aspect can refer to the technical effects brought about by different implementation methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments.

[0022] FIG1 is a schematic diagram of a terminal provided in an embodiment of the present application.

[0023] FIG2 is a schematic structural diagram of a terminal provided in an embodiment of the present application.

[0024] FIG3 is a schematic diagram of a peripheral system provided in an embodiment of the present application.

[0025] FIG4 is a schematic structural diagram of a peripheral system provided in the first embodiment.

[0026] FIG5 is a schematic structural diagram of a peripheral system provided in the second embodiment.

[0027] FIG6 is a schematic structural diagram of a peripheral system provided in the third embodiment.

[0028] FIG7 is a schematic structural diagram of a peripheral system provided in the fourth embodiment.

[0029] FIG8 is a schematic structural diagram of a peripheral system provided in the fifth embodiment.

[0030] FIG9 is a structural diagram of a peripheral system provided in Example 6.

[0031] FIG10 is a schematic structural diagram of a peripheral system provided in Example 7.

[0032] FIG11 is a structural diagram of a peripheral system provided in the eighth embodiment.

[0033] FIG12 is a schematic structural diagram of a peripheral system provided in Example 9.

[0034] Main component symbol description Terminal 100 Processing module 1, 22 USB interface 2 Mobile communication module 3A Antenna 1 3B Wireless communication module 4A Antenna 2 4B Display 5, 212 Camera 6 Audio module 7 Speaker 7A Receiver 7B Microphone 7C Headphone jack 7D Charging management module 8 Power management module 9 Battery 10 External memory interface 11 Internal memory 12 Sensor module 13 Key module 14,211 switch 15 security element 16 peripheral system 20 input module 21 protection module 213 processing unit 221 hardware security unit 222 first security unit 222A second security unit 222B enable interface 223 reset interface 224 peripheral module 23 peripheral hardware 231 protection switch 232 power supply 24 first power supply 24A second power supply 24B application server 101,

[0035] The following specific implementation methods will further illustrate the present application in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0036] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application.

[0037] It is understood that the connection relationships described in this application refer to direct or indirect connections. For example, the connection between A and B can be either a direct connection between A and B or an indirect connection between A and B via one or more other electrical components. For example, A and C can be directly connected, and C can be directly connected to B, so that A and B are connected through C. It is also understood that the "A connected to B" described in this application can be a direct connection between A and B or an indirect connection between A and B via one or more other electrical components.

[0038] In the description of this application, unless otherwise specified, " / " means "or". For example, A / B can mean A or B. "And / or" in this document is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0039] In the description of this application, words such as "first" and "second" are used only to distinguish different objects and do not limit the quantity or execution order. In addition, words such as "first" and "second" do not necessarily mean different. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0040] With the development of mobile devices and other terminal devices, the applications (Applications, Apps) installed on these devices are becoming increasingly diverse. However, non-native system apps on terminals, that is, third-party apps provided by manufacturers other than the system manufacturer or individuals, may pose security risks. For example, third-party apps may access the terminal's camera, microphone, and other hardware devices in the background, thereby stealing personal privacy information.

[0041] Currently, pure software protection solutions are commonly used to protect hardware devices. This approach involves attaching the peripherals to the processor core and using the core's underlying security software to authenticate requests from third-party apps, thereby preventing unauthorized access to the hardware by third-party apps. However, security software is prone to security vulnerabilities, making pure software protection solutions easily circumvented by third-party apps and lacking a high level of security. Furthermore, security software requires frequent interactions with peripheral drivers, resulting in complex authentication methods. Therefore, implementing pure software protection solutions is challenging.

[0042] In this regard, an embodiment of the present application proposes a terminal and its peripheral system, which can effectively prevent third-party APPs from illegally accessing or calling peripherals through hardware, avoid the leakage of personal privacy information, and have a higher security level and are easier to implement.

[0043] The technical solution of the present application is further described in detail below with reference to the accompanying drawings.

[0044] Please refer to FIG1 , which shows a terminal 100 provided in an embodiment of the present application.

[0045] As shown in Figure 1, the terminal 100 can have multiple applications (APPs) installed, including native system APPs on the terminal 100 and third-party APPs. It is understood that each APP can correspond to its own application server 101. Users can log in to the APP's application server 101 through the terminal 100, and the application server 101 then provides the user with related services of the APP.

[0046] It will be appreciated that the embodiments of the present application do not impose any restrictions on the specific type of terminal 100. For example, terminal 100 may be a mobile phone, a tablet computer, a wearable device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, a personal digital assistant (PDA), or other electronic device capable of running an app. For ease of description, FIG1 in the embodiments of the present application uses a mobile phone as an example for describing terminal 100.

[0047] Please refer to FIG2 , which shows a schematic structural diagram of the terminal 100 .

[0048] As shown in Figure 2, the terminal 100 may include a processing module 1, a universal serial bus (USB) interface 2, a mobile communication module 3A, an antenna 1 (corresponding to 3B in Figure 2), a wireless communication module 4A, an antenna 2 (corresponding to 4B in Figure 2), a display screen 5, a camera 6, an audio module 7, a speaker 7A, a receiver 7B, a microphone 7C, an earphone interface 7D, a charging management module 8, a power management module 9, a battery 10, an external memory interface 11, an internal memory 12, a sensor module 13, a button module 14 and a switch 15, etc.

[0049] It can be understood that the mobile communication module 3A, wireless communication module 4A, display screen 5, camera 6, audio module 7, speaker 7A, receiver 7B, microphone 7C, power management module 9, internal memory 12 and sensor module 13 are all arranged on the periphery of the processing module 1, and thus constitute the peripheral devices of the processing module 1, that is, peripherals (hereinafter these peripherals are referred to as peripheral hardware).

[0050] In an embodiment of the present application, the processing module 1 may include multiple processors. For example, the processing module 1 may include an application processor (AP), a controller, a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processors may be independent devices or integrated together, and the AP and at least some other processors may together constitute a system-on-chip (also known as a system on chip, SOC).

[0051] The AP can execute the operating system (OS), APP, and user interface (UI) of the terminal 100. The user interface can be displayed on the display screen 5. The user interface includes one or more visual controls for user input. The AP or other processor can perform related operations based on the user input. The controller can be the nerve center and command center of the terminal 100 device 200. The controller can generate operation control signals based on the instruction opcode and timing signal to complete the control of instruction fetching and execution.

[0052] In some embodiments, one of the processors listed above (such as a controller) may also include a Trusted Execution Environment (TEE). TEE can be understood as an isolated area in the processing module 1, which can safely store sensitive information (such as keys, identity information, permissions, etc.) and perform secure operations on sensitive information (such as verifying whether the user of the terminal 100 has the authority to perform a certain operation, which can be called authentication), defend against illegal access, tampering, and attacks, etc., and can also send the operation results (such as authentication results, that is, authentication passed or failed) to the AP. Since other parts of the hardware and APPs cannot actively access the information in the TEE. Therefore, TEE can ensure the confidentiality and security of information and achieve the hardware security protection level.

[0053] In other embodiments, a portion of the core of one of the aforementioned processors (e.g., a controller) or another processor may be dedicated to secure storage and secure computing of sensitive information to prevent illegal access, tampering, and attacks. For ease of description, this application refers to this processor as a security processor. The security processor can be electrically connected to the AP so that the computing results can be sent to the AP. It is understood that since the security processor is a separate processor, it can be physically (i.e., hardware) independent and isolated from other parts of the processing module 1 to achieve hardware security protection level.

[0054] In some other embodiments, the processing module 1 may further include a secure element 16 (Secure Element, SE), which is external to the SOC. SE is a tamper-proof storage element that can be used to securely store sensitive information such as keys, identities, and permissions. SE can be connected to the TEE or security processor in the processing module 1 through an authorized interface, so that the TEE or security processor can receive sensitive information sent by SE for calculation. Of course, SE can also be used to perform secure calculations on sensitive information. SE can be connected to the AP in the processing module 1 through an authorized interface, so that the AP can receive the calculation results in SE. It can be understood that since SE is an external independent device, SE has higher physical (i.e. hardware) independence and stronger hardware security protection.

[0055] Processing module 1 may also include a memory for storing instructions and data. In some embodiments, the memory in processing module 1 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processing module 1. If processing module 1 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces waiting time for processing module 1, and thus improves efficiency.

[0056] In an embodiment of the present application, the processing module 1 has multiple interfaces. For example, the interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) card interface, and / or a universal serial bus (USB) interface, etc. (only some of the interfaces are shown in FIG2 ).

[0057] Specifically, the I2C interface is a bidirectional synchronous serial bus. Processing module 1 can be coupled to the touch sensor, charger, camera 6, etc. via different I2C bus interfaces. For example, processing module 1 can be coupled to the touch sensor via the I2C interface, enabling communication between processing module 1 and the touch sensor via the I2C bus interface, thereby implementing the touch function of terminal 100.

[0058] The I2S interface can be used for audio communication. The processing module 1 can be coupled to the audio module 7 via the I2S bus to achieve communication between the processing module 1 and the audio module 7.

[0059] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In certain embodiments, the audio module 7 and the wireless communication module 4A can be coupled via a PCM bus interface. The audio module 7 can also transmit audio signals to the wireless communication module 4A via the PCM interface.

[0060] The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processing module 1 and the wireless communication module 4A.

[0061] The MIPI interface can be used to connect the processing module 1 with peripheral hardware such as the display screen 5 and the camera 6. In some embodiments, the processing module 1 and the camera 6 communicate via the MIPI interface to implement the shooting function of the terminal 100. The processing module 1 and the display screen 5 communicate via the MIPI interface to implement the display function of the terminal 100.

[0062] The GPIO interface can be used to connect the processing module 1 with peripheral hardware such as the button module 14, the switch 15 and the camera 6. The GPIO interface can be configured as a control interface, a data interface, an enable (EN) interface or a reset (RST) interface according to actual needs. For example, if GPIO is a data interface, the processing module 1 can be connected to the button module 14 through the GPIO interface. When a button in the button module 14 is activated (that is, pressed), the button module 14 can receive the button information and transmit the button information to the processing module 1 through the connected GPIO interface. The processing module 1 can trigger corresponding processing based on the button information. Alternatively, if GPIO is a control interface, the processing module 1 can be connected to the switch 15 through the GPIO interface. The processing module 1 can output a control signal through the GPIO interface to control the switch 15 to be turned on or off.

[0063] The USB interface 2 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, or a USB Type C interface. The USB interface 2 can be used to connect a charger to charge the terminal 100, and can also be used to transfer data between the terminal 100 and an external device (such as an external keyboard, mouse, card reader, etc.).

[0064] The SIM card interface is used to connect a SIM card. The terminal 100 interacts with the network through the SIM card to implement functions such as calls and data communications.

[0065] It is understood that the interface connection relationships between the above-mentioned units / modules / peripheral hardware / devices are merely illustrative and do not constitute a structural limitation on the terminal 100. In other embodiments, the terminal 100 may also adopt different interface connection methods from the above-mentioned embodiments, or a combination of multiple interface connection methods.

[0066] In the embodiment of the present application, the terminal 100 can implement wireless communication functions through the mobile communication module 3A, the wireless communication module 4A, the antenna 1, the antenna 2, the modem processor and the baseband processor.

[0067] The mobile communication module 3A can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on the terminal 100. The mobile communication module 3A may include at least one filter, a switch 15, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 3A can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 3A can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 3A can be set in the processing module 1. In some embodiments, at least some of the functional modules of the mobile communication module 3A can be set in the same device as at least some of the modules of the processing module 1.

[0068] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 7A, a receiver 7B, etc.) or displays an image or video through a display screen 5. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processing module 1 and be set in the same device as the mobile communication module 3A or other functional modules.

[0069] The wireless communication module 4A can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied on the terminal 100. The wireless communication module 4A can be one or more devices that integrate at least one communication processing module 1. The wireless communication module 4A receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processing module 1. The wireless communication module 4A can also receive the signal to be sent from the processing module 1, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0070] In some embodiments, the antenna 1 of the terminal 100 is coupled to the mobile communication module 3A, and the antenna 2 is coupled to the wireless communication module 4A, so that the processing module 1 in the terminal 100 can communicate with the network and other devices (such as a keyboard, a mouse, a wireless headset, a surveillance camera 6, etc.) through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the Beidou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or the Satellite Based Augmentation System (SBAS).

[0071] In the embodiment of the present application, the terminal 100 can implement display functions through a GPU, a display screen 5, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 5 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processing module 1 may include one or more GPUs, which execute program instructions to generate or change display information.

[0072] The display screen 5 is used to display images, videos, etc. The display screen 5 includes a display panel. The display panel can be a liquid crystal display 5 (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal 100 can include one or N display screens 5, where N is a positive integer greater than 1. The N display screens 5 can also be folded or unfolded, and the unfolded N display screens 5 can be combined into a larger display screen 5.

[0073] In an embodiment of the present application, the terminal 100 can implement a shooting function through an ISP, a camera 6, a video codec, a GPU, a display screen 5, and an application processor.

[0074] The ISP processes the data fed back by camera 6 and converts it into an image visible to the naked eye. The ISP can also perform algorithmic optimizations on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be incorporated into camera 6.

[0075] The camera 6 is used to capture still images or videos. In some embodiments, the terminal 100 may include 1 or N cameras 6, where N is a positive integer greater than 1.

[0076] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the terminal 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0077] Video codecs are used to compress or decompress digital video. Terminal 100 may support one or more video codecs. This allows terminal 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG), MPEG2, MPEG3, and MPEG4.

[0078] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU enables intelligent cognitive applications in the terminal 100, such as image recognition, face recognition, speech recognition, and text comprehension.

[0079] In the embodiment of the present application, the terminal 100 can implement audio functions such as music playback and recording through the audio module 7, the speaker 7A, the receiver 7B, the microphone 7C, the headphone jack 7D, and the application processor.

[0080] The audio module 7 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 7 can also be used to encode and decode audio signals. In some embodiments, the audio module 7 can be provided in the processing module 1, or some functional modules of the audio module 7 can be provided in the processing module 1.

[0081] The speaker 7A, also called a horn, is used to convert an audio electrical signal into a sound signal. The terminal 100 can listen to music or listen to a hands-free call through the speaker 7A.

[0082] The receiver 7B, also called the handset, is used to convert audio electrical signals into sound signals. When the terminal 100 receives a call or voice message, the voice can be heard by placing the receiver 7B close to the ear.

[0083] The microphone 7C, also called a mouthpiece, is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by approaching the microphone 7C with their mouth, and the sound signal is input into the microphone 7C.

[0084] The headphone jack 7D is used to connect a wired headphone. The headphone jack 7D can be a USB port 2, or a 3.5mm open mobile terminal platform (OMTP) standard port or a cellular telecommunications industry association of the USA (CTIA) standard port.

[0085] In the embodiment of the present application, the charging management module 8 , the battery 10 and the power management module 9 can provide power for other parts of the terminal 100 .

[0086] The charging management module 8 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 8 can receive charging input from the wired charger via the USB port 2. In some wireless charging embodiments, the charging management module 8 can receive wireless charging input via the wireless charging coil of the terminal 100. While charging the battery 10, the charging management module 8 can also provide power to other components of the terminal 100 via the power management module 9.

[0087] The power management module 9 is used to connect the battery 10, the charging management module 8, and the processing module 1. The power management module 9 receives input from the battery 10 and / or the charging management module 8 and provides power to peripheral hardware such as the processing module 1 and the display screen 5. It is understood that the power management module 9 may include multiple power supply circuits to meet the power supply requirements of different processors and / or different peripheral hardware in the processing module 1. Any power supply circuit that powers a specific processor or peripheral hardware may constitute the power supply 24 for that processor or peripheral hardware. The power management module 9 can also be used to monitor parameters such as the capacity of the battery 10, the number of cycles of the battery 10, and the health status (leakage, impedance) of the battery 10.

[0088] The external memory interface 11 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal 100. The external memory card communicates with the processing module 1 through the external memory interface 11 to implement data storage functions. For example, user data (such as pictures, music, videos, documents, etc.) generated by apps and peripheral hardware can be stored in the external memory card.

[0089] The internal memory 12 can be used to store computer executable program codes, and the executable program codes include instructions. The processing module 1 executes various functional applications and data processing of the terminal 100 by running the instructions stored in the internal memory 12. The internal memory 12 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the terminal 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 12 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0090] The sensor module 13 may include a touch sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, etc. It is understood that at least some of the sensors in the sensor module 13 may be provided on the display screen 5.

[0091] For example, a touch sensor can be provided on the display screen 5, and the touch sensor and the display screen 5 form a touch screen, also known as a touch screen. The touch sensor can detect touch operations applied on or near it. Therefore, when a user touches a visual control in a user interface displayed on the display screen 5, the touch sensor in the area or near the visual control can transmit the detected touch operation (which can be referred to as touch information) to the AP to identify the type of event indicated by the visual control touched by the user. The AP can provide visual output related to the touch operation through the display screen 5.

[0092] The key module 14 includes keys and key circuits. Keys may include a power button, a volume button, and the like. Keys may be mechanical or touch-sensitive. The keys allow the user of the terminal 100 to input user settings or function controls. The key circuit receives user input, i.e., key information, and transmits it to the processing module 1. The processing module 1 then performs corresponding configuration or function control based on the key information.

[0093] The switch 15 may include a mechanical switch 15 and / or a semiconductor switch 15, which is not specifically limited here. The mechanical switch 15 includes but is not limited to a relay or a contactor. The semiconductor switch 15 includes but is not limited to a silicon controlled rectifier (SCR), a metal-oxide-semiconductor field-effect transistor (MOSFET) or an insulated gate bipolar transistor (IGBT). The terminal 100 may include 1 or N switches 15, where N is a positive integer greater than 1. In addition, the switch 15 can be connected between the processing module 1 and each peripheral hardware, or can be connected between the power supply 24 and each peripheral hardware.

[0094] In an embodiment of the present application, the terminal 100 may further include a protective shell (see FIG1 , not numbered), with a display screen 5 disposed on one side of the protective shell and connected to the protective shell, with a space formed between the display screen 5 and the protective shell. The processing module 1, various peripheral hardware, and the switch 15 may be disposed in the space, wherein interfaces such as the USB interface 2, the headphone interface 7D, and the camera 6 may be exposed on the protective shell, and buttons may be disposed on the surface of the protective shell (see FIG1 , not numbered) for easy user operation.

[0095] It is understood that the above schematic structure does not constitute a specific limitation on the terminal 100 of the embodiment of the present application. In other embodiments, the terminal 100 may include more or fewer components than shown, or combine or split some components, or arrange components differently.

[0096] For example, in some embodiments, the processing module 1 can be connected to an external hardware device such as a wired keyboard, a wired mouse, or a card reader (not shown in FIG2 ) through an interface, or can be connected to an external hardware device such as a wireless keyboard, a wireless mouse, or a surveillance camera (not shown in FIG2 ) through wireless communication technology and a network. It is understood that these external hardware devices such as the keyboard, mouse, card reader, and surveillance camera can also constitute part of the terminal 100 and can also serve as peripheral hardware of the processing module 1.

[0097] Please refer to FIG3 , an embodiment of the present application further provides a peripheral system 20 of a terminal.

[0098] As shown in Figure 3, the peripheral system 20 includes an input module 21, a processing module 22, multiple peripheral modules 23, and a power supply 24. The input module 21 is connected to the processing module 22, the processing module 22 is connected to the multiple peripheral modules 23, and the power supply 24 is connected to the processing module 22 and the multiple peripheral modules 23. The processing module 22 includes a processing unit 221 and a hardware security unit 222. Each peripheral module 23 includes peripheral hardware 231. For ease of description, the embodiment of the present application is described as an example in which the peripheral system 20 has two peripheral modules 23.

[0099] It can be understood that the terminal may be the terminal 100 in the above embodiment, and details may be referred to the description in FIG. 1 to FIG. 2 .

[0100] Therefore, in the peripheral system 20 of the embodiment of the present application, the processing module 22 may be the processing module 22 in the terminal 100. The processing unit 221 may be the AP in the processing module 22, or a combination of the AP and other processors, and the hardware security unit 222 may be the TEE, security processor, or SE in the processing module 22, or a combination of the TEE / security processor and SE.

[0101] The power supply 24 may be the power supply 24 in the terminal 100. The power supply 24 may power the processing module 22 and the peripheral module 23. The input module 21 may be powered by the processing module 22 (see FIG3 ), and of course, may also be powered by the power supply 24, without limitation herein.

[0102] The peripheral hardware 231 in the peripheral module 23 can be the peripheral hardware 231 in the terminal 100, such as a camera, a microphone, a wireless communication module (such as a GPS module), or it can be an external hardware device such as a surveillance camera connected to the terminal 100 or a card reader connected to the terminal 100, which is not limited here.

[0103] The input module 21 may be a module / hardware / device / component in the terminal 100 that can be used by a user to input information. For example, it may be a key module, a display screen with a sensor, a microphone, a keyboard and / or a mouse external to the terminal 100, etc., which is not limited in the present embodiment.

[0104] In the embodiment of the present application, the processing unit 221 may be used to perform data transmission (ie, communication) with multiple peripheral modules 23 and process data of the multiple peripheral modules 23 so that the peripheral modules 23 can implement corresponding functions.

[0105] The input module 21 may be configured to receive input information and transmit the input information to the processing module 22 .

[0106] The hardware security unit 222 can be used to receive input information, generate corresponding control signals based on the input signals, and output the control signals to some or all of the peripheral modules 23 to control the communication status of some or all of the peripheral modules 23 (such as whether the peripheral module 23 communicates with the processing module 22 or not), the power supply status (such as whether the peripheral module 23 is normally powered by the power supply 24 or the peripheral module 23 is powered off), and / or the startup status (such as whether the peripheral module 23 starts running normally, stops running, or waits to start running).

[0107] Based on this design, when the user does not need to use part or all of the peripheral hardware 231 in the terminal 100, the user can operate the input module 21 so that the input module 21 can receive the input information input by the operation. Furthermore, the hardware security unit 222 can generate a control signal based on the input information to control the unnecessary peripheral module 23 to disconnect the communication with the processing module 22, and / or control the unnecessary peripheral module 23 to be powered off, and / or control the unnecessary peripheral module 23 to stop running or wait to start running (i.e., to be in a reset waiting state).

[0108] It is understandable that when the communication between the peripheral module 23 and the processing module 22 is disconnected, the third-party APP has no communication channel to access or call the peripheral module 23. Therefore, even if the third-party APP cheats and bypasses the software protection, the third-party APP cannot obtain the user data generated by the peripheral module 23.

[0109] When the peripheral module 23 loses power, it ceases to operate. Therefore, while the peripheral module 23 is powered off and stopped, third-party apps cannot access or call the peripheral module 23. Therefore, even if a third-party app fraudulently bypasses software protection, it cannot obtain user data generated by the peripheral module 23.

[0110] Thus, it can be seen that when the peripheral module 23 is disconnected from the processing module 22, the peripheral module 23 is powered off, the peripheral module 23 stops running or waits to start running, the peripheral module 23 cannot work normally, and thus cannot provide user data to the processing module 22, thus cutting off the path for third-party apps to steal user data, so that user data is effectively protected. Therefore, when the peripheral module 23 is disconnected from the processing module 22, the peripheral module 23 is powered off, and the peripheral module 23 stops running or waits to start running, it can be understood that the peripheral system 20 is in safe mode.

[0111] Accordingly, when the peripheral module 23 communicates normally with the processing module 22 , the peripheral module 23 is powered normally, and the peripheral module 23 starts and runs normally, it can be understood that the peripheral system 20 is in the normal mode.

[0112] In addition, in the embodiment of the present application, the hardware security unit 222 processes input information and generates control signals. The hardware security unit 222 can implement hardware-level security protection. Other parts of the processing module 22 and the APP cannot actively access and obtain information in the hardware security unit 222. In other words, the information in the hardware security unit 222 cannot be obtained at the software and hardware levels. Therefore, the hardware security unit 222 can prevent third-party APPs from accessing and obtaining information in the hardware security unit 222.

[0113] For a better understanding, the peripheral system 20 of the terminal of the present application embodiment is further described below through Examples 1 to 9. Specifically, Examples 1 to 6 primarily describe the peripheral module 23, while Examples 7 to 9 primarily describe the input module 21 and the processing module 22. It is understood that the following embodiments and features of the embodiments may be combined with each other unless they conflict.

[0114] Example 1:

[0115] Please refer to FIG4 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the first embodiment.

[0116] As shown in Figure 4, the peripheral system 20 of the terminal includes an input module 21, a processing module 22, multiple peripheral modules 23 and a power supply 24. The description of the input module 21, the processing module 22 and the power supply 24 can be found in the above content and will not be repeated here.

[0117] In the first embodiment, each peripheral module 23 includes peripheral hardware 231 and a protection switch 232. The protection switch 232 is connected between the peripheral hardware 231 and the processing module 22. The protection switch 232 may be the switch in the terminal 100 described above.

[0118] It is understood that the protection switch 232 in each peripheral module 23 can be connected to one peripheral hardware 231 or to at least two peripheral hardware 231. When the protection switch 232 is connected to at least two peripheral hardware 231, the peripheral hardware 231 are of the same type, for example, one protection switch 232 is connected to two cameras. This reduces the number of protection switches 232, lowering costs and control complexity.

[0119] The hardware security unit 222 is connected to the protection switch 232. Therefore, the hardware security unit 222 can output a control signal to the protection switch 232 to control the on / off state of the protection switch 232.

[0120] When the protection switch 232 is on, normal communication between the processing module 22 and the peripheral hardware 231 is possible. When the protection switch 232 is off, communication between the processing module 22 and the peripheral hardware 231 is disconnected. Therefore, the hardware security unit 222 can control the communication state of the peripheral hardware 231 by controlling the on / off state of the protection switch 232.

[0121] Example 2:

[0122] Please refer to FIG5 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the second embodiment.

[0123] The main difference between the second embodiment and the first embodiment is that in each peripheral module 23 of the second embodiment, the protection switch 232 is connected between the peripheral hardware 231 and the power supply 24 .

[0124] The hardware security unit 222 is connected to the protection switch 232. Therefore, the hardware security unit 222 can output a control signal to the protection switch 232 to control the on / off state of the protection switch 232.

[0125] When the protection switch 232 is on, the power supply 24 can supply power to the peripheral hardware 231. When the protection switch 232 is off, the power supply 24 cannot supply power to the peripheral hardware 231, and the peripheral hardware 231 is powered off and cannot operate. Therefore, the hardware security unit 222 can control the power supply status of the peripheral hardware 231 by controlling the on and off state of the protection switch 232.

[0126] Example 3:

[0127] Please refer to FIG. 6 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the third embodiment.

[0128] The main difference between the third embodiment and the first and second embodiments is that, in each peripheral module 23 of the third embodiment, one protection switch 232 is connected between the peripheral hardware 231 and the processing module 22, and the other protection switch 232 is connected between the peripheral hardware 231 and the power supply 24. Therefore, the third embodiment can be understood as a combination of the first and second embodiments. For a detailed description, please refer to the first and second embodiments and will not be repeated here.

[0129] Example 4:

[0130] Please refer to FIG. 7 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the fourth embodiment.

[0131] The main difference between the fourth embodiment and the first embodiment is that the peripheral system 20 of the fourth embodiment includes two power supplies, namely: a first power supply 24A and a second power supply 24B.

[0132] The first power supply 24A is connected to the processing module 22 to supply power to the processing module 22. The second power supply 24B is connected to the plurality of peripheral modules 23 to supply power to the plurality of peripheral modules 23. The second power supply 24B is connected to the processing module 22. Each peripheral module 23 includes at least peripheral hardware 231.

[0133] Therefore, the hardware security unit 222 can output a control signal to the second power supply 24B to control the second power supply 24B to work or not.

[0134] When the second power supply 24B is operating, it can supply power to the peripheral hardware 231. When the second power supply 24B is not operating, it cannot supply power to the peripheral hardware 231, causing the peripheral hardware 231 to lose power and become inoperable. Therefore, the hardware security unit 222 can control the power supply status of the peripheral hardware 231 by controlling the operation of the second power supply 24B (i.e., whether it supplies power to the connected peripheral hardware 231).

[0135] Embodiment 5:

[0136] Please refer to FIG8 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the fifth embodiment.

[0137] The main difference between the fifth embodiment and the first embodiment is that the processing module 22 of the fifth embodiment has an enabling interface 223 , and each peripheral module 23 includes at least peripheral hardware 231 .

[0138] Each peripheral module 23 is connected to the enable interface 223 . Therefore, the hardware security unit 222 can output a control signal to the peripheral module 23 through the enable interface 223 .

[0139] It is understood that the control signal output by the enable interface 223 is equivalent to an enable signal (see EN in FIG7 ) or a disable signal, which can enable the peripheral module 23 (that is, the control signal is equivalent to the enable signal, which can enable the peripheral module 23 to start and operate normally), or disable the peripheral module 23 (that is, the control signal is equivalent to the disable signal, which can prohibit the peripheral module 23 from starting and operating, that is, stop the peripheral module 23 from operating). Therefore, the hardware security unit 222 can output the control signal through the enable interface 223 to control the startup state of the peripheral module 23.

[0140] Example 6:

[0141] Please refer to FIG9 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the sixth embodiment.

[0142] The main difference between the sixth embodiment and the first embodiment is that the processing module 22 of the sixth embodiment has a reset interface 224 , and each peripheral module 23 includes at least peripheral hardware 231 .

[0143] Each peripheral module 23 is connected to the reset interface 224 . Therefore, the hardware security unit 222 can output a control signal to the peripheral module 23 through the reset interface 224 .

[0144] It can be understood that the control signal output by the reset interface 224 is equivalent to a reset signal (see RST in FIG7 ) or a set signal, and can reset the peripheral module 23 (that is, the control signal is equivalent to the reset signal, which can cause the peripheral module 23 to end its current state and enter a reset waiting state, for example, causing an operating peripheral module 23 to transition to a reset waiting state, that is, to wait for startup), or not reset the peripheral module 23 (that is, the control signal is equivalent to a set signal, which can cause the peripheral module 23 to maintain its current state, for example, causing the peripheral module 23 to continue to operate), thereby controlling the startup state of the peripheral module 23. Therefore, the hardware security unit 222 can control the startup state of the peripheral module 23 by outputting a control signal via the reset interface 224.

[0145] Embodiment seven:

[0146] Please refer to FIG10 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the seventh embodiment.

[0147] As shown in Figure 10, the terminal's peripheral system 20 includes an input module 21, a processing module 22, multiple peripheral modules 23, and a power supply 24. The processing module 22 is integrated into a system-on-chip (SOC). The processing module 22 includes a processing unit 221 and a hardware security unit 222. In other words, the processing unit 221 and the hardware security unit 222 are integrated into the SOC.

[0148] In the seventh embodiment, the hardware security unit 222 includes a first security unit 222A. The first security unit 222A can be a trusted execution environment TEE in the SOC or a security processor, which is not limited here. The first security unit 222A is connected to the processing unit 221.

[0149] For ease of description, the processing unit 221 is described using an AP as an example. The descriptions of the TEE, security processor, AP, peripheral module 23, power supply 24, and processing unit 221 can be found in the aforementioned embodiments and will not be repeated here.

[0150] In the seventh embodiment, for ease of description, the input module 21 is described as including a key module 211 and a display screen 212 equipped with a sensor. The key module 211 may be the key module 14 in the aforementioned terminal 100, and the display screen 212 may be the display screen 5 in the aforementioned terminal 100. As shown in FIG10 , the key module 211 and the display screen 212 equipped with a sensor are both connected to the processing module 22.

[0151] It is understood that when the key module 211 is used as the input module 21, once a key in the key module 211 is pressed, the key module 211 can receive key information, which is input information. The key module 211 transmits the input information to the first security unit 222A. After receiving the input information, the first security unit 222A can generate a corresponding control signal based on the input information.

[0152] For example, when a key is pressed, it may indicate that the user wants to shut down the peripheral module 23. Therefore, the control signal generated by the first safety unit 222A is used to control the peripheral module 23 to stop operating or wait for restart. When the key is pressed again or a different key is pressed, it may indicate that the user wants to restart the peripheral module 23. Therefore, the control signal generated by the first safety unit 222A is used to control the peripheral module 23 to start operating. As can be seen, using the key module 211 as the input module 21 can achieve one-touch control of the peripheral module 23, with high control efficiency.

[0153] It is understood that when the display screen 212 equipped with a sensor is used as the input module 21, once a visual control in the user interface displayed on the display screen 212 is touched, the display screen 212 can receive the touch information, which serves as the input information. Considering interface compatibility issues, the display screen 212 first transmits the input information to the AP through the interface for processing. The AP then transmits the processed input information to the first security unit 222A to avoid first security unit 222A being unable to receive and process the touch information.

[0154] Considering that input information is first processed by the AP, a third-party app running in the AP may tamper with the input information, thereby causing abnormal control of the peripheral module 23, allowing the third-party app to steal user data generated by the peripheral module 23, resulting in the leakage of personal privacy information. Therefore, in the seventh embodiment, when the display screen 212 receives input information, the first security unit 222A is also used to authenticate the input information.

[0155] Specifically, the input module 21 can also receive personal information input by the user. For example, a touch sensor provided on the display screen 212 can collect personal information input by the user by touching a virtual keyboard or writing a signature. Alternatively, a sensor provided on the display screen 212 can collect biometric features of the user to obtain personal information, such as a camera collecting facial information, palm prints, or irises, or a camera or fingerprint sensor collecting fingerprint information. This is not limited in the seventh embodiment.

[0156] The first security unit 222A stores sensitive information such as identity information and permissions, so the identity information and permissions can be compared with personal information to identify the user and confirm whether the user has permission to control the peripheral hardware 231. If the authentication is successful (i.e., the user has permission), the first security unit 222A can generate a control signal based on the input information. If the authentication fails (i.e., the user does not have permission), the first security unit 222A will not generate a control signal based on the input information.

[0157] It can be understood that since the first security unit 222A performs authentication processing, the first security unit 222A can achieve hardware security protection, and other hardware or APPs cannot actively access and obtain information in the first security unit 222A, so it can have higher privacy and security.

[0158] In the seventh embodiment, the button module 211 and the display screen 212 can also be used in combination. Specifically, the AP can also control the display screen 212 to display a corresponding user interface, allowing the user to touch and set the peripheral modules 23 associated with the power button, volume button, or other buttons. The user can also touch and set the various states (such as communication status, power supply status, startup status), type, and number (such as one, at least two, or all) of the associated peripheral modules 23. After receiving the touch information, the AP can process the touch information to identify the user's touch operation indicated by the touch information and transmit the processed touch information to the first security unit 222A. The first security unit 222A can then perform corresponding configuration based on the processed touch information.

[0159] For example, when the power button is pressed, the key module 211 can receive input information indicating that the power button has been pressed, and the first security unit 222A can generate a control signal based on the input information to control the peripheral module 23 associated with the power button to stop running or wait for startup. When the power button is pressed again, the key module 211 can receive input information indicating that the power button has been pressed again, and the first security unit 222A can generate a control signal to control the peripheral module 23 associated with the power button to start running.

[0160] It can be understood that, similar to the case where the display screen 212 receives input information, considering that a third-party app running in the AP may illegally tamper with the touch information, the first security unit 222A can also authenticate the touch information to confirm whether the user has the authority to set the peripheral module 23. The authentication process here can be found in the above content and will not be repeated here.

[0161] Of course, in the seventh embodiment, the input module 21 is not limited to a specific method for receiving input information. For example, the input module 21 may also adopt other methods for receiving input information.

[0162] For example, considering that the display screen 212 of the terminal is off for a long time, it may reflect that the user has no need to use the peripheral hardware 231 of the terminal. Therefore, the ambient light sensor provided on the display screen 212 can collect the brightness of the display screen 212 within a certain period of time, and use the brightness of the display screen 212 as input information, and the first security unit 222A then controls the peripheral hardware 231 to stop starting or wait for starting.

[0163] For another example, considering that the display screen 212 of the terminal is folded, it may reflect that the user has no need to use the peripheral hardware 231 of the terminal. Therefore, the magnetic sensor provided on the display screen 212 may collect the folding status of the display screen 212 and use the folding status of the display screen 212 as input information. The first security unit 222A then controls the peripheral hardware 231 to stop starting or wait for starting.

[0164] For another example, considering that there is no one in front of the terminal display screen 212 for a long time, it can be reflected that the user has no need to use the terminal's peripheral hardware 231. Therefore, the proximity sensor provided on the display screen 212 can detect the return signal of the signal emitted within a certain period of time, and use the detection situation as input information, and the first security unit 222A then controls the peripheral hardware 231 to stop starting or wait for starting.

[0165] In the seventh embodiment, the first security unit 222A also communicates with the AP during the process of controlling the peripheral module 23, so that the AP can obtain the status of the peripheral module 23 from the first security unit 222A. Of course, the key module 211 can also be connected to the AP for communication, and the interface for outputting control signals in the processing module 22 can also be connected to the AP for communication, so that the AP can obtain the status of the peripheral module 23 from the key module 211 and / or the interface for outputting control signals, which are not specifically limited here.

[0166] Among them, considering that the key module 211 is communicatively connected to the AP and the first security unit 222A, the third-party APP running in the AP may be connected to the first security unit 222A through the branch between the key module 211 and the AP and the branch between the key module 211 and the first security unit 222A, thereby illegally calling the key module 211 or tampering with the input information received by the key module 211, resulting in abnormal control of the peripheral module 23 and leakage of user data generated by the peripheral module 23.

[0167] Therefore, in the seventh embodiment, a protection module 213 is further provided between the key module 211 and the AP, but no protection module 213 is required between the key module 211 and the first security unit 222A. The protection module 213 can prevent third-party apps from illegally accessing the first security unit 222A or tampering with the input information received by the key module 211.

[0168] It is understandable that the seventh embodiment does not limit the structure of the protection module 213, as long as the protection module 213 can achieve the corresponding function.

[0169] For example, the protection module 213 may include a resistance unit, which can make the voltage between the key module 211 and the AP different from the voltage between the key module 211 and the first security unit 222A, that is, the level of the interface for connecting the key module 211 in the first security unit 222A is different from the level of the interface for connecting the key module 211 in the AP. In this way, it can be avoided that the interface for connecting the key module 211 in the first security unit 222A receives information sent by a third-party APP, thereby preventing illegal access or illegal tampering by the third-party APP.

[0170] As another example, the protection module 213 may include a diode. Since the diode has unidirectional conductivity, it can block third-party APPs from sending information to the interface in the first security unit 222A used to connect to the key module 211, thereby preventing illegal access or illegal tampering by third-party APPs.

[0171] Embodiment 8:

[0172] Please refer to FIG11 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the eighth embodiment, wherein the processing module 22 includes a processing unit 221 and a hardware security unit 222 .

[0173] The main difference between the eighth embodiment and the seventh embodiment is that the hardware security unit 222 in the eighth embodiment includes a first security unit 222A and a second security unit 222B. The processing unit 221 and the first security unit 222A are integrated into the SOC, while the second security unit 222B is located outside the SOC and connected to the first security unit 222A.

[0174] The second security unit 222B may be a security element SE in the terminal. The SE, input module 21, processing unit 221, first security unit 222A and other parts of the peripheral system 20 may be described in the seventh embodiment and will not be repeated here.

[0175] It is understood that the second security unit 222B can be used to securely store sensitive information, and other hardware or APP cannot actively access the information in the second security unit 222B. Therefore, in Example 8, the second security unit 222B can safely provide sensitive information to the first security unit 222A. It is understandable that since the second security unit 222B is an independent device outside the SOC, its physical (i.e., hardware) independence is higher than that of the first security unit 222A. Therefore, compared with Example 7, the provision of the first security unit 222A and the second security unit 222B in Example 8 can enhance hardware security protection.

[0176] Embodiment 9:

[0177] Please refer to FIG12 , which shows a schematic diagram of the peripheral system 20 of the terminal according to the ninth embodiment, wherein the processing module 22 includes a processing unit 221 and a hardware security unit 222 .

[0178] The difference between the ninth embodiment and the seventh embodiment is that the hardware security unit 222 in the ninth embodiment includes a second security unit 222B. The processing unit 221 is integrated into the SOC, and the second security unit 222B is provided outside the SOC.

[0179] The second security unit 222B may be a security element SE in the terminal. The SE, input module 21, processing unit 221, peripheral module 23 and other parts of the peripheral system 20 may be described in the seventh embodiment and will not be repeated here.

[0180] It is understood that the second security unit 222B can be used to securely store sensitive information and perform secure operations on sensitive information. Moreover, other hardware or apps cannot actively access the information in the second security unit 222B. As can be seen, the working process and functions of the second security unit 222B are similar to those of the first security unit in Example 7.

[0181] The second security unit 222B is connected to the processing unit 221 and the peripheral module 23. The input module 21 is connected to the processing unit 221. Therefore, the input module 21 is used to receive input information and transmit it to the processing unit 221. The processing unit 221 then transmits the input information to the second security unit 222B. The second security unit 222B then generates a control signal based on the input information and sends it to the peripheral module 23.

[0182] It can be understood that since the input information passes through the processing unit 221, it may be tampered with by a third-party APP. Therefore, similar to Example 7, the second security unit 222B can authenticate the input information to ensure security. After the authentication is passed, the second security unit 222B generates a control signal based on the input information. Of course, in other embodiments, the input module 21 can also be connected to the second security unit 222B and transmit the input information to the second security unit 222B. For details, please refer to the detailed description of the first security unit 222A in Example 7, which will not be repeated here.

[0183] It can be understood that the second security unit 222B is an independent device outside the SOC and is therefore more physically (i.e., hardware) independent than the first security unit 222A in Example 7. Therefore, compared to Example 7, the provision of the second security unit 222B in Example 9 can further enhance the hardware security protection level.

[0184] To sum up, the terminal and its peripheral system provided in the embodiment of the present application can effectively prevent third-party APPs from deceiving and bypassing software protection to illegally access or call peripheral modules through hardware, thereby avoiding the leakage of personal privacy information (including sensitive information stored in the hardware security unit and user data generated by the peripheral module).

[0185] Compared to commonly used software-only protection solutions, the terminal and its peripheral system in the embodiment of the present application can avoid the leakage of personal privacy information caused by security software vulnerabilities, thereby more effectively protecting personal privacy information. Moreover, the terminal and its peripheral system in the embodiment of the present application can achieve hardware-level security protection. In addition, it can also prevent untrusted users (i.e., unauthorized users) from using the hardware devices in the terminal, thus providing a higher level of security.

[0186] Furthermore, the terminal and its peripheral system provided by the embodiments of the present application provide relatively simple and easy-to-implement security protection for peripheral modules, eliminating the need for frequent communication with peripheral drivers and complex authentication required by commonly used pure software protection solutions. Therefore, the terminal and its peripheral system provided by the embodiments of the present application can have a wider range of applications.

[0187] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A peripheral system of a terminal, It is characterized in that The peripheral system includes an input module, a processing module and multiple peripheral modules, the input module is connected to the processing module, the input module is used to receive input information and transmit the input information to the processing module, the processing module is connected to multiple peripheral modules, wherein the processing module includes a hardware security unit, the hardware security unit is used to receive the input information and output a control signal corresponding to the input information to some or all of the peripheral modules to control the communication status, power supply status and / or startup status of some or all of the peripheral modules.

2. The peripheral system according to claim 1, It is characterized in that At least one of the peripheral modules includes peripheral hardware and a protection switch, wherein the protection switch is connected between the peripheral hardware and the processing module, and the hardware security unit is connected to the protection switch for outputting the control signal to the protection switch to control the communication state of the peripheral hardware by controlling the on / off state of the protection switch.

3. The peripheral system according to claim 2, It is characterized in that Each of the protection switches is connected to at least two of the peripheral hardware of the same type.

4. The peripheral system according to claim 1, It is characterized in that The peripheral system further includes a power supply, which is connected to the processing module and the plurality of peripheral modules to supply power to the processing module and the plurality of peripheral modules; At least one of the peripheral modules includes peripheral hardware and a protection switch, wherein the protection switch is connected between the peripheral hardware and the power supply, and the hardware security unit is connected to the protection switch for outputting the control signal to the protection switch to control the power supply state of the peripheral hardware by controlling the on / off state of the protection switch.

5. The peripheral system according to claim 1, It is characterized in that The peripheral system also includes a first power supply and a second power supply, the first power supply is connected to the processing module and is used to power the processing module, the second power supply is connected to multiple peripheral modules and the hardware security unit, the second power supply is used to power multiple peripheral modules, and the hardware security unit is used to output the control signal to the second power supply to control the power supply state of the peripheral module by controlling the operation of the second power supply.

6. The peripheral system according to claim 1, It is characterized in that The processing module has an enable interface and / or a reset interface, at least one of the peripheral modules is connected to the enable interface and / or the reset interface, and the hardware security unit is used to output the control signal to the peripheral module through the enable interface or the reset interface to control the startup state of the peripheral module.

7. The peripheral system according to claim 1, It is characterized in that The processing module also includes a processing unit for processing data of multiple peripheral modules; the hardware security unit includes a first security unit, the first security unit is connected to the processing unit and integrated with the processing unit in a system on chip SOC, and the first security unit is used to output the control signal to some or all of the peripheral modules.

8. The peripheral system according to claim 7, It is characterized in that The hardware security unit also includes a second security unit, which is arranged outside the SOC and connected to the first security unit.

9. The peripheral system according to claim 8, It is characterized in that The first security unit is a trusted execution environment TEE or a processor in the SOC; the second security unit is a security element SE.

10. The peripheral system according to claim 1, It is characterized in that The processing module also includes a processing unit for processing data of multiple peripheral modules, and the processing unit is integrated in the system on chip SOC; the hardware security unit includes a second security unit, which is arranged outside the SOC and connected to the processing unit, and the second security unit is used to output the control signal to some or all of the peripheral modules.

11. The peripheral system according to claim 1, It is characterized in that The input module includes a key module, a display screen with a sensor, a keyboard, a mouse and / or a microphone.

12. A terminal, It is characterized in that The terminal includes the peripheral system according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Terminal and peripheral system thereof

    CN220752708U

  • Mobile terminal, switch control method and computer readable storage medium

    CN111046414A

  • Internet-of-things terminal hardware interface safety self-checking system

    CN113821395A

  • Safety computer with information safety management unit

    CN1423203A

  • Take mobile terminal of microphone switch

    CN204633844U