CN108121681B - Hot plug implementation method, terminal and storage medium - Google Patents

Hot plug implementation method, terminal and storage medium Download PDF

Info

Publication number
CN108121681B
CN108121681B CN201711262785.XA CN201711262785A CN108121681B CN 108121681 B CN108121681 B CN 108121681B CN 201711262785 A CN201711262785 A CN 201711262785A CN 108121681 B CN108121681 B CN 108121681B
Authority
CN
China
Prior art keywords
target
change information
bus
equipment
information
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
CN201711262785.XA
Other languages
Chinese (zh)
Other versions
CN108121681A (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.)
Jingxian Liangliang Photoelectric Technology Co ltd
Original Assignee
Jingxian Gusheng Information Technology 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 Jingxian Gusheng Information Technology Co Ltd filed Critical Jingxian Gusheng Information Technology Co Ltd
Priority to CN201711262785.XA priority Critical patent/CN108121681B/en
Publication of CN108121681A publication Critical patent/CN108121681A/en
Application granted granted Critical
Publication of CN108121681B publication Critical patent/CN108121681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a hot plug implementation method, which comprises the following steps: when the target device and the corresponding target bus finish target operation in a charged state, triggering the target bus to be interrupted according to the port level change information of the target bus; acquiring equipment information of target equipment through an interrupt service program; controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is to implement a hot plug function of the target device. The invention also provides a terminal and a computer readable storage medium, and by implementing the scheme, the range of the terminal for realizing the hot plug function is expanded.

Description

