CN112306941B - Transmission method, electronic equipment and storage medium - Google Patents
Transmission method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112306941B CN112306941B CN201910683676.8A CN201910683676A CN112306941B CN 112306941 B CN112306941 B CN 112306941B CN 201910683676 A CN201910683676 A CN 201910683676A CN 112306941 B CN112306941 B CN 112306941B
- Authority
- CN
- China
- Prior art keywords
- electronic device
- communication modules
- transmitted
- service data
- transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 211
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000004891 communication Methods 0.000 claims abstract description 335
- 238000005516 engineering process Methods 0.000 claims description 72
- 230000015654 memory Effects 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 12
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000010295 mobile communication Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000007726 management method Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 230000008093 supporting effect Effects 0.000 description 8
- 230000004044 response Effects 0.000 description 5
- 230000001976 improved effect Effects 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000002096 quantum dot Substances 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008521 reorganization Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4204—Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a transmission method, electronic equipment and a storage medium, wherein the method comprises the steps that when a first electronic equipment transmits service data to be transmitted, at least two communication modules supported by the first electronic equipment are started, and sub-data streams are respectively transmitted to a second electronic equipment based on the started at least two communication modules; the at least two communication modules are at least two of N communication modules supported by the first electronic device and the second electronic device, N is an integer greater than 1, the sub-data stream transmitted by each communication module in the at least two communication modules is a sub-data stream obtained by dividing the service data to be transmitted, and the sum of the transmission rates of the sub-data streams transmitted by each communication module in the at least two communication modules is greater than or equal to the transmission rate of the service data to be transmitted. Thus, the first electronic device can adaptively select at least two communication modules for transmitting service data in parallel according to the supported communication modules, thereby improving the transmission rate.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a transmission method, an electronic device, and a storage medium.
Background
With the wide popularization of various intelligent devices and the rapid development of various internet services, the demand of users for high-speed internet access at any time and any place is becoming stronger. Particularly in the field of smart home, with the maturity of media technologies such as 8K, interconnection between home broadband devices (such as large screen, camera, augmented reality (augmented reality, AR) devices, virtual Reality (VR) devices, mobile phones, gateways, etc.) is one of important scenes of future communications, and a required transmission rate can reach tens of Gbps (i.e. switching bandwidth), so that a high-speed transmission technology is required.
Currently, the wired transmission technology in the transmission technology mainly includes a power line communication (power line communication, PLC) technology, and the wireless transmission technology mainly includes a fifth Generation (5G) mobile communication technology, a wireless high-fidelity (wireless fidelity, wiFi) technology, bluetooth, and the like. Taking LC technology and WiFi technology as examples, the transmission rate of the PLC technology can reach 1Gbps in theory, and the transmission rate of the WiFi technology can reach 9.6Gbps. But the transmission rate available for both PLC technology and WiFi technology is in fact much lower than the theoretical transmission rate. That is, the transmission rate of current wired or wireless transmission technologies may still not meet the high-speed transmission requirements of the smart device.
Disclosure of Invention
The application provides a transmission method, electronic equipment and a storage medium, which are used for improving the transmission efficiency of data.
In a first aspect, the present application provides a transmission method, where the method includes that when a first electronic device transmits service data to be transmitted, at least two communication modules supported by the first electronic device are started, and sub-data streams are respectively transmitted to the second electronic device based on the at least two communication modules that are started; the at least two communication modules are at least two of N communication modules supported by the first electronic device and the second electronic device, N is an integer greater than 1, the sub-data stream transmitted by each communication module in the at least two communication modules is a sub-data stream obtained by dividing the service data to be transmitted, and the sum of the transmission rates of the sub-data streams transmitted by each communication module in the at least two communication modules is greater than or equal to the transmission rate of the service data to be transmitted.
Based on the scheme, the first electronic equipment can adaptively select at least two communication modules for transmitting service data in parallel according to the supported communication modules, so that the transmission rate can be improved.
In one possible implementation manner, the first electronic device may determine a transmission rate of the service data to be transmitted and transmission rates currently corresponding to the N communication modules respectively, and determine the at least two communication modules according to the transmission rate of the service data to be transmitted and the transmission rates currently corresponding to the N communication modules respectively.
The at least two communication modules may be communication modules adopting the same transmission technology or communication modules adopting different transmission technologies. The following two cases can be distinguished.
Case 1, the at least two communication modules are communication modules employing the same transmission technology. The first electronic device can respectively transmit sub-data streams to the second electronic device through a network protocol (IP) transmission mode based on the at least two started communication modules.
Case 2, the at least two communication modules are communication modules employing different transmission technologies. The first electronic device may transmit sub-data streams to the second electronic device via an application layer or transport layer protocol, respectively, based on the at least two communication modules that are started.
In one possible implementation manner, the first electronic device may restart the at least two communication modules when it is determined that the capability information of the second electronic device includes information of the at least two communication modules, the first electronic device supports the at least two communication modules, and the service data to be transmitted satisfies a preset condition. The preset conditions include that the transmission rate of the service data to be transmitted is greater than the current corresponding transmission rate of any communication module supported by the first electronic device, and the time delay requirement of the service data to be transmitted is higher than any one or more of a first preset threshold.
For example, the first electronic device may obtain the capability information of the second electronic device based on the following manner one and manner two. In one mode, the first electronic device actively queries (e.g., periodically queries) the second electronic device for capability information of the second electronic device. In a second mode, the first electronic device receives the capability information of the second electronic device, which is actively reported (periodically reported or timely reported after capability information changes) by the second electronic device.
In one possible implementation manner, before the first electronic device starts at least two communication modules supported by the first electronic device, prompt information can be further output, where the prompt information is used to prompt information of at least two communication modules that need to be started. Further optionally, the first electronic device restarts the at least two communication modules after receiving an instruction for instructing to start the at least two communication modules. Here, the prompt information may be a voice prompt information or a text prompt information. In this manner, after the first electronic device determines that at least two communication modules need to be activated, a user may select whether to activate operation.
When the prompt information is in a text mode, the first electronic device can display a first user interface in a display screen, and the first user interface comprises starting operation items of the at least two communication modules. Further, after the user clicks the start operation item in the first interface, the first electronic device may detect that the start operation item is triggered.
In the application, the first electronic device can also set an opening/closing control in the system setting interface, wherein the opening/closing control allows at least two communication modules to transmit service data in parallel when being started, and only allows one communication module to transmit service data when being closed. Therefore, the user can flexibly select whether to adopt at least two communication modules to transmit service data in parallel according to actual use conditions.
In a second aspect, the present application provides a transmission method, where the method includes determining, by a third electronic device, a target transmission mode according to a service characteristic corresponding to service data to be currently transmitted, where the service characteristic includes a bandwidth requirement and/or a delay requirement; and the third electronic equipment transmits the service data to be transmitted currently to at least two fourth electronic equipment through the target transmission mode.
Based on the scheme, the third electronic equipment can improve the transmission rate on the basis of guaranteeing service experience through a proper transmission mode according to the characteristics of the service.
The specific third electronic device determines the target transmission mode according to the service characteristics corresponding to the service data to be transmitted currently, and the three possible scenarios can be classified as follows.
In a first scenario, if the third electronic device determines that the bandwidth requirement corresponding to the service data to be transmitted currently is fixed, it is determined that the target transmission mode is a virtual MIMO transmission mode.
And in a second scenario, if the third electronic device determines that the bandwidth requirement corresponding to the service data to be transmitted currently is not fixed and the time delay requirement is lower than a second preset threshold, determining that the target transmission mode is an MU-MIMO transmission mode.
And in a third scenario, if the third electronic device determines that the bandwidth requirement corresponding to the service data to be transmitted currently is not fixed and the time delay requirement is higher than a third preset threshold, determining that the target transmission mode is a TXOP transmission mode.
In a third aspect, the application provides an electronic device comprising one or more processors, one or more memories, and one or more computer programs, wherein the one or more computer programs are stored in the memories, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the method of the first aspect or any of the possible implementations of the first aspect, or cause the electronic device to perform the method of the second aspect or any of the possible implementations of the second aspect.
In a third aspect, the present application also provides an electronic device comprising means/units for performing the method of the first aspect or any of the possible implementation manners of the first aspect, or means/units for performing the method of the second aspect or any of the possible implementation manners of the second aspect. These modules/units may be implemented by hardware, or may be implemented by hardware executing corresponding software.
In a fourth aspect, embodiments of the present application provide a computer storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of the first aspect or any of the possible implementations of the first aspect, or cause the computer to perform the method of the second aspect or any of the possible implementations of the second aspect.
In a fifth aspect, embodiments of the application provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect or any of the possible implementations of the first aspect, or cause the computer to perform the method of the second aspect or any of the possible implementations of the second aspect.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to the present application;
FIG. 2a is a schematic diagram of a user interface according to the present application;
FIG. 2b is a schematic diagram of a system configuration interface according to the present application;
fig. 3 is a schematic flow chart of a data transmission method according to the present application;
fig. 4a is a schematic structural diagram of a protocol stack according to the present application;
fig. 4b is a schematic structural diagram of another protocol stack according to the present application;
FIG. 5a is a schematic diagram showing a prompt message displayed on a main interface according to the present application;
FIG. 5b is a schematic diagram of another user interface provided by the present application;
fig. 6 is a schematic flow chart of another transmission method according to the present application;
fig. 7 is a schematic structural diagram of an electronic device according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
In the following, some terms in the embodiments of the present application are explained for easy understanding by those skilled in the art.
1) Transmission techniques, also referred to as transmission mechanisms, include wired transmission techniques and wireless transmission techniques. The wired transmission technology mainly includes PLC technology (the transmission technology of the PLC communication module is PLC technology). The PLC technology refers to a communication method for transmitting data and media signals by using a power line. The technology is that the high frequency carrying information is loaded on the current and then the adapter for receiving the information is transmitted by the wire, and then the high frequency is separated from the current and transmitted to the computer or the telephone to realize information transmission. From the viewpoint of occupying frequency bandwidth, it can be classified into a narrowband PLC and a wideband PLC. The wireless transmission technology mainly comprises a 5G mobile communication technology (the transmission technology of the 5G communication module is the 5G mobile communication technology), a 4G mobile communication technology (the transmission technology of the 4G communication module is the 4G mobile communication technology), a WiFi technology (the transmission technology of the WiFi communication module is the WiFi technology), a Bluetooth technology (the transmission technology of the Bluetooth communication module is the Bluetooth technology) and the like. Currently, the protocol specifications of PLC technology include IEEE's P1901 and ITU-T G.hn. The P1901 of IEEE uses frequency band of 0-100 MHz, G.hn of ITU-T uses frequency band up to 200MHz, and the transmission rate can reach 1Gbps theoretically by adopting multiple-input multiple-output (MIMO) technology and high-order modulation technology (such as 4096 QAM). The protocol specification of the WiFi technology is IEEE 802.11, and at 160M bandwidth, the highest high-order modulation technology can be 1024QAM and 8 space flows, and the theoretical transmission rate can reach 9.6Gbps. The protocol specification of the Bluetooth technology is IEEE802.15 protocol, and the used frequency band is the ISM (i.e. industrial, scientific and medical) band of 2.4-2.485 GHz. The protocol specification of the 5G mobile communication technology is NR (new radio).
2) Parallel transmission, in the embodiment of the application, refers to that the same service data is simultaneously and parallel transmitted in a plurality of communication modules. It is common to transmit several binary codes constituting one character simultaneously over several parallel channels, respectively. Parallel transmission requires multiple physical channels. Common parallel transmissions include link layer parallel transmissions, application layer parallel transmissions, network layer parallel transmissions, and transport layer parallel transmissions, among others. Wherein, the parallel transmission of link layer refers to: the generic link layer is referenced in layer 2.5 of the wireless communication module, and can uniformly process data of the link layer of each radio access technology, and can provide a uniform interface for an upper layer (such as an IP layer), so that differences of each radio access technology of a bottom layer (such as a physical layer) can be shielded. At the same time, the generic link layer may map data flows from higher layers (e.g., IP layers) into the appropriate radio access technology. The network layer parallel transport (also referred to as network protocol (internet protocol, IP) layer) refers to: IP packets from different radio access technologies are aggregated by a network proxy or distributed to the various communication modules according to the IP addresses of the IP packets. Transport layer parallel transport refers to: a multiplexing control protocol (multipath Transmission Control Protocol MP-TCP) layer supporting parallel transmission is added between the application layer and the existing transport layer, and the original TCP data stream is divided into a plurality of sub-streams, i.e. into a plurality of conventional TCP connections. When MP-TCP receives data of application layer, it is first processed by segment reorganization, and then distributed to different sub-streams, namely realizing data distribution of parallel transmission. In turn, the TCP substreams submit the data sent by the sender from different interfaces to the MP-TCP layer respectively, the MP-TCP reorganizes the data, and then the data are submitted to the application layer, so that data integration of parallel transmission is realized. The application layer parallel transmission refers to: splitting the data at the application layer and then transmitting the data using a plurality of parallel transport layer links.
3) Transmission opportunity (transmission opportunity, TXOP) refers to a period of time. During this period, one node has access to the wireless medium and the access time cannot exceed the TXOP. That is, the TXOP is a time interval in which one electronic device allows transmission of several frames. The TXOP transmission mode refers to that one TXOP is divided into a plurality of time slots, each time slot is arranged to an electronic device to transmit a frame with a corresponding priority, and when the electronic device does not transmit the frame with the corresponding priority, the time slot is ignored.
4) Multiple-input multiple-output (MIMO) technology refers to using multiple transmit antennas and receive antennas at a transmitting end and a receiving end, respectively, so that signals are transmitted and received through the multiple antennas at the transmitting end and the receiving end, thereby improving communication quality. The system can fully utilize space resources, realize multiple transmission and multiple reception through a plurality of antennas, and can doubly improve the system channel capacity under the condition of not increasing frequency spectrum resources and antenna transmitting power.
5) Multi-user multiple-input multiple-output (MIMO) techniques, including uplink MU-MIMO and downlink MU-MIMO. The uplink MU-MIMO refers to that different users use the same time-frequency resource to perform uplink transmission (single antenna transmission), and from the receiving end, these data streams can be regarded as different antennas from one user terminal, so as to form a virtual MIMO system, i.e. uplink MU-MIMO. Transmitting a plurality of data streams to different user terminals, wherein the plurality of user terminals and the base station form a downlink MU-MIMO system; the downlink MU-MIMO can separate data streams transmitted to different users at a receiving end by a method of eliminating/nulling; the downlink MU-MIMO can also separate the data streams of different users in advance by adopting a wave beam forming method at the transmitting end, thereby simplifying the operation of the receiving end.
6) Virtual MIMO can be classified into a virtual MIMO technology with a parallel communication scheme and a virtual MIMO technology without a parallel communication scheme according to the implementation process. Among them, there is a virtual MIMO technology of parallel communication scheme: the users share the respective data mutually and transmit the data mutually in parallel, so that the communication quality is improved. When a certain user needs to communicate with the base station, it will firstly select some users from the adjacent users to assist in self communication, then it will broadcast the data to be transmitted to these users, ensuring that the users participating in parallel all contain copies of the transmitted data, and then they will transmit data to the base station in the same time slot and the same frequency band. The communication mode mainly realizes the diversity function of the MIMO technology. Virtual MIMO technology without parallel communication scheme: the users cannot share the respective data with each other, and each independently transmits the data to the base station, which is a more common way in the application of the real wireless communication system. When communication is needed, the base station can select a plurality of users to pair according to the condition of the channel, then the users can send data to the base station in the same time slot and the same frequency band, the base station adopts multiple antennas to receive, and an advanced receiver and a specific technology are utilized to distinguish which user the signals are respectively from. The communication mode mainly realizes the multiplexing function of the MIMO technology.
7) "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. The ordinal terms such as "first," "second," and the like in the embodiments of the present application are used for distinguishing a plurality of objects, and are not used for limiting the order, timing, priority, or importance of the plurality of objects.
The embodiment of the application can be realized by any electronic equipment which needs high-speed transmission, so that some electronic equipment with communication modules with low transmission rate can improve the data transmission rate and meet the requirement of high-speed data transmission after the technical scheme provided by the embodiment of the application is applied. An electronic device to which embodiments of the present application may be applied, a graphical user interface (graphical user interface, GUI) for such an electronic device, and embodiments for using such an electronic device are described below.
The electronic device of the embodiment of the application can be a portable electronic device, such as a mobile phone, a tablet computer, a wearable device (such as a smart watch), a smart home and the like. Exemplary embodiments of portable electronic devices include, but are not limited to, piggy-back Or other operating system. The portable electronic device may be a Laptop computer (Laptop) or the like.
Fig. 1 is a schematic structural diagram of an electronic device to which an embodiment of the present application may be applied. The electronic device 100 may include a processor 110, an internal memory 121, an external memory interface 122, a camera 193, a display 194, a sensor module 180, a subscriber identity module (subscriber identification module, SIM) card interface 195, keys 190, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, a mobile communication module 151, and a wireless communication module 152. In other embodiments, the electronic device 100 may also include a motor, an indicator, and the like.
It should be understood that the hardware configuration shown in fig. 1 is only one example. The electronic device of the embodiments of the present application may have more or fewer components than the electronic device 100 shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
Wherein the processor 110 may include one or more processing units. For example: the processor 110 may include an application processor (application processor, AP), a modem, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
In some embodiments, a memory may also be provided in the processor 110 for storing instructions and data. By way of example, the memory in the processor 110 may be a cache memory. The memory may be used to hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Thereby helping to avoid duplicate accesses, reducing the latency of the processor 110 and thus improving the efficiency of the system.
The internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may cause the electronic device 100 to perform the transmission method provided in some embodiments of the present application, as well as other functional applications, data processing, and the like, by executing the above-described instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system; the storage area may also store one or more application programs and the like. The storage data area may store data created during use of the electronic device 100, etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a nonvolatile memory, such as one or more magnetic disk storage devices, flash memory devices, universal flash memory (universal flash storage, UFS), and the like. In some embodiments, the processor 110 may cause the electronic device 100 to perform the transmission methods and data processing provided in the present application by executing instructions stored in the internal memory 121, and/or instructions stored in a memory provided in the processor 110.
The external memory interface 122 may be used to connect an external memory card (e.g., a Micro SD card) to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 via an external memory interface 122 to implement data storage functions.
The camera 193 may be used to capture moving, still images, etc.
The display screen 194 may be used to display images, video, etc. The display 194 may include a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (FLED), a Miniled, microLed, micro-oeled, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or M display screens 194, M being a positive integer greater than 1. By way of example, the electronic device 100 may implement display functionality through a GPU, a display screen 194, an application processor, and the like.
The sensor module 180 may include one or more sensors. For example, a touch sensor 180A, a gyro sensor 180B, an acceleration sensor 180C, a fingerprint sensor 180D, a pressure sensor 180E, and the like. In some embodiments, the sensor module 180 may also include an ambient light sensor, a distance sensor, a proximity light sensor, a bone conduction sensor, a temperature sensor, and the like.
The keys 190 may include a power on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100. For example, the electronic device 100 includes an up volume key and a down volume key, where the up volume key and the down volume key are both mechanical keys, the up volume key is used to control the electronic device to increase the volume, and the down volume key is used to control the electronic device to decrease the volume.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like.
The mobile communication module 151 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 100. The mobile communication module 151 may include a filter, a switch, a power amplifier, a low noise amplifier (low noise amplifier, LNA), etc.
The wireless communication module 152 may provide solutions for wireless communication including WLAN (e.g., wi-Fi network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied on electronic devices. The wireless communication module 152 may be one or more devices that integrate at least one communication processing module.
In some embodiments, antenna 1 and mobile communication module 151 of electronic device 100 are coupled, and antenna 2 and wireless communication module 152 are coupled so that electronic device 100 may communicate with other devices.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or K SIM card interfaces 195, K being a positive integer greater than 1.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger.
The power management module 141 is used for connecting the battery 142, the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, etc. The power management module 141 may also be configured to monitor battery capacity, battery cycle times, battery health (leakage, impedance), and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
Before the method of the present application is described, application scenarios related to the present application are first further described, so as to facilitate understanding of the present solution. Taking the electronic device as an example of the smart home, in a scene of high-speed interconnection of the smart home (such as large screen, camera, AR/VR device, mobile phone, gateway and the like), the required data transmission rate is high (such as up to tens of Gbps), the transmission rate of a single communication module cannot meet the requirement at present, and the transmission technologies corresponding to different communication modules may be different.
In view of the above problems, the embodiments of the present application propose that, when transmitting service data, at least two communication modules supported in an electronic device may be activated in parallel, where the activated at least two communication modules transmit the same service data in parallel, for example, the transmitted service data stream is divided into different sub-data streams, and the activated at least two communication modules transmit the different sub-data streams respectively, so as to achieve the purpose of improving the transmission rate of the electronic device, so that the electronic device is adapted to various high-speed interconnection communication scenarios, and the applicability of the electronic device is extended.
The communication modules supported by the electronic device may include the mobile communication module 151 (mainly implementing 2G/3G/4G/5G communication capability) and the wireless communication module 152 (mainly implementing BT/WLAN/GNSS/NFC/IR/FM communication capability) in fig. 1, and may also include other communication modules not shown in fig. 1, such as a bluetooth (blue) communication module, an infrared communication module, a satellite communication module, a WIFI communication module, a PLC communication module, and so on, which are not limited herein.
At present, the electronic device generally performs service data transmission through a communication module supported by the electronic device, and if the same service data is to be transmitted based on at least two communication modules in parallel, a setting option for users to select independently can be provided. The setting options may be set in a setting program of the electronic device, as shown in fig. 2a, and a user interface provided for the present application is also referred to as a graphical user interface. Specifically, the user interface may be a main interface, a negative screen, or a user interface of an application, etc. The user interface, illustrated as user interface 200a, the user interface 200 may include a status bar 201, a time and weather Widget202, a hidden navigation bar 203, and a plurality of application icons such as settings 204, and the like. By way of example, status bar 401 may include the name of the operator (e.g., china Mobile), the mobile network (e.g., 4G), time, and the amount of remaining power. In other embodiments of the application, status bar 401 may also include one or more of a Bluetooth icon, a Wi-Fi icon, a signal strength icon, a screen lock icon, an external device icon, and the like. The navigation bar 403 may include a back button (back button), a home button (home button), and a history task view button (menu button). It will also be appreciated that in other embodiments, the user interface 400 may also include a Dock. Common application icons such as phone icons, short message icons, mail icons, weather icons, etc. may be included in the Dock column. It should be noted that, the user may set application icons commonly used in the Dock according to his own needs.
In other embodiments, as shown in FIG. 2a, the electronic device 100 may include a home screen key 205. The home screen key 205 may be a physical key or a physical button, or may be a virtual key or a virtual button. The home screen key 205 is used for returning the user interface of a certain application or the user interface such as a negative screen displayed on the display screen 194 to the home interface according to the operation of the user, so that the user can conveniently view the home interface at any time and operate the control (such as an icon) on the home interface. The above operation may specifically be the user pressing the home screen key 205. In other embodiments of the present application, home screen key 205 may also incorporate fingerprint sensor 180D so that the user may fingerprint the electronic device 100 when the user presses home screen key 205, thereby confirming the user's identity. In other embodiments, electronic device 100 may not include home screen key 205.
After the electronic device detects a touch operation of a finger (or a stylus or the like) of a user with respect to an icon of a certain application, the electronic device starts the application in response to the touch operation, and displays a user interface of the application on the first display screen 194. For example, when the electronic device detects a touch operation to the setting icon 204, a system setting interface is displayed on the display screen 194 in response to the above touch operation. By way of example, the system setup interface may include a plurality of setup options for setting up the respective functions. For example, a user may set whether to initiate parallel transmission of data by at least two communication modules through a system setup interface. For another example, the user can set up and start at least two communication modules to transmit data in parallel through the system setting interface, and after the electronic device enters at least two communication modules to transmit data in parallel, the function of transmitting data in parallel by two or more communication modules can be realized.
Illustratively, the system settings interface may be as user interface 200b shown in FIG. 2 b. Included in the user interface 200b is an on/off control provided to a user regarding the activation of at least two communication modules, wherein the on/off control, when activated, allows the at least two communication modules to transmit traffic data in parallel; the open/close control, when closed, allows a communication module to transmit traffic data. The ON/OFF control in fig. 2b is illustrated by way of example as ON/OFF. When the user allows the at least two communication modules to transmit the service data in parallel, a multi-communication-module parallel transmission mode (also called as a multi-communication-module cooperative transmission mode) of the electronic device can be opened (in an ON state), and the electronic device can start or activate the at least two communication modules to transmit the service data to be transmitted in parallel according to the transmission rate required by the service data to be transmitted currently, so that the purpose of improving the transmission rate is achieved. In contrast, when the parallel transmission mode of the multiple communication modules is turned OFF (in the OFF state), the electronic device adopts the data transmission mode as in the prior art, that is, only one communication module is started or activated at the same time to transmit the service data to be transmitted. Therefore, by introducing the embodiment of the application, the flexibility of the electronic equipment for transmitting the service data can be enhanced, and the transmission rate requirements of different transmission services can be met.
As follows, an example is described in which the multi-communication module parallel transmission mode of the electronic device is turned on. For convenience of description, at least two communication modules are described as two communication modules, and of course, the communication modules for transmitting service data in parallel in the present application may be more than two communication modules, which is not limited in the present application.
The technical solution provided by the embodiment of the present application is described in detail below with reference to the schematic structural diagram of the electronic device 100 shown in fig. 1. Fig. 3 is a schematic flow chart of a transmission method according to an embodiment of the present application. The method may be performed by two electronic devices, for example, a first electronic device and a second electronic device, where the first electronic device and the second electronic device may both be the electronic devices shown in fig. 1 described above. In addition, the first electronic device and the second electronic device may be in a master-slave relationship, that is, the first electronic device is a master device, and the second electronic device is a slave device. As shown in fig. 3, the method comprises the steps of:
step 301, when the first electronic device transmits service data to be transmitted, at least two communication modules supported by the first electronic device are started.
Here, the at least two communication modules are at least two of N communication modules supported by the first electronic device and the second electronic device, where N is an integer greater than 1. Wherein the communication module supported by the first electronic device includes, but is not limited to: a mobile communication module, a wireless communication module, a bluetooth (blue) communication module, an infrared communication module, a satellite communication module, a PLC communication module and the like. The communication modules supported by the second electronic device include at least two of the communication modules supported by the first electronic device.
In one possible implementation manner, the first electronic device may determine the at least two communication modules by determining a transmission rate of the service data to be transmitted and transmission rates currently corresponding to the N communication modules respectively, and determining the at least two communication modules according to the transmission rate of the service data to be transmitted and the transmission rates currently corresponding to the N communication modules respectively.
The N communication modules are, for example, a mobile communication module, a wireless communication module, a bluetooth (bluetooth) communication module, an infrared communication module, a satellite communication module, and a PLC communication module, and the first electronic device needs to determine a transmission rate currently corresponding to each of the N communication modules. Further, the first electronic device may determine which of the N communication modules currently corresponds to a sum of transmission rates greater than or equal to a transmission rate of the service data to be transmitted, and may determine the several communication modules as at least two communication modules. For example, if the first electronic device determines that the sum of the current corresponding transmission rate of the PLC communication module and the current corresponding transmission rate of the wireless communication module is greater than or equal to the transmission rate of the service data to be transmitted, the PLC communication module and the wireless communication module may be started. For another example, if the first electronic device determines that the sum of the current corresponding transmission rates of the two PLC communication modules adopting different protocol specifications is greater than or equal to the transmission rate of the service data to be transmitted, the two PLC communication modules adopting different protocol specifications may be started.
In step 302, the first electronic device transmits sub-data streams to the second electronic device based on the at least two communication modules that are activated, respectively. It is also understood that at least two communication modules may transmit the service data to be transmitted in parallel to the second electronic device.
Two cases of the at least two communication modules determined are exemplarily shown in the present application.
Case 1, at least two communication modules are communication modules employing the same transmission technology.
In this case 1, in order to prevent the crosstalk problem between two communication modules, two communication modules employing the same transmission technology correspondingly employ different protocol specifications. For example, the two PLC communication modules may respectively adopt IEEE P1901 and g.hn, and implement parallel transmission of service data through frequency division multiplexing, for example, IEEE P1901 uses a frequency band of 0 to 100MHz, and ITU g.hn uses a frequency band of 100MHz to 200MHz, so as to implement parallel transmission of service data.
Based on this case 1, the first electronic device starts up at least two communication modules, which can transmit sub-data streams to the second electronic device, respectively, via the IP transmission mode.
Illustratively, at least two communication modules are exemplified as two PLC communication modules. That is, the sum of the transmission rates currently corresponding to the two PLC communication modules may satisfy (i.e., be greater than or equal to) the transmission rate of the service data to be transmitted, and then the two PLC communication modules may be started.
Further, the first electronic device may distribute the data of the service data to be transmitted to the two PLC communication modules in proportion according to the transmission rates currently corresponding to the two PLC communication modules. For example, referring to fig. 4a, after an upper layer (such as an IP layer) transmits an IP packet to a network layer, two queues may be established, and then the two queues are allocated to the IP packet according to respective transmission rates currently corresponding to the two PLC communication modules, for example, a transmission rate currently corresponding to a PLC communication module using the IEEE P1901 protocol specification is 800Mbps, a transmission rate currently corresponding to a PLC communication module using the g.hn protocol specification is 400Mbps, two thirds of the IP packet may be transmitted to the second electronic device through the PLC communication module using the IEEE P1901, and one third of the IP packet may be transmitted to the second electronic device through the PLC communication module using the g.hn protocol specification.
Case 2, at least two communication modules are communication modules employing different transmission technologies.
In this case 2, the first electronic device may transmit sub-data streams to the second electronic device through an application layer protocol or a transport layer protocol, respectively, based on the at least two communication modules that are activated.
Illustratively, at least two communication modules are illustrated as a PLC communication module and a WiFi communication module. That is, the sum of the transmission rate currently corresponding to the PLC communication module (which may use IEEE P1901 or g.hn) and the transmission rate currently corresponding to the WiFi communication module may satisfy (i.e., be greater than or equal to) the transmission rate of the service data to be transmitted, then the PLC communication module and the WiFi communication module may be started.
Further, the PLC communication module uses one IP address, and the WiFi communication module uses a different IP address. For example, referring to fig. 4b, one TCP sub-data stream may be established on the PLC communication module through the application layer or the transport layer, another TCP sub-data stream may be established on the WiFi communication module, and the service data may be transmitted to the second electronic device in parallel through the PLC communication module and the WiFi communication module.
In order to realize that the second electronic device can accurately receive the service data transmitted by the first electronic device, the first electronic device may notify the second electronic device that at least two communication modules are to be adopted before the first electronic device starts at least two communication modules. For example, if at least two communication modules to be started by the first electronic device are communication modules adopting the same transmission technology, the first electronic device may notify the second electronic device of starting the IP transmission mode, and after the second electronic device receives the notification of the first electronic device, the second electronic device may also establish two queues, and receive, through the two PLC communication modules, service data to be transmitted, which is transmitted by the first electronic device. If at least two communication modules to be started by the first electronic device are communication modules adopting different transmission technologies, the first electronic device can inform the second electronic device of starting a transmission layer transmission mode (namely, transmitting a sub-data stream in a transmission layer), and after the second electronic device receives the notification of the first electronic device, the second electronic device can start an MP-TCP protocol to receive service data to be transmitted.
It should be noted that, in the case that the above case 1 and the case 2 may occur at the same time, in this case, the priorities of the case 1 and the case 2 may be preset, or one case may be selected randomly, or the first electronic device may select one case according to a preset rule, which is not limited by the present application.
As can be seen from the above steps 301 to 302, the first electronic device may adaptively select at least two communication modules for transmitting service data in parallel according to the supported communication modules, so that the transmission rate may be increased.
In the present application, the first electronic device may determine whether to activate at least two communication modules based on its own capability information (i.e., the supported communication module) and the capability information of the second electronic device (i.e., the supported communication module). Two ways of the first electronic device to obtain the capability information of the second electronic device are exemplarily shown as follows.
In one mode, the first electronic device queries the second electronic device for capability information of the second electronic device.
Further, the capability information of the second electronic device may further include detailed information such as protocol specifications adopted by each communication module supported by the second electronic device. For example, the second electronic device supports a PLC communication module and a WiFi communication module, and the protocol specifications of the supporting PLC communication module include P1901 of IEEE and g.hn of ITU-T, and the protocol specifications of the supporting WiFi communication module include IEEE 802.11, and the number of antennas corresponding to the WiFi communication module.
Here, the second electronic device capability information may be an index number, that is, the index number may indicate the capability information of the second electronic device; alternatively, the second electronic device capability information may be an indication character, i.e. the indication character may indicate the capability information of the second electronic device. Illustratively, the capability information of the second electronic device includes a PLC communication module and a WiFi communication module, and then the capability information of the second electronic device may be indicated with a 2-bit index, as shown in table 1, 00 may indicate that neither the PLC communication module nor the WiFi communication module is supported; 01 indicates that the PLC communication module is not supported and only the WiFi communication module is supported; 10 denotes that only the PLC communication module is supported and the WiFi communication module is not supported; 11 denotes supporting both PLC and WiFi communication modules. It may also be understood that when the first electronic device queries that the capability information of the second electronic device is 00, it may be determined that the second electronic device does not support the PLC communication module or the WiFi communication module; when the first electronic device inquires that the capability information of the second electronic device is 01, the second electronic device can be determined that the second electronic device does not support the PLC communication module and only supports the WiFi communication module; when the first electronic device inquires that the capability information of the second electronic device is 10, the second electronic device can be determined that the second electronic device only supports the PLC communication module and does not support the WiFi communication module; when the first electronic device inquires that the capability information of the second electronic device is 11, the second electronic device can be determined to support the PLC communication module and the WiFi communication module.
TABLE 1 capability information of second electronic device
Index | Capability information |
00 | Neither PLC nor WiFi communication modules are supported |
01 | Only WiFi communication module without supporting PLC communication module |
10 | Supporting only PLC communication module and not supporting WiFi communication module |
11 | Support both PLC communication module and WiFi communication module |
In this manner, the first electronic device may periodically query the second electronic device for capability information of the second electronic device.
It should be noted that the specific form of the capability information of the second electronic device may be any other possible form, which is not limited by the present application. In addition, the specific indication mode of the capability information may be pre-agreed by the first electronic device and the second electronic device, or may be predefined by a protocol, which is not limited by the present application.
And in a second mode, the second electronic equipment actively reports the capability information of the second electronic equipment to the first electronic equipment. Correspondingly, the first electronic device receives the capability information of the second electronic device, which is actively reported by the second electronic device.
Based on the second mode, after the second electronic device actively reports the capability information of the second electronic device to the first electronic device for the first time, when the capability information of the second electronic device changes, the second electronic device can report the current capability information to the first electronic device again in time. For example, when the PLC communication module of the second electronic device fails or the transmission rate currently corresponding to the PLC communication module is less than the rate threshold, the second electronic device may timely notify the first electronic device that communication through the PLC communication module is not currently supported. For another example, when the transmission rate currently corresponding to the WiFi communication module is less than the rate threshold, the second electronic device may report to the first electronic device that communication through the WiFi communication module is not currently supported. Therefore, the first electronic equipment can timely adjust the determined at least two communication modules needing to transmit the service data in parallel, and the data transmission efficiency can be improved. The rate threshold may be an empirical value, a statistical value of historical data, or a typical value.
In the application, the first electronic device can determine whether to start at least two communication modules to transmit service data in parallel based on the acquired capability information of the second electronic device, the acquired capability information of the first electronic device and preset conditions. The preset conditions include that the transmission rate of the service data to be transmitted is greater than the transmission rate currently corresponding to any communication module supported by the first electronic device, and that the time delay requirement of the service data to be transmitted is higher than any one or more of the first preset thresholds. That is, the first electronic device determines that the capability information of the second electronic device and the capability information of the first electronic device also include information of the at least two communication modules (i.e., the at least two communication modules supported by the first electronic device), and that the transmission rate of the service data to be transmitted is greater than the transmission rate currently corresponding to any communication module supported by the first electronic device, and determines that the at least two communication modules need to be started. Or the first electronic device determines that the capability information of the second electronic device also comprises the information of the at least two communication modules supported by the first electronic device, and the time delay requirement of the service data to be transmitted is higher than a first preset threshold, and determines that the at least two communication modules need to be started. Or the first electronic device determines that the capability information of the second electronic device also comprises information of at least two communication modules supported by the first electronic device, the transmission rate of the service data to be transmitted is greater than the transmission rate currently corresponding to any communication module supported by the first electronic device, and the time delay requirement of the service data to be transmitted is higher than a first preset threshold, and determines that the at least two communication modules need to be started.
It should be noted that the first preset threshold may be an empirical value, a statistical value of historical data, or a typical value. When the time delay requirement is higher than a first preset threshold, the service data to be transmitted is higher in time delay requirement, namely the service data to be transmitted needs to be transmitted in time.
In the application, after the multi-communication module parallel transmission mode is opened (in an ON state), the parallel data transmission of at least two communication modules can be realized, but whether the parallel data transmission of at least two communication modules is required or not can be further determined, and whether the parallel data transmission of at least two communication modules is started or not can be further determined. When the first electronic device determines that at least two communication modules need to be started, the at least two communication modules can be started to transmit data in parallel through the following two implementation manners.
Implementation 1: and the first electronic equipment automatically starts the determined at least two communication modules after determining that the at least two communication modules need to be started. In this implementation 1, in conjunction with fig. 1, specifically, when the processor 110 determines that at least two communication modules need to be started, the determined communication modules that need to be started may be started simultaneously.
Implementation 2: after determining that at least two communication modules need to be started (i.e., before starting at least two communication modules), the first electronic device may output a prompt message, where the prompt message is used to prompt at least two communication modules that need to be started. The prompt information is a voice prompt information or a text prompt information. Accordingly, after the first electronic device receives the instruction for instructing to start the at least two communication modules, the at least two communication modules are started.
When the prompt information is in a text mode, the first electronic device can display a first user interface, and the first user interface comprises starting operation items of the at least two communication modules. Further optionally, the first user interface may further include a non-initiation operation item of the at least two communication modules. In particular, a prompt message may be displayed in the display 194. The prompt message is used for prompting the user to start the parallel transmission of the multi-communication module. The prompt information may be displayed on a currently displayed user interface of the electronic device, and the prompt information may be displayed on the user interface in a form of a prompt box, may be displayed in a form of only text, or may be displayed in any other possible form, which is not limited by the present application. For example, if the currently displayed user interface is a main interface, the prompt message may be displayed on the main interface. For another example, when a user interface for opening an application is currently displayed, the prompt information may be prompted on the user interface for opening the application. As shown in FIG. 5a, a schematic diagram of a prompt message provided by the present application is displayed on a main interface. The user interface 500a may be an addition of a prompt box 506 to the user interface 200 a. Note that, the prompt box 506 shown in fig. 4a is only an example, and the prompt box 506 in the embodiment of the application may also be other types of prompt boxes, which is not limited thereto. Prompt box 506 may include prompt information such as "initiate multiple communication modules to transmit in parallel. Further, it is also possible to include the start operation items and the no start operation items of at least two communication modules, such as "yes" and "no", or "ON" and "OFF", etc.
In the embodiment of the present application, when the electronic device 100 detects that the start operation items of at least two communication modules in the prompt box are triggered, a user interface after the at least two communication modules are started may be displayed on the display screen 194 in response to the operation, which may be described with reference to fig. 5 b. By way of example, the electronic device 100 in the embodiment of the present application may respond to a touch operation of an operation option of the prompt box by the user based on the following manner: when a touch operation of a finger (or a stylus or the like) of the user for a start operation option in the prompt box is detected, the touch sensor 180A of the electronic device 100 reports the touch operation to the processor 110, so that the processor 110 responds to the touch operation, enters a user interface after starting at least two communication modules, and displays the user interface after starting at least two communication modules on the display screen 194.
In addition, in the embodiment of the present application, the electronic device 100 may determine whether to activate at least two communication modules in other manners. For example, the electronic device 100 may activate the meter in response to a user's shortcut gesture operation (e.g., swipe up three fingers, tap the display 194 twice in succession, etc.), or a voice command, etc., with a black screen, screen lock, or with the display 194 displaying a user interface (e.g., a main interface, a minus one screen, or a user interface of another application, etc.), and display a user interface on the display 194 that enters the at least two communication modules activated. It should be noted that, the manner in which the electronic device 100 determines whether to activate at least two communication modules is not limited in the embodiments of the present application.
In some embodiments, in response to the operation of the start operation item ("yes") in the prompt box 506, the electronic device 100 displays, on the touch screen 194, a user interface after entering the at least two communication modules for starting, as shown in fig. 5b, where the at least two communication modules determined by the first electronic device may be displayed, and fig. 5b illustrates that the at least two communication modules determined by the terminal device are two communication modules using the same transmission technology. Further, alternatively, the two communication modules using the same transmission technology may be displayed on the user interface shown in fig. 5b, and may be two PLC communication modules using different protocol specifications, or may be a WiFi communication module using different protocols, and specifically, which two communication modules are used for communication may be determined by the user.
It should be noted that, if the first electronic device does not detect the trigger of the start operation item within the preset time, the first electronic device may not start the parallel transmission of the multiple communication modules at present.
As shown in fig. 6, another method flow diagram of the transmission method is provided in the present application. The method may be performed by a third electronic device and a fourth electronic device, where the third electronic device and the fourth electronic device may both be the electronic devices shown in fig. 1 described above. In addition, the third electronic device and the fourth electronic device may be in a master-slave relationship, that is, the third electronic device is a master device, the fourth electronic device is a slave device, and at least two fourth electronic devices are provided. The method comprises the following steps:
In step 601, the third electronic device determines a target transmission mode according to a service characteristic corresponding to the service data to be transmitted currently, where the service characteristic includes a bandwidth requirement and/or a delay requirement.
In step 601, the target transmission scheme includes, but is not limited to, a virtual MIMO transmission scheme, a shared TXOP transmission scheme, and a MU-MIMO transmission scheme.
If the third electronic device determines that the bandwidth requirement corresponding to the service data to be transmitted currently is fixed (for example, video), time slot transmission is scheduled (i.e., the service data to be transmitted is transmitted in the fixed time slot), and the target transmission mode can be determined to be a virtual MIMO transmission mode. It will also be appreciated that it is possible that the master device (i.e. the third electronic device) may arrange for two slave devices without intersecting paths to transmit in parallel space division in the time slot.
If the third electronic device determines that the bandwidth requirement corresponding to the service data to be transmitted is not fixed, a transmission mode of a competitive mechanism can be adopted. Specifically, the following two cases may be included.
In case a, the service data to be transmitted is insensitive to the time delay requirement.
In the case a, the third electronic device determines that the bandwidth requirement corresponding to the service data to be transmitted currently is not fixed and the time delay requirement is lower than the second preset threshold, and then determines that the target transmission mode is an MU-MIMO transmission mode. Further, if the third electronic device determines that the number of fourth electronic devices capable of supporting parallel transmission reaches the maximum number of parallel users allowed to be transmitted by the third electronic device (for example, the maximum WiFi antenna number or the maximum space flow number of the PLC of the third electronic device), the remaining fourth electronic devices defer channel access until the channel is idle again if the slave device that does not win the channel; otherwise the fourth device may continue to contend for the channel.
And b, the service corresponding to the service data to be transmitted is sensitive to time delay.
And the third electronic equipment determines that the bandwidth requirement corresponding to the service data to be transmitted currently is not fixed, and the time delay requirement is higher than a third preset threshold, and determines that the TXOP is the target transmission mode. I.e. one TXOP is divided into a number of time slots, each time slot being arranged for a fourth electronic device to transmit frames of a corresponding priority, which time slot is ignored when the fourth electronic device has no frame transmission of a corresponding priority. For example, a TXOP is divided into two slots, the 1 st slot transmits a frame with priority 1 (the traffic data to be transmitted corresponds to one or more frames), the 2 nd slot transmits a frame with priority 2, and if a fourth electronic device has a frame with priority 1 in the 1 st slot, the frame can be transmitted; otherwise no transmission is possible (neglecting the time slot).
In step 602, the third electronic device transmits, to at least two fourth electronic devices, service data to be currently transmitted in a target transmission manner.
In this step 602, the fourth electronic device is at least two. For example, if the target transmission mode is a virtual MIMO transmission mode, the third electronic device may transmit, to at least two fourth electronic devices, service data to be currently transmitted through the virtual MIMO transmission mode. For another example, if the target transmission mode is a shared TXOP transmission mode, the third electronic device may transmit the service data to be currently transmitted to at least two fourth electronic devices through the shared TXOP transmission mode. For another example, if the target transmission mode is an MU-MIMO transmission mode, the third electronic device may transmit the service data to be currently transmitted to at least two fourth electronic devices through the MU-MIMO transmission mode.
From the above steps 601 to 602, it can be seen that the third electronic device may determine an appropriate transmission manner according to the characteristics of the service, and through the appropriate transmission manner, the transmission rate may be improved on the basis of ensuring service experience.
Based on the foregoing and the same, an electronic device 700 provided by the present application is shown in fig. 7. By way of example, the electronic device 700 includes one or more processors 701, and one or more memories 702; the devices may be connected by one or more communication buses; the electronic device 700 may further comprise one or more computer programs stored in the memory 702 and configured to be executed by the one or more processors 701, the one or more computer programs may comprise instructions that may be used to perform the steps as in the corresponding embodiments of fig. 3 or 6, and the relevant features may be referred to above and not described here again. More specific electronic device structures and descriptions may be described with reference to fig. 1.
In one possible implementation, the electronic device 700 may also include a touch screen 703, where the touch screen 703 includes a touch panel 704 and a display screen 705.
The embodiment of the application also provides a computer storage medium, wherein computer instructions are stored in the computer storage medium, and when the computer instructions run on the electronic equipment, the electronic equipment is caused to execute the related method steps to realize the display method of the touch screen in the embodiment.
The embodiment of the application also provides a computer program product, which when run on a computer, causes the computer to execute the related steps so as to realize the display method of the touch screen in the embodiment.
In addition, the embodiment of the application also provides an electronic device, which can be a chip, a component or a module, and can comprise a processor and a memory which are connected; the memory is used for storing computer-executable instructions, and when the electronic device runs, the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the display method of the touch screen in each method embodiment.
The electronic device, the computer storage medium, the computer program product, or the chip provided by the embodiments of the present application are used to execute the corresponding methods provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding methods provided above, and will not be described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the electronic device is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in the present application, it should be understood that the disclosed electronic device and method may be implemented in other manners. For example, the above-described embodiments of an electronic device are merely illustrative, e.g., the division of modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another electronic device, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via some interfaces, electronic devices or units, in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (17)
1. A transmission method, comprising:
when the first electronic device transmits service data to be transmitted, and when determining that the first electronic device supports at least two communication modules and the capability information of the second electronic device comprises information of the at least two communication modules and the service data to be transmitted meets preset conditions, selecting at least two communication modules with the sum of current transmission rates being greater than or equal to the transmission rate of the service data to be transmitted, wherein the at least two communication modules are used for transmitting the service data to be transmitted in parallel, and the at least two communication modules are at least two of N communication modules supported by the first electronic device and the second electronic device, and N is an integer greater than 1;
The first electronic device respectively transmits sub-data streams to the second electronic device based on the selected at least two communication modules;
the sub-data stream transmitted by each communication module of the at least two communication modules is a sub-data stream obtained by dividing the service data to be transmitted, and the preset condition is any one or more of the following conditions: the transmission rate of the service data to be transmitted is larger than the current transmission rate of any communication module supported by the first electronic equipment; the time delay requirement of the service data to be transmitted is higher than a first preset threshold.
2. The method of claim 1, wherein the first electronic device, when transmitting the service data to be transmitted, activates at least two communication modules supported by itself, comprising:
the first electronic device determines the transmission rate of the service data to be transmitted and the current transmission rates respectively corresponding to the N communication modules;
and the first electronic equipment starts the at least two communication modules according to the transmission rate of the service data to be transmitted and the current transmission rates respectively corresponding to the N communication modules.
3. The method of claim 1, wherein the at least two communication modules are communication modules employing a same transmission technology, and the first electronic device transmits sub-data streams to the second electronic device based on the at least two communication modules that are activated, respectively, comprising:
and the first electronic equipment respectively transmits sub-data streams to the second electronic equipment through a network protocol (IP) transmission mode based on the started at least two communication modules.
4. The method of claim 1, wherein the at least two communication modules are communication modules employing different transmission technologies, and the first electronic device transmits sub-data streams to the second electronic device based on the at least two communication modules that are activated, respectively, comprising:
and the first electronic equipment respectively transmits sub-data streams to the second electronic equipment through an application layer protocol or a transmission layer protocol based on the started at least two communication modules.
5. The method of any of claims 1 to 4, wherein before the first electronic device activates at least two communication modules that are self-supporting, further comprising:
The first electronic equipment outputs prompt information, wherein the prompt information is used for prompting at least two communication modules which need to be started;
the first electronic device receives an instruction for instructing to activate the at least two communication modules.
6. The method of claim 5, wherein the prompt message is a voice-form prompt message or a text-form prompt message.
7. The method of claim 6, wherein when the prompt message is a text-based prompt message, the first electronic device outputs a prompt message comprising:
the first electronic device displays a first user interface, wherein the first user interface comprises starting operation items of the at least two communication modules;
the first electronic device receiving an instruction for instructing to activate the at least two communication modules, comprising:
the first electronic device detects that the start operation item is triggered.
8. The method of any one of claims 1 to 4, further comprising:
the first electronic equipment sets an opening/closing control in a system setting interface, and at least two communication modules are allowed to transmit service data in parallel when the opening/closing control is started; the open/close control, when closed, allows a communication module to transmit traffic data.
9. An electronic device, comprising: one or more processors, one or more memories, and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the electronic device, cause the electronic device to perform the steps of:
when the electronic equipment supports at least two communication modules and the capability information of the second electronic equipment comprises information of the at least two communication modules and the service data to be transmitted meets preset conditions, selecting at least two communication modules with the sum of current transmission rates being greater than or equal to the transmission rate of the service data to be transmitted, wherein the at least two communication modules are used for transmitting the service data to be transmitted in parallel, and the at least two communication modules are at least two of N communication modules supported by the electronic equipment and the second electronic equipment, and N is an integer greater than 1;
transmitting sub-data streams to the second electronic device based on the selected at least two communication modules, respectively;
The sub-data stream transmitted by each communication module of the at least two communication modules is a sub-data stream obtained by dividing the service data to be transmitted, and the preset condition is any one or more of the following conditions: the transmission rate of the service data to be transmitted is larger than the current transmission rate of any communication module supported by the electronic equipment; the time delay requirement of the service data to be transmitted is higher than a first preset threshold.
10. The electronic device of claim 9, wherein the instructions, when executed by the electronic device, cause the electronic device to specifically perform the steps of:
determining the transmission rate of the service data to be transmitted and the current transmission rates respectively corresponding to the N communication modules;
and starting the at least two communication modules according to the transmission rate of the service data to be transmitted and the current transmission rates respectively corresponding to the N communication modules.
11. The electronic device of claim 9, wherein, in the case where the at least two communication modules are communication modules employing the same transmission technology, the instructions, when executed by the electronic device, cause the electronic device to specifically perform the steps of:
And respectively transmitting sub-data streams to the second electronic equipment through a network protocol (IP) transmission mode based on the started at least two communication modules.
12. The electronic device of claim 9, wherein when the at least two communication modules are communication modules employing different transmission technologies, the instructions, when executed by the electronic device, cause the electronic device to specifically perform the steps of:
and respectively transmitting sub-data streams to the second electronic equipment through an application layer protocol or a transmission layer protocol based on the started at least two communication modules.
13. The electronic device of any of claims 9-12, wherein the instructions, when executed by the electronic device, cause the electronic device to specifically perform the steps of:
outputting prompt information, wherein the prompt information is used for prompting at least two communication modules to be started;
and after receiving the instruction for indicating to start the at least two communication modules, starting the at least two communication modules.
14. The electronic device of claim 13, wherein the alert message is a voice-form alert message or a text-form alert message.
15. The electronic device of claim 14, further comprising a display screen that, when executed by the electronic device, causes the electronic device to specifically perform the steps of:
displaying a first user interface on a display screen, wherein the first user interface comprises starting operation items of the at least two communication modules;
it is detected that the start operation item is triggered.
16. The electronic device of any of claims 9-12, wherein the instructions, when executed by the electronic device, cause the electronic device to specifically perform the steps of:
an opening/closing control is arranged in the system setting interface, the opening/closing control is started to allow at least two communication modules to transmit service data in parallel, and the opening/closing control is closed to allow one communication module to transmit service data.
17. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910683676.8A CN112306941B (en) | 2019-07-26 | 2019-07-26 | Transmission method, electronic equipment and storage medium |
PCT/CN2020/102482 WO2021017881A1 (en) | 2019-07-26 | 2020-07-16 | Transmission method, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910683676.8A CN112306941B (en) | 2019-07-26 | 2019-07-26 | Transmission method, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112306941A CN112306941A (en) | 2021-02-02 |
CN112306941B true CN112306941B (en) | 2023-12-08 |
Family
ID=74229199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910683676.8A Active CN112306941B (en) | 2019-07-26 | 2019-07-26 | Transmission method, electronic equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112306941B (en) |
WO (1) | WO2021017881A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113473645A (en) * | 2020-03-12 | 2021-10-01 | 华为技术有限公司 | Data transmission method and device |
CN115037671B (en) * | 2021-03-04 | 2023-08-04 | 华为技术有限公司 | Multi-path aggregation scheduling method and electronic equipment |
CN113688094B (en) * | 2021-08-24 | 2024-03-22 | 中汽创智科技有限公司 | Data communication method, device and system of vehicle-mounted system and storage medium |
CN113691433B (en) * | 2021-08-31 | 2023-03-03 | 深圳云天励飞技术股份有限公司 | Data transmission system, method, device, electronic equipment and storage medium |
CN116318347A (en) * | 2023-03-07 | 2023-06-23 | 中国电信股份有限公司卫星通信分公司 | Data transmission method and device and data transmission system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107949071A (en) * | 2017-12-30 | 2018-04-20 | 广东欧珀移动通信有限公司 | terminal wireless data transmission method, device, terminal and storage medium |
CN109274596A (en) * | 2018-08-23 | 2019-01-25 | Oppo广东移动通信有限公司 | Data transmission method and relevant apparatus |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002342197A (en) * | 2001-05-16 | 2002-11-29 | Sony Corp | Contents distribution system, device and method for transmitting contents, contents transmission control program and contents transmission control program storage medium |
CN101388689B (en) * | 2008-10-28 | 2012-07-11 | 华为终端有限公司 | Data multi-bearing parallel transmission method and device |
CN103580842A (en) * | 2013-11-04 | 2014-02-12 | 惠州Tcl移动通信有限公司 | Method and system for conducting parallel transmission through multiple types of wireless links |
CN105656731A (en) * | 2014-11-14 | 2016-06-08 | 华为技术有限公司 | Data transmission method, device and system |
CN104935641B (en) * | 2015-05-07 | 2018-03-30 | 广东欧珀移动通信有限公司 | A kind of method and apparatus for accelerating file transmission |
CN106686530B (en) * | 2016-12-29 | 2020-11-24 | 深圳市维康宝技术有限公司 | Intelligent data transmission method and mobile terminal |
-
2019
- 2019-07-26 CN CN201910683676.8A patent/CN112306941B/en active Active
-
2020
- 2020-07-16 WO PCT/CN2020/102482 patent/WO2021017881A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107949071A (en) * | 2017-12-30 | 2018-04-20 | 广东欧珀移动通信有限公司 | terminal wireless data transmission method, device, terminal and storage medium |
CN109274596A (en) * | 2018-08-23 | 2019-01-25 | Oppo广东移动通信有限公司 | Data transmission method and relevant apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2021017881A1 (en) | 2021-02-04 |
CN112306941A (en) | 2021-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112306941B (en) | Transmission method, electronic equipment and storage medium | |
CN109699084B (en) | Information transmission method, terminal and network equipment under unlicensed frequency band | |
CN106231637B (en) | Secondary cell transform method, device and base station | |
CN109275191B (en) | Transmission method and device thereof | |
CN110324859B (en) | Method for selecting transmission resource of sidelink, configuration method, terminal and network equipment | |
CN108282895A (en) | A kind of accidental access method and terminal | |
WO2020207378A1 (en) | Beam information determination method and apparatus, and communication device | |
CN109699078B (en) | Information transmission method under unlicensed frequency band, network device and terminal | |
CN113810928B (en) | Method for adjusting number of data streams, terminal and MIMO system | |
CN110890942B (en) | Side link information feedback method and terminal | |
CN109451853A (en) | Indicate method and device, terminal and the base station of multi-service data multiplexing transmission | |
US20240214125A1 (en) | Feedback method, related device, and readable storage medium | |
CN110381598B (en) | Resource scheduling method, information transmission method, network equipment and terminal | |
CN115398811A (en) | Switching device, communication method and related equipment | |
CN116073872A (en) | CSI transmission method, method for triggering CSI transmission and related equipment | |
US20220174701A1 (en) | Information processing method, device, and computer-readable storage medium | |
US20220124742A1 (en) | Sending method, interference handling method, terminal, and network-side device | |
US11553506B2 (en) | Multi-radio coexistence aware intelligent WiFi data aggregation | |
CN115735410A (en) | Data transmission method and communication device | |
WO2024159547A1 (en) | Method for adaptively processing transmission occasion, and apparatus and computer storage medium | |
WO2023011532A1 (en) | Method for determining beam application time, and terminal and network side device | |
US12119936B2 (en) | Data transmission method, terminal, and network device | |
WO2024168921A1 (en) | Information processing method, apparatus, and storage medium | |
CN109643181A (en) | A kind of communication Enhancement Method based on pressure touch | |
WO2024168929A1 (en) | Information processing method, apparatus and storage medium |
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 |