CN110289915B - Data transmission method, terminal and storage medium - Google Patents
Data transmission method, terminal and storage medium Download PDFInfo
- Publication number
- CN110289915B CN110289915B CN201910550300.XA CN201910550300A CN110289915B CN 110289915 B CN110289915 B CN 110289915B CN 201910550300 A CN201910550300 A CN 201910550300A CN 110289915 B CN110289915 B CN 110289915B
- Authority
- CN
- China
- Prior art keywords
- ultrasonic
- terminal
- signal
- layer
- ultrasonic signal
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B11/00—Transmission systems employing sonic, ultrasonic or infrasonic waves
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/0202—Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
- H04M1/026—Details of the structure or mounting of specific components
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
- Image Input (AREA)
Abstract
The embodiment of the application provides a data transmission method, a terminal and a storage medium, wherein the data transmission method comprises the following steps: the method comprises the steps that a first terminal determines data to be transmitted; the first terminal sends a first ultrasonic signal according to the data to be transmitted; the first terminal receives a second ultrasonic signal fed back by a second terminal; and the first terminal transmits the data to be transmitted to the second terminal according to the second ultrasonic signal. According to the embodiment of the application, the first terminal and the second terminal can realize the data transmission of the first terminal and the second terminal through the transmission and the reception of the ultrasonic signals, and manual operation of a user is not needed.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a data transmission method, a terminal, and a storage medium.
Background
With the development of electronic technology, terminals such as smart phones are used more and more frequently in the life of users. For example, the user may implement a social function, a shopping function, a payment function, a data transmission function, and the like through the terminal.
In the related art, the terminal mainly relies on bluetooth and WiFi for data transmission.
Disclosure of Invention
The embodiment of the application provides a data transmission method, a terminal and a storage medium, which are convenient for transmitting data signals.
An embodiment of the present application provides a data transmission method, including:
the method comprises the steps that a first terminal determines data to be transmitted;
the first terminal sends a first ultrasonic signal according to the data to be transmitted;
the first terminal receives a second ultrasonic signal fed back by a second terminal;
and the first terminal transmits the data to be transmitted to the second terminal according to the second ultrasonic signal.
An embodiment of the present application further provides a data transmission method, including:
the second terminal receives a first ultrasonic signal sent by the first terminal;
the second terminal sends a second ultrasonic signal according to the first ultrasonic signal;
and the second terminal receives the data to be transmitted, which is transmitted by the first terminal according to the second ultrasonic signal.
An embodiment of the present application provides a terminal, including:
the ultrasonic signal processing device comprises a first ultrasonic module and a second ultrasonic module, wherein the first ultrasonic module comprises a first ultrasonic transmitting part and a first ultrasonic receiving part, the first ultrasonic transmitting part is used for transmitting a first ultrasonic signal, and the first ultrasonic receiving part is used for receiving a second ultrasonic signal;
the processor, with first ultrasonic wave module electric connection, the processor is used for:
determining data to be transmitted;
controlling the first ultrasonic wave transmitting part to transmit a first ultrasonic wave signal according to the data to be transmitted;
controlling the first ultrasonic receiving part to receive a second ultrasonic signal fed back by a second terminal;
and transmitting the data to be transmitted to the second terminal according to the second ultrasonic signal.
An embodiment of the present application further provides a terminal, including:
a second ultrasonic module including a second ultrasonic transmitting unit for transmitting a second ultrasonic signal and a second ultrasonic receiving unit for receiving the first ultrasonic signal;
the processor, with second ultrasonic wave module electric connection, the processor is used for:
controlling the second ultrasonic receiving part to receive a first ultrasonic signal sent by a first terminal;
controlling the second ultrasonic wave transmitting part to transmit a second ultrasonic wave signal according to the first ultrasonic wave signal;
and receiving data to be transmitted, which is transmitted by the first terminal according to the second ultrasonic signal.
An embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute any one of the methods described above.
In the embodiment of the application, the first terminal and the second terminal can realize the data transmission of the first terminal and the second terminal through the transmission and the reception of the ultrasonic signals without manual operation of a user.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a first structural schematic diagram of a terminal according to an embodiment of the present application.
Fig. 2 is a cross-sectional view of an ultrasonic sensor in a terminal according to an embodiment of the present application.
Fig. 3 is a cross-sectional view of the display screen in the terminal shown in fig. 1, taken along the direction Q-Q.
Fig. 4 is a schematic diagram illustrating a principle of fingerprint recognition performed by an ultrasonic sensor according to an embodiment of the present application.
Fig. 5 is a schematic view of a scene in which an ultrasonic sensor performs fingerprint identification according to an embodiment of the present application.
Fig. 6 is another schematic diagram of an ultrasonic sensor for fingerprint recognition according to an embodiment of the present disclosure.
Fig. 7 is a schematic diagram illustrating a change of a reflected signal received by an ultrasonic sensor in a terminal according to an embodiment of the present application.
Fig. 8 is a block diagram of a terminal according to an embodiment of the present application.
Fig. 9 is a schematic view of a scenario in which a terminal performs data transmission according to an embodiment of the present application.
Fig. 10 is a flowchart illustrating a data transmission method according to an embodiment of the present application.
Fig. 11 is another schematic flow chart of a data transmission method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The embodiment of the application provides a terminal. The terminal may be a smart phone, a tablet computer, or other devices, and may also be a game device, an AR (Augmented Reality) device, an automobile device, a data storage device, an audio playing device, a video playing device, a notebook computer, a desktop computing device, or the like.
Referring to fig. 1, fig. 1 is a schematic view of a first structure of a terminal according to an embodiment of the present application. The terminal 10 includes a display 11, a cover plate 12, a middle frame 13, a circuit board 14, a battery 15, and a rear cover 16.
The display screen 11 may be mounted on the middle frame 13 and connected to the rear cover 16 through the middle frame 13 to form a display surface of the terminal 10 for displaying information such as images and texts. Meanwhile, the display 11 may serve as a front case of the terminal 10. The Display screen 11 may be a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) Display screen.
A cover plate 12 may be mounted on the middle frame 13, and the cover plate 12 covers the display screen 11 to protect the display screen 11 from being scratched or damaged by water. The cover 12 may be a transparent glass cover, so that a user can see the contents displayed on the display screen 11 through the cover 12. It will be appreciated that the cover plate 12 may be a glass cover plate of sapphire material.
The middle frame 13 may have a thin plate-like or sheet-like structure, or may have a hollow frame structure. The middle frame 13 is used for providing a supporting function for the electronic components or functional modules in the terminal 10 so as to mount the electronic components or functional modules in the terminal together.
The display 11, the middle frame 13 and the rear cover 16 may together form a housing of the terminal 10 for accommodating or mounting electronic components, functional components and the like of the terminal. For example, functional components such as a camera, a receiver, a circuit board, a sensor, and a battery in the terminal may be mounted on the center frame 13 to be fixed. It is understood that the material of the middle frame 13 may include metal or plastic.
The circuit board 14 may be mounted on the middle frame 13. The circuit board 14 may be the main board of the terminal 10. A ground point is provided on the circuit board 14 to ground the circuit board 14. One or more of the functional components of a microphone, a speaker, a receiver, an earphone interface, a camera, an acceleration sensor, an ambient light sensor, a gyroscope, and a processor may be integrated on the circuit board 14. Meanwhile, the display screen 11 may be electrically connected to the circuit board 14.
The battery 15 may be mounted on the middle frame 13. Meanwhile, the battery 15 is electrically connected to the circuit board 14 to enable the battery 15 to power the terminal 10. The circuit board 14 may be provided thereon with a power management circuit. The power management circuit is used to distribute the voltage provided by the battery 15 to the various electronic components in the terminal 10.
The rear cover 16 may be integrally formed. In the molding process of the rear cover 16, a rear camera hole or the like may be formed in the rear cover 16.
It will be appreciated that a fingerprint recognition sensor may be provided in the terminal 10. In the embodiment of the application, the fingerprint identification sensor is realized by an ultrasonic sensor. The ultrasonic sensor may be provided inside the terminal 10, for example, the ultrasonic sensor may be mounted on the middle frame 13 of the terminal 10. The ultrasonic sensor is used for collecting the fingerprint of the user and identifying the fingerprint of the user, so that the safety of the user using the terminal is guaranteed.
Referring to fig. 2, fig. 2 is a cross-sectional view of an ultrasonic sensor 20 in the terminal 10 according to the embodiment of the present disclosure.
The ultrasonic sensor 20 includes a control circuit layer 21, a negative electrode layer 22, a piezoelectric material layer 23, a positive electrode layer 24, and a fixed layer 25. The control circuit layer 21, the negative electrode layer 22, the piezoelectric material layer 23, the positive electrode layer 24, and the fixing layer 25 are sequentially stacked.
The control circuit layer 21 is used for controlling the ultrasonic sensor 20, for example, controlling the ultrasonic sensor 20 to emit an ultrasonic signal and controlling the ultrasonic sensor 20 to receive a reflection signal of an obstacle. The control circuit layer 21 may include a plurality of Thin Film Transistors (TFTs) and a connection circuit between the TFTs.
The negative electrode layer 22 and the positive electrode layer 24 constitute two electrodes of the piezoelectric material layer 23, so that a voltage can be applied to the piezoelectric material layer 23 through the negative electrode layer 22 and the positive electrode layer 24. Wherein the positive electrode layer 24 may be a silver paste layer.
The piezoelectric material layer 23 is used to generate an ultrasonic signal and receive a reflected signal of an obstacle. Wherein the piezoelectric material layer 23 comprises a piezoelectric material, which may be, for example, a piezoelectric ceramic.
When an ac voltage is applied to the piezoelectric material layer 23, for example, a high-frequency oscillation signal is applied to the piezoelectric material layer 23, the piezoelectric material layer 23 generates an ultrasonic signal and emits the ultrasonic signal to the outside. When no voltage is applied to the piezoelectric material layer 23, the piezoelectric material layer 23 may receive an ultrasonic signal reflected by an external obstacle, and convert the received reflected signal into a corresponding electrical signal, thereby implementing identification of the reflected signal.
The fixing layer 25 is used to fix the ultrasonic sensor 20, so as to implement the installation of the ultrasonic sensor 20 in the terminal 10. For example, the fixing layer 25 may be a colloidal layer.
It will be appreciated that the ultrasonic sensor may also be integrated into the display 11 of the terminal 10 in order to reduce the occupation of the internal space of the terminal by the ultrasonic sensor or to enhance the intensity of the ultrasonic signal emitted to the outside by the ultrasonic sensor.
Referring to fig. 3, fig. 3 is a cross-sectional view of the display 11 in the terminal 10 shown in fig. 1, taken along the direction Q-Q. Wherein the ultrasonic sensor is integrated in the display screen 11.
The display panel 11 includes an upper glass substrate 11a, an ultrasonic sensor control circuit layer 11b, a negative electrode layer 11c, a light emitting layer 11d, a piezoelectric material layer 11e, a positive electrode layer 11f, a fixing layer 11g, and a lower glass substrate 11h, which are laminated in this order. The upper glass substrate 11a, the light emitting layer 11d and the lower glass substrate 11h are used for realizing the display function of the display screen; the ultrasonic sensor control circuit layer 11b, the negative electrode layer 11c, the piezoelectric material layer 11e, the positive electrode layer 11f and the fixing layer 11g are used for realizing the functions of transmitting an ultrasonic signal and receiving a reflected signal of the ultrasonic sensor, so that the integration of the ultrasonic sensor in a display screen is realized.
The upper glass substrate 11a and the lower glass substrate 11h serve as glass substrates on both sides of the display panel 11 to provide a supporting function for other layered structures of the display panel 11, or it is understood that other layered structures of the display panel 11 may be disposed on the upper glass substrate 11a and the lower glass substrate 11 h. The light emitting layer 11d is used to emit light or transmit light, thereby allowing the display panel 11 to display information. For example, when the Display panel 11 is a Liquid Crystal Display (LCD), the light-emitting layer 11d includes a Liquid Crystal layer; when the display panel 11 is an Organic Light-Emitting Diode (OLED) display panel, the Light-Emitting layer 11d includes an Organic Light-Emitting layer.
The ultrasonic sensor control circuit layer 11b is used to control the ultrasonic sensor integrated in the display screen 11, for example, to control the ultrasonic sensor to emit an ultrasonic signal and to control the ultrasonic sensor to receive a reflected signal of an obstacle. It is understood that the ultrasonic sensor control circuit layer 11b may be used to control the piezoelectric material layer 11e to generate an ultrasonic signal or to receive a reflected signal of an obstacle.
The negative electrode layer 11c and the positive electrode layer 11f constitute two electrodes of the piezoelectric material layer 11e, and thereby apply a voltage to the piezoelectric material layer 11 e. Wherein the positive electrode layer 11f may be a silver paste layer.
The piezoelectric material layer 11e is used for generating an ultrasonic signal and receiving a reflected signal of an obstacle. Wherein the piezoelectric material layer 11e includes a piezoelectric material, which may be, for example, a piezoelectric ceramic.
The fixing layer 11g is used to fix the ultrasonic sensor. For example, the fixing layer 11g is used to fix the positive electrode layer 11f on the lower glass substrate 11 h.
Here, the ultrasonic sensor control circuit layer 11b, the negative electrode layer 11c, the piezoelectric material layer 11e, the positive electrode layer 11f, and the fixing layer 11g may also refer to the above description of the control circuit layer 21, the negative electrode layer 22, the piezoelectric material layer 23, the positive electrode layer 24, and the fixing layer 25.
It is understood that the display panel 11 may further include one or more polarizers, one or more color filters, one or more panel driving electrodes, one or more panel control circuits, and the like. The polaroid, the color filter, the display screen driving electrode and the display screen control circuit are also used for realizing the display function of the display screen. For example, the polarizer is used for polarizing light emitted by the display screen, the color filter is used for color filtering light emitted by the display screen, the display screen driving electrode is used for inputting driving signals such as data signals and scanning signals to the display screen, and the display screen control circuit is used for controlling the display screen. Wherein the display screen control circuit may include a plurality of TFTs and a connection circuit between the plurality of TFTs.
The control circuit layer 11b of the ultrasonic sensor and the control circuit of the display screen in the display screen 11 may also be replaced by a control circuit, that is, the control circuit of the ultrasonic sensor and the control circuit of the display screen share a control circuit. Therefore, the situation that a plurality of control circuits are arranged inside the display screen can be avoided, and the layout space utilization rate inside the display screen can be improved.
For example, both the control of the ultrasonic sensor and the control of the display screen can be realized by the ultrasonic sensor control circuit layer 11 b. The ultrasonic sensor control circuit layer 11b may implement common control over the ultrasonic sensor and the display screen by partitioning, that is, a part of circuits in the ultrasonic sensor control circuit layer 11b is used to implement control over the ultrasonic sensor, and another part of circuits is used to implement control over the display screen.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a principle of fingerprint recognition by an ultrasonic sensor according to an embodiment of the present application.
Wherein, when the finger of the user contacts or presses on the surface of the terminal (such as the surface of a display screen), the terminal controls the ultrasonic sensor to emit the ultrasonic signal towards the direction of the finger. When the ultrasonic wave signal contacts with a finger, a reflection signal is generated. The reflected signal is reflected to the ultrasonic sensor and received by the ultrasonic sensor. And then, the ultrasonic sensor converts the received reflection signal into a corresponding electric signal, and the fingerprint image of the finger of the user can be obtained.
It will be appreciated that the finger surface presents a fingerprint pattern formed by areas of relief. Therefore, when the ultrasonic signal is reflected by different areas of the fingerprint pattern to form a reflected signal, the intensity of the reflected signal is different, and the intensity of the reflected signal received by the ultrasonic sensor at different parts of the finger is also different. Therefore, the ultrasonic sensor can acquire the concave-convex degrees of different parts of the finger according to the intensity of the reflected signals of the different parts of the finger, and a three-dimensional fingerprint image of the finger of the user can be formed.
For example, the deepest depressions in the fingerprint pattern may be referred to as fingerprint valleys, and the highest projections in the fingerprint pattern may be referred to as fingerprint ridges. When the user's finger reflects the ultrasonic signal to generate a reflection signal, the intensity of the reflection signal generated by the fingerprint valley is the weakest, and the intensity of the reflection signal generated by the fingerprint ridge is the strongest. The ultrasonic sensor can identify fingerprint valleys and fingerprint ridges on the finger according to the received intensity of the reflected signals generated by different parts of the finger.
Referring to fig. 5, 6, and 7, fig. 5 is a schematic view of a scene where an ultrasonic sensor performs fingerprint identification according to an embodiment of the present disclosure, fig. 6 is another schematic view of an ultrasonic sensor performing fingerprint identification according to an embodiment of the present disclosure, and fig. 7 is a schematic view of a change of a reflection signal received by the ultrasonic sensor in a terminal according to an embodiment of the present disclosure.
It will be appreciated that the user's finger presents an epidermis layer and a dermis layer with a thickness therebetween, that is, the thickness of the epidermis layer. Although the thickness of the epidermis layer of the finger is small, for example, 0.5mm (milliseconds), it is sufficient to influence the reflection signal generated by the reflection of the ultrasonic signal by the finger.
After the ultrasonic sensor emits the ultrasonic signal, the ultrasonic signal contacts the epidermis layer of the finger of the user to generate a reflection signal, which is the epidermis layer reflection signal or is called as a first reflection signal. Meanwhile, when the ultrasonic signal is reflected by the epidermis layer of the finger, the ultrasonic signal also penetrates the epidermis layer of the finger and contacts the dermis layer of the finger, and is reflected by the dermis layer to generate a reflection signal, namely a dermis layer reflection signal, or a second reflection signal. The first reflected signal and the second reflected signal are both reflected back to the ultrasonic sensor and are received by the ultrasonic sensor.
On the other hand, since it takes a certain period of time for the ultrasound signal to transmit through the epidermis layer of the finger to the epidermis layer, and it also takes a certain period of time for the second reflection signal generated by the reflection of the dermis layer to transmit from the dermis layer to the epidermis layer, the time when the ultrasound sensor receives the first reflection signal is earlier than the time when the second reflection signal is received. That is, the time t when the ultrasonic sensor receives the first reflected signal1And the time t of receiving the second reflected signal2With a time interval T in between. The time period T is 2 times the time period it takes for the ultrasonic signal to be transmitted from the epidermal layer of the finger to the dermis layer, as shown in fig. 7.
As can be seen from the above, the ultrasonic sensor 20 of the embodiment of the present application may be integrated inside the display screen 11 to realize the on-screen fingerprint recognition. The application of the terminal 10 using the ultrasonic sensor 20 is not limited to this. Such as the terminal 10, may utilize the ultrasonic sensor 20 to enable data transmission.
Referring to fig. 8, fig. 8 is a block diagram of a terminal according to an embodiment of the present disclosure. The terminal 10 may further include a processor 142 and a memory 144, the processor 142 and the memory 144 being electrically connected, and the processor 142 and the memory 144 may be integrated on the circuit board 14.
The memory 144 may be used for storing computer programs and data, such as for storing data to be transmitted, which may be audio data, address book data or other data. The memory 144 stores computer programs comprising instructions executable in the processor 142. The computer program may constitute various functional modules.
The processor 142 is a control center of the terminal 100, connects various parts of the entire terminal 10 using various interfaces and lines, and performs various functions of the terminal 10 and processes data by running or calling a computer program stored in the memory 144 and calling data stored in the memory 144, thereby performing overall monitoring of the terminal 10. Such as the processor 142 controlling the display 12 of the terminal 10 to display a screen, such as the processor 142 controlling the ultrasonic sensor 20 of the terminal 10 to unlock the fingerprint, such as the processor 142 controlling the terminal 10 to transmit data.
The ultrasonic sensor 20 may further include an ultrasonic transmitting section 220 and an ultrasonic receiving section 240. The ultrasonic wave transmitter 220 may transmit an ultrasonic wave signal, and the ultrasonic wave receiver 240 may receive the ultrasonic wave signal. The ultrasonic signal transmitted by the ultrasonic transmitter 220 and the ultrasonic signal received by the ultrasonic receiver 240 may be the same or different.
The terminal 10 can implement data transmission by the ultrasonic signal it transmits or receives. Such as the first terminal and the second terminal, can transceive ultrasonic signals to and from each other and realize data transmission according to the ultrasonic signals transceived to and from each other.
Referring to fig. 9, fig. 9 is a schematic view of a scenario of data transmission performed by a terminal according to an embodiment of the present application. The first terminal 10a may have a first ultrasonic sensor 20a, which may be disposed in a housing of the first terminal 10a or in a display of the first terminal 10 a. The first ultrasonic sensor 20a may include a first ultrasonic transmitting part 220a and a first ultrasonic receiving part 240a, and the first ultrasonic transmitting part 220a may transmit a first ultrasonic signal, such as an ultrasonic signal of a first waveform. The first ultrasonic wave receiving part 240a may receive a second ultrasonic wave signal, such as an ultrasonic wave signal of a second waveform. The first ultrasonic signal and the second ultrasonic signal may be the same or different.
The second terminal 10b may have a second ultrasonic sensor 20b, which may be disposed in a housing of the second terminal 10b or a display of the second terminal 10 b. The second ultrasonic sensor 20b may include a second ultrasonic transmitting part 220b and a second ultrasonic receiving part 240b, and the second ultrasonic transmitting part 220b may transmit a second ultrasonic signal, such as an ultrasonic signal of a second waveform. That is, the second ultrasonic signal transmitted by the second ultrasonic transmitter 220b can be received by the first ultrasonic receiver 240 a. The second ultrasonic wave receiving part 240b may receive a first ultrasonic wave signal, such as an ultrasonic wave signal of a first waveform. That is, the second ultrasonic wave receiving unit 240b can receive the first ultrasonic wave signal transmitted from the first ultrasonic wave transmitting unit 220 a.
Among them, the ultrasonic signal of the first waveform may be various shapes. The ultrasonic signal of the first waveform may last for a preset duration, such as 1 millisecond, 2 milliseconds, 3 milliseconds, etc. of the ultrasonic signal of the first waveform. The first ultrasonic wave transmitting part 220a may transmit a plurality of ultrasonic wave signals of the first waveform, such as the first ultrasonic wave transmitting part 220a may transmit 8 ultrasonic wave signals of the first waveform, 10 ultrasonic wave signals of the first waveform, and the like. Wherein, the interval duration of two adjacent first waveforms may be 1 millisecond, 2 milliseconds, 3 milliseconds, etc. In some embodiments, the duration of the first waveform may be equal to the interval duration of two adjacent first waveforms.
Likewise, the ultrasonic signal of the second waveform may be of various shapes. The ultrasonic signal of the second waveform may last for a preset duration, such as 1 millisecond, 2 milliseconds, 3 milliseconds, etc. of the ultrasonic signal of the second waveform. The second ultrasonic wave transmitting part 220b may transmit a plurality of ultrasonic wave signals of the second waveform, such as the second ultrasonic wave transmitting part 220b may transmit 8 ultrasonic wave signals of the second waveform, 10 ultrasonic wave signals of the second waveform, and the like. Wherein, the interval duration of two adjacent second waveforms may be 1 millisecond, 2 milliseconds, 3 milliseconds, etc. In some embodiments, the duration of the second waveform may be equal to the interval duration of two adjacent second waveforms.
When data needs to be transmitted, a terminal such as the first terminal 10a may determine, via its processor, the data to be transmitted, such as audio data, address book data, etc. The processor of the first terminal 10a may, however, control the first ultrasonic transmission section 220a to transmit the first ultrasonic signal according to the determined data to be transmitted. The first ultrasonic signal may be transmitted to the second terminal 10 b. If the processor of the second terminal 10b controls the second ultrasonic wave receiving unit 240b to receive the first ultrasonic wave signal, the processor of the second terminal 10b may control the second ultrasonic wave transmitting unit 220b to transmit the second ultrasonic wave signal according to the received first ultrasonic wave signal, and the second terminal 10b may transmit the second ultrasonic wave signal to the first terminal 10 a. The processor of the first terminal 10a may control the first ultrasonic receiving part 240a to receive the second ultrasonic signal fed back by the second terminal 10 b. Further, the processor of the first terminal 10a may transmit data to be transmitted to the second terminal 10b according to the second ultrasonic signal. Therefore, data transmission between the two terminals is realized, the data transmission can be realized by realizing the communication connection of the two terminals without additional manual control, and the operation of a user is more convenient.
It should be noted that, when the processor of the second terminal 10b controls the second ultrasonic receiving part 240b to receive the first ultrasonic signal, the processor of the second terminal 10b may compare the first ultrasonic signal with a preset ultrasonic signal, and when the first ultrasonic signal is the same as the preset ultrasonic signal, the processor of the second terminal 10b controls the second ultrasonic receiving part 220b to send the second ultrasonic signal. And if the first ultrasonic signal is different from the ultrasonic signal preset in the second terminal 10b, the processor of the second terminal 10b does not control the second ultrasonic transmitting part 220b to transmit the second ultrasonic signal.
It should be noted that, when the processor of the first terminal 10a controls the first ultrasonic receiving part 240a to receive the second ultrasonic signal, the processor of the first terminal 10a may compare the second ultrasonic signal with the first preset ultrasonic signal, and when the first ultrasonic signal is the same as the first preset ultrasonic signal, the processor of the first terminal 10a controls the first terminal 10a to transmit the data to be transmitted to the second terminal 10 b. And if the second ultrasonic signal is different from the first preset ultrasonic signal in the first terminal 10a, the first terminal 10a controls the first terminal 10a not to transmit data to be transmitted to the second terminal 10 b.
It is understood that if the received second ultrasonic signal of the first terminal 10a is different from the first preset ultrasonic signal, the first terminal 10a may regenerate the first ultrasonic signal at a preset time interval. Such as 100 milliseconds apart, 120 milliseconds apart, etc.
It is also understood that, during the process of the first terminal 10a receiving the second ultrasonic signal, the first terminal 10a may first determine whether it has received the second ultrasonic signal, and if the first terminal 10a has not received the second ultrasonic signal within a preset time, the processor of the first terminal 10a may transmit the first ultrasonic signal at intervals of the preset time, such as intervals of 100 milliseconds, 120 milliseconds, etc. And if the first terminal 10a receives the second ultrasonic signal, the second ultrasonic signal may be compared with the first preset ultrasonic signal to perform control according to the comparison result.
Therefore, according to the embodiment of the application, fingerprint unlocking can be achieved through the ultrasonic sensor 20, data transmission can be achieved, and the use of a user is facilitated.
In the description of the present application, it is to be understood that terms such as "first", "second", and the like are used merely to distinguish one similar element from another, and are not to be construed as indicating or implying relative importance or implying any indication of the number of technical features indicated.
To further illustrate the data transmission using the ultrasonic sensor in the embodiments of the present application, the following description is made in terms of a method.
The embodiment of the present application provides a data transmission method, which can be applied to the terminal 10.
Referring to fig. 10, fig. 10 is a schematic flowchart of a data transmission method according to an embodiment of the present application. With reference to fig. 1 to 9. The data transmission method comprises the following steps:
101, the first terminal 10a determines data to be transmitted. The data to be transmitted may be audio data, address book data, etc.
102, the first terminal 10a sends a first ultrasonic signal according to the data to be transmitted. The processor of the first terminal 10a may control the first ultrasonic wave transmitting part 220a of the ultrasonic sensor 20 to transmit the first ultrasonic wave signal.
103, the first terminal 10a receives the second ultrasonic signal fed back by the second terminal 10 b. After the first ultrasonic signal is received by the first terminal 10a, the processor of the second terminal 10b may control the second ultrasonic receiving part 240b of the ultrasonic sensor 20b to receive the first ultrasonic signal. And the processor of the second terminal 10b may control the second ultrasonic wave transmitting part 220b to transmit the second ultrasonic wave signal based on the first ultrasonic wave signal.
104, the first terminal 10a transmits the data to be transmitted to the second terminal 10b according to the second ultrasonic signal. The processor of the first terminal 10a may control the first ultrasonic wave receiving part 240a of the ultrasonic sensor 20a to receive the second ultrasonic wave signal. And the processor of the first terminal 10a may transmit data to be transmitted to the second terminal 10b based on the second ultrasonic signal that it receives feedback from the second terminal 10 b. Thereby realizing the transmission of data.
The first ultrasonic signal may include a plurality of first waveforms, and the interval duration of two adjacent first waveforms and the duration of the first waveforms may be equal or different. The above contents can be referred to, and are not described in detail herein.
Wherein, the first terminal station is according to waiting to transmit the first ultrasonic signal of data transmission, includes: and the first terminal sends a plurality of first waveforms according to the data to be transmitted.
In some embodiments, after the first terminal receives the second ultrasonic signal fed back by the second terminal, the method further includes: the first terminal compares the second ultrasonic signal with a first preset signal; if the second ultrasonic signal is matched with the first preset signal, the step that the first terminal transmits the data to be transmitted to the second terminal according to the second ultrasonic signal is executed; and if the second ultrasonic signal is not matched with the first preset signal, returning to the step that the first terminal sends the first ultrasonic signal according to the data to be transmitted.
In some embodiments, before the first terminal receives the second ultrasonic signal fed back by the second terminal, the method further includes: the first terminal judges whether the first terminal receives a second ultrasonic signal within a preset time; if the first terminal receives a second ultrasonic signal within the preset time, executing the step that the first terminal receives the second ultrasonic signal fed back by the second terminal; and if the first terminal does not receive the second ultrasonic signal within the preset time, executing the step that the first terminal sends the first ultrasonic signal according to the data to be transmitted.
Referring to fig. 11, fig. 11 is another schematic flow chart of a data transmission method according to an embodiment of the present application. With reference to fig. 1 to 9. The data transmission method comprises the following steps:
and 201, the second terminal receives the first ultrasonic signal transmitted by the first terminal. The processor of the second terminal 10b may control the second ultrasonic wave receiving part 240b of the ultrasonic sensor 20b to receive the first ultrasonic wave signal transmitted by the first terminal 10 a.
202, the second terminal sends a second ultrasonic signal according to the first ultrasonic signal. After the second terminal 20b receives the first ultrasonic signal, based on the first ultrasonic signal, the processor of the second terminal 20b may control the second ultrasonic transmitter 220b of the ultrasonic sensor 20b to transmit the second ultrasonic signal for the first terminal 10a to receive. After the first terminal 10a receives the second ultrasonic signal fed back by the second terminal 10b, the processor of the first terminal 10a may control the first terminal 10a to transmit data to be transmitted to the second terminal 10 b.
203, the second terminal receives the data to be transmitted according to the second ultrasonic signal by the first terminal. The second terminal 10b may receive the data to be transmitted sent by the first terminal 10 a. The data to be transmitted can be audio data, address book data and the like. Thereby, the data transmission between the two terminals can be realized. The two terminals are in communication connection without additional manual operation of a user, and data transmission is more convenient for the user.
It should be noted that, in the implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
The embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the method according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The data transmission method, the terminal and the storage medium provided by the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A data transmission method is applied to a first terminal and is characterized in that the first terminal comprises a first ultrasonic sensor, the first ultrasonic sensor is integrated in a display screen of the first terminal, the display screen comprises an upper glass substrate, a first ultrasonic sensor control circuit layer, a negative electrode layer, a luminous layer, a piezoelectric material layer, a positive electrode layer, a fixed layer and a lower glass substrate which are sequentially stacked, the first ultrasonic sensor is used for collecting fingerprints of users and identifying the fingerprints of the users, the first ultrasonic sensor is also used for transmitting data, the upper glass substrate, the luminous layer and the lower glass substrate are used for realizing the display function of the display screen, the first ultrasonic sensor control circuit layer, the negative electrode layer, the piezoelectric material layer, the positive electrode layer and the fixed layer are used for realizing the functions of the first ultrasonic sensor for transmitting ultrasonic signals and receiving reflected signals, the data transmission method comprises the following steps:
the method comprises the steps that a first terminal determines data to be transmitted;
the first terminal sends a first ultrasonic signal according to the data to be transmitted, wherein the first ultrasonic signal comprises a plurality of first waveforms, and the interval between every two adjacent first waveforms is preset;
the first terminal receives a second ultrasonic signal fed back by a second terminal;
the first terminal compares the second ultrasonic signal with a first preset signal;
if the second ultrasonic signal is matched with the first preset signal, the first terminal transmits the data to be transmitted to the second terminal according to the second ultrasonic signal;
and if the second ultrasonic signal is not matched with the first preset signal, returning to the step that the first terminal sends the first ultrasonic signal according to the data to be transmitted.
2. The data transmission method according to claim 1, wherein a time interval between two adjacent first waveforms is equal to a duration of the first waveforms.
3. The data transmission method according to claim 1 or 2, wherein before the first terminal receives the second ultrasonic signal fed back by the second terminal, the method further comprises:
the first terminal judges whether the first terminal receives a second ultrasonic signal within a preset time;
if the first terminal receives a second ultrasonic signal within the preset time, executing the step that the first terminal receives the second ultrasonic signal fed back by the second terminal;
and if the first terminal does not receive the second ultrasonic signal within the preset time, executing the step that the first terminal sends the first ultrasonic signal according to the data to be transmitted.
4. A data transmission method is applied to a second terminal and is characterized in that the second terminal comprises a second ultrasonic sensor, the second ultrasonic sensor is integrated in a display screen of the second terminal, the display screen comprises an upper glass substrate, a second ultrasonic sensor control circuit layer, a negative electrode layer, a luminous layer, a piezoelectric material layer, a positive electrode layer, a fixed layer and a lower glass substrate which are sequentially stacked, the second ultrasonic sensor is used for collecting fingerprints of users and identifying the fingerprints of the users, the second ultrasonic sensor is also used for transmitting data, the upper glass substrate, the luminous layer and the lower glass substrate are used for realizing the display function of the display screen, the second ultrasonic sensor control circuit layer, the negative electrode layer, the piezoelectric material layer, the positive electrode layer and the fixed layer are used for realizing the functions of the second ultrasonic sensor for transmitting ultrasonic signals and receiving reflected signals, the data transmission comprises:
the second terminal receives a first ultrasonic signal sent by the first terminal;
the second terminal sends a second ultrasonic signal according to the first ultrasonic signal, wherein the second ultrasonic signal comprises a plurality of second waveforms, and two adjacent second waveforms are spaced for a preset time;
and the second terminal receives the data to be transmitted, which is transmitted by the first terminal according to the second ultrasonic signal.
5. The data transmission method according to claim 4, wherein the interval duration of two adjacent second waveforms is equal to the duration of the second waveform.
6. A terminal, comprising:
the display screen comprises an upper glass substrate, a first ultrasonic sensor control circuit layer, a negative electrode layer, a light emitting layer, a piezoelectric material layer, a positive electrode layer, a fixed layer and a lower glass substrate which are sequentially stacked, wherein the upper glass substrate, the light emitting layer and the lower glass substrate are used for realizing the display function of the display screen;
the first ultrasonic sensor comprises a first ultrasonic transmitting part and a first ultrasonic receiving part, the first ultrasonic transmitting part is used for transmitting a first ultrasonic signal, the first ultrasonic receiving part is used for receiving a second ultrasonic signal, the first ultrasonic sensor is integrated in the display screen, the first ultrasonic sensor is used for collecting fingerprints of a user and identifying the fingerprints of the user, the first ultrasonic sensor is also used for transmitting data, and the first ultrasonic sensor control circuit layer, the negative electrode layer, the piezoelectric material layer, the positive electrode layer and the fixed layer are used for realizing the functions of transmitting the ultrasonic signal and receiving a reflected signal;
a processor electrically connected to the first ultrasonic sensor, the processor configured to:
determining data to be transmitted;
controlling the first ultrasonic wave transmitting part to transmit a first ultrasonic wave signal according to the data to be transmitted, wherein the first ultrasonic wave signal comprises a plurality of first waveforms, and the interval between every two adjacent first waveforms is preset;
controlling the first ultrasonic receiving part to receive a second ultrasonic signal fed back by a second terminal;
comparing the second ultrasonic signal with a first preset signal;
if the second ultrasonic signal is matched with the first preset signal, transmitting the data to be transmitted to the second terminal according to the second ultrasonic signal;
and if the second ultrasonic signal is not matched with the first preset signal, returning to the step of controlling the first ultrasonic transmitting part to transmit the first ultrasonic signal according to the data to be transmitted.
7. The terminal of claim 6, wherein the duration of the first waveform is equal to the interval duration between two adjacent first waveforms.
8. A terminal, comprising:
the display screen comprises an upper glass substrate, a second ultrasonic sensor control circuit layer, a negative electrode layer, a light emitting layer, a piezoelectric material layer, a positive electrode layer, a fixed layer and a lower glass substrate which are sequentially stacked, wherein the upper glass substrate, the light emitting layer and the lower glass substrate are used for realizing the display function of the display screen;
the second ultrasonic sensor comprises a second ultrasonic transmitting part and a second ultrasonic receiving part, the second ultrasonic transmitting part is used for transmitting a second ultrasonic signal, the second ultrasonic receiving part is used for receiving the first ultrasonic signal, the second ultrasonic sensor is integrated in the display screen, the second ultrasonic sensor is used for collecting the fingerprint of a user and identifying the fingerprint of the user, the second ultrasonic sensor is also used for transmitting data, and the second ultrasonic sensor control circuit layer, the negative electrode layer, the piezoelectric material layer, the positive electrode layer and the fixed layer are used for realizing the functions of transmitting the ultrasonic signal and receiving the reflected signal;
a processor electrically connected to the second ultrasonic sensor, the processor configured to:
controlling the second ultrasonic receiving part to receive a first ultrasonic signal sent by a first terminal;
controlling the second ultrasonic wave transmitting part to transmit a second ultrasonic wave signal according to the first ultrasonic wave signal, wherein the second ultrasonic wave signal comprises a plurality of second waveforms, and the interval between every two adjacent second waveforms is preset;
and receiving data to be transmitted, which is transmitted by the first terminal according to the second ultrasonic signal.
9. The terminal of claim 8, wherein the duration of the second waveform is equal to the interval duration between two adjacent second waveforms.
10. A storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910550300.XA CN110289915B (en) | 2019-06-24 | 2019-06-24 | Data transmission method, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910550300.XA CN110289915B (en) | 2019-06-24 | 2019-06-24 | Data transmission method, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110289915A CN110289915A (en) | 2019-09-27 |
CN110289915B true CN110289915B (en) | 2022-02-01 |
Family
ID=68005379
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910550300.XA Active CN110289915B (en) | 2019-06-24 | 2019-06-24 | Data transmission method, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110289915B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014155025A (en) * | 2013-02-07 | 2014-08-25 | Kddi Corp | Connection management system, connection management method, mobile terminal and server |
CN104735607A (en) * | 2015-02-26 | 2015-06-24 | 广东欧珀移动通信有限公司 | Data transmission method, mobile terminal and system |
CN104868955A (en) * | 2015-04-09 | 2015-08-26 | 北京橙鑫数据科技有限公司 | Data transmission method and device |
CN107547142A (en) * | 2017-08-31 | 2018-01-05 | 努比亚技术有限公司 | Communication means, device and computer-readable recording medium based on ultrasonic wave |
CN107579775A (en) * | 2017-08-24 | 2018-01-12 | 上海与德科技有限公司 | A kind of data transmission method, device, mobile terminal and storage medium |
-
2019
- 2019-06-24 CN CN201910550300.XA patent/CN110289915B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014155025A (en) * | 2013-02-07 | 2014-08-25 | Kddi Corp | Connection management system, connection management method, mobile terminal and server |
CN104735607A (en) * | 2015-02-26 | 2015-06-24 | 广东欧珀移动通信有限公司 | Data transmission method, mobile terminal and system |
CN104868955A (en) * | 2015-04-09 | 2015-08-26 | 北京橙鑫数据科技有限公司 | Data transmission method and device |
CN107579775A (en) * | 2017-08-24 | 2018-01-12 | 上海与德科技有限公司 | A kind of data transmission method, device, mobile terminal and storage medium |
CN107547142A (en) * | 2017-08-31 | 2018-01-05 | 努比亚技术有限公司 | Communication means, device and computer-readable recording medium based on ultrasonic wave |
Also Published As
Publication number | Publication date |
---|---|
CN110289915A (en) | 2019-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110213416B (en) | Ultrasonic sensor module, display screen module and electronic equipment | |
CN112161645B (en) | Mobile electronic device | |
EP3264815B1 (en) | Mobile terminal with adaptive finger scan unit based on force pressure | |
KR102403015B1 (en) | Electronic device with fingerprint scan sensor | |
CN110298288B (en) | Display screen, electronic equipment and control method thereof | |
CN111034161B (en) | Electronic device including antenna using structure of display panel | |
WO2020259304A1 (en) | Ultrasonic fingerprint recognition method and apparatus, storage medium and electronic device | |
CN110297521B (en) | Working mode switching method and device, storage medium and electronic equipment | |
KR20230058369A (en) | Electronic device comprising biometric sensor | |
EP3144784B1 (en) | Mobile terminal and control method for the mobile terminal | |
KR20190066433A (en) | Electronic device including light blocking member having micro-hall | |
CN110427741B (en) | Fingerprint identification method and related product | |
CN109413246B (en) | Shell assembly and electronic equipment | |
CN110297559B (en) | Electronic device and pressure information acquisition method | |
KR20200098935A (en) | Display and electronic device including the same | |
US11042186B2 (en) | Electronic device and control method thereof for changing user interface when device is under water | |
US10867151B2 (en) | Terminal, method for controlling terminal, method for manufacturing terminal, and storage medium | |
KR20180114797A (en) | Electronic device comprising biometric sensor | |
CN111241499B (en) | Application program login method, device, terminal and storage medium | |
CN110309752B (en) | Ultrasonic processing method, ultrasonic processing apparatus, storage medium, and electronic device | |
KR20200004724A (en) | Method for operating authorization related the biometric information, based on an image including the biometric information obtained by using the biometric sensor and the electronic device supporting the same | |
CN109144221B (en) | Information prompting method, storage medium and electronic equipment | |
WO2022247762A1 (en) | Electronic device, and fingerprint unlocking method and fingerprint unlocking apparatus therefor | |
KR20180116188A (en) | Biometric sensor and device comprising the same | |
CN110287866B (en) | Ultrasonic fingerprint identification method and device, storage medium and electronic equipment |
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 |