Hot plug implementation method, terminal and storage medium
Technical Field
The invention relates to the technical field of terminal hot plug, in particular to a hot plug implementation method, a terminal and a storage medium.
Background
And the hot plug is used for realizing that the damaged hardware is taken out and replaced under the conditions of not closing the system and not cutting off the power supply, thereby ensuring the uninterrupted normal operation of the system. At present, for terminals such as mobile phones and tablet computers, hardware such as memory cards can support hot plug, namely, the terminals can be taken out at any time in the running process of the terminals, and the normal work of the terminals is not affected.
However, since the initialization and the driving loading of the lcd and the touch panel in the terminal are completed at the system start stage, when the terminal is powered on, the lcd or the touch panel is pulled out first and then connected, and the lcd and the touch panel cannot complete the corresponding initialization and the driving loading, and thus cannot work normally. That is, the terminal cannot realize hot plug of the liquid crystal display and the touch panel. In the prior art, the range of the terminal for realizing the hot plug function is smaller.
Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide a hot plug implementation method, a terminal and a storage medium, where the terminal can implement hot plug of a liquid crystal display and a touch panel, and the range of implementing hot plug function of the terminal is expanded.
The technical scheme of the invention is realized as follows:
the embodiment of the invention provides a hot plug implementation method, which comprises the following steps:
when detecting that the target equipment is in a charged state and the target equipment and the corresponding target bus finish target operation, triggering the target bus to be interrupted according to the port level change information of the target bus;
acquiring equipment information of the target equipment through an interrupt service program;
controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is configured to implement a hot plug function of the target device.
In the foregoing solution, after the obtaining the device information of the target device by the interrupt service routine, the method further includes:
and reporting the equipment information and the port level change information to the preset daemon process through a socket.
In the above scheme, the controlling a preset daemon process, according to the device information and the port level change information, performs target operation, including:
controlling the preset daemon process, and determining the target equipment as an execution object according to the equipment information;
controlling the preset daemon process, and determining the target operation according to the port level change information and the execution object;
and controlling the preset daemon process to execute the target operation.
In the foregoing scheme, the controlling the preset daemon process to determine the target operation according to the port level change information and the execution object includes:
when the port level change information is first change information, controlling the preset daemon process, and determining a first operation as the target operation according to the first change information and the execution object; the first change information is used for representing that the target device and the target bus are converted from a connection state to a disconnection state;
when the port level change information is second change information, controlling the preset daemon process, and determining a second operation as the target operation according to the second change information and the execution object; the second change information is used for representing that the target device and the target bus are converted from a disconnection state to a connection state.
In the above scheme, the controlling the preset daemon process to execute the target operation includes:
when the target operation is the first operation, controlling the preset daemon process to unload an initialization program and a driving program corresponding to the target equipment;
and when the target operation is the second operation, controlling the preset daemon process to load the initialization program and the driving program corresponding to the target equipment.
An embodiment of the present invention further provides a terminal, where the terminal includes: a processor, a memory, a target bus, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the target bus is used for being connected with target equipment;
the processor is used for executing the hot plug implementation program stored in the memory so as to realize the following steps:
when the target device and the corresponding target bus finish target operation in a charged state, triggering the target bus to be interrupted according to port level change information of the target bus; acquiring equipment information of the target equipment through an interrupt service program; controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is configured to implement a hot plug function of the target device.
In the above terminal, after the processor obtains the device information of the target device through the interrupt service program, the processor is further configured to execute the hot plug implementation program to implement the following steps:
and reporting the equipment information and the port level change information to the preset daemon process through a socket.
In the above terminal, the processor is specifically configured to execute the hot plug implementation program to implement the following steps:
controlling the preset daemon process, and determining the target equipment as an execution object according to the equipment information; controlling the preset daemon process, and determining the target operation according to the port level change information and the execution object; and controlling the preset daemon process to execute the target operation.
In the above terminal, the processor is specifically configured to execute the hot plug implementation program to implement the following steps:
when the port level change information is first change information, controlling the preset daemon process, and determining a first operation as the target operation according to the first change information and the execution object; the first change information is used for representing that the target device and the target bus are converted from a connection state to a disconnection state; when the port level change information is second change information, controlling the preset daemon process, and determining a second operation as the target operation according to the second change information and the execution object; wherein the second change information characterizes a transition of the target device and the target bus from a disconnected state to a connected state;
when the target operation is the first operation, controlling the preset daemon process to unload an initialization program and a driving program corresponding to the target equipment; and when the target operation is the second operation, controlling the preset daemon process to load the initialization program and the driving program corresponding to the target equipment.
The embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs may be executed by one or more processors to implement the method for implementing hot plug.
Therefore, in the technical scheme of the embodiment of the invention, when the terminal detects that the terminal is in a charged state and the target device and the corresponding target bus complete target operation, the terminal triggers the target bus to be interrupted according to the port level change information of the target bus; acquiring equipment information of target equipment through an interrupt service program; controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is to implement a hot plug function of the target device. That is to say, in the technical solution of the embodiment of the present invention, the terminal can control the preset daemon process to execute the determined target operation, so as to ensure that the target device can still normally work when accessing the target bus while the terminal is in a live state, and expand the range of the terminal for implementing the hot plug function.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a hot plug implementation method according to an embodiment of the present invention;
FIG. 4 is a first schematic diagram illustrating an exemplary target operation provided by an embodiment of the present invention;
FIG. 5 is a second schematic diagram illustrating an exemplary target operation provided by an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a process for executing a target operation according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating an exemplary terminal performing a hot plug reminder according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
It should be understood that the embodiments described herein are only for explaining the technical solutions of the present invention, and are not intended to limit the scope of the present invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: radio Frequency (RF) unit 101, Wi-Fi module 102, audio output unit 103, audio/video (a/V) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access 2000(Code Division Multiple Access 2000, CDMA2000), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Frequency Division duplex Long Term Evolution (FDD-LTE), and Time Division duplex Long Term Evolution (TDD-LTE), etc.
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through a Wi-Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the Wi-Fi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation or suppression algorithms to cancel or suppress noise or interference generated during reception and transmission of audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of 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 the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes User Equipment (UE) 201, Evolved UMTS Terrestrial Radio Access Network (E-UTRAN) 202, Evolved Packet Core Network (EPC) 203, and IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include a Mobility Management Entity (MME) 2031, a Home Subscriber Server (HSS) 2032, other MMEs 2033, a Serving Gateway (SGW) 2034, a packet data network gateway (PDN Gate Way, PGW)2035, and a Policy and Charging Rules Function (PCRF) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IP Multimedia Subsystem (IMS) or other IP services, and the like.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
An embodiment of the present invention provides a hot plug implementation method, and fig. 3 is a flowchart illustrating the hot plug implementation method according to the embodiment of the present invention. As shown in fig. 3, the method mainly comprises the following steps:
s301, when the target device and the corresponding target bus finish the target operation in the charged state, triggering the target bus to be interrupted according to the port level change information of the target bus.
In the embodiment of the invention, when the terminal detects that the terminal is in a charged state and the target device and a target bus corresponding to the terminal finish target operation, the terminal triggers the target bus to be interrupted according to the port level change information of the target bus.
It should be noted that, in the embodiment of the present invention, the target device may be connected to or disconnected from the terminal through the target bus, where the target operation is an operation performed to change the target device and the target bus from a disconnected state to a connected state, or to change the target device and the target bus from the connected state to the disconnected state, that is, the target operation is an operation performed to move the target device out of the target bus or to access the target bus.
Fig. 4 is a first schematic diagram illustrating an exemplary target operation provided by an embodiment of the present invention. As shown in fig. 4, when the terminal is in the charged state, the target device is in a connected state with the terminal through the target bus, and then, if the user or an external force disconnects the target device from the target bus, that is, the target device and the target bus are changed from the connected state to the disconnected state, the target device and the target bus complete a target operation, wherein the terminal is also in the charged state all the time during the process of changing the target device and the target bus from the connected state to the disconnected state.
Fig. 5 is a second schematic diagram of an exemplary target operation provided by an embodiment of the present invention. As shown in fig. 5, when the terminal is in a charged state, the target device is disconnected from the terminal through the target bus, and then, if a user or an external force connects the target device and the target bus, that is, the target device and the target bus are changed from a disconnected state to a connected state, the target device and the target bus complete a target operation, wherein the terminal is also in a charged state all the time during the process of changing the target device and the target bus from the disconnected state to the connected state.
It should be noted that, in the embodiment of the present invention, the target device is a device that does not have a hot plug function, and the hot plug function of the target device can be implemented through the terminal of the present invention. Specific target devices embodiments of the present invention are not limited.
Optionally, in an embodiment of the present invention, the target device includes at least one of the following: liquid crystal display and touch panel.
It should be noted that, if the target device is a liquid crystal display, the liquid crystal display is connected to the terminal Processor through a Mobile Industry Processor Interface (MIPI) bus, that is, the target bus corresponding to the liquid crystal display is a MIPI bus.
If the target device is a touch panel, the touch panel is connected to the terminal processor through an Inter-Integrated Circuit (I2C), i.e., the target bus corresponding to the touch panel is an I2C bus.
It should be noted that, in the embodiment of the present invention, the MIPI bus or I2C bus has a function of detecting an interrupt service routine of its own port.
For example, in an embodiment of the present invention, if the target device is a liquid crystal display and the target bus is a MIPI bus, when the terminal detects that the terminal is in a charged state and the liquid crystal display and the MIPI bus are switched from a connected state to a disconnected state, or the terminal detects that the terminal is in the charged state and the liquid crystal display and the MIPI bus are switched from the disconnected state to the connected state, the port voltage average of the MIPI bus changes, and the terminal triggers MIPI bus interrupt according to port level change information of the MIPI bus.
For example, in the embodiment of the present invention, if the target device is a touch panel and the target bus is an I2C bus, when the terminal detects that the terminal is in a charged state and the touch panel and the I2C bus are switched from a connected state to a disconnected state, or the touch panel and the I2C bus are switched from the disconnected state to the connected state, the port level of the I2C bus changes, and the terminal triggers the I2C bus interrupt according to the port level change information of the I2C bus.
It should be noted that, in the embodiment of the present invention, the port level of the target bus changes whether the target device is moved out of the target bus or accessed into the target bus, that is, whether the target bus and the target device are switched from the connected state to the disconnected state or from the disconnected state to the connected state, and as long as the port level of the target bus changes, the target bus is triggered to be interrupted.
It should be noted that the port level variation information of the target bus may be the first variation information or the second variation information. The first transformation information is used for representing that the target device and the target bus are converted from a connection state to a disconnection state, and the second transformation information is used for representing that the target device and the target bus are converted from the disconnection state to the connection state. The port level change information of the target bus is first change information and second change information, and the target bus is triggered to be interrupted.
It can be understood that, in the prior art, both the lcd and the touch panel do not support hot plugging, that is, when the terminal is in a power-on state, the lcd and the touch panel are disconnected and then connected, and the lcd and the touch panel cannot work normally. In the embodiment of the invention, the liquid crystal display and the touch panel are disconnected and then connected in the charged state of the terminal, and the liquid crystal display and the touch panel can directly and normally work, namely the terminal can realize hot plug of the liquid crystal display and the touch panel.
S302, device information of the target device is obtained through the interrupt service program.
In the embodiment of the invention, the terminal runs the interrupt service program after triggering the target bus to interrupt, and acquires the device information of the target device through the interrupt service program.
Specifically, in the embodiment of the present invention, the interrupt service routine in the terminal may directly read the device information of the target device.
It should be noted that, in the embodiment of the present invention, the device information of the target device is an identifier of the target device itself.
Optionally, if the target device is a liquid crystal display, the device information of the target device is information that characterizes that the target device is the liquid crystal display.
If the target device is a touch panel, the device information of the target device is information representing that the target device is the touch panel.
It should be noted that, in the embodiment of the present invention, the MIPI bus or I2C bus has a function of detecting an interrupt service routine of its own port, that is, the MIPI bus or I2C bus may also obtain device information of the target device.
S303, controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is to implement a hot plug function of the target device.
In the embodiment of the invention, after the terminal acquires the device information of the target device through the interrupt service program, the terminal controls the preset daemon process to execute target operation according to the device information of the target device and the port level change information of the target bus.
It should be noted that, in the embodiment of the present invention, the preset daemon process may be a process for notifying the application layer of the existence of the state change by a standard kernel in the terminal system, or may be a pre-developed process, which is used to implement a hot plug function of the target device. The embodiment of the present invention is not limited to the specific preset daemon process.
Fig. 6 is a flowchart illustrating a process of executing a target operation according to an embodiment of the present invention. As shown in fig. 6, the terminal controlling the preset daemon to execute the execution target operation mainly includes the following steps:
s601, controlling a preset daemon process, and determining the target equipment as an execution object according to the equipment information.
In the embodiment of the invention, the terminal firstly controls the preset daemon process, and determines the target equipment as an execution object according to the equipment information of the target equipment.
It can be understood that, in the embodiment of the present invention, since the device information of the target device is information representing the type of the target device, the preset daemon process may directly determine the target device as an execution object according to the device information of the target device.
It should be noted that, in the embodiment of the present invention, the device information of the target device may be an identifier of the target device itself, or may also be a character indicating the target device, as long as a specific type of the corresponding target device can be characterized. That is, the specific device information of the target device is not limited in the embodiments of the present invention.
For example, in the embodiment of the present invention, if the device information of the target device is information that characterizes that the target device is a liquid crystal display, the terminal may control a preset daemon process to determine the liquid crystal display as an execution object. If the device information of the target device is information representing that the target device is a touch panel, the terminal can control the preset daemon process to determine the touch panel as an execution object.
S602, controlling a preset daemon process, and determining target operation according to the port level change information and the execution object.
In the embodiment of the present invention, after the terminal controls the preset daemon to determine the execution object, the terminal further controls the preset daemon to determine the target operation according to the port level change information of the target bus and the determined execution object.
Specifically, in the embodiment of the present invention, when the port level change information is the first change information, the preset daemon process is controlled, and the first operation is determined as the target operation according to the first change information and the execution object; the first change information is used for representing that the target device and the target bus are converted from a connection state to a disconnection state. When the port level change information is second change information, controlling a preset daemon process, and determining a second operation as a target operation according to the second change information and an execution object; and the second change information is used for representing that the target device and the target bus are converted from a disconnection state to a connection state.
Illustratively, the execution object is a liquid crystal display, if the port level change information is first change information, the terminal controls a preset daemon process, and determines the first operation as target operation, wherein the first operation is to unload an initialization program and a driving program corresponding to the liquid crystal display, if the port level change information is second change information, the terminal controls the preset daemon process, and determines the second operation as target operation, wherein the second operation is to add the initialization program and the driving program corresponding to the liquid crystal display.
Illustratively, the execution object is a touch panel, if the port level change information is first change information, the terminal controls a preset daemon process, and determines the first operation as target operation, wherein the first operation is to unload an initialization program and a driver corresponding to the touch panel, if the port level change information is second change information, the terminal controls the preset daemon process, and determines the second operation as target operation, and wherein the second operation is to load the initialization program and the driver corresponding to the touch panel.
It should be noted that, in the embodiment of the present invention, an initialization program and a driver corresponding to a target device are stored in a terminal in advance, and are used for initializing the target device. For example, the terminal may store an initialization program and a driver corresponding to the liquid crystal display, and an initialization program and a driver corresponding to the touch panel. The specific initialization program and the driver program corresponding to the target device are not limited in the embodiments of the present invention, and the number of the initialization program and the driver program pre-stored in the terminal is not limited in the embodiments of the present invention.
It can be understood that, in the embodiment of the present invention, the target operation includes two parts, namely, an execution object and an execution operation, where the execution object is a target device, and the execution operation is a load or an unload, the determination of the execution object depends on the acquired device information of the target device, and the determination of the execution operation depends on the port change information of the target bus, that is, the connection state of the target device and the target bus.
And S603, controlling a preset daemon process to execute target operation.
In the embodiment of the invention, after the terminal controls the preset daemon to determine the target operation, the terminal controls the preset daemon to execute the target operation.
Specifically, in the embodiment of the present invention, when the target operates as the first operation, the terminal controls the preset daemon process to uninstall the initialization program and the driver corresponding to the target device. And when the target operation is the second operation, the terminal controls the preset daemon process to load the initialization program and the driving program corresponding to the target equipment.
It can be understood that, when the terminal controls the preset daemon to load or unload the initialization program and the driver corresponding to the target device, if the terminal is currently configured with the display interface, a reminding message for reminding that the initialization program and the driver corresponding to the target device are being loaded or unloaded may be displayed on the display interface. If the terminal is currently configured with the indicator lamp, the indicator lamp can also flash, so that the initialization program and the driving program corresponding to the target equipment are reminded of being loaded or unloaded, and when the loading or unloading is finished, the indicator lamp is automatically turned off.
Illustratively, the target device is a touch panel, and after determining the first operation as the target operation according to the execution object, that is, the touch panel, and the second change information, the terminal controls the preset daemon to execute the first operation, that is, controls the preset daemon to load the initialization program and the driver corresponding to the touch panel.
Fig. 7 is a schematic diagram illustrating an exemplary terminal performing hot plug reminding according to an embodiment of the present invention. As shown in fig. 7, an indicator light is preconfigured on the terminal, the indicator light starts to blink when the terminal controls the preset daemon to execute target operation, that is, to load or unload the initialization program and the driver program corresponding to the target device, and the indicator light stops blinking after the terminal controls the preset daemon to finish loading or unloading the initialization program and the driver program corresponding to the target device, that is, to finish hot plug reminding of the target device.
Further, in the embodiment of the present invention, after step S302 and before step S303, step S304 is further included, which is specifically as follows:
s304, reporting the equipment information and the port level change information to a preset daemon process through the socket.
In the embodiment of the present invention, after acquiring the device information of the target device and the port level change information of the target bus, the terminal needs to report the device information of the target device and the port level change information of the target bus to the preset daemon process through the socket. And then, the terminal can control the preset daemon process to determine the target operation.
It should be noted that, in the embodiment of the present invention, the socket may implement communication between the user process and the kernel process, that is, implement reporting the device information and the port level change information to the preset daemon process.
It can be understood that, in the embodiment of the present invention, the terminal may control the preset daemon process, and load or unload the initialization program and the driver corresponding to the target device in real time when the target device is switched on or off in a charged state, so as to ensure that the target device normally works, that is, to implement hot plug of the target device.
The embodiment of the invention provides a hot plug implementation method, wherein when a terminal detects that the terminal is in a charged state and target operation is completed by target equipment and a corresponding target bus, the terminal triggers the target bus to be interrupted according to port level change information of the target bus; acquiring equipment information of target equipment through an interrupt service program; controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is to implement a hot plug function of the target device. That is to say, in the technical solution of the embodiment of the present invention, the terminal can control the preset daemon process to execute the determined target operation, so as to ensure that the target device can still normally work when accessing the target bus while the terminal is in a live state, and expand the range of the terminal for implementing the hot plug function.
Example two
Fig. 8 is a schematic diagram of a terminal structure according to an embodiment of the present invention. As shown in fig. 8, the terminal includes: a processor 801, a memory 802, a target bus 803, and a communication bus 804;
the communication bus 803 is used for realizing connection communication among the processor 801, the memory 802 and the target bus 803;
the target bus 803 is used for connecting with a target device;
the processor 801 is configured to execute the hot plug implementation program stored in the memory 802 to implement the following steps:
when the target device and the corresponding target bus 803 finish target operation in a charged state, triggering the target bus 803 to interrupt according to port level change information of the target bus 803; acquiring equipment information of the target equipment through an interrupt service program; controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is configured to implement a hot plug function of the target device.
Optionally, after the processor 801 obtains the device information of the target device through the interrupt service program, the processor 801 is further configured to execute the hot plug implementation program, so as to implement the following steps:
and reporting the equipment information and the port level change information to the preset daemon process through a socket.
Optionally, the processor 801 is specifically configured to execute the hot plug implementation program, so as to implement the following steps:
controlling the preset daemon process, and determining the target equipment as an execution object according to the equipment information; controlling the preset daemon process, and determining the target operation according to the port level change information and the execution object; and controlling the preset daemon process to execute the target operation.
Optionally, the processor 801 is specifically configured to execute the hot plug implementation program, so as to implement the following steps:
when the port level change information is first change information, controlling the preset daemon process, and determining a first operation as the target operation according to the first change information and the execution object; wherein, the first change information is used to characterize that the target device and the target bus 803 are switched from a connection state to a disconnection state; when the port level change information is second change information, controlling the preset daemon process, and determining a second operation as the target operation according to the second change information and the execution object; wherein the second change information characterizes a transition of the target device from a disconnected state to a connected state with the target bus 803;
when the target operation is the first operation, controlling the preset daemon process to unload an initialization program and a driving program corresponding to the target equipment; and when the target operation is the second operation, controlling the preset daemon process to load the initialization program and the driving program corresponding to the target equipment.
The embodiment of the invention provides a terminal, which triggers the interruption of a target bus according to the port level change information of the target bus when detecting that the terminal is in a charged state and target operation is completed by target equipment and the corresponding target bus; acquiring equipment information of target equipment through an interrupt service program; controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is to implement a hot plug function of the target device. That is to say, the terminal provided in the embodiment of the present invention can control the preset daemon process to execute the determined target operation, so as to ensure that the target device can still normally work when accessing the target bus while the terminal is in a live state, and thus the range of the terminal for implementing the hot plug function is expanded.
An embodiment of the present invention provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs may be executed by one or more processors to implement the hot plug implementation method. The computer-readable storage medium may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or may be a respective device, such as a mobile phone, computer, tablet device, personal digital assistant, etc., that includes one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A hot plug implementation method is characterized by comprising the following steps:
when detecting that the target equipment is in a charged state and the target equipment and the corresponding target bus finish target operation, triggering the target bus to be interrupted according to the port level change information of the target bus;
acquiring equipment information of the target equipment through an interrupt service program;
controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is used for implementing a hot plug function of the target device;
wherein the target operation comprises the target device accessing the target bus or the target device moving out of the target bus;
the target equipment does not have the hot plug function per se; the target device includes at least one of: liquid crystal display and touch panel.
2. The method of claim 1, wherein after the obtaining of the device information of the target device by the interrupt service routine, the method further comprises:
and reporting the equipment information and the port level change information to the preset daemon process through a socket.
3. The method according to claim 1, wherein the controlling a preset daemon, according to the device information and the port level change information, performs target operation, including:
controlling the preset daemon process, and determining the target equipment as an execution object according to the equipment information;
controlling the preset daemon process, and determining the target operation according to the port level change information and the execution object;
and controlling the preset daemon process to execute the target operation.
4. The method according to claim 3, wherein the controlling the preset daemon to determine the target operation according to the port level change information and the execution object comprises:
when the port level change information is first change information, controlling the preset daemon process, and determining a first operation as the target operation according to the first change information and the execution object; the first change information is used for representing that the target device and the target bus are converted from a connection state to a disconnection state;
when the port level change information is second change information, controlling the preset daemon process, and determining a second operation as the target operation according to the second change information and the execution object; the second change information is used for representing that the target device and the target bus are converted from a disconnection state to a connection state.
5. The method of claim 4, wherein the controlling the preset daemon to execute the target run comprises:
when the target operation is the first operation, controlling the preset daemon process to unload an initialization program and a driving program corresponding to the target equipment;
and when the target operation is the second operation, controlling the preset daemon process to load the initialization program and the driving program corresponding to the target equipment.
6. A terminal, characterized in that the terminal comprises: a processor, a memory, a target bus, and a communication bus;
the communication bus is used for realizing connection communication among the processor, the memory and the target bus;
the target bus is used for being connected with target equipment;
the processor is used for executing the hot plug implementation program stored in the memory so as to realize the following steps:
when the target device and the corresponding target bus finish target operation in a charged state, triggering the target bus to be interrupted according to port level change information of the target bus; acquiring equipment information of the target equipment through an interrupt service program; controlling a preset daemon process, and executing target operation according to the equipment information and the port level change information; wherein the target run is used for implementing a hot plug function of the target device;
wherein the target operation comprises the target device accessing the target bus or the target device moving out of the target bus;
the target equipment does not have the hot plug function per se; the target device includes at least one of: liquid crystal display and touch panel.
7. The terminal of claim 6, wherein the processor, after obtaining the device information of the target device through the interrupt service routine, is further configured to execute the hot plug implementation routine to implement the following steps:
and reporting the equipment information and the port level change information to the preset daemon process through a socket.
8. The terminal of claim 6, wherein the processor is specifically configured to execute the hot plug implementation program to implement the following steps:
controlling the preset daemon process, and determining the target equipment as an execution object according to the equipment information; controlling the preset daemon process, and determining the target operation according to the port level change information and the execution object; and controlling the preset daemon process to execute the target operation.
9. The terminal of claim 8, wherein the processor is specifically configured to execute the hot plug implementation program to implement the following steps:
when the port level change information is first change information, controlling the preset daemon process, and determining a first operation as the target operation according to the first change information and the execution object; the first change information is used for representing that the target equipment and the target are converted from a connection state to a disconnection state; when the port level change information is second change information, controlling the preset daemon process, and determining a second operation as the target operation according to the second change information and the execution object; wherein the second change information characterizes a transition of the target device and the target bus from a disconnected state to a connected state;
when the target operation is the first operation, controlling the preset daemon process to unload an initialization program and a driving program corresponding to the target equipment; and when the target operation is the second operation, controlling the preset daemon process to load the initialization program and the driving program corresponding to the target equipment.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the method of any one of claims 1-5.
CN201711262785.XA 2017-12-04 2017-12-04 Hot plug implementation method, terminal and storage medium Active CN108121681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711262785.XA CN108121681B (en) 2017-12-04 2017-12-04 Hot plug implementation method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711262785.XA CN108121681B (en) 2017-12-04 2017-12-04 Hot plug implementation method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108121681A CN108121681A (en) 2018-06-05
CN108121681B true CN108121681B (en) 2020-12-11

