CN111836226B - Data transmission control method, device and storage medium - Google Patents

Data transmission control method, device and storage medium Download PDF

Info

Publication number
CN111836226B
CN111836226B CN202010659613.1A CN202010659613A CN111836226B CN 111836226 B CN111836226 B CN 111836226B CN 202010659613 A CN202010659613 A CN 202010659613A CN 111836226 B CN111836226 B CN 111836226B
Authority
CN
China
Prior art keywords
target
electronic device
data
electronic equipment
uwb module
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
CN202010659613.1A
Other languages
Chinese (zh)
Other versions
CN111836226A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010659613.1A priority Critical patent/CN111836226B/en
Publication of CN111836226A publication Critical patent/CN111836226A/en
Application granted granted Critical
Publication of CN111836226B publication Critical patent/CN111836226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/38Services specially adapted for particular environments, situations or purposes for collecting sensor information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a data transmission control method, a data transmission control device and a storage medium, which are applied to first electronic equipment, wherein the first electronic equipment comprises a first UWB module; the method comprises the following steps: receiving object drop data sent by a second electronic device, wherein the second electronic device comprises a second UWB module, and the first electronic device and the second electronic device establish communication connection through the first UWB module and the second UWB module; generating a target data acquisition instruction according to the target falling data, and sending the target data acquisition instruction to the second electronic equipment; and receiving target data sent by the second electronic equipment in response to the target data acquisition instruction. By adopting the embodiment of the application, data migration can be realized and the data transmission efficiency can be improved when the mobile terminal falls off.

Description

