CN106776228B - Safety protection method of mobile terminal and mobile terminal - Google Patents

Safety protection method of mobile terminal and mobile terminal Download PDF

Info

Publication number
CN106776228B
CN106776228B CN201611261606.6A CN201611261606A CN106776228B CN 106776228 B CN106776228 B CN 106776228B CN 201611261606 A CN201611261606 A CN 201611261606A CN 106776228 B CN106776228 B CN 106776228B
Authority
CN
China
Prior art keywords
parameter
pin
interface
type
humidity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611261606.6A
Other languages
Chinese (zh)
Other versions
CN106776228A (en
Inventor
尹全喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611261606.6A priority Critical patent/CN106776228B/en
Publication of CN106776228A publication Critical patent/CN106776228A/en
Application granted granted Critical
Publication of CN106776228B publication Critical patent/CN106776228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Abstract

The embodiment of the invention provides a mobile terminal and a safety protection method thereof, wherein the mobile terminal comprises a Type-C interface, the Type-C interface comprises an SBU1 pin and an SBU2 pin, and the method comprises the following steps: acquiring the characteristic use parameters of the Type-C interface by adopting the SBU1 pin and the SBU2 pin; judging whether the characteristic use parameter is larger than a preset threshold value; and when the characteristic use parameter is larger than a preset threshold value, executing safety protection operation. Adopt self-defined SBU1 pin with a plurality of sensors are connected to SBU2 pin, have improved the multiplex procedure of the pin of Type-C interface, resources are saved can accurately judge the in service behavior of Type-C interface, and carry out the safety protection operation according to the in service behavior, have improved the reliability and the stability of Type-C interface, and then promote mobile terminal's life and quality of use.

Description

Safety protection method of mobile terminal and mobile terminal
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a method for security protection of a mobile terminal and a mobile terminal.
Background
The Type-C interface is a new generation product which is released according to USB (Universal Serial Bus) 3.1 standard, and is different from the Type-A interface and the Type-B interface in that the Type-C interface supports positive and negative insertion and can be used for the functions of high-current power supply, high-speed data transmission, video and audio connection and the like of the mobile terminal. Nowadays, electronic equipment supporting a Type-C interface is provided by a plurality of manufacturers, and the Type-C has a development trend of a unified interface.
The Type-C protocol provides less than complete protection functions, and although a double row of 24 pins is defined, many existing designs do not fully utilize these pins. These pin feet can be reused and do other usage, bring more various design and function for the Type-C interface, for example, can multiplex the pin foot of Type-C interface, increase mobile terminal's use's security.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a security protection method for a mobile terminal and a corresponding mobile terminal that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a security protection method for a mobile terminal, where the mobile terminal includes a Type-C interface, and the Type-C interface includes an SBU1 pin and an SBU2 pin, and the method includes:
acquiring the characteristic use parameters of the Type-C interface by adopting the SBU1 pin and the SBU2 pin;
judging whether the characteristic use parameter is larger than a preset threshold value;
and when the characteristic use parameter is larger than a preset threshold value, executing safety protection operation.
The embodiment of the invention also discloses a mobile terminal, which comprises a Type-C interface, wherein the Type-C interface comprises an SBU1 pin and an SBU2 pin, and the mobile terminal comprises:
the characteristic use parameter acquisition module is used for acquiring the characteristic use parameters of the Type-C interface by adopting the SBU1 pin and the SBU2 pin;
the preset threshold value judging module is used for judging whether the characteristic use parameter is larger than a preset threshold value;
and the safety protection operation execution module is used for executing safety protection operation when the characteristic use parameter is larger than a preset threshold value.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the SBU1 pin and the SBU2 pin are adopted to obtain the characteristic use parameter of the Type-C interface, the characteristic use parameter is judged to be larger than a preset threshold value, and when the characteristic use parameter is larger than the preset threshold value, safety protection operation is executed. Adopt self-defined SBU1 pin with a plurality of sensors are connected to SBU2 pin, have improved the multiplex program of the pin of Type-C interface, resources are saved brings more various design and function for the Type-C interface, obtains the characteristic service parameter of Type-C interface, can accurately judge the in service behavior of Type-C interface, and carry out the safety protection operation according to the in service behavior, has improved the reliability and the stability of Type-C interface.
In the embodiment of the invention, the self-defined SBU1 pin and the SBU2 pin are adopted to connect the temperature sensor, the humidity sensor and the voltage sensor, so that the temperature parameter, the humidity parameter or the voltage parameter of the Type-C interface is obtained, the Type-C interface of the mobile terminal is detected and prevented from being watered, the overhigh temperature of the mobile terminal is detected and prevented, the surge static electricity of the mobile terminal is further detected and prevented, the use stability of the mobile terminal is enhanced, and the service life of the mobile terminal is prolonged.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating steps of an embodiment of a security protection method for a mobile terminal according to an embodiment of the present invention;
FIG. 2 is a pin diagram of a Type-C interface according to the prior art;
fig. 3 is a flowchart illustrating steps of an embodiment of a method for securing a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a third embodiment of the apparatus in the embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to a fourth embodiment of the apparatus in the embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to a fifth embodiment of the apparatus in the embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects solved by the embodiments of the present invention more clearly apparent, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Method embodiment one
Referring to fig. 1, a flowchart illustrating a first step of a security protection method for a mobile terminal according to an embodiment of the present invention is shown, where the mobile terminal includes a Type-C interface, and the Type-C interface includes an SBU (Side band use) 1 pin and an SBU2 pin, and the method specifically includes the following steps:
step 101, acquiring feature use parameters of the Type-C interface by using the SBU1 pin and the SBU2 pin;
in the embodiment of the present invention, the mobile terminal is configured with a Type-C interface of USB3.1 standard, the Type-C interface has 24 pins in total, referring to fig. 2, a pin schematic diagram of the Type-C interface in the prior art is shown, SBU1 pin and SBU2 pin in fig. 2 are pins with a self-defined function, and a user can design the self-defined function through SBU1 pin and SBU2 pin, such as detection of charging temperature, detection of charging current, and the like, in the embodiment of the present invention, a temperature sensor, a humidity sensor, and a voltage sensor are used to connect the SBU1 pin and the SBU2 pin, so as to obtain characteristic use parameters of the Type-C interface, for example: temperature, humidity and charging voltage of the mobile terminal.
It should be noted that the above-mentioned sensors are only examples in the embodiment of the present invention, and may further include a voltage sensor, a pressure sensor, a gravity sensor, and the like, and the embodiment of the present invention is not limited to this as to the kind of the sensors. Further, the sensor may be used to connect the SBU1 pin and the SBU2 pin to obtain a feature usage parameter of the Type-C interface, where the feature usage parameter may be a parameter obtained by measurement by the sensor, and may include a temperature parameter, a humidity parameter, a current parameter, a voltage parameter, a pressure, a drop condition, and the like of the Type-C interface, and the Type of the corresponding parameter of the sensor is not limited in this embodiment of the present invention.
Step 102, judging whether the characteristic use parameter is larger than a preset threshold value;
the characteristic use parameter is a parameter obtained by connecting the SBU1 pin and the SBU2 pin by using a sensor to obtain a related Type-C interface, reflects the use condition of the Type-C interface, can judge whether the characteristic use parameter obtained in the step 101 is larger than a preset threshold value, and judges whether the use condition of the Type-C interface exceeds a reasonable range, so that the characteristic use parameter is used as a basis for sending a safety prompt or other necessary safety operations. For example, it is determined whether the obtained temperature parameter of the temperature sensor is greater than a temperature threshold, or whether the obtained humidity parameter of the humidity sensor is greater than a humidity threshold, or whether the voltage parameter is greater than a voltage threshold.
And 103, when the characteristic use parameter is larger than a preset threshold value, executing safety protection operation.
In practical application to the embodiment of the present invention, when the feature usage parameter is greater than a preset threshold, a security protection operation is performed, where the security protection operation may include: when the user is charging, the power supply is cut off, or a safety reminding message is sent to a main screen of the mobile terminal, and for the safety protection operation, the operations of automatic shutdown, automatic early warning and the like can be included.
In the embodiment of the invention, the SBU1 pin and the SBU2 pin are adopted to obtain the characteristic use parameter of the Type-C interface, the characteristic use parameter is judged to be larger than a preset threshold value, and when the characteristic use parameter is larger than the preset threshold value, safety protection operation is executed. Adopt self-defined SBU1 pin with a plurality of sensors are connected to SBU2 pin, the multiplex program of the pin of Type-C interface has been improved, resources are saved brings more colorful design and function for the Type-C interface, the characteristic service parameter of Type-C interface is obtained, the in service behavior of Type-C interface can be accurately judged, and carry out the safety protection operation according to the in service behavior, the reliability and the stability of Type-C interface have been improved, and then the life and the quality of use of promotion mobile terminal.
Method embodiment two
Referring to fig. 3, a flowchart illustrating steps of a second embodiment of a security protection method for a mobile terminal according to an embodiment of the present invention is shown, where the mobile terminal includes a Type-C interface, and the Type-C interface includes an SBU1 pin and an SBU2 pin, and the method specifically includes the following steps:
step 201, connecting a temperature sensor and/or a humidity sensor and/or a voltage sensor by using the SBU1 pin and the SBU2 pin;
in the embodiment of the present invention, the mobile terminal uses the SBU1 pin and the SBU2 pin of the Type-C interface to connect to the temperature sensor and/or the humidity sensor and/or the voltage sensor, and uses the temperature sensor and/or the humidity sensor and/or the voltage sensor as the detection module to detect the temperature parameter, the humidity parameter, and the voltage parameter of the Type-C interface.
Step 202, acquiring the temperature parameter, the humidity parameter or the voltage parameter of the Type-C interface from the temperature sensor and/or the humidity sensor and/or the voltage sensor;
specifically, when the mobile terminal adopts the SBU1 pin and the SBU2 pin of the Type-C interface to connect with a temperature sensor and/or a humidity sensor and/or a voltage sensor, and detects the temperature parameter, the humidity parameter or the voltage parameter of the Type-C interface within a certain same time interval, the above parameters are used for detecting the use condition of the Type-C interface, for example: whether water is fed or not, whether the temperature is too high or not and whether surge static electricity occurs or not.
Step 203, judging whether the temperature parameter is larger than a temperature threshold value;
step 204, judging whether the humidity parameter is larger than a humidity threshold value;
step 205, judging whether the voltage parameter is larger than a voltage threshold value;
in the embodiment of the invention, the mobile terminal judges whether the temperature parameter is greater than a temperature threshold value; judging whether the humidity parameter is larger than a humidity threshold value or not; and determining whether the voltage parameter is greater than a voltage threshold, for example, the temperature threshold may be 40 degrees celsius, the humidity threshold may be 80%, and the voltage threshold may be 3.8V; it should be noted that, the temperature threshold, the humidity threshold, and the voltage threshold may be set by those skilled in the art according to actual situations, and the embodiment of the present invention is not limited thereto.
And step 206, cutting off the power supply operation of the VBUS pin when the characteristic use parameter is larger than a preset threshold value.
In the embodiment of the invention, when the mobile terminal is charging, and when detecting that the characteristic use parameter (which may include a temperature parameter, a humidity parameter or a Voltage parameter) is greater than a preset threshold, the power supply operation of the VBUS (Voltage Bus) pin is cut off, and when any one of the characteristic use parameters exceeds the threshold, the charging safety of the mobile terminal is considered to be threatened, the power supply operation of the Bus pin is cut off, the charging operation is stopped, and the safety usability of the mobile terminal is ensured.
In a preferred embodiment of the embodiments of the present invention, the mobile terminal includes a screen, and when the feature usage parameter is greater than a preset threshold, the step of executing the security protection operation further includes: and when the characteristic use parameter is larger than a preset threshold value, displaying a safety reminding message on the screen.
Further, when the mobile terminal detects that the characteristic usage parameter (which may include a temperature parameter, a humidity parameter, or a voltage parameter) is greater than a preset threshold, a safety reminding message is displayed on a screen of the mobile terminal, where the content of the safety reminding message may include a prompt of a user "the mobile terminal enters water, please check" or "the mobile terminal has an excessively high temperature, please suspend usage", and the like.
In the embodiment of the invention, the SBU1 pin and the SBU2 pin are adopted to be connected with a temperature sensor and/or a humidity sensor and/or a voltage sensor; and acquiring the temperature parameter, the humidity parameter or the voltage parameter of the Type-C interface from the temperature sensor and/or the humidity sensor and/or the voltage sensor. Judging whether the temperature parameter is greater than a temperature threshold value; and/or, judging whether the humidity parameter is greater than a humidity threshold value; and/or judging whether the voltage parameter is greater than a voltage threshold value, and cutting off the power supply operation of the VBUS pin when the use parameter is greater than a preset threshold value, and displaying a safety reminding message on the screen.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Device embodiment III
Fig. 4 is a block diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal 300 includes a Type-C interface, the Type-C interface includes an SBU1 pin and an SBU2 pin, and the mobile terminal 300 shown in fig. 4 includes a feature usage parameter obtaining module 301, a preset threshold determining module 302, and a security protection operation executing module 303.
A feature use parameter obtaining module 301, configured to obtain a feature use parameter of the Type-C interface by using the SBU1 pin and the SBU2 pin;
a preset threshold value determining module 302, configured to determine that the feature usage parameter is greater than a preset threshold value;
a safety protection operation executing module 303, configured to execute a safety protection operation when the feature usage parameter is greater than a preset threshold.
Preferably, the characteristic usage parameter includes a temperature parameter, a humidity parameter and a voltage parameter, and the characteristic usage parameter acquiring module 301 includes:
the sensor connecting submodule is used for connecting a temperature sensor and/or a humidity sensor and/or a voltage sensor by adopting the SBU1 pin and the SBU2 pin;
and the parameter acquisition submodule is used for acquiring the temperature parameter, the humidity parameter or the voltage parameter of the Type-C interface from the temperature sensor and/or the humidity sensor and/or the voltage sensor.
Preferably, the preset threshold includes a temperature threshold, a humidity threshold and a voltage threshold, and the preset threshold determining module 302 includes:
the temperature threshold judging submodule is used for judging whether the temperature parameter is greater than a temperature threshold;
and/or, a humidity threshold judgment submodule for judging whether the humidity parameter is greater than a humidity threshold;
and/or the voltage threshold judgment submodule is used for judging whether the voltage parameter is larger than the voltage threshold.
Preferably, the Type-C interface includes a VBUS pin, and the security protection operation executing module 303 includes:
and the power supply operation cutting sub-module is used for cutting off the power supply operation of the VBUS pin when the use parameter is larger than a preset threshold value.
Preferably, the mobile terminal includes a screen, and the security protection operation performing module 303 further includes:
and the safety reminding message display sub-module is used for displaying the safety reminding message on the screen when the use parameter is larger than a preset threshold value.
Example four of the device
Fig. 5 is a block diagram of a mobile terminal according to another embodiment of the present invention. The mobile terminal 400 shown in fig. 5 includes: at least one processor 401, memory 402, at least one network interface 404 and other user interfaces 403, and a photographing component 406, the mobile terminal 400 including a Type-C interface that includes an SBU1 pin and an SBU2 pin. The various components in the mobile terminal 400 are coupled together by a bus system 405. It is understood that the bus system 405 is used to enable connection communication between these components. The bus system 405 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled in fig. 5 as the bus system 405 photographing component 406 comprising a camera.
The user interface 403 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that memory 402 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 402 of the systems and methods described in this embodiment of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 402 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 4021 and application programs 4022.
The operating system 4021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is configured to implement various basic services and process hardware-based tasks. The application 4022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. A program for implementing the method according to the embodiment of the present invention may be included in the application 4022.
In this embodiment of the present invention, the processor 401 is configured to obtain the feature usage parameter of the Type-C interface by using the SBU1 pin and the SBU2 pin by calling a program or an instruction stored in the memory 402, specifically, a program or an instruction stored in the application 4022; judging whether the characteristic use parameter is larger than a preset threshold value; and when the characteristic use parameter is larger than a preset threshold value, executing safety protection operation.
The method disclosed in the above embodiments of the present invention may be applied to the processor 401, or implemented by the processor 401. The processor 401 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 401. The processor 401 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and completes the steps of the method in combination with the hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this disclosure may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this disclosure. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the characteristic usage parameters include a temperature parameter, a humidity parameter, and a voltage parameter.
Optionally, the processor 401 is further configured to: the SBU1 pin and the SBU2 pin are adopted to be connected with a temperature sensor and/or a humidity sensor and/or a voltage sensor;
optionally, the processor 401 is further configured to: and acquiring the temperature parameter, the humidity parameter or the voltage parameter of the Type-C interface from the temperature sensor and/or the humidity sensor and/or the voltage sensor.
Optionally, the preset threshold includes a temperature threshold, a humidity threshold, and a voltage threshold.
Optionally, the processor 401 is further configured to: judging whether the temperature parameter is greater than a temperature threshold value;
and/or, optionally, processor 401 is further configured to: judging whether the humidity parameter is larger than a humidity threshold value;
and/or, optionally, processor 401 is further configured to: and judging whether the voltage parameter is larger than a voltage threshold value.
Optionally, the Type-C interface includes a VBUS pin.
Optionally, the processor 401 is further configured to: and when the use parameter is larger than a preset threshold value, cutting off the power supply operation of the VBUS pin.
Optionally, the processor 401 is further configured to: and when the use parameter is larger than a preset threshold value, displaying a safety reminding message on the screen.
The mobile terminal 400 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
In the embodiment of the invention, the SBU1 pin and the SBU2 pin are adopted to obtain the characteristic use parameter of the Type-C interface, the characteristic use parameter is judged to be larger than a preset threshold value, and when the characteristic use parameter is larger than the preset threshold value, safety protection operation is executed. Adopt self-defined SBU1 pin and a plurality of sensors are connected to SBU2 pin, the multiplex program of the pin of Type-C interface has been improved, resources are saved brings more colorful design and function for the Type-C interface, the characteristic service parameter of Type-C interface is obtained, the in service behavior of Type-C interface can be accurately judged, and carry out the safety protection operation according to the in service behavior, the reliability and the stability of Type-C interface have been improved, and then the life and the service quality of mobile terminal are promoted.
Example V of the device
Fig. 6 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 500 in fig. 6 may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal 500 of fig. 6 includes a Radio Frequency (RF) circuit 510, a memory 520, an input unit 530, a display unit 540, a processor 560, an audio circuit 570, a wifi (wireless fidelity) module 580, and a power supply 590 and a photographing component 5100, and the mobile terminal 500 includes a Type-C interface including an SBU1 pin and an SBU2 pin.
The input unit 530 may be used to receive numeric or character information input by a user and generate signal inputs related to user settings and function control of the mobile terminal 500, among other things. Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531. The touch panel 531, also called a touch screen, can collect touch operations of a user (for example, operations of the user on the touch panel 531 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, sends it to the processor 560, and can receive and execute commands from the processor 560. In addition, the touch panel 531 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 531, the input unit 530 may further include other input devices 532, and the other input devices 532 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among other things, the display unit 540 may be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 500. The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of an LCD or an organic light-emitting diode (OLED), or the like.
It should be noted that the touch panel 531 may cover the display panel 541 to form a touch display screen, and when the touch display screen detects a touch operation thereon or nearby, the touch display screen is transmitted to the processor 560 to determine the type of the touch event, and then the processor 560 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The photographing component 5100 includes a camera.
The processor 560 is a control center of the mobile terminal 500, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the mobile terminal 500 and processes data by operating or executing software programs and/or modules stored in the first memory 521 and calling data stored in the second memory 522, thereby integrally monitoring the mobile terminal 500. Optionally, processor 560 may include one or more processing units.
In the embodiment of the present invention, the processor 560 is configured to obtain the feature usage parameter of the Type-C interface by calling the software program and/or module stored in the first memory 521 and/or the data stored in the second memory 522, using the SBU1 pin and the SBU2 pin; judging whether the characteristic use parameter is larger than a preset threshold value; and when the characteristic use parameter is larger than a preset threshold value, executing safety protection operation.
Optionally, the characteristic usage parameters include a temperature parameter, a humidity parameter, and a voltage parameter.
Optionally, the processor 560 is further configured to: the SBU1 pin and the SBU2 pin are adopted to be connected with a temperature sensor and/or a humidity sensor and/or a voltage sensor;
optionally, the processor 560 is further configured to: and acquiring the temperature parameter, the humidity parameter or the voltage parameter of the Type-C interface from the temperature sensor and/or the humidity sensor and/or the voltage sensor.
Optionally, the preset threshold includes a temperature threshold, a humidity threshold, and a voltage threshold.
Optionally, the processor 560 is further configured to: judging whether the temperature parameter is greater than a temperature threshold value;
and/or, optionally, processor 560 is further configured to: judging whether the humidity parameter is larger than a humidity threshold value;
and/or, optionally, processor 560 is further configured to: and judging whether the voltage parameter is larger than a voltage threshold value.
Optionally, the Type-C interface includes a VBUS pin.
Optionally, the processor 560 is further configured to: and when the use parameter is larger than a preset threshold value, cutting off the power supply operation of the VBUS pin.
Optionally, the processor 560 is further configured to: and when the use parameter is larger than a preset threshold value, displaying a safety reminding message on the screen.
In the embodiment of the invention, the SBU1 pin and the SBU2 pin are adopted to connect a temperature sensor and/or a humidity sensor and/or a voltage sensor; and acquiring the temperature parameter, the humidity parameter or the voltage parameter of the Type-C interface from the temperature sensor and/or the humidity sensor and/or the voltage sensor. Judging whether the temperature parameter is greater than a temperature threshold value; and/or, judging whether the humidity parameter is greater than a humidity threshold value; and/or judging whether the voltage parameter is greater than a voltage threshold value, and cutting off the power supply operation of the VBUS pin when the use parameter is greater than a preset threshold value, and displaying a safety reminding message on the screen.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A security protection method of a mobile terminal, wherein the mobile terminal comprises a Type-C interface, and the Type-C interface comprises an SBU1 pin and an SBU2 pin, the method comprising:
acquiring the characteristic use parameters of the Type-C interface by adopting the SBU1 pin and the SBU2 pin; wherein the feature usage parameters are obtained over the same time interval by sensors connected at the SBU1 pin and the SBU2 pin;
judging whether the characteristic use parameter is larger than a preset threshold value or not;
when the characteristic use parameter is larger than a preset threshold value, executing safety protection operation;
wherein the characteristic use parameter comprises at least one of a humidity parameter, a current parameter, a voltage parameter, a bearing pressure and a dropping condition of the Type-C interface;
the Type-C interface comprises a VBUS pin, and when the characteristic use parameter is greater than a preset threshold value, the step of executing the safety protection operation comprises the following steps:
and when the characteristic use parameter is larger than a preset threshold value, cutting off the power supply operation of the VBUS pin.
2. The method of claim 1, wherein the feature usage parameters include humidity parameters and voltage parameters, and the step of obtaining the feature usage parameters of the Type-C interface using the SBU1 pin and the SBU2 pin comprises:
the SBU1 pin and the SBU2 pin are adopted to be connected with a humidity sensor and/or a voltage sensor;
and acquiring the humidity parameter and/or the voltage parameter of the Type-C interface from the humidity sensor and/or the voltage sensor.
3. The method of claim 1 or 2, wherein the preset thresholds comprise a humidity threshold and a voltage threshold, and the step of determining whether the characteristic usage parameter is greater than the preset threshold comprises:
judging whether the humidity parameter is larger than a humidity threshold value;
and/or, judging whether the voltage parameter is larger than a voltage threshold value.
4. The method according to claim 1, wherein the mobile terminal comprises a screen, and when the feature usage parameter is greater than a preset threshold, the step of performing a security protection operation further comprises:
and when the characteristic use parameter is larger than a preset threshold value, displaying a safety reminding message on the screen.
5. A mobile terminal, characterized in that the mobile terminal comprises a Type-C interface, the Type-C interface comprising an SBU1 pin and an SBU2 pin, the terminal comprising:
the characteristic use parameter acquisition module is used for acquiring the characteristic use parameters of the Type-C interface by adopting the SBU1 pin and the SBU2 pin; wherein the feature usage parameters are obtained over the same time interval by sensors connected at the SBU1 pin and the SBU2 pin;
the preset threshold value judging module is used for judging whether the characteristic use parameter is larger than a preset threshold value or not;
the safety protection operation execution module is used for executing safety protection operation when the characteristic use parameter is larger than a preset threshold value;
wherein the characteristic use parameter comprises at least one of a humidity parameter, a current parameter, a voltage parameter, a bearing pressure and a dropping condition of the Type-C interface;
the Type-C interface comprises a VBUS pin, and the safety protection operation execution module is specifically used for:
and when the characteristic use parameter is larger than a preset threshold value, cutting off the power supply operation of the VBUS pin.
6. The terminal of claim 5, wherein the feature usage parameters include a humidity parameter and a voltage parameter, and the feature usage parameter obtaining module comprises:
the sensor connecting submodule is used for connecting a humidity sensor and/or a voltage sensor by adopting the SBU1 pin and the SBU2 pin;
and the parameter acquisition submodule is used for acquiring the humidity parameter and/or the voltage parameter of the Type-C interface from the humidity sensor and/or the voltage sensor.
7. The terminal according to claim 5 or 6, wherein the preset threshold comprises a humidity threshold and a voltage threshold, and the preset threshold determining module comprises:
the humidity threshold judgment submodule is used for judging whether the humidity parameter is greater than a humidity threshold;
and/or the voltage threshold judgment submodule is used for judging whether the voltage parameter is larger than the voltage threshold.
8. The terminal of claim 5, wherein the mobile terminal comprises a screen, and wherein the security protection operation performing module further comprises:
and the safety reminding message display sub-module is used for displaying the safety reminding message on the screen when the characteristic use parameter is larger than a preset threshold value.
CN201611261606.6A 2016-12-30 2016-12-30 Safety protection method of mobile terminal and mobile terminal Active CN106776228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611261606.6A CN106776228B (en) 2016-12-30 2016-12-30 Safety protection method of mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611261606.6A CN106776228B (en) 2016-12-30 2016-12-30 Safety protection method of mobile terminal and mobile terminal

Publications (2)

Publication Number Publication Date
CN106776228A CN106776228A (en) 2017-05-31
CN106776228B true CN106776228B (en) 2020-09-01

Family

ID=58954743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611261606.6A Active CN106776228B (en) 2016-12-30 2016-12-30 Safety protection method of mobile terminal and mobile terminal

Country Status (1)

Country Link
CN (1) CN106776228B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111030226B (en) * 2019-12-20 2021-08-24 维沃移动通信有限公司 Equipment detection method and electronic equipment
WO2022068004A1 (en) * 2020-09-30 2022-04-07 深圳市联新移动医疗科技有限公司 Terminal humidity detection method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105958579A (en) * 2016-05-27 2016-09-21 乐视控股(北京)有限公司 Over-temperature protection method and over-temperature protection device for Type-C interface
CN205790839U (en) * 2016-05-30 2016-12-07 歌尔股份有限公司 A kind of earphone joint

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105958579A (en) * 2016-05-27 2016-09-21 乐视控股(北京)有限公司 Over-temperature protection method and over-temperature protection device for Type-C interface
CN205790839U (en) * 2016-05-30 2016-12-07 歌尔股份有限公司 A kind of earphone joint

Also Published As

Publication number Publication date
CN106776228A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US9501435B2 (en) Enabling method and enabling device for debugging port of terminal, and terminal
EP3373383B1 (en) Method of detecting swelling of battery using pressure sensor and electronic device using the method
EP2821897B1 (en) Finger detection on touch screens for mobile devices
EP3082025A1 (en) Touch input processing method and electronic device for supporting the same
WO2018040891A1 (en) Information display method and mobile terminal
CN107506073B (en) Touch screen detection method and device, mobile terminal and computer readable storage medium
JP6239449B2 (en) Mobile terminal, notification control program, and notification control method
EP3249498B1 (en) Display screen controlling method and apparatus
CN107566622B (en) Temperature control method and mobile terminal
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
CN106453925B (en) Information transmission method and mobile terminal
EP2746926B1 (en) Method and apparatus for using a portable terminal
JP6616896B2 (en) Fingerprint recognition method and electronic device
CN107566624B (en) Display method for power consumption and temperature of terminal, terminal and computer readable storage medium
CN107172287B (en) Multi-card communication method and mobile terminal
CN107450029B (en) Battery state checking method and device, computer equipment and computer readable storage medium
CN107562473B (en) Application program display method and mobile terminal
WO2014000632A1 (en) Method, device and apparatus for acquiring security state of mobile terminal
CN106776228B (en) Safety protection method of mobile terminal and mobile terminal
CN103294583A (en) Terminal screen control method and mobile terminal
CN107562262B (en) Method for responding touch operation, terminal and computer readable storage medium
CN106681640B (en) Screen display control method of mobile terminal and mobile terminal
CN110765085A (en) Log information writing method, system, storage medium and mobile terminal
CN107257411B (en) Message reminding method and mobile terminal
CN105278942B (en) Component management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant