CN111327734B - Electronic device and data transmission control method - Google Patents

Electronic device and data transmission control method Download PDF

Info

Publication number
CN111327734B
CN111327734B CN202010074900.6A CN202010074900A CN111327734B CN 111327734 B CN111327734 B CN 111327734B CN 202010074900 A CN202010074900 A CN 202010074900A CN 111327734 B CN111327734 B CN 111327734B
Authority
CN
China
Prior art keywords
data
electronic device
voltage comparator
telescopic mechanism
application processor
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
CN202010074900.6A
Other languages
Chinese (zh)
Other versions
CN111327734A (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 CN202010074900.6A priority Critical patent/CN111327734B/en
Publication of CN111327734A publication Critical patent/CN111327734A/en
Application granted granted Critical
Publication of CN111327734B publication Critical patent/CN111327734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0277Details of the structure or mounting of specific components for a printed circuit board assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly

Abstract

The invention provides an electronic device and a data transmission control method, wherein the electronic device comprises a telescopic mechanism, differential wiring on a Flexible Printed Circuit (FPC) of the telescopic mechanism is connected with the input end of a voltage comparator, and the output end of the voltage comparator is connected with an application processor on a mainboard of the electronic device; the voltage comparator is used for detecting an electrostatic discharge (ESD) interference signal, and the application processor is used for processing transmission data between the telescopic mechanism and the application processor according to the ESD interference signal detected by the voltage comparator. According to the embodiment of the invention, the data transmitted by the telescopic mechanism can be processed according to the detected ESD interference signal, so that the phenomena of data display blocking, jamming and the like caused by the restart of a receiving end are avoided, and the ESD interference resistance of the electronic equipment is further improved.

Description

Electronic device and data transmission control method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an electronic device and a data transmission control method.
Background
In recent years, in order to meet the requirement of users for extremely full-area screens, many electronic devices adopt a pop-up mechanical structure to place components originally located at the front end of a screen, such as a front-facing camera, a flash lamp, and the like, but in such a scheme, a ground path and a Flexible Circuit board (Flexible Printed Circuit, abbreviated as FPC) of the pop-up structure are often long, so that capacitive coupling between the FPC and the pop-up structure is strong, a grounding effect is poor, and therefore electrostatic discharge (ESD) interference is easily generated, and further transmission of related data is adversely affected.
Taking a full-screen Mobile terminal adopting a telescopic camera as an example, a plurality of groups of differential lines are distributed on an FPC connected with a telescopic mechanism, and form a Mobile Industry Processor Interface (MIPI) serial link with a signal transmitter, a signal receiver and the like, and the serial link is used for transmitting camera scanning data.
Therefore, the electronic equipment adopting the pop-up structure has the problem of poor ESD interference resistance.
Disclosure of Invention
The embodiment of the invention provides electronic equipment and a data transmission control method, which can solve the problem that the existing electronic equipment adopting a pop-up structure has poor ESD interference resistance.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a telescopic mechanism, a differential trace on a Flexible Printed Circuit (FPC) of the telescopic mechanism is connected to an input terminal of a voltage comparator, and an output terminal of the voltage comparator is connected to an application processor on a main board of the electronic device;
the voltage comparator is used for detecting an electrostatic discharge (ESD) interference signal, and the application processor is used for processing transmission data between the telescopic mechanism and the application processor according to the ESD interference signal detected by the voltage comparator.
In a second aspect, an embodiment of the present invention provides a data transmission control method, which is applied to an electronic device provided in the embodiment of the present invention, and the method includes:
determining that ESD interference is detected under the condition that the telescopic mechanism is in a working state and the output level of the voltage comparator is detected to be converted;
deleting error data transmitted by the telescopic mechanism and the application processor at the moment of detecting the ESD interference, and replacing the error data with historical transmission data; or sending a control signal to a control module in the telescopic mechanism, so that the control module retransmits data.
In a third aspect, an embodiment of the present invention provides another electronic device, where the electronic device includes a telescopic mechanism, where a differential trace on a Flexible Printed Circuit (FPC) of the telescopic mechanism is connected to an input terminal of a voltage comparator, and an output terminal of the voltage comparator is connected to an application processor on a motherboard of the electronic device; the electronic equipment further comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, and the computer program realizes the steps in the data transmission control method when being executed by the processor.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the data transmission control method.
In the embodiment of the invention, the voltage comparator is introduced into the electronic equipment comprising the telescopic mechanism to detect the ESD interference signal, so that the data transmitted by the telescopic mechanism can be processed according to the detected ESD interference signal, the phenomena of data display blocking, blocking and the like caused by the restart of a receiving end are avoided, and the ESD interference resistance of the electronic equipment is further improved.
Drawings
Fig. 1 is a block diagram of an electronic device according to an embodiment of the present invention;
FIG. 2 is a block diagram of a telescoping mechanism according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a circuit structure in a telescopic camera according to an embodiment of the present invention;
FIG. 4a is a schematic diagram illustrating a variation of a voltage signal when an ESD interference signal is coupled to a differential trace according to an embodiment of the present invention;
FIG. 4b is a schematic diagram illustrating the variation of the output voltage signal of the voltage comparator when the voltage comparator is subjected to ESD interference according to an embodiment of the present invention;
fig. 5 is a circuit structure diagram of an electronic device including a telescopic camera according to an embodiment of the present invention;
fig. 6 is a flowchart of a data transmission control method according to an embodiment of the present invention;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes a telescopic mechanism, a differential trace on a Flexible Printed Circuit (FPC) of the telescopic mechanism is connected to an input terminal of a voltage comparator 101, and an output terminal of the voltage comparator 101 is connected to an application processor 102 on a motherboard of the electronic device;
the voltage comparator 101 is configured to detect an ESD interference signal caused by electrostatic discharge, and the application processor 102 is configured to process transmission data between the telescopic mechanism and the application processor according to the ESD interference signal detected by the voltage comparator 101.
The telescopic mechanism may be a telescopic component arranged in the electronic device, such as a telescopic camera, a telescopic screen, and the like, and taking the telescopic camera shown in fig. 2 as an example, the telescopic mechanism 20 is provided with an FPC21, and the FPC is provided with differential routing lines, which are usually multiple groups, for transmitting data between the telescopic mechanism and an application Processor of the electronic device, and usually one end of the telescopic mechanism is connected with a signal transmitter and the other end of the telescopic mechanism is connected with a signal receiver, so as to jointly form a Mobile Industry Processor Interface (MIPI) serial link.
As shown in fig. 3, in the conventional electronic device using the retractable camera, the high-speed serial data transceivers (HS-TX and HS-RX) and the low-power single-ended data transceivers (LP-TX and LP-RX) both perform data transmission on a set of differential wires, and the data flow on the differential wires is as indicated by arrows in the figure, where the differential wires are located on the FPC, one of the differential wires connects the low-power transmitter LP-TX and the low-power receiver LP-RX, and the other differential wire connects the high-speed transmitter HS-TX and the high-speed receiver HS-RX.
High-speed data can be recovered to a normal communication state in microsecond level under the condition of ESD transient interference, and once low-speed data is interfered, the low-speed data can be recovered to a normal state within several seconds, so that when the ESD transient interference is coupled to an MIPI link and received by a low-power receiver LP-RX, the sending state machine and the receiving state machine of the MIPI are inconsistent in step, communication errors are caused, under the condition, a receiving end is usually required to be restarted to recover a normal communication mechanism, and the recovery time needs several seconds, so that user experience can be seriously influenced.
In order to avoid the above phenomenon, in the embodiment of the present invention, as shown in fig. 1, a voltage comparator 101 is connected between a differential trace on the FPC of the telescopic mechanism and an application processor 102, so as to detect a time when the telescopic mechanism is subjected to ESD interference in an operating state through the voltage comparator 101, specifically, two ends of the differential trace are respectively connected to a control module 103 and an application processor 102 of the telescopic mechanism, an input end of the voltage comparator 101 is connected to the differential trace, an output end of the voltage comparator 101 is connected to the application processor 102, and the application processor 102 may be disposed on a main board of the electronic device. In addition, since the input impedance of the voltage comparator 101 is very high, the signal integrity of the detected channel is not substantially affected.
The operation principle of detecting ESD interference by the voltage comparator is described below with reference to fig. 4a and 4 b:
when the telescopic mechanism enters a working state and is in an extending state, the voltage comparator also enters the working state, the application processor records the initial state of the output voltage of the voltage comparator, if the initial state is low level, when ESD transient interference is coupled to the differential wiring on the FPC from the telescopic mechanism, the voltage of an input signal exceeds a threshold value VHOr below the threshold VLThe output state of the voltage comparator changes, and as shown in fig. 4b, the voltage comparator outputs a pulse, i.e. the output voltage V of the voltage comparatorOThe ESD interference can be confirmed by the application processor as long as the application processor detects that the voltage comparator outputs a high-level pulse or outputs a plurality of pulses under the condition of strong ESD static electricity.
In order to further improve the ESD interference resistance of the electronic device, the application processor may process transmission data between the telescopic mechanism and the application processor according to the detected ESD interference signal, for example, the transmission data transmitted by the telescopic mechanism and the application processor at the moment of detecting the ESD interference may be deleted, or the data may be retransmitted, instead of taking several seconds to wait for the restart of the signal receiving end, so as to avoid the phenomena of wire flashing, jamming, and deadlocking of the telescopic mechanism in the working state.
Optionally, two of the differential lines are respectively connected to a common-phase voltage comparator and an inverted-phase voltage comparator.
In this embodiment, in order to ensure that all ESD interference is detected more accurately, the two differential lines may be connected to a common-phase voltage comparator and an inverse-phase voltage comparator, respectively, so that when ESD interference is coupled to low-level data, the signal amplitude is smaller than V, and thus the signal amplitude is prevented from being smaller than VHTherefore, the output level of the same-phase voltage comparator is not inverted, and the interference signal cannot be detected. If the inverted voltage comparator is connected to the differential trace, it can be determined that the ESD interference signal is detected when the output level of any one of the voltage comparators is inverted, and the application processor can be triggered to execute corresponding actions.
The following describes the embodiment by taking the telescopic mechanism as a telescopic Camera as an example, please refer to fig. 5, a Camera Module (CCM) in the telescopic Camera includes a low power consumption transmitter LP-TX and a high speed transmitter HS-TX, the CCM Module is connected to a motherboard of an electronic device through differential traces on the FPC, wherein, N groups of differential wires are arranged on the FPC, each group of differential wires comprises two differential wires, in the figure, only one group is illustrated, specifically, the low power consumption transmitter LP-TX and the high speed transmitter HS-TX are both connected to the low power consumption receiver LP-RX and the high speed receiver HS-RX in the PCBA motherboard through the same group of differential traces, and output ends of the low power consumption receiver LP-RX and the high speed receiver HS-RX are both connected to the application processor, so as to transmit the scan data sent by the CCM module to the application processor.
The voltage comparator is connected between the differential wiring and the application processor, specifically, one of the differential wiring of the same group is connected to the same-phase voltage comparator, the other differential wiring of the same group is connected to the reverse voltage comparator, the output ends of the same-phase voltage comparator and the reverse voltage comparator are both connected to the application processor, namely, the output ends of the same-phase voltage comparator and the reverse voltage comparator are respectively connected in parallel to the same-phase voltage comparator and the reverse voltage comparator at the low-power consumption receiver LP-RX end and the high-speed receiver HS-RX end, and the application processor is connected to the display module. Therefore, the application processor can confirm the moment of detecting the ESD interference signal by analyzing the output level change of the voltage comparator, take corresponding measures to correspondingly process the scanning data transmitted by the CCM module, and finally transmit the processed data to the display module for display.
It should be noted that, in practical applications, only one group of differential lines on the FPC of the telescopic mechanism may be connected to the voltage comparator, or each group of differential lines may be connected to the voltage comparator.
Optionally, the voltage comparator is disposed on the electronic device motherboard, that is, in order not to occupy the structural space of the telescopic mechanism, the voltage comparator may be disposed on the electronic device motherboard.
Optionally, the application processor is configured to:
determining that ESD interference is detected under the condition that the telescopic mechanism is in a working state and the output level of the voltage comparator is detected to be converted;
deleting error data transmitted by the telescopic mechanism and the application processor at the moment of detecting the ESD interference, and replacing the error data with historical transmission data; or sending a control signal to a control module in the telescopic mechanism, so that the control module retransmits data.
In this embodiment, the application processor may determine whether ESD interference exists currently by analyzing a change of the output level of the voltage comparator when the telescopic mechanism is in the working state, and specifically, may determine that ESD interference exists at this time when the output level of the voltage comparator is detected to be inverted, for example, when the output level transitions from a low level to a high level.
In order to avoid data display errors caused by the interference affecting the transmission data between the telescopic mechanism and the application processor, in one mode, the error data transmitted at the corresponding time between the telescopic mechanism and the application processor may be deleted, and the error data may be replaced by historical transmission data, and the processed data may be finally output and displayed, wherein the historical transmission data may be data transmitted at the latest time between the telescopic mechanism and the application processor, such as transmission data at the previous time when the ESD interference is detected. It should be noted that, because ESD interference is usually nanosecond, it only interferes with the transmission data between the telescopic mechanism and the application processor and at short time, so after the historical transmission data is used to replace the error data display, it is difficult for the user to distinguish the change by naked eyes, and thus the visual experience of the user is not affected by adopting the scheme.
In another mode, a control signal may be sent to a control module in the telescopic mechanism when ESD interference is detected, so as to trigger the control module to retransmit data to the control module, taking a telescopic camera as an example, the application processor may send a CTR control signal to the CCM module immediately when ESD interference is detected, the CCM module retransmits data to the application processor immediately after receiving the signal, where the data includes a sending state machine, scanning data, a receiving state machine, and the like, and the application processor may transmit the data retransmitted by the CCM module to the display module for display.
Optionally, the telescopic mechanism is a telescopic camera;
the application processor is to:
deleting the nth data in the mth field scanning data transmitted by the CCM module in the telescopic camera, wherein the nth data in the mth field scanning data is scanning data corresponding to the moment when the ESD interference is detected, m is an integer greater than 1, and n is an integer greater than or equal to 1;
and replacing the nth data in the mth field scanning data with the nth data in the (m-1) th field scanning data.
In this embodiment, the telescopic mechanism is a telescopic camera, and a CCM module of the telescopic camera can generally transmit more than 60 fields of scanning data to the application processor every second, where 1 field of scanning data includes hundreds of rows of data, that is, the scanning time of each row of data is about tens of microseconds, and ESD interference is usually in the order of nanoseconds, so that one ESD interference can only affect data of a certain 1 row in a certain 1 field of data transmitted by the CCM module.
Therefore, when the application processor detects the ESD interference, the application processor may lock a corresponding line data in the corresponding field scan data transmitted by the CCM module at the time when the ESD interference is detected, that is, an nth line data in the mth field scan data, and the line data is the data transmitted by the CCM module at the time when the ESD interference exists, delete the line data to control the interfered error data of the line not to be displayed in the display module, and may replace the line data with the same line data in the previous field scan data, that is, replace the nth line data in the mth field scan data with the nth line data in the m-1 field scan data, and finally transmit the replaced data to the display module for display, so as to avoid the problems of the telescopic camera, such as flashing or jamming due to the ESD interference during the shooting process.
Optionally, the telescopic mechanism is a telescopic camera;
the application processor is to:
and sending a control signal to a CCM module in the telescopic camera to enable the CCM module to start transmission from m +1 field scanning data, wherein the m field scanning data is scanning data corresponding to the moment when the ESD interference is detected, and m is an integer greater than or equal to 1.
In this embodiment, when the telescopic mechanism is a telescopic camera, in view of the above similar principle, when the application processor detects ESD interference, it may also be configured to send a control signal to the CCM module in the telescopic camera to trigger the CCM module to start transmission from the m +1 th field of scan data, that is, transmission of the m-th field of scan data transmitted by the CCM module at a time when the ESD interference exists may be skipped, so as to avoid displaying interfered error scan data in the display module, and by triggering transmission of the next field of scan data, phenomena such as flashing or jamming caused by interference in a shooting process may be avoided.
In this embodiment, a voltage comparator is introduced into the electronic device including the telescopic mechanism to detect the ESD interference signal, so that data transmitted by the telescopic mechanism can be processed according to the detected ESD interference signal, thereby preventing the phenomena of data display blocking, jamming and the like caused by restarting of a receiving end, and further improving the ESD interference resistance of the electronic device.
Referring to fig. 6, fig. 6 is a flowchart of a data transmission control method provided in an embodiment of the present invention, which is applied to an electronic device provided in an embodiment of the present invention, and as shown in fig. 6, the method includes the following steps:
step 601, determining that the ESD interference is detected under the condition that the telescopic mechanism is in a working state and the output level of the voltage comparator is detected to be converted.
Step 602, deleting error data transmitted by the telescopic mechanism and the application processor at the moment when the ESD interference is detected, and replacing the error data with historical transmission data; or sending a control signal to a control module in the telescopic mechanism, so that the control module retransmits data.
Optionally, the telescopic mechanism is a telescopic camera;
the deleting error data transmitted by the telescoping mechanism at the moment the ESD interference is detected and replacing the error data with historical transmission data comprises:
deleting the nth data in the mth field scanning data transmitted by the CCM module in the telescopic camera, wherein the nth data in the mth field scanning data is scanning data corresponding to the moment when the ESD interference is detected, m is an integer greater than 1, and n is an integer greater than or equal to 1;
and replacing the nth data in the mth field scanning data with the nth data in the (m-1) th field scanning data.
Optionally, the telescopic mechanism is a telescopic camera;
the control signal is transmitted to the control module in the telescopic mechanism, so that the control module retransmits data, and the method comprises the following steps:
and sending a control signal to a CCM module in the telescopic camera to enable the CCM module to start transmission from m +1 field scanning data, wherein the m field scanning data is scanning data corresponding to the moment when the ESD interference is detected, and m is an integer greater than or equal to 1.
It should be noted that, this embodiment is an embodiment of a data transmission control method of an electronic device corresponding to fig. 1, and specific implementation manners thereof may refer to relevant descriptions in the embodiment shown in fig. 1, and can achieve the same beneficial effects, and in order to avoid repetition, details are not repeated here.
In an embodiment of the present invention, the electronic device may be any device having a storage medium, for example: terminal devices such as computers (Computer), Mobile phones, Tablet Personal computers (Tablet Personal Computer), Laptop computers (Laptop Computer), Personal Digital Assistants (PDA), Mobile Internet Devices (MID), and Wearable devices (Wearable Device).
In the data transmission control method in this embodiment, the ESD interference signal is detected, and the data transmitted by the telescopic mechanism is processed under the detected condition, so that the phenomena of data display blocking, jamming and the like caused by restarting of the receiving end are avoided, and the ESD interference resistance of the electronic device is further improved.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, where the electronic device 700 further includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, an application processor 710, a power supply 711, and a telescopic mechanism 712. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Differential wiring on a Flexible Printed Circuit (FPC) of the telescopic mechanism 712 is connected with an input end of a voltage comparator, and an output end of the voltage comparator is connected with an application processor 710 on a mainboard of the electronic device 700;
wherein, the application processor 710 is configured to determine that ESD interference is detected when the scaling mechanism 712 is in an operating state and a transition of the output level of the voltage comparator is detected;
deleting error data transmitted by the scaling mechanism 712 and the application processor at the moment the ESD interference is detected, and replacing the error data with historical transmission data; alternatively, a control signal is sent to the control module in the telescoping mechanism 712, causing the control module to retransmit the data.
Optionally, the telescopic mechanism 712 is a telescopic camera;
the application processor 710 is further configured to:
deleting the nth data in the mth field scanning data transmitted by the CCM module in the telescopic camera, wherein the nth data in the mth field scanning data is scanning data corresponding to the moment when the ESD interference is detected, m is an integer greater than 1, and n is an integer greater than or equal to 1;
and replacing the nth data in the mth field scanning data with the nth data in the (m-1) th field scanning data.
Optionally, the telescopic mechanism 712 is a telescopic camera;
the application processor 710 is further configured to:
and sending a control signal to a CCM module in the telescopic camera to enable the CCM module to start transmission from m +1 field scanning data, wherein the m field scanning data is scanning data corresponding to the moment when the ESD interference is detected, and m is an integer greater than or equal to 1.
The electronic device 700 is capable of implementing the processes implemented by the electronic device in the foregoing embodiments, and in order to avoid repetition, the details are not described here. The electronic device 700 according to the embodiment of the present invention may detect the ESD interference signal by introducing the voltage comparator, so as to process the data transmitted by the telescopic mechanism according to the detected ESD interference signal, thereby avoiding the phenomena of data display jam, deadlocking, and the like caused by the restart of the receiving end, and further improving the ESD interference resistance of the electronic device.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the application processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 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 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 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 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 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 application processor 710, receives a command from the application processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the application processor 710 to determine the type of the touch event, and then the application processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. 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 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 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 709 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 application processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby performing overall monitoring of the electronic device. Application processor 710 may include one or more processing units; preferably, the application processor 710 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 applications processor 710.
The electronic device 700 may further include a power supply 711 (e.g., a battery) for supplying power to various components, and preferably, the power supply 711 may be logically connected to the application processor 710 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes an application processor 710, a memory 709, and a computer program that is stored in the memory 709 and can be run on the application processor 710, and when the computer program is executed by the application processor 710, the computer program implements each process of the foregoing data transmission control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the data transmission control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 (9)

1. An electronic device is characterized by comprising a telescopic mechanism, wherein differential wiring on a Flexible Printed Circuit (FPC) of the telescopic mechanism is connected with an input end of a voltage comparator, and an output end of the voltage comparator is connected with an application processor on a mainboard of the electronic device;
the voltage comparator is used for detecting an electrostatic discharge (ESD) interference signal, and the application processor is used for processing transmission data between the telescopic mechanism and the application processor according to the ESD interference signal detected by the voltage comparator; n groups of differential wirings are arranged on the FPC, each group of differential wirings comprises two differential wirings, one differential wiring in each group of differential wirings is connected with a low-power-consumption transmitter and a low-power-consumption receiver, and the other differential wiring in each group of differential wirings is connected with a high-speed transmitter and a high-speed receiver; n is an integer greater than or equal to 1;
two wires in the same group of differential wires are respectively connected with a same-phase voltage comparator and an opposite-phase voltage comparator.
2. The electronic device of claim 1, wherein the voltage comparator is disposed on the electronic device motherboard.
3. The electronic device of claim 1, wherein the application processor is configured to:
determining that ESD interference is detected under the condition that the telescopic mechanism is in a working state and the output level of the voltage comparator is detected to be converted;
deleting error data transmitted by the telescopic mechanism and the application processor at the moment of detecting the ESD interference, and replacing the error data with historical transmission data; or sending a control signal to a control module in the telescopic mechanism, so that the control module retransmits data.
4. The electronic device of claim 3, wherein the telescoping mechanism is a telescoping camera;
the application processor is to:
deleting the nth data in the mth field of scanning data transmitted by the camera module CCM in the telescopic camera;
replacing the nth data in the mth field scanning data with the nth data in the (m-1) th field scanning data;
and the nth row of data in the mth field of scanning data is scanning data corresponding to the moment when the ESD interference is detected, m is an integer larger than 1, and n is an integer larger than or equal to 1.
5. The electronic device of claim 3, wherein the telescoping mechanism is a telescoping camera;
the application processor is to:
sending a control signal to a CCM module in the telescopic camera to enable the CCM module to start transmission from the m +1 field of scanning data;
wherein the mth field scan data is scan data corresponding to a time when the ESD interference is detected, and m is an integer greater than or equal to 1.
6. A data transmission control method applied to the electronic device according to any one of claims 1 to 2, the method comprising:
determining that ESD interference is detected under the condition that the telescopic mechanism is in a working state and the output level of the voltage comparator is detected to be converted;
deleting error data transmitted by the telescopic mechanism and the application processor at the moment of detecting the ESD interference, and replacing the error data with historical transmission data; or sending a control signal to a control module in the telescopic mechanism, so that the control module retransmits data.
7. The method of claim 6, wherein the telescoping mechanism is a telescoping camera;
the deleting error data transmitted by the telescoping mechanism at the moment the ESD interference is detected and replacing the error data with historical transmission data comprises:
deleting the nth data in the mth field of scanning data transmitted by the CCM module in the telescopic camera;
replacing the nth data in the mth field scanning data with the nth data in the (m-1) th field scanning data;
and the nth row of data in the mth field of scanning data is scanning data corresponding to the moment when the ESD interference is detected, m is an integer larger than 1, and n is an integer larger than or equal to 1.
8. The method of claim 6, wherein the telescoping mechanism is a telescoping camera;
the control signal is transmitted to the control module in the telescopic mechanism, so that the control module retransmits data, and the method comprises the following steps:
sending a control signal to a CCM module in the telescopic camera to enable the CCM module to start transmission from the m +1 field of scanning data;
wherein the mth field scan data is scan data corresponding to a time when the ESD interference is detected, and m is an integer greater than or equal to 1.
9. An electronic device is characterized by comprising a telescopic mechanism, wherein differential wiring on a Flexible Printed Circuit (FPC) of the telescopic mechanism is connected with an input end of a voltage comparator, and an output end of the voltage comparator is connected with an application processor on a mainboard of the electronic device;
the electronic device further comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps in the data transmission control method according to any one of claims 6 to 8.
CN202010074900.6A 2020-01-22 2020-01-22 Electronic device and data transmission control method Active CN111327734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010074900.6A CN111327734B (en) 2020-01-22 2020-01-22 Electronic device and data transmission control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010074900.6A CN111327734B (en) 2020-01-22 2020-01-22 Electronic device and data transmission control method

Publications (2)

Publication Number Publication Date
CN111327734A CN111327734A (en) 2020-06-23
CN111327734B true CN111327734B (en) 2021-07-27

Family

ID=71172120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010074900.6A Active CN111327734B (en) 2020-01-22 2020-01-22 Electronic device and data transmission control method

Country Status (1)

Country Link
CN (1) CN111327734B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5969626A (en) * 1996-10-09 1999-10-19 Altera Corporation ESD ground monitor for electrostatic safe work tables
CN2899228Y (en) * 2006-02-28 2007-05-09 环达电脑(上海)有限公司 Antistatic discharging protective circuit at electronic product interface
JP2010206585A (en) * 2009-03-04 2010-09-16 Seiko Epson Corp Image reading apparatus
JP2010213246A (en) * 2009-03-12 2010-09-24 Ricoh Co Ltd Receiving device, driver, and image forming apparatus
TWI591795B (en) * 2016-05-09 2017-07-11 瑞昱半導體股份有限公司 Electro-static discharge protection circuit
CN110088637B (en) * 2016-12-21 2021-07-27 阿尔卑斯阿尔派株式会社 Capacitance detection device and input device

Also Published As

Publication number Publication date
CN111327734A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN108319390B (en) Control method of flexible screen and mobile terminal
CN110109593B (en) Screen capturing method and terminal equipment
CN108897486B (en) Display method and terminal equipment
CN111638837B (en) Message processing method and electronic equipment
CN111106821B (en) Touch control method and wearable device
CN110913067A (en) Information sending method and electronic equipment
CN111147912B (en) Bullet screen display control method and electronic equipment
CN111309205B (en) Application sharing method, first electronic device and computer-readable storage medium
WO2020192324A1 (en) Interface displaying method and terminal device
CN108920040B (en) Application icon sorting method and mobile terminal
CN111596990A (en) Picture display method and device
CN111651387B (en) Interface circuit and electronic equipment
CN111327768B (en) Display control method, electronic device, and computer-readable storage medium
CN109597546B (en) Icon processing method and terminal equipment
CN112217713B (en) Method and device for displaying message
CN111327734B (en) Electronic device and data transmission control method
CN108924319B (en) Proximity detection method and mobile terminal
CN110225192B (en) Message display method and mobile terminal
CN110784571B (en) Electronic equipment and image display method
CN108287884B (en) Page display method and mobile terminal
CN111142725A (en) Icon sorting method, electronic equipment and computer readable storage medium
CN110851219A (en) Information processing method and electronic equipment
CN110928462B (en) Display method and electronic equipment
CN109471539B (en) Input content modification method and mobile terminal
CN109164948B (en) Touch screen electrostatic capacitance supplementing device and method and mobile terminal

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