Data transmission control method, device and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission control method, apparatus, and storage medium.
Background
Currently, when files (for example, photos, videos, and the like) are transmitted between electronic devices (such as a mobile phone, a tablet computer, and the like), a user is generally required to search for another electronic device by using one of the electronic devices, and to confirm the searched electronic device. After the user confirms, the information transmission between the electronic devices can be realized. Such a file transfer process is complex, which may result in a low efficiency of file transfer between two electronic devices, and especially, it is difficult to implement fast data migration for device failure caused by falling.
Disclosure of Invention
The embodiment of the application provides a data transmission control method, a data transmission control device and a storage medium, which can realize data migration and improve data transmission efficiency when falling.
In a first aspect, an embodiment of the present application provides a data transmission control method, which is applied to a first electronic device, where the first electronic device includes a first UWB module; the method comprises the following steps:
receiving target drop data sent by a second electronic device, wherein the second electronic device comprises a second UWB module, and the first electronic device and the second electronic device are in communication connection through the first UWB module and the second UWB module;
generating a target data acquisition instruction according to the target falling data, and sending the target data acquisition instruction to the second electronic equipment;
and receiving target data sent by the second electronic equipment in response to the target data acquisition instruction.
In a second aspect, an embodiment of the present application provides a data transmission control method, which is applied to a second electronic device, where the second electronic device includes a second UWB module; the method comprises the following steps:
sending object fall data to a first electronic device, wherein the first electronic device comprises a first UWB module, and the first electronic device and the second electronic device establish communication connection through the first UWB module and the second UWB module;
receiving a target data acquisition instruction sent by the first electronic device, wherein the target data acquisition instruction is generated by the first electronic device according to the target falling data;
and responding to the target data acquisition instruction, and sending target data corresponding to the target data acquisition instruction to the first electronic equipment.
In a third aspect, an embodiment of the present application provides a data transmission control apparatus, which is applied to a first electronic device, where the first electronic device includes a first UWB module; the apparatus comprises a receiving unit and a transmitting unit, wherein,
the receiving unit is used for receiving object falling data sent by second electronic equipment, the second electronic equipment comprises a second UWB module, and the first electronic equipment and the second electronic equipment are in communication connection through the first UWB module and the second UWB module;
the sending unit is used for generating a target data acquisition instruction according to the target falling data and sending the target data acquisition instruction to the second electronic equipment;
the receiving unit is further configured to receive target data sent by the second electronic device in response to the target data obtaining instruction.
In a fourth aspect, an embodiment of the present application provides a data transmission control apparatus, which is applied to a second electronic device, where the second electronic device includes a second UWB module; the device comprises: a transmitting unit and a receiving unit, wherein,
the transmitting unit is used for transmitting target falling data to first electronic equipment, the first electronic equipment comprises a first UWB module, and communication connection is established between the first electronic equipment and the second electronic equipment through the first UWB module and the second UWB module;
the receiving unit is used for receiving a target data acquisition instruction sent by the first electronic device, and the target data acquisition instruction is generated by the first electronic device according to the target falling data;
the sending unit is further configured to respond to the target data obtaining instruction and send target data corresponding to the target data obtaining instruction to the first electronic device.
In a fifth aspect, an embodiment of the present application provides a first electronic device, which includes a processor, a memory for storing one or more programs and configured to be executed by the processor, the program including instructions for performing the steps of the method according to any one of the first aspect of the claims.
In a sixth aspect, embodiments of the present application provide a second electronic device, which includes a processor, a memory for storing one or more programs and configured to be executed by the processor, the program including instructions for performing the steps of the method according to any one of the second aspect.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program causes a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In an eighth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform some or all of the steps described in the second aspect of the present application.
In a ninth aspect, embodiments of the present application provide a computer program product, where the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
In a tenth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the second aspect of embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that the data transmission control method, apparatus, and storage medium described in the embodiments of the present application are applied to a first electronic device, where the first electronic device includes a first UWB module, and receives target drop data sent by a second electronic device, and the second electronic device includes a second UWB module, where the first electronic device and the second electronic device establish a communication connection through the first UWB module and the second UWB module, generate a target data acquisition instruction according to the target drop data, send the target data acquisition instruction to the second electronic device, and receive target data sent by the second electronic device in response to the target data acquisition instruction, so that when one device drops, another device triggers a corresponding data acquisition instruction according to the drop condition, and acquires corresponding data according to the data acquisition instruction, thereby achieving data migration and improving data transmission efficiency when the device drops.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 3A is a schematic flowchart of a data transmission control method according to an embodiment of the present application;
fig. 3B is a schematic illustration showing a first electronic device and a second electronic device establishing a communication connection according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another data transmission control method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another data transmission control method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a first electronic device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a second electronic device according to an embodiment of the present application;
fig. 8 is a block diagram of functional units of a data transmission control device according to an embodiment of the present application;
fig. 9 is a block diagram of functional units of another data transmission control device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
In order to better understand the scheme of the embodiments of the present application, the following first introduces the related terms and concepts that may be involved in the embodiments of the present application.
The electronic device may include various Ultra Wide Band (UWB) module devices, such as smart phones, car mounted devices, wearable devices, smart watches, smart glasses, wireless bluetooth headsets, computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), mobile Stations (MS), virtual reality/augmented reality devices, terminal devices (terminal device), and the like, and may also be a base Station or a server. In the embodiments of the present application, the first electronic device and the second electronic device are both referred to as electronic devices.
The electronic device may further include an intelligent home device, and the intelligent home device may be at least one of: intelligent audio amplifier, intelligent camera, intelligent electric rice cooker, intelligent wheelchair, intelligent massage armchair, intelligent furniture, intelligent dish washer, intelligent TV set, intelligent refrigerator, intelligent electric fan, intelligent room heater, intelligent clothes hanger that dries in the air, intelligent lamp, intelligent router, intelligent switch, intelligent flush mounting plate, intelligent humidifier, intelligent air conditioner, intelligent door, intelligent window, intelligent top of a kitchen range, intelligent sterilizer, intelligent closestool, the robot etc. of sweeping the floor do not restrict here.
In a first section, the software and hardware operating environment of the technical solution disclosed in the present application is described as follows.
As shown, fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a compass 190, a motor 191, a pointer 192, a camera 193, a display screen 194, and a Subscriber Identity Module (SIM) card interface 195, among others.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an application processor AP, a modem processor, a graphics processor GPU, an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural network processor NPU, among others. Wherein the different processing units may be separate components or may be integrated in one or more processors. In some embodiments, the electronic device 101 may also include one or more processors 110. The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution. In other embodiments, a memory may also be provided in processor 110 for storing instructions and data. Illustratively, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from memory. This avoids repeated accesses and reduces the latency of the processor 110, thereby increasing the efficiency with which the electronic device 101 processes data or executes instructions.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit audio source (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose-output (GPIO) interface, a SIM card interface, and/or a USB interface. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 101, and may also be used to transmit data between the electronic device 101 and a peripheral device. The USB interface 130 may also be used to connect to a headset to play audio through the headset.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including wireless communication of 2G/3G/4G/5G/6G, etc. applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (blue tooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a mini light-emitting diode (mini-light-emitting diode, mini), a Micro-o led, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the electronic device 100 may include 1 or more display screens 194.
The electronic device 100 may implement a photographing function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above instructions stored in the internal memory 121, so as to enable the electronic device 101 to execute the method for displaying page elements provided in some embodiments of the present application, and various applications, data processing, and the like. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage program area may also store one or more applications (e.g., gallery, contacts, etc.), and the like. The storage data area may store data (such as photos, contacts, etc.) created during use of the electronic device 101, and the like. Further, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage components, flash memory components, universal Flash Storage (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 101 to execute the method for displaying page elements provided in the embodiments of the present application, and other applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110. The electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the X, Y, and Z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
The ambient light sensor 180L is used to sense ambient light brightness. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
By way of example, fig. 2 shows a block diagram of a software structure of the electronic device 100. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom. The application layer may include a series of application packages.
As shown in fig. 2, the application layer may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide a fusion of the 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In the second section, the data transmission control method and apparatus disclosed in the embodiments of the present application are introduced as follows.
Fig. 3A is a schematic flowchart of a data transmission control method according to an embodiment of the present application, and is applied to a first electronic device, where the first electronic device includes a first UWB module; as shown in the figure, the data transmission control method includes:
301. receiving object fall data sent by a second electronic device, wherein the second electronic device comprises a second UWB module, and the first electronic device is in communication connection with the second electronic device through the first UWB module and the second UWB module.
In the embodiment of the present application, the first electronic device may include a first UWB module, the second electronic device may include a second UWB module, and a communication connection between the first electronic device and the second electronic device is established through the first UWB module of the first electronic device and the second UWB module of the second electronic device. As shown in fig. 3B, the first electronic device may include a first UWB module, the second electronic device may include a second UWB module, and communication between the first electronic device and the second electronic device may be achieved through the first UWB module and the second UWB module.
In this embodiment of the application, the target fall data may be at least one of the following: the falling time, the falling angle, the falling speed, the falling track, the falling height, the landing position and the like, without limitation. In specific implementation, the second electronic device may obtain target fall data through a fall detection sensor or a timer, and the fall detection sensor may be at least one of the following: cameras, acceleration sensors, positioning sensors, etc., without limitation thereto.
302. And generating a target data acquisition instruction according to the target falling data, and sending the target data acquisition instruction to the second electronic equipment.
In specific implementation, different falling data means that different damage conditions may occur to the second electronic device, and then the first electronic device may generate a target data acquisition instruction according to the target falling data and send the target data acquisition instruction to the second electronic device.
In one possible example, the step 302 of generating the target data acquisition instruction according to the target fall data may include the following steps:
21. determining target fall analysis parameters of the second electronic equipment according to the target fall data;
22. determining target data to be acquired indicating parameters corresponding to the target fall analysis parameters;
23. and generating the target data acquisition instruction, wherein the target data acquisition instruction carries the target data to be acquired indication parameters.
In this embodiment of the present application, the target drop analysis parameter may be at least one of the following: the target damage level, the target damage portion, the target damage probability, and the like are not limited herein, where the target damage level may be understood as the degree of damage, the target damage portion may be understood as which specific portion is damaged, and the target damage probability may be understood as the damage probability. The target data to be acquired indicating parameter may include at least one of: a data type indicating parameter, a file type indicating parameter, a data storage location indicating parameter, a data importance level indicating parameter, a data amount indicating parameter, and the like, which are not limited herein.
In specific implementation, a mapping relation between the drop data and the drop analysis parameters may be prestored in the first electronic device, and then the first electronic device may determine, according to the mapping relation, a target drop analysis parameter of the second electronic device corresponding to the target drop data, and correspondingly, a mapping relation between the drop analysis data and a data indication parameter to be acquired may also be prestored in the first electronic device, and determine, according to the mapping relation, a target data indication parameter to be acquired corresponding to the target drop analysis parameter, and then generate a target data acquisition instruction, where the target data acquisition instruction carries the target data indication parameter to be acquired.
Further, in one possible example, the target fall data includes a fall height, a landing site, and ground material; the target falling analysis parameters comprise target falling duration and target falling fault grade;
in the step 21, determining the target fall analysis parameter of the second electronic device according to the target fall data may include the following steps:
211. determining the target falling duration according to the falling height;
212. estimating the landing speed of the second electronic equipment according to the falling height;
213. determining a target acting force of the second electronic equipment according to the grounding speed, the ground material and the grounding part;
214. and determining the target falling fault grade corresponding to the target acting force according to a preset mapping relation between the acting force and the falling fault grade.
In the embodiment of the application, the target falling data may include falling height, landing part and ground material; the target fall analysis parameters may include a target fall duration and a target fall fault level.
In specific implementation, the second electronic device may detect the height between the second electronic device and the ground through the distance sensor, and then the first electronic device may determine the target falling duration according to the falling height and the free fall formula, and further, may estimate the landing speed of the second electronic device according to the falling height, and determine the target acting force of the second electronic device according to the landing speed, the ground material, and the landing position, and the specific formula is as follows:
mv=fta
wherein m is the weight (known quantity) of the second electronic device, v is the landing speed, f is the acting force between the second electronic device and the ground, t is the buffering time, different ground materials correspond to different buffering times, the first electronic device can pre-store the mapping relation between the ground materials and the buffering time, and can determine the buffering time corresponding to the ground material when the second electronic device falls according to the mapping relation, a is an adjustment factor, the value of which is between 0 and 1, different landing parts correspond to different adjustment factors, the first electronic device can pre-store the mapping relation between the parts and the adjustment factors, and further can determine the adjustment factor corresponding to the landing parts according to the mapping relation, and the target acting force of the second electronic device can be determined by the above formula.
Furthermore, the first electronic device may also prestore a mapping relationship between a preset acting force and a drop fault level, and further, a target drop fault level corresponding to the target acting force may be determined according to the mapping relationship.
303. And receiving target data sent by the second electronic equipment in response to the target data acquisition instruction.
In a specific implementation, the first electronic device may receive target data sent by the second electronic device in response to the target data obtaining instruction, and the first electronic device may further display the target data on the display screen. The first electronic device may receive the object data through a communication link established between the first UWB module and the second UWB module, or the first electronic device may receive the object data through a plurality of communication links including not only the first UWB module and the second UWB module but also at least one of: a bluetooth communication link between the first electronic device and the second electronic device, an infrared communication link between the first electronic device and the second electronic device, a mobile network communication link (such as a 5G communication link) between the first electronic device and the second electronic device, and a wireless fidelity (Wi-Fi) communication link between the first electronic device and the second electronic device.
In one possible example, before the step 301, the following steps may be further included:
a1, acquiring a target iris image;
a2, obtaining a target image quality evaluation value of a target iris image;
a3, comparing the target iris image with a preset iris image when the quality evaluation value of the target image is greater than a preset threshold value;
and A4, when the comparison between the target iris image and the preset iris image is successful, establishing communication connection between the first electronic equipment and the second electronic equipment through the first UWB module and the second UWB module.
In specific implementation, the first electronic device may acquire the target iris image and acquire a target image quality evaluation value of the target iris image, when the target image quality evaluation value is greater than the preset threshold value, the target iris image is compared with the preset iris image, and when the target iris image is successfully compared with the preset iris image, a communication connection is established between the first electronic device and the second electronic device through the first UWB module and the second UWB module, otherwise, the user is prompted to perform iris verification again.
Certainly, when the target image quality evaluation value is less than or equal to the preset threshold, image enhancement processing may be performed on the target iris image, the target iris image after the image enhancement processing is compared with the preset iris image, when the target iris image after the image enhancement is successfully compared with the preset iris image, a communication connection between the first electronic device and the second electronic device is established by using the UWB module, otherwise, the user is prompted to perform iris verification again, and the image enhancement processing may be at least any one of the following: histogram equalization, gray scale stretching, retinex algorithm, etc., without limitation.
Further, the step A2 of obtaining the target image quality evaluation value of the target iris image may include the following steps:
a21, performing multi-scale feature decomposition on the target iris image to obtain a low-frequency feature component and a high-frequency feature component;
a22, dividing the low-frequency characteristic component into a plurality of areas;
a23, determining an information entropy corresponding to each of the plurality of regions to obtain a plurality of information entropies;
a24, determining an average information entropy and a target mean square error according to the plurality of information entropies;
a25, determining a target adjusting coefficient corresponding to the target mean square error;
a26, adjusting the average information entropy according to the target adjustment coefficient to obtain a target information entropy;
a27, determining a first evaluation value corresponding to the target information entropy according to a mapping relation between preset information entropy and evaluation values;
a28, acquiring target shooting parameters corresponding to the target iris image;
a29, determining a target low-frequency weight corresponding to the target shooting parameter according to a mapping relation between preset shooting parameters and the low-frequency weight, and determining a target high-frequency weight according to the target low-frequency weight;
a30, determining the distribution density of the target characteristic points according to the high-frequency characteristic components;
a31, determining a second evaluation value corresponding to the target feature point distribution density according to a preset mapping relation between the feature point distribution density and the evaluation value;
and A32, performing weighting operation according to the first evaluation value, the second evaluation value, the target low-frequency weight and the target high-frequency weight to obtain a target image quality evaluation value of the target iris image.
In specific implementation, the first electronic device may perform multi-scale feature decomposition on the target iris image by using a multi-scale decomposition algorithm to obtain a low-frequency feature component and a high-frequency feature component, where the multi-scale decomposition algorithm may be at least one of the following: pyramid transform algorithms, wavelet transforms, contourlet transforms, shear wave transforms, etc., without limitation. Further, the low-frequency characteristic component may be divided into a plurality of regions, and the area size of each region may be the same or different. The low-frequency feature component reflects the main features of the image, and the high-frequency feature component reflects the detail information of the image.
Further, the first electronic device may determine an information entropy corresponding to each of the plurality of regions to obtain a plurality of information entropies, and determine an average information entropy and a target mean square error according to the plurality of information entropies, where the information entropy reflects the amount of image information to a certain extent, and the mean square error may reflect the stability of the image information. The first electronic device may pre-store a mapping relationship between a preset mean square error and an adjustment coefficient, and further determine a target adjustment coefficient corresponding to the target mean square error according to the mapping relationship.
Further, the first electronic device may adjust the average information entropy according to a target adjustment coefficient to obtain a target information entropy, where the target information entropy = (1 + target adjustment coefficient) × the average information entropy. The first electronic device may store a mapping relationship between a preset information entropy and an evaluation value in advance, and further, may determine a first evaluation value corresponding to the target information entropy according to the mapping relationship between the preset information entropy and the evaluation value.
In addition, the first electronic device may acquire target shooting parameters corresponding to the target iris image, where the target shooting parameters may be at least one of: ISO, exposure duration, white balance parameter, focus parameter, etc., without limitation. The first electronic device may further pre-store a mapping relationship between a preset shooting parameter and a low frequency weight, and further determine a target low frequency weight corresponding to the target shooting parameter according to the mapping relationship between the preset shooting parameter and the low frequency weight, and determine a target high frequency weight according to the target low frequency weight, where the target low frequency weight + the target high frequency weight =1.
Further, the first electronic device may determine a target feature point distribution density from the high-frequency feature components, where the target feature point distribution density = total number of feature points/area of the high-frequency feature components. The first electronic device may further pre-store a mapping relationship between a preset feature point distribution density and an evaluation value, further determine a second evaluation value corresponding to the target feature point distribution density according to the mapping relationship between the preset feature point distribution density and the evaluation value, and finally perform a weighting operation according to the first evaluation value, the second evaluation value, the target low-frequency weight, and the target high-frequency weight to obtain a target image quality evaluation value of the target iris image, which is specifically as follows:
target image quality evaluation value = first evaluation value + target low-frequency weight + second evaluation value + target high-frequency weight
Therefore, image quality evaluation can be performed based on two dimensions of the low-frequency component and the high-frequency component of the human face, and evaluation parameters suitable for a shooting environment, namely a target image quality evaluation value, can be accurately obtained.
It can be seen that the data transmission control method described in the embodiments of the present application is applied to a first electronic device, where the first electronic device includes a first UWB module and receives target drop data sent by a second electronic device, the second electronic device includes a second UWB module, and the first electronic device and the second electronic device establish a communication connection through the first UWB module and the second UWB module, generate a target data acquisition instruction according to the target drop data, send the target data acquisition instruction to the second electronic device, and receive target data sent by the second electronic device in response to the target data acquisition instruction.
Fig. 4 is a schematic flowchart of a data transmission control method according to an embodiment of the present application, and is applied to a second electronic device, where the second electronic device includes a second UWB module; as shown in the figure, the data transmission control method includes:
401. the method comprises the steps of sending target falling data to first electronic equipment, wherein the first electronic equipment comprises a first UWB module, and communication connection is established between the first electronic equipment and the second electronic equipment through the first UWB module and the second UWB module.
402. And receiving a target data acquisition instruction sent by the first electronic device, wherein the target data acquisition instruction is generated by the first electronic device according to the target falling data.
403. And responding to the target data acquisition instruction, and sending target data corresponding to the target data acquisition instruction to the first electronic equipment.
For the detailed description of steps 401 to 403, reference may be made to the related description of the data transmission control method described in fig. 3A, and details are not repeated here.
In one possible example, the target fall data includes a fall height, a landing site, and a ground material; the step 401 may further include the following steps before:
b1, determining the grounding speed of the second electronic equipment according to the falling height;
b2, determining a target acting force of the second electronic equipment according to the grounding speed and the ground material;
b3, determining a target stress threshold corresponding to the grounding part according to a mapping relation between a preset part and the stress threshold;
and B4, when the target acting force is larger than the target stress threshold value, the step of sending target falling data to the first electronic equipment is executed.
In specific implementation, the second electronic device may detect a height between the second electronic device and the ground through the distance sensor, and then the second electronic device may determine a target falling duration according to the falling height and the free fall formula, further, the landing speed of the second electronic device may be estimated according to the falling height, and the target acting force of the second electronic device may be determined according to the landing speed and the ground material, where the specific formula is as follows:
mv=ft
the second electronic device may pre-store a mapping relationship between the ground material and the buffering time, and then determine the buffering time corresponding to the ground material when the second electronic device falls according to the mapping relationship, so that the target acting force of the second electronic device may be determined by the above formula.
In specific implementation, the second electronic device may pre-store a mapping relationship between a preset portion and a stress threshold, and further determine a target stress threshold corresponding to the landing portion according to the mapping relationship between the preset portion and the stress threshold, and perform a step of sending target drop data to the first electronic device when the target acting force is greater than the target stress threshold, otherwise, perform no subsequent step.
It can be seen that the data transmission control method described in this embodiment of the present application is applied to a second electronic device, where the second electronic device includes a second UWB module, and sends target drop data to a first electronic device, the first electronic device includes a first UWB module, and a communication connection is established between the first electronic device and the second electronic device through the first UWB module and the second UWB module, and receives a target data acquisition instruction sent by the first electronic device, where the target data acquisition instruction is generated by the first electronic device according to the target drop data, responds to the target data acquisition instruction, and sends target data corresponding to the target data acquisition instruction to the first electronic device.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a data transmission control method according to an embodiment of the present application; as shown in the figure, the data transmission control method includes:
501. second electronic equipment sends the target to first electronic equipment and falls data, first electronic equipment includes first UWB module, second electronic equipment includes the second UWB module, first electronic equipment with pass through between the second electronic equipment first UWB module with communication connection is established to the second UWB module.
502. And the first electronic equipment receives the target falling data sent by the second electronic equipment.
503. And the first electronic equipment generates a target data acquisition instruction according to the target falling data and sends the target data acquisition instruction to the second electronic equipment.
504. And the second electronic equipment receives the target data acquisition instruction sent by the first electronic equipment.
505. And the second electronic equipment responds to the target data acquisition instruction and sends target data corresponding to the target data acquisition instruction to the first electronic equipment.
506. The first electronic equipment receives the target data sent by the second electronic equipment in response to the target data acquisition instruction
For the detailed description of steps 501 to 506, reference may be made to the related description of the data transmission control method described in fig. 3A or fig. 4, which is not repeated herein.
It can be seen that, according to the data transmission control method described in the embodiment of the present application, when one device falls, another device triggers a corresponding data acquisition instruction according to the falling condition, and acquires corresponding data according to the data acquisition instruction, so that data migration can be implemented when the device falls, and data transmission efficiency is improved.
Referring to fig. 6 in keeping with the above embodiments, fig. 6 is a schematic structural diagram of a first electronic device according to an embodiment of the present application, where as shown, the first electronic device includes a processor, a memory, a communication interface, a first UWB module, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
receiving object drop data sent by a second electronic device, wherein the second electronic device comprises a second UWB module, and the first electronic device and the second electronic device establish communication connection through the first UWB module and the second UWB module;
generating a target data acquisition instruction according to the target falling data, and sending the target data acquisition instruction to the second electronic equipment;
and receiving target data sent by the second electronic equipment in response to the target data acquisition instruction.
It can be seen that, in the first electronic device described in this embodiment of the application, when one device falls, another device may trigger a corresponding data acquisition instruction according to the falling condition, and acquire corresponding data according to the data acquisition instruction, so that when the device falls, data migration may be implemented, and data transmission efficiency may be improved.
In one possible example, in connection with the generating target data acquisition instructions from the target fall data, the program includes instructions for performing the steps of:
determining target fall analysis parameters of the second electronic device according to the target fall data;
determining target data to be acquired indicating parameters corresponding to the target fall analysis parameters;
and generating the target data acquisition instruction, wherein the target data acquisition instruction carries the target data to be acquired indication parameters.
In one possible example, the target fall data includes a fall height, a landing site, and a ground material; the target falling analysis parameters comprise target falling duration and target falling fault grade;
in the aspect of determining target fall analysis parameters of the second electronic device according to the target fall data, the program includes instructions for performing the following steps:
determining the target falling duration according to the falling height;
estimating the landing speed of the second electronic equipment according to the falling height;
determining a target acting force of the second electronic equipment according to the grounding speed, the ground material and the grounding part;
and determining the target falling fault grade corresponding to the target acting force according to a preset mapping relation between the acting force and the falling fault grade.
Referring to fig. 7 in keeping with the above embodiments, fig. 7 is a schematic structural diagram of a second electronic device according to an embodiment of the present application, where as shown, the second electronic device includes a processor, a memory, a communication interface, a second UWB module, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
sending target drop data to a first electronic device, wherein the first electronic device comprises a first UWB module, and the first electronic device and the second electronic device are in communication connection through the first UWB module and the second UWB module;
receiving a target data acquisition instruction sent by the first electronic device, wherein the target data acquisition instruction is generated by the first electronic device according to the target falling data;
and responding to the target data acquisition instruction, and sending target data corresponding to the target data acquisition instruction to the first electronic equipment.
It can be seen that, in the second electronic device described in the embodiment of the present application, when one device falls, another device triggers a corresponding data acquisition instruction according to the falling condition, and acquires corresponding data according to the data acquisition instruction, so that data migration can be implemented when the device falls, and data transmission efficiency is improved.
In one possible example, the target fall data includes a fall height, a landing site, and a ground material; the program further includes instructions for performing the steps of:
determining the landing speed of the second electronic equipment according to the falling height;
determining a target acting force of the second electronic equipment according to the landing speed and the ground material;
determining a target stress threshold corresponding to the grounding part according to a mapping relation between a preset part and a stress threshold;
and when the target acting force is larger than the target stress threshold value, executing the step of sending target falling data to the first electronic equipment.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments provided herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit. It should be noted that, in the embodiment of the present application, the division of the unit is schematic, and is only one logic function division, and when the actual implementation is realized, another division manner may be provided.
Fig. 8 is a block diagram showing functional units of a data transmission control apparatus 800 according to an embodiment of the present application. The data transmission control apparatus 800 is applied to a first electronic device including a first UWB module, the apparatus 800 includes: a receiving unit 801 and a transmitting unit 802, wherein,
the receiving unit 801 is configured to receive target drop data sent by a second electronic device, where the second electronic device includes a second UWB module, and the first electronic device and the second electronic device establish a communication connection through the first UWB module and the second UWB module;
the sending unit 802 is configured to generate a target data obtaining instruction according to the target fall data, and send the target data obtaining instruction to the second electronic device;
the receiving unit 801 is further specifically configured to receive target data sent by the second electronic device in response to the target data obtaining instruction.
It can be seen that, when one device falls, the data transmission control device described in the embodiment of the present application is applied to the first electronic device, and when another device falls, the other device triggers a corresponding data acquisition instruction according to the falling condition, and acquires corresponding data according to the data acquisition instruction, so that when the device falls, data migration can be realized, and data transmission efficiency can be improved.
In a possible example, in terms of generating a target data obtaining instruction according to the target fall data, the sending unit 802 is specifically configured to:
determining target fall analysis parameters of the second electronic device according to the target fall data;
determining target data to be acquired indicating parameters corresponding to the target fall analysis parameters;
and generating the target data acquisition instruction, wherein the target data acquisition instruction carries the target data to be acquired indication parameters.
In one possible example, the target fall data includes a fall height, a landing site, and a ground material; the target falling analysis parameters comprise target falling duration and target falling fault grade;
in the aspect of determining the target drop analysis parameter of the second electronic device according to the target drop data, the sending unit 802 is specifically configured to:
determining the target falling duration according to the falling height;
estimating the landing speed of the second electronic equipment according to the falling height;
determining a target acting force of the second electronic equipment according to the grounding speed, the ground material and the grounding part;
and determining the target falling fault grade corresponding to the target acting force according to a preset mapping relation between the acting force and the falling fault grade.
Fig. 9 is a block diagram showing functional units of a data transmission control apparatus 900 according to an embodiment of the present application. The data transmission control apparatus 900 is applied to a second electronic device including a second UWB module, the apparatus 900 including: a transmitting unit 901 and a receiving unit 902, wherein,
the sending unit 901 is configured to send target fall data to a first electronic device, where the first electronic device includes a first UWB module, and the first electronic device and the second electronic device establish communication connection through the first UWB module and the second UWB module;
the receiving unit 902 is configured to receive a target data obtaining instruction sent by the first electronic device, where the target data obtaining instruction is generated by the first electronic device according to the target drop data;
the sending unit 901 is further specifically configured to respond to the target data obtaining instruction, and send target data corresponding to the target data obtaining instruction to the first electronic device.
It can be seen that, when one device falls, the data transmission control device described in the embodiment of the present application is applied to a second electronic device, and when another device falls, the other device triggers a corresponding data acquisition instruction according to the falling condition, and acquires corresponding data according to the data acquisition instruction, so that data migration can be realized when the device falls, and data transmission efficiency is improved.
In one possible example, the target fall data includes a fall height, a landing site, and a ground material; the sending unit 901 is further specifically configured to:
determining the landing speed of the second electronic equipment according to the falling height;
determining a target acting force of the second electronic equipment according to the landing speed and the ground material;
determining a target stress threshold corresponding to the grounding part according to a mapping relation between a preset part and a stress threshold;
and when the target acting force is larger than the target stress threshold value, executing the step of sending target falling data to the first electronic equipment.
It should be noted that the electronic device described in the embodiments of the present application is presented in the form of a functional unit. The term "unit" as used herein should be understood in its broadest possible sense, and objects used to implement the functionality described in each "unit" may be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated, or group) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that provide the described functionality.
The receiving unit 801, the transmitting unit 802, the transmitting unit 901, and the receiving unit 902 may be one or more of a control circuit, a processor, or a communication circuit, and based on the above unit modules, the functions or steps of any of the above methods can be implemented.
Further, an embodiment of the present application further provides a data transmission control system, where the data transmission control system includes: such as the data transmission control device 800 depicted in fig. 8 and the data transmission control device 900 depicted in fig. 9, for implementing the functions or steps of any of the methods described above.
The present embodiment also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the embodiments of the present application to implement any one of the methods in the embodiments.
The present embodiment also provides a computer program product, which when run on a computer causes the computer to execute the relevant steps described above to implement any of the methods in the above embodiments.
In addition, an apparatus, which may be specifically a chip, a component or a module, may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute any one of the methods in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding method provided above, and therefore, the beneficial effects that can be achieved by the electronic device, the computer storage medium, the computer program product, or the chip may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
Through the description of the foregoing embodiments, those skilled in the art will understand that, for convenience and simplicity of description, only the division of the functional modules is used for illustration, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module or a unit may be divided into only one logic function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a separate product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application, or portions of the technical solutions that substantially contribute to the prior art, or all or portions of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A data transmission control method is applied to first electronic equipment, and the first electronic equipment comprises a first UWB module; the method comprises the following steps:
receiving object drop data sent by a second electronic device, wherein the second electronic device comprises a second UWB module, and the first electronic device and the second electronic device establish communication connection through the first UWB module and the second UWB module;
generating a target data acquisition instruction according to the target falling data, and sending the target data acquisition instruction to the second electronic equipment;
and receiving target data sent by the second electronic equipment in response to the target data acquisition instruction through a plurality of communication links.
2. The method of claim 1, wherein generating target data acquisition instructions from the target fall data comprises:
determining target fall analysis parameters of the second electronic device according to the target fall data;
determining target data to be acquired indicating parameters corresponding to the target fall analysis parameters;
and generating the target data acquisition instruction, wherein the target data acquisition instruction carries the target data to be acquired indication parameter.
3. The method of claim 2, wherein the target fall data includes a fall height, a landing site, and ground material; the target falling analysis parameters comprise target falling duration and target falling fault grade;
determining target fall analysis parameters of the second electronic device according to the target fall data includes:
determining the target falling duration according to the falling height;
estimating the landing speed of the second electronic equipment according to the falling height;
determining a target acting force of the second electronic equipment according to the grounding speed, the ground material and the grounding part;
and determining the target falling fault grade corresponding to the target acting force according to a preset mapping relation between the acting force and the falling fault grade.
4. A data transmission control method is applied to a second electronic device, wherein the second electronic device comprises a second UWB module; the method comprises the following steps:
sending object fall data to a first electronic device, wherein the first electronic device comprises a first UWB module, and the first electronic device and the second electronic device establish communication connection through the first UWB module and the second UWB module;
receiving a target data acquisition instruction sent by the first electronic device, wherein the target data acquisition instruction is generated by the first electronic device according to the target falling data;
and responding to the target data acquisition instruction, and sending target data corresponding to the target data acquisition instruction to the first electronic equipment through a plurality of communication links.
5. The method of claim 4, wherein the target fall data includes a fall height, a landing site, and ground material; the method further comprises the following steps:
determining the landing speed of the second electronic equipment according to the falling height;
determining a target acting force of the second electronic equipment according to the grounding speed and the ground material;
determining a target stress threshold corresponding to the grounding part according to a mapping relation between a preset part and a stress threshold;
and when the target acting force is larger than the target stress threshold value, executing the step of sending target falling data to the first electronic equipment.
6. A data transmission control device is applied to a first electronic device, wherein the first electronic device comprises a first UWB module; the apparatus comprises a receiving unit and a transmitting unit, wherein,
the receiving unit is used for receiving object falling data sent by second electronic equipment, the second electronic equipment comprises a second UWB module, and communication connection is established between the first electronic equipment and the second electronic equipment through the first UWB module and the second UWB module;
the sending unit is used for generating a target data acquisition instruction according to the target falling data and sending the target data acquisition instruction to the second electronic equipment;
the receiving unit is further configured to receive, through a plurality of communication links, target data sent by the second electronic device in response to the target data acquisition instruction.
7. A data transmission control apparatus, applied to a second electronic device, the second electronic device including a second UWB module; the device comprises: a transmitting unit and a receiving unit, wherein,
the transmitting unit is used for transmitting target falling data to first electronic equipment, the first electronic equipment comprises a first UWB module, and communication connection is established between the first electronic equipment and the second electronic equipment through the first UWB module and the second UWB module;
the receiving unit is configured to receive a target data obtaining instruction sent by the first electronic device, where the target data obtaining instruction is generated by the first electronic device according to the target fall data;
the sending unit is further configured to respond to the target data obtaining instruction and send target data corresponding to the target data obtaining instruction to the first electronic device through a plurality of communication links.
8. A first electronic device, wherein the first electronic device comprises a processor, a memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-3.
9. A second electronic device, characterized in that the second electronic device comprises a processor, a memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for carrying out the steps in the method according to claim 4 or 5.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN202010659613.1A 2020-07-09 2020-07-09 Data transmission control method, device and storage medium Active CN111836226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010659613.1A CN111836226B (en) 2020-07-09 2020-07-09 Data transmission control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010659613.1A CN111836226B (en) 2020-07-09 2020-07-09 Data transmission control method, device and storage medium

Publications (2)

Publication Number Publication Date
CN111836226A CN111836226A (en) 2020-10-27
CN111836226B true CN111836226B (en) 2023-04-04

Family

ID=72900373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010659613.1A Active CN111836226B (en) 2020-07-09 2020-07-09 Data transmission control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111836226B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114550343A (en) * 2020-11-10 2022-05-27 Oppo广东移动通信有限公司 Intelligent lock control method and device based on UWB, medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389957A (en) * 2015-10-29 2016-03-09 小米科技有限责任公司 Communication method, device and system of wearable device
CN106407041A (en) * 2016-09-06 2017-02-15 广东欧珀移动通信有限公司 Drop data processing system of terminal
WO2018000745A1 (en) * 2016-06-28 2018-01-04 乐视控股(北京)有限公司 Method and device for processing terminal data, and terminal
CN108307383A (en) * 2018-01-18 2018-07-20 广东欧珀移动通信有限公司 Data reporting method and related product
CN108924325A (en) * 2018-04-27 2018-11-30 Oppo广东移动通信有限公司 Data processing method and relevant apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8390949B2 (en) * 2009-05-18 2013-03-05 Dell Products L.P. Data loss prevention during a fall of a storage device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389957A (en) * 2015-10-29 2016-03-09 小米科技有限责任公司 Communication method, device and system of wearable device
WO2018000745A1 (en) * 2016-06-28 2018-01-04 乐视控股(北京)有限公司 Method and device for processing terminal data, and terminal
CN106407041A (en) * 2016-09-06 2017-02-15 广东欧珀移动通信有限公司 Drop data processing system of terminal
CN108307383A (en) * 2018-01-18 2018-07-20 广东欧珀移动通信有限公司 Data reporting method and related product
CN108924325A (en) * 2018-04-27 2018-11-30 Oppo广东移动通信有限公司 Data processing method and relevant apparatus

Also Published As

Publication number Publication date
CN111836226A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN112040361B (en) Earphone control method, earphone control device and storage medium
CN111553846B (en) Super-resolution processing method and device
CN111835530B (en) Group joining method and device
CN111783375A (en) Chip system and related device
CN111400605A (en) Recommendation method and device based on eyeball tracking
CN111882642B (en) Texture filling method and device for three-dimensional model
CN113177229A (en) Data processing method and related device
CN111768352A (en) Image processing method and device
CN112597515A (en) Information processing method, device and storage medium
CN111836226B (en) Data transmission control method, device and storage medium
CN111880661A (en) Gesture recognition method and device
CN114244655B (en) Signal processing method and related device
CN114915996A (en) Communication exception handling method and related device
CN114465852A (en) Signal processing method and related device
CN114237646A (en) Game trial playing method and related device
CN114336998A (en) Charging control method, charging control device and storage medium
CN114630152A (en) Parameter transmission method and device for image processor and storage medium
CN114596819B (en) Brightness adjusting method and related device
CN111865369B (en) Antenna control method, antenna control device and storage medium
CN114630153B (en) Parameter transmission method and device for application processor and storage medium
CN114125738B (en) Data transmission control method and related device
CN114339607B (en) Ranging method, ranging device and storage medium
CN111459271B (en) Gaze offset error determination method and device
CN112183293A (en) Body temperature detection method and device of wearable device
CN117076072A (en) Container borrowing method and related device

Legal Events

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