Family

ID=62228779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711262785.XA Active CN108121681B (en) 2017-12-04 2017-12-04 Hot plug implementation method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108121681B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932138B (en) * 2018-06-21 2021-08-10 郑州云海信息技术有限公司 RSSD hard disk configuration method, device, equipment and medium
CN109766197B (en) * 2018-12-29 2020-12-18 数源科技股份有限公司 4G module stable working method based on Android system
CN110851297B (en) * 2019-11-08 2023-08-22 深圳市易检车服科技有限公司 Method, device, system and medium for processing interface jitter state
CN112713938B (en) * 2020-12-15 2022-05-20 锐捷网络股份有限公司 Optical module control method, device and equipment
CN114020670B (en) * 2021-10-28 2024-04-26 郑州云海信息技术有限公司 PCIE card management method, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561792A (en) * 2008-04-16 2009-10-21 联想(北京)有限公司 Computer system, computer docking station and power consumption management method thereof
CN101894536A (en) * 2010-06-26 2010-11-24 大连捷成实业发展有限公司 Application method capable of enabling all displays connected to matrix to display normally
CN102455886A (en) * 2011-07-05 2012-05-16 中标软件有限公司 Method for dynamically identifying and configuring external display
CN102662514A (en) * 2012-03-30 2012-09-12 中兴通讯股份有限公司 Touch screen control method and mobile terminal
CN103024435A (en) * 2012-12-21 2013-04-03 深圳Tcl新技术有限公司 HDMI (high-definition multimedia interface) interface detection device and method and HDMI interface system
CN104572375A (en) * 2015-01-23 2015-04-29 合肥联宝信息技术有限公司 Method and device for diagnosing computer through display interface
CN106155618A (en) * 2016-08-15 2016-11-23 广东欧珀移动通信有限公司 The method and system of mobile terminal display screen hot plug

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7673090B2 (en) * 2001-12-19 2010-03-02 Intel Corporation Hot plug interface control method and apparatus
CN1632769B (en) * 2003-12-22 2010-04-14 英业达股份有限公司 IDE equipment hot plug system and implementing method under Linux operating system
CN1873632A (en) * 2005-06-03 2006-12-06 英业达股份有限公司 Identification system and method for hot plug peripheral unit
CN101059766A (en) * 2006-04-21 2007-10-24 英业达股份有限公司 Quick prompt system and method during hot plugging
KR101561491B1 (en) * 2008-11-25 2015-10-19 삼성전자주식회사 Apparatus and method for supporting hot plug detect in portable terminal with high definition multimedia interface
CN104731741B (en) * 2013-12-23 2019-03-19 研祥智能科技股份有限公司 The method and system of hot plug
CN104702784B (en) * 2015-03-05 2017-07-11 惠州Tcl移动通信有限公司 A kind of detection method and system of the hot plug of mobile terminal plurality of SIM cards
CN106815165B (en) * 2016-12-16 2020-01-03 捷开通讯(深圳)有限公司 Mobile device and modularized accessory detection method based on same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561792A (en) * 2008-04-16 2009-10-21 联想(北京)有限公司 Computer system, computer docking station and power consumption management method thereof
CN101894536A (en) * 2010-06-26 2010-11-24 大连捷成实业发展有限公司 Application method capable of enabling all displays connected to matrix to display normally
CN102455886A (en) * 2011-07-05 2012-05-16 中标软件有限公司 Method for dynamically identifying and configuring external display
CN102662514A (en) * 2012-03-30 2012-09-12 中兴通讯股份有限公司 Touch screen control method and mobile terminal
CN103024435A (en) * 2012-12-21 2013-04-03 深圳Tcl新技术有限公司 HDMI (high-definition multimedia interface) interface detection device and method and HDMI interface system
CN104572375A (en) * 2015-01-23 2015-04-29 合肥联宝信息技术有限公司 Method and device for diagnosing computer through display interface
CN106155618A (en) * 2016-08-15 2016-11-23 广东欧珀移动通信有限公司 The method and system of mobile terminal display screen hot plug

