CN112153094A - Data transmission control method and device between electronic devices - Google Patents

Data transmission control method and device between electronic devices Download PDF

Info

Publication number
CN112153094A
CN112153094A CN201910579537.0A CN201910579537A CN112153094A CN 112153094 A CN112153094 A CN 112153094A CN 201910579537 A CN201910579537 A CN 201910579537A CN 112153094 A CN112153094 A CN 112153094A
Authority
CN
China
Prior art keywords
data
link
transmission
transmission data
electronic device
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.)
Granted
Application number
CN201910579537.0A
Other languages
Chinese (zh)
Other versions
CN112153094B (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

Images

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 method and a device for controlling data transmission between electronic devices, wherein the method comprises the following steps: the method comprises the steps that data to be transmitted are segmented through first electronic equipment to generate first transmission data and second transmission data, and the first transmission data are transmitted to second electronic equipment through a first link between the first transmission data and the second transmission data; transmitting second transmission data to the second electronic equipment through a second link between the second electronic equipment and the second electronic equipment; 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 adopted for transmission respectively, so that the phenomenon that the data transmission rate between electronic equipment is slow due to the fact that only one link is used for data transmission can be avoided, when the network quality of the link is poor, the data transmission rate between the electronic equipment is improved, and the use experience of a user is improved.

Description

Data transmission control method and device 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 popularization of terminal devices and the high cost of 2G, 3G and 4G networks charged by flow, the requirement of users on wireless network coverage is higher and higher. Wireless local area networks, such as WIFI, are a necessary networking environment for users in their daily lives.
At present, when data transmission is carried out between electronic devices, scenes of large-scale file transmission are often encountered, the requirement on the transmission rate of a communication system is high, and in some scenes, when the quality of a WIFI network is poor, the data transmission rate is slow, and normal transmission can not be carried out.
Disclosure of Invention
The present application is directed to solving, 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 that data to be transmitted are divided into first transmission data and second transmission data, and the first link and the second link are adopted for synchronous data transmission, therefore, the phenomenon that the data transmission rate between the electronic devices is slow or the data transmission cannot be normally carried out due to poor network of the first link is avoided, the data transmission rate between the electronic devices is improved, and the use experience of a user is improved.
An embodiment of a first aspect of the present application provides a method for controlling data transmission between electronic devices, including:
the method comprises the steps that first electronic equipment divides 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 to generate transmission data after receiving the first transmission data and the second transmission data.
According to the data transmission control method between the electronic devices, the data to be transmitted are segmented through the 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; 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 to generate transmission data after receiving the first transmission data and the second 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 only one link is used for data transmission, when the network quality of the link is poor, the data transmission rate between electronic equipment is slow is avoided, the phenomenon that the network quality of the link is interfered by the environment, the data transmission between the electronic equipment cannot be carried out is also avoided, the data transmission rate between the electronic equipment is improved, and the use experience of a user is improved.
An embodiment of a second aspect of the present application provides a data transmission control apparatus between electronic devices, including:
the segmentation module is used for segmenting 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 to generate transmission data after receiving the first transmission data and the second 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 the first link between the first electronic device and 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 to generate transmission data after receiving the first transmission data and the second 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 only one link is used for data transmission, when the network quality of the link is poor, the data transmission rate between electronic equipment is slow is avoided, the phenomenon that the network quality of the link is interfered by the environment, the data transmission between the electronic equipment cannot be carried out is also avoided, the data transmission rate between the electronic equipment is improved, and the use experience of a user 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 method for controlling data transmission between electronic devices as described in the above embodiments is implemented.
A fourth aspect of the present application provides a computer-readable storage medium, where computer-readable instructions are stored, and the computer-readable instructions are configured to cause a computer to execute the method for controlling data transmission between electronic devices according to the foregoing embodiments.
Additional aspects and advantages of the present 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 present 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 of which:
fig. 1 is a schematic flowchart of a method for controlling data transmission between electronic devices according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another method for controlling data transmission between electronic devices according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a data transmission control method between electronic devices according to another embodiment of the present disclosure;
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
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The application mainly aims at the technical problem that in the prior art, when data are transmitted between electronic equipment through WIFI, the WIFI network quality is poor, and the transmission speed is low, and provides a data transmission control method between the electronic equipment.
According to the data transmission control method between the electronic devices, the data to be transmitted are segmented through the 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; 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 to generate transmission data after receiving the first transmission data and the second 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 equipment is slow due to the fact that only the first link is used for data transmission when the network quality of the first link is poor can be avoided, the data transmission rate between the electronic equipment is improved, and the use experience of a user is improved.
A data transmission control method and apparatus between electronic devices according to an embodiment of the present application are described below with reference to the drawings.
Before describing the embodiments of the present application in detail, for the sake of understanding, common technical terms are first introduced:
Wireless-Fidelity (WIFI) technology is a technology that can wirelessly connect terminals such as personal computers and handheld devices (e.g., tablet computers and mobile phones). Typically for offices and homes.
The Light Fidelity (LIFI) technology is a Light internet access technology, and Light emitted by an LED lighting lamp is used as a transmission tool of a network signal to perform data transmission, thereby realizing illumination internet access. LIFI has the characteristics of low radiation, low energy consumption, low carbon and environmental protection, and gradually becomes a research hotspot in the field of internet.
Fig. 1 is a schematic flowchart of a method for controlling data transmission between electronic devices according to an embodiment of the present disclosure.
As shown in fig. 1, the method for controlling data transmission between electronic devices includes the following steps:
step 101, a first electronic device segments data to be transmitted to generate first transmission data and second transmission data.
In the embodiment of the application, the first electronic device may be a mobile terminal, such as a tablet computer, a mobile phone, and the like; but also intelligent household appliances, etc., and is not limited herein.
In the embodiment of the application, when data is transmitted between electronic devices, when data to be transmitted is large, for example, a large file, a large game and the like, in order to avoid the phenomenon that the data transmission speed is slow due to poor network quality, the first electronic device divides 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, when data transmission is performed between the electronic devices, the first electronic device splits the file a to be transmitted into files a1 and a 2. 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 a second electronic device through a first link between the second electronic device and the second electronic device.
And 103, transmitting second transmission data to the second electronic equipment through a second link between the second electronic equipment and the second electronic equipment.
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 the like; but also intelligent household appliances, etc., and is not limited herein.
In the embodiment of the application, after the first electronic device divides data to be transmitted to generate first transmission data and second transmission data, when the first electronic device transmits data to the second electronic device, under the condition that the communication quality of the first link and the communication quality of the second link are good, 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 is transmitted to the second electronic device through the second link between the first electronic device and the second electronic device.
As another possible situation, when the first electronic device transmits data to the second electronic device, the second electronic device may also transmit second transmission data to the second electronic device through the first link between the second electronic devices, and transmit the second transmission data 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 respectively 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 also be a LIFI link, and the second link is a WIF link, which is not limited in this embodiment.
In this embodiment, after receiving the first transmission data and the second transmission data, the second electronic device further combines the first transmission data and the second transmission data to generate transmission data.
It should be explained that, in this embodiment of the 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 also be a case where two or more second electronic devices receive data at the same time, and therefore, in this embodiment, the number of the second electronic devices is not limited, and may be one, or may be multiple, so as to implement data transmission between the electronic devices.
In addition, it should be further noted that the second electronic device may also serve as a sender, and the first electronic device may serve as a receiver, so that the second electronic device sends data to the first electronic device.
According to the data transmission control method between the electronic devices, the data to be transmitted are segmented through the 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; 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 to generate transmission data after receiving the first transmission data and the second 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 only one link is used for data transmission, when the network quality of the link is poor, the data transmission rate between electronic equipment is slow is avoided, the phenomenon that the network quality of the link is interfered by the environment, the data transmission between the electronic equipment cannot be carried out is also avoided, the data transmission rate between the electronic equipment is improved, and the use experience of a user is improved.
On the basis of the embodiment shown in fig. 1, as a possible implementation manner, the first electronic device may cut data to be transmitted according to a ratio according to transmission rates of the first link and the second link to generate first transmission data and second transmission data. The above process is described in detail with reference to fig. 2, and fig. 2 is a schematic flowchart of another method for controlling data transmission between electronic devices according to an embodiment of the present application.
As shown in fig. 2, the method for controlling data transmission between electronic devices includes the following steps:
step 201, the first electronic device obtains transmission rates of the first link and the second link respectively.
The transmission rate refers to the number of bits transmitted in binary system per second, and generally takes the bit rate (bps) as a unit, and the factors affecting the data transmission rate mainly include parameter information such as bandwidth, delay, packet loss rate, and the like.
In the embodiment of the application, in order to improve data transmission between electronic devices, when the first electronic device divides data to be transmitted, the data to be transmitted may be divided according to transmission rates of the first link and the second link. Optionally, a transmission rate testing method in the related art may be adopted 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 a distribution ratio according to the transmission rates of the first link and the second link.
In the embodiment of the application, after the first electronic device obtains the transmission rates of the first link and the second link respectively, the distribution 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, if the transmission rates of the first link and the second link acquired by the first electronic device are 100M bps and 10G bps, 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 divided into the first transmission data and the second transmission data can be set to 1:100 according to the ratio of the transmission rates, so that the data transmission rate between the electronic devices can be increased.
Step 203, the first electronic device divides the data to be transmitted according to the distribution proportion to generate first transmission data and second transmission data.
In the embodiment of the application, after the first electronic device generates the distribution proportion according to the transmission rates of the first link and the second link, the first electronic device divides data to be transmitted according to the distribution proportion to generate the first transmission data and the second transmission data. Therefore, under the condition that the data to be transmitted is large, the data to be transmitted is divided into the first transmission data and the second transmission data, and then the first transmission data and the second transmission data are respectively transmitted to the second electronic equipment through the first link and the second link, so that the data transmission rate between the electronic equipment is improved.
For example, when data is transmitted between electronic devices, if the data to be transmitted is 101G, if the data is transmitted only by using a WIFI link, the phenomenon that the WIFI link is easily interfered by an external environment and the transmission speed is slow exists. In this case, the first electronic device may divide the data to be transmitted according to a distribution ratio, such as the distribution ratio 1:100 described in the above example, and divide the data to be transmitted 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 divides the data to be transmitted according to the distribution proportion to generate the first transmission data and the second transmission data. Therefore, the data to be transmitted is divided into two parts according to the data transmission rate, and the phenomenon that the data transmission rate between the electronic devices is slow when the data volume to be transmitted is large is avoided, so that the data transmission rate between the electronic devices is improved, and the use experience of a user is improved.
In a possible scenario, when data is transmitted between electronic devices, a phenomenon that a WIFI link is affected by a surrounding environment and data cannot be normally transmitted may exist, and in this case, a first electronic device transmits data to a second electronic device through an LIFI link between the first electronic device and the second electronic device. The above process is described in detail with reference to fig. 3, and fig. 3 is a flowchart illustrating a data transmission control method between electronic devices according to another embodiment of the present application.
As shown in fig. 3, the data transmission control method may include the steps of:
step 301, the first electronic device obtains a transmission rate of the first link.
The first link is a WIFI link.
In the embodiment of the present application, reference may be made to the implementation process of step 201 in the foregoing embodiment for a method for obtaining a transmission rate of a first link, which is not described herein again.
It should be noted that, when data is transmitted between 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, determine whether the transmission rate of the first link is greater than a preset threshold.
In the embodiment of the application, after the first electronic device obtains the transmission rate of the first link, it is further 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 fast, the first link and the second link may be used to simultaneously transmit data to increase the transmission rate of data. And when the transmission rate of the first link is slow, even when the data cannot be normally transmitted due to the interference of the surrounding environment, the data can be transmitted only through the second link. Wherein the second link is an 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 divides the data to be transmitted to generate first transmission data and second transmission data, transmits the first transmission data to the second electronic device through the first link between the first electronic device and the second electronic device, and transmits the second transmission data to the second electronic device through the second link between the first electronic device and the second electronic device.
In the embodiment of the application, when it is determined that the transmission rate of the first link is greater than or equal to the preset threshold, it indicates that the network environment of the WIFI link is good, and is not interfered by the surrounding environment, or the interference degree is low. In this case, when data is transmitted between the electronic devices, data can be 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 a specific implementation process of step 303, reference may be made to implementation processes of step 101 to step 103 in the foregoing embodiment, and details are not described here again.
In a 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 small, the data transmission may also be performed only by using the first link, or may also be performed only by using 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 data to be transmitted to the second electronic device through the second link between the first electronic device and the second electronic device.
Wherein the second link is an LIFI link.
In the embodiment of the application, 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 can transmit the data to be transmitted to the second electronic device only through the second link between the first electronic device and the second electronic device.
It can be understood 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, the transmission rate of the WIFI link may be low, or even data may not be transmitted normally. 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 and the WIFI link cannot work normally, the data transmission can be carried out through the LIFI link.
In this embodiment of the application, when the first link is an LIFI link and the second link is a WIFI link, at this time, whether the transmission rate of the second link is greater than the preset threshold is determined by determining whether the transmission rate of the second link is greater than the preset threshold, and a specific implementation process is as described above and is not repeated herein.
It should be noted that, when the transmission rate of the WIFI link is less than the preset threshold and data cannot be normally transmitted, it is necessary to determine whether the 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 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, data transmission can be performed only by using the WIFI link, 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., a 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 or not is judged, if the transmission rate of the first link is larger than or equal to the preset threshold value, the first electronic device divides data to be transmitted to generate first transmission data and second transmission data, the first transmission data are transmitted to the second electronic device through the first link between the first electronic device and the second electronic device, the second transmission data are transmitted to the second electronic device through the second link between the first electronic device and the second electronic device, and if the transmission rate of the first link is smaller than the preset threshold value, the data to be transmitted are transmitted to the second electronic device through the second link between the first electronic device and the second electronic device. Therefore, when data transmission is carried out between the electronic devices and the first link cannot work normally, the data transmission can be carried out through the second link.
In order to implement the foregoing embodiments, an apparatus for controlling data transmission between electronic devices is also provided in the embodiments 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.
As shown in fig. 4, the data transmission control apparatus 100 between electronic devices includes: a slicing module 110, a first transmission module 120, and a second transmission module 130.
The segmentation module 110 is configured to segment, by the first electronic device, data to be transmitted to generate first transmission data and second transmission data.
The first transmission module 120 is configured to transmit first transmission data to the second electronic device through the first link with the second electronic device.
A second transmission module 130, configured to transmit second transmission data to a 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 to generate transmission data after receiving the first transmission data and the second transmission data.
As a possible implementation, the cutting module 110 includes:
the acquisition unit is used for the first electronic equipment to respectively acquire the transmission rates of the first link and the second link.
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 segmentation unit is used for segmenting the data to be transmitted by the first electronic equipment according to the distribution proportion to generate first transmission data and second transmission data.
As another possible implementation manner, the first link is a WIFI link, and the second link is an LIFI link.
As another possible implementation manner, the cutting module 110 may further include:
and the transmission unit is used for transmitting the data to be transmitted to the second electronic equipment by the first electronic equipment through a second link between the first electronic equipment and the second electronic equipment if the transmission rate of the first link is less than a preset threshold value.
It should be noted that the foregoing explanation of the embodiment of the method for controlling data transmission between electronic devices is also applicable to the apparatus for controlling data transmission between electronic devices in this embodiment, and is not 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 the first link between the first electronic device and 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 to generate transmission data after receiving the first transmission data and the second 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 only one link is used for data transmission, when the network quality of the link is poor, the data transmission rate between electronic equipment is slow is avoided, the phenomenon that the network quality of the link is interfered by the environment, the data transmission between the electronic equipment cannot be carried out is also avoided, the data transmission rate between the electronic equipment is improved, and the use experience of a user is improved.
In order to implement the foregoing embodiment, 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 which is stored on the memory and can run on the processor, and when the processor executes the program, the data transmission control method between the electronic devices in the embodiment is realized.
Wherein, electronic equipment still includes: 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 implement the foregoing embodiments, the present application further provides a computer-readable storage medium, where computer-readable instructions are stored, and the computer-readable instructions are configured to enable a computer to execute the data transmission control method between electronic devices according to the foregoing embodiments.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 present application, 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 this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled 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 the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, 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 for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 described in the embodiments of the present application may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first retrieving unit may also be described as a "unit for retrieving at least two internet protocol addresses".

Claims (12)

1. A method for controlling data transmission between electronic devices, comprising:
the method comprises the steps that first electronic equipment divides 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 to generate transmission data after receiving the first transmission data and the second transmission data.
2. The method for controlling data transmission between electronic devices according to claim 1, wherein the first electronic device slicing data to be transmitted to generate first transmission data and second transmission data includes:
the first electronic equipment respectively obtains the transmission rates of the first link and the second link;
the first electronic equipment generates a distribution proportion according to the transmission rates of the first link and the second link; and
and the first electronic equipment divides the data to be transmitted according to the distribution proportion to generate first transmission data and second transmission data.
3. The method of claim 1, wherein the first link is a WIFI (wireless fidelity) link and the second link is an LIFI (optical fidelity) link.
4. The method of claim 2, wherein after the first electronic device obtains the transmission rates of the first link and the second link, respectively, the method comprises:
and if the transmission rate of the first link is smaller than a preset threshold value, the first electronic equipment transmits the data to be transmitted to the second electronic equipment through a second link between the first electronic equipment and the second electronic equipment.
5. The method of claim 1, wherein the first electronic device is a mobile terminal.
6. An apparatus for controlling data transmission between electronic devices, comprising:
the segmentation module is used for segmenting 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 to generate transmission data after receiving the first transmission data and the second transmission data.
7. The apparatus of claim 6, wherein the slicing module comprises:
an obtaining unit, configured to obtain, by the first electronic device, transmission rates of the first link and the second link, respectively;
a generating unit, configured to generate, by the first electronic device, a distribution ratio according to transmission rates of the first link and the second link; and
and the segmentation unit is used for segmenting the data to be transmitted by the first electronic equipment according to the distribution proportion to generate first transmission data and second transmission data.
8. The apparatus of claim 6, wherein the first link is a wireless fidelity (WIFI) link and the second link is an optical fidelity (LIFI) link.
9. The apparatus of claim 7, wherein the slicing module comprises:
and the transmission unit is used for transmitting the data to be transmitted to the second electronic equipment by the first electronic equipment through a second link between the first electronic equipment and the second electronic equipment if the transmission rate of the first link is smaller than a preset threshold value.
10. 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 method of controlling data transfer between electronic devices according to any of claims 1-5 when executing the program.
11. The electronic device of claim 10, 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.
12. A computer-readable storage medium storing computer instructions for causing a computer to execute a data transfer control method between electronic devices according to any one of claims 1 to 5.
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 true CN112153094A (en) 2020-12-29
CN112153094B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550417A (en) * 2022-08-16 2022-12-30 北京连山科技股份有限公司 Method for reducing transmission delay between different operators of multilink 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

Cited By (1)

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

Also Published As

Publication number Publication date
CN112153094B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
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
CN110417510A (en) System and method for dynamic and configurable air interface
CN104619040A (en) Method and system for quickly connecting WIFI equipment
CN115174490A (en) Data transmission method and network application terminal
CN110971533B (en) Method, server apparatus, client apparatus, and medium for data communication
CN105511587B (en) Method and device for controlling radio frequency link
CN112153094B (en) Method and device for controlling data transmission between electronic devices
CN107005464B (en) Method and device for processing service flow data packet
EP4092947A1 (en) Data transmission method and apparatus, first communication node, and second communication node
EP4016868A1 (en) Information feedback method and device, information receiving method and device, and storage medium
WO2018170877A1 (en) Information sending method and apparatus, terminal, access network device and system
CN110545556B (en) MAC CE, information sending method, information receiving method and communication equipment
US10631309B2 (en) Device-to-device D2D data transmission method, apparatus, and system
CN104754041A (en) Internet of things communication method and related devices
CN102457928B (en) Frequency migration triggers and frequency moving method, system and equipment
WO2017177822A1 (en) Node selection method and apparatus, and node
CN110944400B (en) ACK/NACK feedback method, system, base station and terminal
CN110677225B (en) Method and equipment for reporting and receiving reference signal
CN105933092B (en) Data transmission method and system based on circuit switching
CN106712874B (en) Management method and management device of wireless spectrum resources and data sending end
CN109511138B (en) Method, apparatus and computer readable medium for resource allocation in a communication network
CN109314595B (en) Method and device for transmitting data
US20240107586A1 (en) Random access response sending method and receiving method, and apparatus and terminal 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