CN112153094B - Method and device for controlling data transmission between electronic devices - Google Patents

Method and device for controlling data transmission between electronic devices Download PDF

Info

Publication number
CN112153094B
CN112153094B CN201910579537.0A CN201910579537A CN112153094B CN 112153094 B CN112153094 B CN 112153094B CN 201910579537 A CN201910579537 A CN 201910579537A CN 112153094 B CN112153094 B CN 112153094B
Authority
CN
China
Prior art keywords
data
link
transmission
electronic device
transmission data
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
CN201910579537.0A
Other languages
Chinese (zh)
Other versions
CN112153094A (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 CN201910579537.0A priority Critical patent/CN112153094B/en
Publication of CN112153094A publication Critical patent/CN112153094A/en
Application granted granted Critical
Publication of CN112153094B publication Critical patent/CN112153094B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a data transmission control method and device between electronic devices, wherein the method comprises the following steps: the method comprises the steps that data to be transmitted are segmented through a first electronic device to generate first transmission data and second transmission data, and the first transmission data are transmitted to the second electronic device through a first link between the first electronic device and the second electronic device; transmitting second transmission data to the second electronic device through a second link with the second electronic device; the second electronic device combines the received first transmission data and the second transmission data to generate transmission data. According to the method, the data to be transmitted is divided into the first transmission data and the second transmission data, and the first link and the second link are respectively adopted for transmission, so that the phenomenon that the data transmission rate between electronic devices is low due to the fact that only one link is used for data transmission can be avoided, the data transmission rate between the electronic devices is improved, and the use experience of users is improved.

Description

Method and device for controlling data transmission between electronic devices
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for controlling data transmission between electronic devices.
Background
With the popularity of terminal devices and the high cost of 2G, 3G, and 4G networks for charging traffic, users have increasingly high requirements for wireless network coverage. Wireless local area networks, such as WIFI, are a necessary network environment for users in their daily lives.
At present, when data transmission is performed between electronic devices, a large file transmission scene is often encountered, the transmission rate requirement on a communication system is high, and in some scenes, when the quality of a WIFI network is poor, the data transmission rate is low, so that normal transmission cannot be performed.
Disclosure of Invention
The present application aims to solve, at least to some extent, one of the technical problems in the related art.
The application provides a data transmission control method and device between electronic devices, so as to divide data to be transmitted into first transmission data and second transmission data, and the first link and the second link are adopted to synchronously transmit the data, thereby avoiding the phenomenon that the data transmission rate between the electronic devices is slower or the data transmission cannot be normally performed due to the poor first link network, improving the data transmission rate between the electronic devices, and improving the use experience of users.
An embodiment of a first aspect of the present application provides a method for controlling data transmission between electronic devices, including:
the first electronic equipment segments the data to be transmitted to generate first transmission data and second transmission data;
transmitting the first transmission data to a second electronic device through a first link with the second electronic device; and
transmitting the second transmission data to the second electronic device through a second link with the second electronic device; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate transmission data.
According to the data transmission control method between the electronic devices, the data to be transmitted is segmented through the first electronic device to generate first transmission data and second transmission data, and the first transmission data is transmitted to the second electronic device through a first link between the first electronic device and the second electronic device; and transmitting the second transmission data to the second electronic device over a second link with the second electronic device; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate the transmission data. According to the method, the data to be transmitted is divided into the first transmission data and the second transmission data, and the first link and the second link are adopted for synchronously transmitting the data, so that the phenomenon that the data transmission rate between electronic devices is low due to the fact that only one link is used for transmitting the data when the network quality of the link is poor is avoided, the phenomenon that the network quality of the link is interfered by the environment and the data transmission between the electronic devices cannot be performed due to the fact that the network quality of the link is poor is avoided, the data transmission rate between the electronic devices is improved, and the use experience of users is improved.
An embodiment of a second aspect of the present application provides a data transmission control apparatus between electronic devices, including:
the splitting module is used for splitting the data to be transmitted by the first electronic equipment to generate first transmission data and second transmission data;
the first transmission module is used for transmitting the first transmission data to the second electronic equipment through a first link between the first transmission module and the second electronic equipment;
the second transmission module is used for transmitting the second transmission data to the second electronic equipment through a second link between the second transmission module and the second electronic equipment; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate transmission data.
According to the data transmission control device between the electronic devices, the data to be transmitted is segmented through the first electronic device to generate first transmission data and second transmission data, and the first transmission data is transmitted to the second electronic device through a first link between the first electronic device and the second electronic device; and transmitting the second transmission data to the second electronic device over a second link with the second electronic device; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate the transmission data. According to the method, the data to be transmitted is divided into the first transmission data and the second transmission data, and the first link and the second link are adopted for synchronously transmitting the data, so that the phenomenon that the data transmission rate between electronic devices is low due to the fact that only one link is used for transmitting the data when the network quality of the link is poor is avoided, the phenomenon that the network quality of the link is interfered by the environment and the data transmission between the electronic devices cannot be performed due to the fact that the network quality of the link is poor is avoided, the data transmission rate between the electronic devices is improved, and the use experience of users is improved.
An embodiment of a third aspect of the present application provides an electronic device, including: the control unit is used for controlling the electronic equipment to segment the data to be transmitted so as to generate first transmission data and second transmission data; the control unit includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the data transmission control method between the electronic devices as described in the above embodiments is implemented.
An embodiment of a fourth aspect of the present application proposes a computer-readable storage medium storing computer-readable instructions for causing a computer to execute the data transmission control method between electronic devices described in the above embodiment.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flow chart of a method for controlling data transmission between electronic devices according to an embodiment of the present application;
fig. 2 is a flow chart of another method for controlling data transmission between electronic devices according to an embodiment of the present application;
fig. 3 is a flow chart of another method for controlling data transmission between electronic devices according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data transmission control device between electronic devices according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present application and are not to be construed as limiting the present application.
The method mainly aims at the technical problems that in the prior art, when data are transmitted between electronic devices through WIFI, the quality of the WIFI network is poor, and the transmission speed is low.
According to the data transmission control method between the electronic devices, the data to be transmitted is segmented through the first electronic device to generate first transmission data and second transmission data, and the first transmission data is transmitted to the second electronic device through a first link between the first electronic device and the second electronic device; and transmitting the second transmission data to the second electronic device over a second link with the second electronic device; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate the transmission data. According to the method, the data to be transmitted is divided into the first transmission data and the second transmission data, and the first link and the second link are respectively adopted for transmission, so that the phenomenon that the data transmission rate between electronic devices is low due to the fact that only the first link is used for data transmission can be avoided, when the network quality of the first link is poor, the data transmission rate between the electronic devices is improved, and the use experience of users is improved.
The following describes a data transmission control method and apparatus between electronic devices according to embodiments of the present application with reference to the accompanying drawings.
Before describing the embodiments of the present application in detail, for ease of understanding, the general technical words are first introduced:
Wireless-Fidelity (WIFI) technology is a technology that can connect terminals such as personal computers and handheld devices (such as tablet computers and mobile phones) to each other in a Wireless manner. Commonly used in offices and homes.
The Light Fidelity (LIFI) technology is a lamplight internet surfing technology, and Light emitted by an LED illuminating lamp is used as a transmission tool of network signals to perform data transmission, so that illumination internet surfing is realized. LIFI has the characteristics of low radiation, low energy consumption and low carbon and environmental protection, and gradually becomes a research hotspot in the field of Internet.
Fig. 1 is a flow chart of a data transmission control method between electronic devices according to an embodiment of the present application.
As shown in fig. 1, the data transmission control method between the electronic devices includes the following steps:
step 101, the first electronic device segments the data to be transmitted to generate first transmission data and second transmission data.
In the embodiment of the present application, the first electronic device may be a mobile terminal, for example, a tablet computer, a mobile phone, and so on; and may be an intelligent home appliance, etc., without limitation.
In this embodiment, when data transmission is performed between electronic devices, when data to be transmitted is larger, for example, a large file, a large game, or the like, in order to avoid a phenomenon that the data transmission speed is slower due to poor network quality, the first electronic device segments the data to be transmitted and generates first transmission data and second transmission data.
For example, when the data to be transmitted is a large file a, the first electronic device segments the file a to be transmitted into files A1 and A2 when data transmission is performed between the electronic devices. Therefore, the phenomenon that the file A cannot be transmitted due to the fact that the speed of the electronic equipment for transmitting the file A is low or the network is interfered by the environment due to poor network quality is avoided.
Step 102, transmitting first transmission data to the second electronic device through a first link with the second electronic device.
Step 103, transmitting second transmission data to the second electronic device through a second link with the second electronic device.
In the embodiment of the present application, the second electronic device may be a mobile terminal, for example, a tablet computer, a mobile phone, and so on; and may be an intelligent home appliance, etc., without limitation.
In this embodiment, after the first electronic device segments the data to be transmitted to generate the first transmission data and the second transmission data, when the first electronic device transmits the data to the second electronic device, under the condition that the communication quality of the first link and the second link is better, the first transmission data can be transmitted to the second electronic device through the first link between the first electronic device and the second electronic device, and meanwhile, the second transmission data can be transmitted to the second electronic device through the second link between the first electronic device and the second electronic device.
As another possible case, when the first electronic device transmits data to the second electronic device, the second transmission data may also be transmitted to the second electronic device through the first link between the second electronic devices, and the second transmission data may be transmitted to the second electronic device through the second link between the second electronic device and the second electronic device, which is not limited in this embodiment.
It should be noted that, the first link and the second link are one of a WIFI link and a LIFI link, for example, the first link is a WIFI link, and the second link is a LIFI link, and of course, the first link may be a LIFI link, and the second link may be a WIF link, which is not limited in this embodiment.
In this embodiment of the present application, after receiving the first transmission data and the second transmission data, the second electronic device further merges the first transmission data and the second transmission data to generate the transmission data.
It should be explained that in the embodiment of the present application, when the first electronic device transmits data through the first link and the second link between the first electronic device and the second electronic device, there may be a case where two or more second electronic devices simultaneously receive data, so in this embodiment, the number of the second electronic devices is not limited, and may be one or more, so as to implement data transmission between the electronic devices.
In addition, it should be noted that the second electronic device may also be used as a sender, and the first electronic device may be used as a receiver, so that the second electronic device may send data to the first electronic device.
According to the data transmission control method between the electronic devices, the data to be transmitted is segmented through the first electronic device to generate first transmission data and second transmission data, and the first transmission data is transmitted to the second electronic device through a first link between the first electronic device and the second electronic device; and transmitting the second transmission data to the second electronic device over a second link with the second electronic device; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate the transmission data. According to the method, the data to be transmitted is divided into the first transmission data and the second transmission data, and the first link and the second link are adopted for synchronously transmitting the data, so that the phenomenon that the data transmission rate between electronic devices is low due to the fact that only one link is used for transmitting the data when the network quality of the link is poor is avoided, the phenomenon that the network quality of the link is interfered by the environment and the data transmission between the electronic devices cannot be performed due to the fact that the network quality of the link is poor is avoided, the data transmission rate between the electronic devices is improved, and the use experience of users is improved.
Based on the embodiment shown in fig. 1, as a possible implementation manner, the first electronic device may segment the data to be transmitted according to the transmission rates of the first link and the second link to generate the first transmission data and the second transmission data. The above process will be described in detail with reference to fig. 2, and fig. 2 is a schematic flow chart of another method for controlling data transmission between electronic devices according to an embodiment of the present application.
As shown in fig. 2, the data transmission control method between the electronic devices includes the steps of:
in step 201, the first electronic device obtains transmission rates of a first link and a second link, respectively.
The transmission rate refers to the number of bits transmitted in binary per second, and generally takes the bit rate (bps) as a unit, and factors influencing the data transmission rate mainly include parameter information such as bandwidth, time delay, packet loss rate and the like.
In this embodiment of the present application, in order to improve data transmission between electronic devices, when a first electronic device segments data to be transmitted, the data to be transmitted may be segmented according to transmission rates of a first link and a second link. Alternatively, transmission rate testing methods in the related art may be used to obtain the transmission rates of the first link and the second link respectively, which is not limited in this application.
In step 202, the first electronic device generates an allocation ratio according to the transmission rates of the first link and the second link.
In this embodiment of the present application, after the first electronic device obtains the transmission rates of the first link and the second link, the allocation proportion of the data to be transmitted is generated according to the transmission rates of the first link and the second link.
For example, when the first link is a WIFI link and the second link is a LIFI link, transmission rates of the first link and the second link obtained by the first electronic device are 100 mbps and 10 gbps, respectively. It can be seen that the ratio of the transmission rates of the first link and the second link is 1:100. Therefore, the allocation ratio of the data to be transmitted to the first transmission data and the second transmission data can be set to be 1:100 according to the ratio of the transmission rates, so that the data transmission rate between the electronic devices can be improved.
In step 203, the first electronic device segments the data to be transmitted according to the allocation proportion to generate first transmission data and second transmission data.
In this embodiment of the present application, after generating an allocation ratio according to transmission rates of a first link and a second link, the first electronic device segments data to be transmitted according to the allocation ratio, so as to generate first transmission data and second transmission data. Therefore, under the condition that the data to be transmitted is large, the data to be transmitted are segmented into the first transmission data and the second transmission data, and then are transmitted to the second electronic equipment through the first link and the second link respectively, so that the data transmission rate between the electronic equipment is improved.
For example, when data transmission is performed between electronic devices, if the data to be transmitted is 101G, if only a WIFI link is used, there is a phenomenon that the WIFI link is easily interfered by external environment and the transmission speed is slow. In this case, the first electronic device may segment the data to be transmitted according to the allocation ratio, for example, the data to be transmitted may be segmented according to the allocation ratio 1:100 as described in the above example, and the data to be transmitted may be segmented into the first transmission data and the second transmission data, which are 1G and 100G respectively.
According to the data transmission control method between the electronic devices, the transmission rates of the first link and the second link are respectively obtained through the first electronic device, the first electronic device generates the distribution proportion according to the transmission rates of the first link and the second link, and the first electronic device segments data to be transmitted according to the distribution proportion to generate first transmission data and second transmission data. Therefore, the data to be transmitted is divided into two parts according to the data transmission rate, the phenomenon that the data transmission rate between the electronic devices is low when the data to be transmitted is large is avoided, the data transmission rate between the electronic devices is improved, and the use experience of users is improved.
In one possible scenario, when data is transmitted between electronic devices, there may be a phenomenon that a WIFI link is affected by the surrounding environment and cannot normally transmit data, where a first electronic device transmits data to a second electronic device through a LIFI link with the second electronic device. The above process will be described in detail with reference to fig. 3, and fig. 3 is a schematic flow chart of another method for controlling data transmission between electronic devices according to an embodiment of the present application.
As shown in fig. 3, the data transmission control method may include the steps of:
in step 301, the first electronic device obtains a transmission rate of the first link.
The first link is a WIFI link.
In this embodiment of the present application, the method for obtaining the transmission rate of the first link may refer to the implementation process of step 201 in the foregoing embodiment, which is not described herein again.
When data transmission is performed between the electronic devices, if the transmitting party is the second electronic device, the receiving party is the first electronic device. In this case, the transmission data of the first link may be acquired by the second electronic device.
Step 302, determining whether the transmission rate of the first link is greater than a preset threshold.
In this embodiment of the present application, after the first electronic device obtains the transmission rate of the first link, further, it is determined whether the transmission rate of the first link is greater than a preset threshold.
It is understood that when the transmission rate of the first link between the first electronic device and the second electronic device is faster, the first link and the second link may be used to simultaneously transmit data, so as to increase the transmission rate of the data. And when the transmission rate of the first link is slower and even when the data cannot be normally transmitted due to the interference of the surrounding environment is received, the data can be transmitted only through the second link. Wherein the second link is a LIFI link.
Step 303, if the transmission rate of the first link is greater than or equal to the preset threshold, the first electronic device segments the data to be transmitted to generate first transmission data and second transmission data, and transmits the first transmission data to the second electronic device through the first link with the second electronic device, and transmits the second transmission data to the second electronic device through the second link with the second electronic device.
In this embodiment of the present application, when it is determined that the transmission rate of the first link is greater than or equal to the preset threshold, it is indicated that the network environment of the WIFI link is better, and is not interfered by the surrounding environment, or the interference degree is lower. In this case, when data transmission is performed between the electronic devices, the data can be simultaneously transmitted through the first link and the second link, that is, the WIFI link and the LIFI link, so as to improve the data transmission rate between the electronic devices.
It should be noted that, for the specific implementation process of step 303, reference may be made to the implementation processes of step 101 to step 103 in the above embodiment, which are not described herein.
In one scenario, when the transmission rate of the first link is greater than or equal to the preset threshold, when the amount of data to be transmitted is smaller, data transmission may be performed by using only the first link, or data transmission may be performed by using only the second link, which is not limited in this embodiment.
Step 304, if the transmission rate of the first link is smaller than the preset threshold, the first electronic device transmits the data to be transmitted to the second electronic device through the second link with the second electronic device.
Wherein the second link is a LIFI link.
In this embodiment of the present invention, when the transmission rate of the first link acquired by the first electronic device is smaller than the preset threshold, the first electronic device does not need to segment the data to be transmitted, and the first electronic device may only transmit the data to be transmitted to the second electronic device through the second link with the second electronic device.
It can be appreciated that the transmission rate of the WIFI link is easily interfered by the surrounding environment, and when the network environment between the first electronic device and the second electronic device is poor, there may be a situation that the transmission rate of the WIFI link is low, or even data cannot be normally transmitted. At this time, the first electronic device may transmit data to be transmitted to the second electronic device through the LIFI link with the second electronic device. Therefore, when data transmission is carried out between the electronic devices, the data transmission can be carried out through the LIFI link when the WIFI link cannot work normally.
In this embodiment, when the first link is a LIFI link and the second link is a WIFI link, at this time, whether the transmission rate of the second link is greater than a preset threshold is determined to determine a data transmission manner between electronic devices, and the specific implementation process is described above and is not described herein again.
It should be noted that, when the transmission rate of the WIFI link is smaller than the preset threshold and data cannot be normally transmitted, it needs to be determined whether a LIFI link is established between the first electronic device and the second electronic device, and only when it is determined that the LIFI link is already established, data can be transmitted to the second electronic device through the LIFI link. If it is determined that the LIFI link is not established between the first electronic device and the second electronic device, only the WIFI link can be used for data transmission, or it may be further determined whether a third link is established between the first electronic device and the second electronic device, where the third link may be a mobile network link (e.g. 2G/3G/4G/5G network connection). Upon determining that a third link is established between the first electronic device and the second electronic device, data may be transmitted over the third link.
According to the data transmission control method between the electronic devices, the transmission rate of the first link is obtained through the first electronic device, whether the transmission rate of the first link is larger than a preset threshold value is judged, if the transmission rate of the first link is larger than or equal to the preset threshold value, the first electronic device segments data to be transmitted to generate first transmission data and second transmission data, the first transmission data is transmitted to the second electronic device through the first link between the first electronic device and the second electronic device, the second transmission data is transmitted to the second electronic device through the second link between the second electronic device, and if the transmission rate of the first link is smaller than the preset threshold value, the first electronic device transmits the data to be transmitted to the second electronic device through the second link between the first electronic device and the second electronic device. Therefore, when the data transmission is carried out between the electronic devices, the data transmission can be carried out through the second link when the first link cannot work normally.
In order to achieve the above embodiments, the embodiments of the present application further provide a data transmission control device between electronic devices.
Fig. 4 is a schematic structural diagram of a data transmission control device between electronic devices according to an embodiment of the present application.
As shown in fig. 4, the data transmission control device 100 between the electronic apparatuses includes: the splitting module 110, the first transmission module 120, and the second transmission module 130.
The slicing module 110 is configured to slice the data to be transmitted by the first electronic device to generate first transmission data and second transmission data.
The first transmission module 120 is configured to transmit the first transmission data to the second electronic device through a first link with the second electronic device.
A second transmission module 130, configured to transmit second transmission data to the second electronic device through a second link with the second electronic device; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate the transmission data.
As one possible implementation, the segmentation module 110 includes:
and the acquisition unit is used for respectively acquiring the transmission rates of the first link and the second link by the first electronic equipment.
And the generating unit is used for generating the distribution proportion by the first electronic equipment according to the transmission rates of the first link and the second link.
The splitting unit is used for splitting the data to be transmitted according to the distribution proportion by the first electronic equipment so as to generate first transmission data and second transmission data.
As another possible implementation, the first link is a wireless fidelity WIFI link and the second link is an optical fidelity LIFI link.
As another possible implementation manner, the segmentation module 110 may further include:
and the transmission unit is used for transmitting the data to be transmitted to the second electronic equipment through the second link between the first electronic equipment and the second electronic equipment if the transmission rate of the first link is smaller than the preset threshold value.
It should be noted that the foregoing explanation of the embodiment of the data transmission control method between electronic devices is also applicable to the data transmission control device between electronic devices in this embodiment, and will not be repeated here.
According to the data transmission control device between the electronic devices, the data to be transmitted is segmented through the first electronic device to generate first transmission data and second transmission data, and the first transmission data is transmitted to the second electronic device through a first link between the first electronic device and the second electronic device; and transmitting the second transmission data to the second electronic device over a second link with the second electronic device; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate the transmission data. According to the method, the data to be transmitted is divided into the first transmission data and the second transmission data, and the first link and the second link are adopted for synchronously transmitting the data, so that the phenomenon that the data transmission rate between electronic devices is low due to the fact that only one link is used for transmitting the data when the network quality of the link is poor is avoided, the phenomenon that the network quality of the link is interfered by the environment and the data transmission between the electronic devices cannot be performed due to the fact that the network quality of the link is poor is avoided, the data transmission rate between the electronic devices is improved, and the use experience of users is improved.
In order to achieve the foregoing embodiments, an embodiment of the present application further provides an electronic device, including: the control unit is used for controlling the electronic equipment to segment the data to be transmitted so as to generate first transmission data and second transmission data; the control unit comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the data transmission control method between the electronic devices according to the embodiment when executing the program.
Wherein the electronic device further comprises: the control unit controls the WIFI module to transmit the first transmission data; and the control unit controls the LIFI module to transmit the second transmission data.
In order to achieve the above embodiments, the embodiments of the present application further provide a computer-readable storage medium storing computer-readable instructions for causing a computer to execute the data transmission control method between electronic devices described in the above embodiments.
It should be noted that the computer readable medium described in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, a computer-readable signal medium may include a data signal that propagates in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects an internet protocol address from the at least two internet protocol addresses and returns the internet protocol address; receiving an Internet protocol address returned by the node evaluation equipment; wherein the acquired internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer-readable medium carries one or more programs that, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations of the present application may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present application may be implemented by software, or may be implemented by hardware. The name of the unit does not in any way constitute a limitation of the unit itself, for example the first acquisition unit may also be described as "unit acquiring at least two internet protocol addresses".

Claims (6)

1. A data transmission control method between electronic devices, characterized by comprising:
the first electronic equipment segments the data to be transmitted to generate first transmission data and second transmission data;
transmitting the first transmission data to a second electronic device through a first link with the second electronic device; and
transmitting the second transmission data to the second electronic device through a second link with the second electronic device; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate transmission data;
the first electronic device segments data to be transmitted to generate first transmission data and second transmission data, including:
the first electronic equipment respectively acquires the transmission rates of the first link and the second link;
the first electronic equipment generates an allocation proportion according to the transmission rates of the first link and the second link; and
the first electronic equipment segments the data to be transmitted according to the distribution proportion to generate first transmission data and second transmission data;
after the first electronic device obtains the transmission rates of the first link and the second link, the method includes:
if the transmission rate of the first link is smaller than a preset threshold, the first electronic device transmits the data to be transmitted to the second electronic device through a second link between the first electronic device and the second electronic device;
the first link is a wireless fidelity (WIFI) link, and the second link is an optical fidelity (LIFI) link.
2. The method for controlling data transmission between electronic devices according to claim 1, wherein the first electronic device is a mobile terminal.
3. A data transmission control apparatus between electronic devices, comprising:
the splitting module is used for splitting the data to be transmitted by the first electronic equipment to generate first transmission data and second transmission data;
the first transmission module is used for transmitting the first transmission data to the second electronic equipment through a first link between the first transmission module and the second electronic equipment;
the second transmission module is used for transmitting the second transmission data to the second electronic equipment through a second link between the second transmission module and the second electronic equipment; the second electronic device combines the first transmission data and the second transmission data after receiving the first transmission data and the second transmission data to generate transmission data;
the segmentation module comprises:
the acquisition unit is used for respectively acquiring the transmission rates of the first link and the second link by the first electronic equipment;
the generating unit is used for generating an allocation proportion according to the transmission rates of the first link and the second link by the first electronic equipment; and
the splitting unit is used for splitting the data to be transmitted according to the distribution proportion by the first electronic equipment so as to generate first transmission data and second transmission data;
the segmentation module comprises:
a transmission unit, configured to, if the transmission rate of the first link is less than a preset threshold, transmit, by the first electronic device, the data to be transmitted to the second electronic device through a second link between the first electronic device and the second electronic device;
the first link is a wireless fidelity (WIFI) link, and the second link is an optical fidelity (LIFI) link.
4. An electronic device, comprising: the control unit is used for controlling the electronic equipment to segment the data to be transmitted so as to generate first transmission data and second transmission data;
the control unit comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the data transmission control method between electronic devices according to any of claims 1-2 when executing the program.
5. The electronic device of claim 4, further comprising: the control unit controls the WIFI module to transmit the first transmission data; and the control unit controls the LIFI module to transmit the second transmission data.
6. A computer-readable storage medium storing computer instructions for causing the computer to execute the data transmission control method between electronic devices according to any one of claims 1-2.
CN201910579537.0A 2019-06-28 2019-06-28 Method and device for controlling data transmission between electronic devices Active CN112153094B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910579537.0A CN112153094B (en) 2019-06-28 2019-06-28 Method and device for controlling data transmission between electronic devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910579537.0A CN112153094B (en) 2019-06-28 2019-06-28 Method and device for controlling data transmission between electronic devices

Publications (2)

Publication Number Publication Date
CN112153094A CN112153094A (en) 2020-12-29
CN112153094B true CN112153094B (en) 2024-03-19

Family

ID=73891610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910579537.0A Active CN112153094B (en) 2019-06-28 2019-06-28 Method and device for controlling data transmission between electronic devices

Country Status (1)

Country Link
CN (1) CN112153094B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550417B (en) * 2022-08-16 2023-06-06 北京连山科技股份有限公司 Method for reducing transmission delay between different operators of multi-link equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016144116A (en) * 2015-02-04 2016-08-08 日本電気株式会社 Communication method
CN106788731A (en) * 2017-03-17 2017-05-31 维沃移动通信有限公司 Data transmission method and mobile terminal
CN108293203A (en) * 2015-11-27 2018-07-17 华为技术有限公司 network node, wireless communication system and method
CN108462953A (en) * 2018-03-30 2018-08-28 北京金山安全软件有限公司 File transmission method and device, electronic equipment and storage medium
CN109495880A (en) * 2018-11-30 2019-03-19 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN109587719A (en) * 2018-12-25 2019-04-05 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN109743712A (en) * 2018-12-29 2019-05-10 Oppo广东移动通信有限公司 Data transfer control method and Related product

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016144116A (en) * 2015-02-04 2016-08-08 日本電気株式会社 Communication method
CN108293203A (en) * 2015-11-27 2018-07-17 华为技术有限公司 network node, wireless communication system and method
CN106788731A (en) * 2017-03-17 2017-05-31 维沃移动通信有限公司 Data transmission method and mobile terminal
CN108462953A (en) * 2018-03-30 2018-08-28 北京金山安全软件有限公司 File transmission method and device, electronic equipment and storage medium
CN109495880A (en) * 2018-11-30 2019-03-19 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN109587719A (en) * 2018-12-25 2019-04-05 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN109743712A (en) * 2018-12-29 2019-05-10 Oppo广东移动通信有限公司 Data transfer control method and Related product

Also Published As

Publication number Publication date
CN112153094A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US7899393B2 (en) Method and device for fast near-field communication
CN108432311B (en) Resource request method, equipment, network side node and system
CN107155204B (en) Bluetooth and Wifi switching method and system
KR101849253B1 (en) Information processing method, user equipment and base station
CN104601521A (en) Method, device and system for dynamically selecting communication transmission protocol
CN111245575A (en) Semi-persistent scheduling method and device, base station, user terminal and readable storage medium
JP2022518000A (en) Measurement reporting method and equipment, terminal equipment information acquisition method and equipment
CN115174490A (en) Data transmission method and network application terminal
CN112153094B (en) Method and device for controlling data transmission between electronic devices
CN108260211A (en) A kind of method and apparatus that resource is managed in V2X networks
CN110945942A (en) Method, device and terminal for determining DRS window in NR-U
EP4092947A1 (en) Data transmission method and apparatus, first communication node, and second communication node
KR101889200B1 (en) Wireless access method, apparatus and system
EP2966788A1 (en) Communication method, base station, user equipment, and system
CN110545556B (en) MAC CE, information sending method, information receiving method and communication equipment
CN111372316A (en) Method and device for sending uplink resources
CN102457928B (en) Frequency migration triggers and frequency moving method, system and equipment
CN104754041A (en) Internet of things communication method and related devices
WO2017177822A1 (en) Node selection method and apparatus, and node
CN112153668A (en) Data transmission method and device and mobile terminal
CN105933092B (en) Data transmission method and system based on circuit switching
CN109314595B (en) Method and device for transmitting data
WO2018082069A1 (en) Resource sharing method, access point device, and terminal
CN102724743B (en) Transmission power control method and device
WO2019110088A1 (en) Downlink scheduling of terminal devices

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