Also Published As

Publication number Publication date
CN108121681A (en) 2018-06-05

Similar Documents

Publication Publication Date Title
CN108121681B (en) Hot plug implementation method, terminal and storage medium
CN107807857B (en) Method and device for cleaning running memory and computer storage medium
CN107329865B (en) Method for opening adb function of debugging bridge, mobile terminal and computer readable medium
CN107635070B (en) Message reminding method, terminal and storage medium
CN109040441B (en) Application body-separating display method, mobile terminal and computer readable storage medium
CN107463243B (en) Screen control method, mobile terminal and computer readable storage medium
CN109901980B (en) Serial port log capturing circuit, method, terminal and computer readable storage medium
CN107979667B (en) Dual-screen display method, mobile terminal and computer-readable storage medium
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN107239208B (en) Method, apparatus, and computer-readable storage medium for processing screenshot
CN107466081B (en) Wireless switching method and terminal
CN107911778B (en) Playing method based on parallel loudspeaker, mobile terminal and readable storage medium
CN110187934B (en) Application control method, terminal and computer readable storage medium
CN112888084A (en) Full-band communication method and device and mobile terminal
CN112395106A (en) Process management method, mobile terminal, and computer-readable storage medium
CN110209434B (en) Memory management method and device and computer readable storage medium
CN109308147B (en) Application icon display method and device and computer readable storage medium
CN108650404B (en) Port starting circuit, device and mobile terminal
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN107728789B (en) Starting method of one-hand operation mode, terminal and storage medium
CN109947298B (en) System calling method, terminal and computer readable storage medium
CN108430005B (en) Audio circuit, audio judgment method and mobile terminal
CN110058761B (en) Copy selection method, mobile terminal and computer readable storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20201123

Address after: 242599 under the viaduct of fufu South Road, Jingchuan Town, Jingxian County, Xuancheng City, Anhui Province

Applicant after: Jingxian GUSHENG Information Technology Co.,Ltd.

Address before: 518000 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210220

Address after: 242599 shop front 2-3, area B, Xiyuan Community, No. 188, Meiqi Road, Jingchuan Town, Jing County, Xuancheng City, Anhui Province

Patentee after: Jingxian Liangliang Photoelectric Technology Co.,Ltd.

Address before: 242599 under the viaduct of fufu South Road, Jingchuan Town, Jing County, Xuancheng City, Anhui Province

Patentee before: Jingxian GUSHENG Information Technology Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A hot swappable implementation method, terminal, and storage medium

Effective date of registration: 20230814

Granted publication date: 20201211

Pledgee: Jingxian SME Financing Guarantee Co.,Ltd.

Pledgor: Jingxian Liangliang Photoelectric Technology Co.,Ltd.

Registration number: Y2023980051957

PE01 Entry into force of the registration of the contract for pledge of patent right