CN117956548A - Data transmission method, device and storage medium - Google Patents

Data transmission method, device and storage medium Download PDF

Info

Publication number
CN117956548A
CN117956548A CN202211285383.2A CN202211285383A CN117956548A CN 117956548 A CN117956548 A CN 117956548A CN 202211285383 A CN202211285383 A CN 202211285383A CN 117956548 A CN117956548 A CN 117956548A
Authority
CN
China
Prior art keywords
data transmission
network
communication module
mcs
wireless communication
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.)
Pending
Application number
CN202211285383.2A
Other languages
Chinese (zh)
Inventor
司珂瑜
时龙飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211285383.2A priority Critical patent/CN117956548A/en
Publication of CN117956548A publication Critical patent/CN117956548A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a data transmission method, data transmission equipment and a storage medium, and belongs to the technical field of terminals. The method comprises the following steps: the wireless communication module detects the network system of the wireless network accessed by the terminal equipment, sends the detection result to the processor, and the processor selects a data transmission interface protocol matched with the network system of the wireless network to perform data transmission with the wireless communication module according to the detection result; the network system at least comprises a first network system and a second network system, wherein the first network system is matched with the first data transmission interface protocol, and the second network system is matched with the second data transmission interface protocol. Therefore, the flexibility of the data transmission between the wireless communication module and the processor can be improved, the data transmission interface protocol adopted for data transmission is ensured to be matched with the network system of the wireless network accessed by the terminal equipment, and the adopted data transmission interface protocol can meet the data transmission requirement under the accessed network system.

Description

Data transmission method, device and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a data transmission method, device, and storage medium.
Background
The terminal device typically includes a wireless communication module and a processor between which data transmission is required after the terminal device has accessed the wireless network via the wireless communication module. For example, the wireless communication module transmits data received from the wireless network to the processor or transmits data from the processor to other devices through the wireless network. In general, the wireless communication module and the processor use a data transmission interface protocol to perform data transmission, where the data transmission interface protocol refers to a communication mode and a requirement that need to be complied with between interfaces that need to perform data transmission. For example, the wireless communication module and the processor typically employ a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT EXPRESS, PCIe), a high-speed serial computer expansion bus standard, for data transfer.
In the related art, the terminal device may access a 2.4G wireless fidelity (WIRELESS FIDELITY, WIFI) network, a 5G WiFi network, or the like through a wireless communication module. After the terminal device accesses the wireless network, the wireless communication module generally uses a pre-negotiated fixed data transmission interface protocol to communicate with the processor, such as using a pre-negotiated fixed first generation PCIe protocol or a second generation PCIe protocol to perform data transmission with the processor. The technical scheme for carrying out data transmission by adopting the fixed data transmission interface protocol between the wireless communication module and the processor has certain limitation, has lower flexibility and can not meet the data transmission requirement.
Disclosure of Invention
The application provides a data transmission method, equipment and a storage medium, which can improve the flexibility of data transmission between a wireless communication module and a processor, meet the data transmission requirement, and can solve the problem of radio frequency interference caused by the data transmission between the wireless communication module and the processor. The technical scheme is as follows:
In a first aspect, a data transmission method is provided, applied to a terminal device, where the terminal device includes a wireless communication module and a processor, and the method includes: the wireless communication module detects the network system of a wireless network accessed by the terminal equipment; the wireless communication module sends the detection result to the processor; and the processor selects a data transmission interface protocol matched with the network system according to the detection result and transmits data with the processor. The network system at least comprises a first network system and a second network system, the data transmission interface protocol matched with the first network system is a first data transmission interface protocol, the data transmission interface protocol matched with the second network system is a second data transmission interface protocol, the first network system and the second network system are different, and the first data transmission interface protocol and the second data transmission interface protocol are different.
Therefore, the flexibility of data transmission between the wireless communication module and the processor is improved, the data transmission interface protocol adopted for data transmission between the wireless communication module and the processor is ensured to be matched with the network system of the wireless network accessed by the terminal equipment, so that the adopted data transmission interface protocol can meet the data transmission requirement of the accessed network system, for example, the adopted data transmission interface protocol can be ensured to be capable of considering the EMI performance and the transmission rate.
As an example, the first network system is a first WiFi network, and the first data transmission interface protocol is a first PCIe protocol; the second network system is a second WiFi network, the second data transmission interface protocol is a second PCIe protocol, the working frequency bands of the second WiFi network and the first WiFi network are different, and the data transmission rates corresponding to the first PCIe protocol and the second PCIe protocol are different.
Therefore, under the condition that the terminal equipment is accessed to the WiFi network, the PCIe protocol adopted for data transmission between the wireless communication module and the processor is matched with the network system of the WiFi network connected with the terminal equipment, so that the adopted PCIe protocol can meet the data transmission requirement of the connected network system, for example, the adopted PCIe protocol can be ensured to be capable of considering the EMI performance and the transmission rate.
As one example, the first WiFi network is a 2.4G WiFi network, and the first PCIe protocol is a first generation PCIe protocol; the second WiFi network is a 5G WiFi network, and the second PCIe protocol is a second generation PCIe protocol or a third generation PCIe protocol. That is, if the network system of the wireless network is detected to be the 2.4G WiFi network, the processor negotiates with the pcie1.0 protocol to perform data transmission with the processor. If the network system of the wireless network is detected to be a 5G WiFi network, negotiating with the processor to select PCIE2.0 protocol or PCIE3.0 protocol for data transmission with the processor.
When the connected wireless network is detected to be a 2.4G WiFi network, the PCIE1.0 protocol is negotiated with the processor to carry out data transmission with the processor, so that the problem of radio frequency interference caused by interference noise generated by PCIe data signals under the PCIE2.0 protocol and the PCIE3.0 protocol and same frequency with the 2.4G WiFi network can be avoided, the throughput rate of the 2.4GWiFi network is improved, and further the user experience is improved. When the connected wireless network is detected to be a 5G WiFi network, the processor is negotiated with the PCIE2.0 protocol or PCIE3.0 protocol to perform data transmission with the processor, so that higher data transmission rate can be ensured under the condition that data signal noise generated under the PCIE2.0 protocol or PCIE3.0 protocol has little influence on the 5G WiFi network. According to different network modes, the PCIe protocol switching scheme is carried out, and the EMI performance and the transmission rate can be considered.
As an example, the wireless communication module detects a network system of a wireless network accessed by the terminal device, including: the wireless communication module acquires network system information of a wireless network, wherein the network system information is used for indicating the network system of the wireless network; and the wireless communication module determines the network system of the wireless network according to the network system information.
As an example, before the wireless communication module sends the detection result to the processor, the method further includes: if the wireless communication module detects that the terminal equipment is accessed to the wireless network through the wireless communication module, handshake is carried out between the wireless communication module and the processor; the wireless communication module performs the step of transmitting the detection result to the processor in the process of handshaking with the processor.
Therefore, the wireless communication module can detect the network type of the wireless network accessed by the terminal equipment before establishing connection with the processor, and feeds back the detected network type to the processor in the process of establishing connection with the processor, so that the processor can directly adopt a data transmission interface protocol matched with the network type to carry out data transmission with the wireless communication module after establishing connection with the wireless communication module, and the data transmission efficiency can be improved.
In a second aspect, a data transmission method is provided, applied to a terminal device, where the terminal device includes a wireless communication module and a processor, and the method includes: the wireless communication module detects modulation and coding strategy MCS negotiated by the terminal equipment and the access point, wherein the access point is the access point of the wireless network accessed by the terminal equipment; the wireless communication module sends the detection result to the processor; and the processor selects a data transmission interface protocol matched with the MCS to transmit data with the wireless communication module according to the detection result. If the MCS belongs to the first MCS set, the data transmission interface protocol matched with the MCS is the first data transmission interface protocol, if the MCS belongs to the second MCS set, the data transmission interface protocol matched with the MCS is the second data transmission interface protocol, the intersection of the first MCS set and the second MCS set is null, and the first data transmission interface protocol and the second data transmission interface protocol are different.
Because the MCS negotiated by the terminal device and the access point of the wireless network is related to the network system of the wireless network and the network transmission rate of the wireless network can be determined to a certain extent, the wireless communication module feeds back the negotiated MCS to the processor by detecting the MCS negotiated by the terminal device and the access point of the wireless network, so that the processor selects a data transmission interface protocol matched with the MCS negotiated by the terminal device to perform data transmission with the wireless communication module, the selected data transmission interface protocol can be ensured to be matched with the MCS and the network system corresponding to the MCS can be matched, the dynamic association of the network transmission rate-MCS-data transmission interface protocol of the wireless network is realized, the flexibility of data transmission between the wireless communication module and the processor is improved, and the EMI performance and the transmission rate can be considered.
As an example, the first data transmission interface protocol is a first PCIe protocol, the second data transmission interface protocol is a second PCIe protocol, and the data transmission rates corresponding to the first PCIe protocol and the second PCIe protocol are different.
Therefore, under the condition that the terminal equipment is accessed to the WiFi network, the PCIe protocol adopted for data transmission between the wireless communication module and the processor is matched with the MCS negotiated by the terminal equipment, so that the adopted PCIe protocol can meet the data transmission requirement of the negotiated MCS, for example, the adopted PCIe protocol can be ensured to be capable of considering the EMI performance and the transmission rate.
As an example, the wireless communication module detecting an MCS negotiated by a terminal device with an access point, comprising: the wireless communication module acquires an index value of the MCS negotiated by the terminal equipment and the access point; if the index value belongs to the first MCS index value set, determining that the MCS belongs to the first MCS set; if the index value belongs to the second MCS index value set, determining that the MCS belongs to the second MCS set.
As an example, the first data transfer interface protocol is a first generation PCIe protocol and the second data transfer interface protocol is a second generation PCIe protocol or a third generation PCIe protocol.
As an example, the first MCS index value set is MCS0-MCS7 and the second MCS index value set is MCS8-MCS11. That is, if the index value of the negotiated MCS belongs to MCS0 to MCS7, the processor selects pcie1.0 protocol and performs data transmission with the wireless communication module. If the index value of the negotiated MCS belongs to MCS8-MCS11, the processor selects PCIE2.0 protocol or PCIE3.0 to perform data transmission with the wireless communication module.
When the index value of the negotiated MCS belongs to MCS 0-MCS 7, the processor selects PCIE1.0 protocol and the wireless communication module for data transmission, so that the problem of radio frequency interference caused by interference noise of PCIe data signals with the same frequency as the 2.4G WiFi network under the PCIE2.0 protocol and the PCIE3.0 protocol can be avoided under the condition that the connected network is the 2.4G WiFi network, the throughput rate of the 2.4G WiFi network is improved, and the user experience is further improved. When the index value of the negotiated MCS belongs to MCS 8-MCS 11, the processor selects PCIE2.0 protocol or PCIE3.0 and the wireless communication module for data transmission, so that higher data transmission rate can be ensured under the condition that data signal noise generated under the PCIE2.0 protocol or PCIE3.0 protocol has little influence on the 5G WiFi network, and the PCIe protocol adapted to the higher network transmission rate can be adopted for data transmission with the processor under the condition that the network transmission rate of the 5G WiFi network is higher. In summary, when the terminal device performs wireless network communication, dynamic association of network transmission rate-MCS-data transmission interface protocol of the wireless network can be realized, and EMI performance and network transmission speed are both considered.
As an example, the wireless communication module detecting a modulation and coding scheme MCS negotiated by a terminal device and an access point, comprising: and if the wireless communication module detects that the terminal equipment negotiates the MCS with the access point for the first time or renegotiates the MCS, detecting the MCS negotiated by the terminal equipment and the access point.
In a third aspect, a data transmission apparatus is provided, which has a function of implementing the above-described behavior of the data transmission method in the first aspect. The data transmission device comprises at least one module for implementing the data transmission method provided in the first aspect or the second aspect.
In a fourth aspect, there is provided a data transmission apparatus including a processor and a memory in a structure thereof, the memory being configured to store a program for supporting the data transmission apparatus to execute the data transmission method provided in the first aspect, and to store data for implementing the data transmission method according to the first or second aspect. The processor is configured to execute a program stored in the memory. The data transfer device may further comprise a communication bus for establishing a connection between the processor and the memory.
In a fifth aspect, there is provided a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the data transmission method of the first or second aspect described above.
In a sixth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the data transmission method of the first or second aspect described above.
The technical effects obtained by the third, fourth, fifth and sixth aspects are similar to the technical effects obtained by the corresponding technical means in the first or second aspects, and are not described in detail herein.
Drawings
Fig. 1 is a block diagram of a terminal device according to an embodiment of the present application;
FIG. 2 is a graph of a data noise spectrum generated by data transmission between a wireless communication module and a processor under different PCIe protocols under the same test environment;
fig. 3 is a block diagram of another terminal device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 5 is a block diagram of a software system of a terminal device according to an embodiment of the present application;
fig. 6 is a flowchart of a data transmission method according to an embodiment of the present application;
fig. 7 is a flowchart of another data transmission method according to an embodiment of the present application;
fig. 8 is a flowchart of yet another data transmission method according to an embodiment of the present application;
Fig. 9 is a flowchart of yet another data transmission method according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that references to "a plurality" in this disclosure refer to two or more. In the description of the present application, "/" means or, unless otherwise indicated, for example, A/B may represent A or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and function. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
Before explaining the data transmission method provided by the embodiment of the present application in detail, the nouns related to the embodiment of the present application are explained.
Data transmission interface protocol: communication modes and requirements, such as PCIe protocol, to be complied with between interfaces that need to perform data transmission.
PCIe: a high-speed serial computer expansion bus standard, also known as PCI-E. PCIe belongs to high-speed serial point-to-point dual-channel high-bandwidth transmission, and connected devices allocate exclusive channel bandwidths and do not share bus bandwidths. PCIe is preceded by PCI and PCI-X and uses multiple pairs of high-speed serial buses for point-to-point connections, thus providing very high bus bandwidth, as compared to conventional parallel bus architectures. Meanwhile, due to compatibility and mature technology of upper layers and PCI, PCIe has become a standard interface in applications such as desktops, notebooks and servers, and is becoming more and more popular in many applications requiring high-speed data exchange.
PCIe protocols include a variety of specifications that can meet the demands of low-speed devices and high-speed devices that will occur at a time in the future. For example, PCIe protocols include PCIe protocols of different generations, such as first generation PCIe (PCIe 1.0) protocol, second generation PCIe (PCIe 2.0) and third generation PCIe (PCIe 3.0) protocols. Wherein the transmission rates of PCIe protocols of different generations are different. For example, the PCIE1.0 protocol has a transmission rate of 2.5Gb/s, i.e. supports 2.5G bits per second transmission; the transmission rate of PCIE2.0 protocol is 5Gb/s; the PCIE3.0 protocol has a transmission rate of 8Gb/s.
Wireless fidelity (WIRELESS FIDELITY, wiFi) network: a communication network employing wireless technology. There are corresponding standards in any industry, and the standards are usually formulated by the enterprise association or alliance of the industry center, while there are corresponding standards in the WiFi network field, namely wireless technology standards. For example, the 2.4G WiFi network is a WiFi network adopting the 2.4G standard, and the 5G WiFi network is a WiFi network adopting the 5G standard.
2.4G WiFi network: generally refers to WiFi networks with frequency bands between 2.400GHz and 2.4835 GHz. Routers, which are commonly found in home use, are produced based on the ieee802.11b technology standard, which enables two-way transmission, and coverage distances are affected by device power, which can cover a range of about 10-50 meters in diameter (related to interference, obstructions, device installation environments).
5G WiFi network: generally refers to a WiFi network with a frequency band of 5 GHz. The biggest difference between the 5G WiFi network and the 2.4G WiFi network is that the 5G WiFi network adopts brand new wave band frequency and standard, the frequency band is 5GHz, the production is based on the technical standard of IEEE802.11ac, and the bidirectional speed is obviously improved.
Modulation and coding strategy (modulation and coding scheme, MCS): the terminal device may configure a network transmission rate of the wireless network by negotiating an MCS with an access point of the accessed wireless network. The MCS negotiated by the terminal device with the access point of the accessed wireless network may determine a network transmission rate of the wireless network, that is, the network transmission rate of the wireless network accessed by the terminal device may depend on the MCS negotiated with the access point of the wireless network.
Currently, the configuration of the terminal device to the network transmission rate of the wireless network may be implemented through an MCS index value. The MCS modulation coding table is a basis for configuring a network transmission rate of the wireless network, and includes a plurality of MCS index values and a network transmission rate corresponding to each MCS index value. For example, the plurality of MCS index values in the MCS modulation coding table may include MCS0 to MCS11. In addition, under different network systems, the range of the MCS which can be negotiated by the terminal equipment and the access point of the connected wireless network is different. For example, in a 2.4G WiFi network, an index value of MCS that can be negotiated by the terminal device and an access point of an accessed wireless network is MCS0 to MCS7; under the 5G WiFi network, the index value of the MCS which can be negotiated by the terminal equipment and the access point of the accessed wireless network is MCS 0-MCS 11. In general, the larger the index value of the MCS, the higher its corresponding network transmission rate.
Next, an application scenario related to the data transmission method provided by the embodiment of the present application is described.
Referring to fig. 1, fig. 1 is a block diagram of a terminal device according to an embodiment of the present application. As shown in fig. 1, the terminal device generally includes an antenna 1, a wireless communication module 10, and a processor 20, the wireless communication module 10 being coupled with the antenna 1 so that the terminal device can communicate with a network and other devices through wireless communication technology. For example, the terminal device may be connected to a wireless network through the wireless communication module 10 and the antenna 1, i.e., establish a network connection with the wireless network in order to receive or transmit information through the wireless network. After the terminal device is connected to the wireless network through the wireless communication module 10 and the antenna 1, the wireless communication module 10 may use a data transmission interface protocol to perform data transmission with the processor 20, for example, use PCIe protocol as shown in fig. 1.
For example, the wireless communication module 10 receives electromagnetic waves via the antenna 1, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 20 using a data transmission interface protocol such as PCIe protocol. The wireless communication module 10 may also receive the signal to be sent from the processor 20 by using a data transmission interface protocol such as PCIe protocol, frequency modulate, amplify, and convert the signal to electromagnetic wave through the antenna 1 to radiate. By way of example, the wireless communication module 10 may be a wireless local area network (wireless local area network, WLAN) module.
As described in the background art, at present, after the terminal device accesses the wireless network through the wireless communication module 10, no matter what network system the wireless network is accessing, the wireless communication module 10 and the processor 20 all adopt a preset fixed data transmission interface protocol to perform data transmission, for example, adopt a fixed pcie1.0 protocol or a pcie2.0 protocol to perform data transmission. The technical solution of adopting a fixed data transmission interface protocol to perform data transmission between the wireless communication module 10 and the processor 20 has a certain limitation, and has low flexibility, and may not meet the data transmission requirement, for example, the data transmission rate and the electromagnetic interference (electromagnetic interference, EMI) performance may not be compatible.
For example, a data signal transmitted by adopting a fixed data transmission interface protocol may generate stronger interference noise in an operating frequency band of an accessed wireless network, and the generated interference noise may affect the receiving sensitivity of a wireless network module, further affect the throughput rate of the wireless network, so that the throughput rate of the wireless network is reduced, which intuitively represents that the video playing is blocked, the loading is slow, the file downloading is slow, and the like, and seriously affects the internet surfing experience of a user.
Referring to fig. 1, taking an example that a terminal device accesses a 2.4G WiFi network through a wireless communication module 10 and an antenna 1, after the terminal device accesses the 2.4G WiFi network, if a pcie2.0 protocol or a pcie3.0 protocol is adopted between the wireless communication module 10 and a processor 20 for data transmission, a transmitted data signal may generate stronger interference noise in an operating frequency band (2.400 GHz-2.4835 GHz) of the 2.4G WiFi network. If the antenna 1 receives the PCIe noise signal generated by the data transmission between the wireless communication module 10 and the processor 20, the throughput rate of the 2.4G WiFi network is reduced, which intuitively appears as network blocking, and affects the internet surfing experience of the user. This problem is particularly pronounced in the case of WiFi signals that are weak.
Referring to fig. 2, fig. 2 is a spectrum diagram of data noise generated by data transmission between a wireless communication module and a processor under different PCIe protocols under the same test environment according to an embodiment of the present application. The horizontal axis of the coordinate axis shown in fig. 2 represents the frequency of the generated data signal noise, and the vertical axis represents the power of the generated data signal noise, which may indicate the data signal noise strength. As shown in fig. 2, when the pcie2.0 protocol or the pcie3.0 protocol is adopted between the wireless communication module and the processor to perform data transmission, interference noise generated by the transmitted data signal in the frequency band of 2.4 GHz-2.5 GHz is strong, so that strong interference noise can be generated in the working frequency band of the 2.4G WiFi network, resulting in a decrease in throughput rate of the 2.4G WiFi network. Under the condition that PCIE1.0 protocol is adopted between the wireless communication module and the processor for data transmission, the interference noise generated by the transmitted data signals in the frequency band of 2.4 GHz-2.5 GHz is weak, so that stronger interference noise cannot be generated in the working frequency band of the 2.4G WiFi network, and the throughput rate of the 2.4G WiFi network is influenced.
Therefore, in the case that the terminal device accesses the 2.4G WiFi network, if the data transmission is performed between the wireless communication module and the processor by adopting the pcie2.0 protocol or the pcie3.0 protocol with fixed configuration, the transmitted data signal will generate stronger interference noise in the working frequency band of the 2.4G WiFi network, and interfere with the receiving sensitivity of the wireless network module, thereby causing the throughput rate of the 2.4GWiFi network to be reduced, causing network jamming and affecting the user experience.
In the related art, interference noise generated by data signals transmitted between a wireless communication module and a processor can be reduced by configuring filtering components such as common-mode inductance or capacitance in a data signal wiring network of a terminal device or configuring shielding materials such as conductive foam or wave-absorbing materials. But this way increases the technical and material costs of the terminal device.
In order to improve flexibility of data transmission between a wireless communication module and a processor, the embodiment of the application provides a method for data transmission between a data transmission interface protocol matched with a network system and the wireless communication module by the processor according to the detection result of the wireless communication module, wherein the wireless communication module detects the network system of the wireless network accessed by the terminal device firstly and feeds back the detection result to the processor after the terminal device is accessed to the wireless network.
The method can ensure that the data transmission interface protocol adopted by the data transmission between the wireless communication module and the processor is matched with the network system of the wireless network accessed by the terminal equipment, so that the adopted data transmission interface protocol can meet the data transmission requirement of the access network system, for example, the adopted data transmission interface protocol can be ensured to be capable of considering the EMI performance and the transmission rate. Moreover, the method can save the technical cost and the material cost of the terminal equipment.
For example, after the terminal device accesses the wireless network, if the wireless communication module detects that the network system of the wireless network accessed by the terminal device is a 2.4G WiFi network, the processor selects the pcie1.0 protocol and the wireless communication module to perform data transmission according to the detection result of the wireless communication module. If the wireless communication module detects that the network system of the wireless network accessed by the terminal equipment is a 5G WiFi network, the processor selects other PCIe protocols such as PCIE2.0 protocol or PCIE3.0 protocol and the like to perform data transmission with the wireless communication module according to the detection result of the wireless communication module. Therefore, the problem that data signal noise generated under the PCIE2.0 protocol or the PCIE3.0 protocol interferes with the 2.4G WiFi network can be avoided, the throughput rate of the 2.4G WiFi network is improved, and user experience is further improved. In addition, under the condition that the data signal noise generated under the PCIE2.0 protocol or the PCIE3.0 protocol has little influence on the 5G WiFi network, the PCIE2.0 protocol or the PCIE3.0 protocol is selected through negotiation to perform data transmission, so that higher data transmission rate can be ensured. The technical scheme for selecting the matched PCIe protocol to carry out data transmission according to the network mode negotiation can give consideration to the network transmission rate and the EMI performance.
In addition, in order to improve the flexibility of data transmission between the wireless communication module and the processor, the embodiment of the application also provides a method that after the terminal equipment is accessed to the wireless network, the wireless communication module detects the MCS negotiated by the terminal equipment and the access point of the wireless network, then feeds back the detection result to the processor, and the processor selects a data transmission interface protocol matched with the detected MCS according to the detection result to perform data transmission with the processor. Because the MCS negotiated by the terminal device and the access point of the wireless network is usually different according to the different network modes of the accessed wireless network, the data transmission is performed by selecting the data transmission interface protocol matched with the detected MCS and the wireless communication module, so that the selected data transmission interface protocol can be ensured to be matched with the network mode corresponding to the detected MCS, and the adopted data transmission interface protocol can meet the data transmission requirement of the connected network mode, such as considering the EMI performance and the transmission rate.
The network transmission rate (throughput rate) of the wireless network depends on the MCS negotiated by the terminal equipment on one hand, and is matched with the data transmission rate between the wireless communication module and the processor on the other hand.
It should be noted that, the data transmission method provided by the embodiment of the present application may be applied to a terminal device configured with multiple antennas, in addition to the terminal device configured with a single antenna shown in fig. 1. A terminal device configured with a single antenna supports only a single input single output (simple input simple output, SISO) function, while a terminal device supporting multiple antennas supports both SISO and multiple input multiple output (multiple input multiple output, MIMO) functions. Referring to fig. 3, fig. 3 is a schematic structural diagram of another terminal device according to an embodiment of the present application. As shown in fig. 3, the terminal device generally includes an antenna 1, an antenna 2, a wireless communication module 10, and a processor 20. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas.
Next, a terminal device according to an embodiment of the present application will be described.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application. Referring to fig. 4, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (subscriber identification module, SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural center and a command center of the terminal device 100. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may 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. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces, such as may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, a PCIe interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SERIAL DATA LINE, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C interfaces. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C interfaces. Such as: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C interface to implement a touch function of the terminal device 100.
The PCIe interface is a high-speed serial computer expansion bus. In some embodiments, processor 110 may couple wireless communication module 160 through a PCIe interface, causing processor 110 to communicate with wireless communication module 160 through a PCIe interface, such that terminal device 100 may communicate with a network and other devices through wireless communication techniques.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S interfaces. The processor 110 may be coupled to the audio module 170 through an I2S interface to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset.
The UART interface is a universal serial data bus for asynchronous communications. The UART interface may be a bi-directional communication bus. The UART interface may convert data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. Such as: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (CAMERA SERIAL INTERFACE, CSI), display serial interfaces (DISPLAY SERIAL INTERFACE, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of terminal device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display function of the terminal device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiment of the present application is only illustrative, and does not constitute a structural limitation of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the terminal device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. Such as: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied on the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2. In addition, in the embodiment of the present application, the wireless communication module 160 further has a function of detecting a network system of the wireless network to which the terminal device 100 accesses, and/or a function of detecting an MCS negotiated by the terminal device 100 and an access point of the accessed wireless network.
In some embodiments, antenna 1 and mobile communication module 150 of terminal device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that terminal device 100 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques can include a global system for mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The terminal device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. Such as storing files of music, video, etc. in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The processor 110 performs various functional applications of the terminal device 100 and data processing by executing 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 may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (such as audio data, phonebook, etc.) created by the terminal device 100 during use, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The terminal device 100 may implement audio functions such as music playing, recording, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc.
Next, a software system of the terminal device 100 will be described.
The software system of the terminal device 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, an Android (Android) system with a layered architecture is taken as an example, and a software system of the terminal device 100 is illustrated.
Fig. 5 is a block diagram of a software system of the terminal device 100 according to an embodiment of the present application. Referring to fig. 2, the hierarchical architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun lines (Android runtime) and a system layer, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 2, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions. As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like. The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data, which may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc., and make such data accessible to the application. The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to construct a display interface for an application, which may be comprised of one or more views, such as a view that includes displaying a text notification icon, a view that includes displaying text, and a view that includes displaying a picture. The telephony manager is used to provide communication functions of the terminal device 100, such as management of call status (including on, off, etc.). The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like. The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. For example, a notification manager is used to inform that the download is complete, a message alert, etc. The notification manager may also be a notification that appears in the system top status bar in the form of a chart or a scroll bar text, such as a notification of a background running application. The notification manager may also be a notification that appears on the screen in the form of a dialog window, such as a text message being prompted in a status bar, a notification sound being emitted, the electronic device vibrating, a flashing indicator light, etc.
Android run time includes a core library and virtual machines. Android runtime is responsible for scheduling and management of the android system. The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules, such as: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc. The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as: MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a processor driver, a wireless communication module driver, a display driver, an audio driver and the like. The hardware layer at least comprises a processor, a wireless communication module, a display, an audio device and the like.
Next, a data transmission method provided by an embodiment of the present application will be described in detail with reference to fig. 6.
Fig. 6 is a flowchart of a data transmission method according to an embodiment of the present application, where the method is applied to a terminal device, and the terminal device includes a wireless communication module and a processor, and as shown in fig. 6, the method includes the following steps:
Step 601: the wireless communication module detects that the terminal equipment accesses the wireless network.
The terminal device may establish a wireless network connection through the wireless communication module, thereby connecting to the wireless network, i.e. accessing the wireless network. For example, the terminal device may send a connection request to an Access Point (AP) of the wireless network through the wireless communication module, and access the wireless network through the access point.
Moreover, the terminal device can establish connection with wireless networks of different network systems, so as to access the wireless networks of different network systems. For example, the terminal device may select to access one of the wireless networks preferentially according to the network quality of the plurality of wireless networks that can be accessed. The network system of the wireless network refers to the type of the wireless network, that is, the terminal device may be connected to different types of wireless networks through the wireless communication module.
As an example, the wireless network may be a WiFi network, such as a 2.4G WiFi network or a 5G WiFi network, or may be a WiFi network with other network systems, which is not limited in the embodiment of the present application.
As an example, the wireless communication module performs a handshake with the processor if it detects that the terminal device accesses the wireless network, to establish a connection with the processor through the handshake for subsequent data transmission through the established connection.
The process in which the wireless communication module handshakes with the processor may be referred to as a heartbeat. In one possible implementation, the wireless communication module may perform a handshake after detecting that the terminal device is connected to the wireless network through the wireless communication module, and then the handshake is not performed again if the wireless communication module is normally connected to the processor. In another possible implementation manner, in order to ensure that the service logic can perform correctly, a timed handshake between the wireless communication module and the processor, that is, a handshake is performed every preset time period.
As one example, the handshake process includes: the wireless communication module sends heartbeat information to the processor, the processor returns a corresponding message packet immediately after receiving the heartbeat information, and the wireless communication module completes a complete handshake after receiving the corresponding message packet. Or the processor sends heartbeat information to the wireless communication module, the wireless communication module returns a corresponding message packet immediately after receiving the heartbeat information, and the processor completes a complete handshake after receiving the corresponding message packet.
In addition, the terminal device can also judge whether the heartbeat of the wireless communication module is normal according to whether the handshake is successful and the times of success, so that relevant service logic and error processing can be carried out.
Step 602: the wireless communication module detects a network system of the wireless network.
The network system of the wireless network at least comprises a first network system and a second network system, and the first network system and the second network system are different. Of course, the network system of the wireless network may also include more different network systems, such as a third network system, a fourth network system, and so on, which are different from the foregoing network systems.
As an example, the first network system is a first WiFi network, the second network system is a second WiFi network, and the working frequency bands of the first WiFi network and the second WiFi network are different.
For example, the first WiFi network is a 2.4G WiFi network and the second WiFi network is a 5G WiFi network. A 2.4G WiFi network generally refers to a WiFi network with a frequency band between 2.400GHz and 2.4835 GHz. A 5G WiFi network generally refers to a WiFi network with a frequency band of 5 GHz. Of course, the first WiFi network and the second WiFi network may also be WiFi networks in other working frequency bands, which is not limited in the embodiment of the present application.
As an example, the wireless communication module may acquire network system information of a wireless network accessed by the terminal device, and determine a network system of the wireless network according to the network system information of the wireless network. The network system information of the wireless network is used for indicating the network system of the wireless network.
In one possible implementation manner, the wireless communication module may capture a data packet from the accessed wireless network through a wireless network capturing program, and analyze the captured data packet to obtain network system information of the wireless network from the captured data packet. Of course, other manners may be used to obtain network system information of the wireless network, which is not limited by the embodiment of the present application.
It should be noted that, the wireless communication module may configure the function of detecting the network system of the wireless network accessed by the terminal device in advance, so as to actively detect the network system of the wireless network after detecting that the terminal device is accessed to the wireless network, and then feed back the detection result to the processor. In addition, the wireless communication module may also detect the network system of the wireless network accessed by the terminal device under the control of the processor, that is, the processor controls the wireless communication module to detect the network system of the wireless network accessed by the terminal device, and then obtain the detection result of the wireless communication module.
Step 603: the wireless communication module sends the detection result to the processor.
The detection result comprises network type information of a wireless network accessed by the terminal equipment.
That is, after detecting the network system of the wireless network to which the terminal device accesses, the wireless communication module may feed back the detected network system to the processor.
As one example, the wireless communication module may send the detection result to the processor during a handshake with the processor. Therefore, the wireless communication module can detect the network type of the wireless network accessed by the terminal equipment before establishing connection with the processor, and feeds back the detected network type to the processor in the process of establishing connection with the processor, so that the processor can directly adopt a data transmission interface protocol matched with the network type to carry out data transmission with the wireless communication module after establishing connection with the wireless communication module, and the data transmission efficiency can be improved.
It should be noted that the wireless communication module may handshake with the processor before step 603. For example, a handshake with the processor is performed after step 601 or step 602.
Step 604: and the processor receives the detection result, and selects a data transmission interface protocol matched with the network system to transmit data with the wireless communication module according to the detection result.
The data transmission interface protocol matched with the network system refers to the data transmission interface protocol matched with the network system of the accessed wireless network, namely, the data transmission interface protocol capable of meeting the data transmission requirement under the network system of the accessed wireless network. For example, the data transmission interface protocol matched with the network system can be a data transmission interface protocol capable of considering the EMI performance and the data transmission rate of the accessed wireless network.
As one example, the processor may negotiate with the wireless communication module to select a data transfer interface protocol that matches the network format for data transfer. For example, compared with the technical scheme of adopting a fixed data transmission interface protocol to perform data transmission with a processor in the related art, in the embodiment of the present application, a target negotiation mechanism may be configured in advance for the processor and the wireless communication module, where the target negotiation mechanism refers to a mechanism for negotiating and selecting the data transmission interface protocol between the processor and the wireless communication module. After receiving the network system of the wireless network fed back by the wireless communication module, the processor can adopt the target negotiation mechanism to negotiate with the wireless communication module to select a data transmission interface protocol matched with the network system for data transmission.
The network system of the wireless network at least comprises a first network system and a second network system, the data transmission interface protocol matched with the first network system is a first data transmission interface protocol, the data transmission interface protocol matched with the second network system is a second data transmission interface protocol, and the first data transmission interface protocol and the second data transmission interface protocol are different.
For example, according to the detection result, selecting the data transmission interface protocol matched with the network system to perform data transmission with the wireless communication module may include: if the network system of the wireless network is a first network system, selecting a first data transmission interface protocol matched with the first network system to transmit data with the wireless communication module; and if the network system of the wireless network is a second network system, selecting a second data transmission interface protocol matched with the second network system to transmit data with the wireless communication module.
The wireless network may be a WiFi network or other wireless network. The first data transmission interface protocol and the second data transmission interface protocol may be PCIe protocols, protocols upgraded in PCIe protocols, or other data transmission interface protocols, which are not limited by the embodiments of the present application.
As an example, the first network system is a first WiFi network, and the first data transmission interface protocol is a first PCIe protocol; the second network system is a second WiFi network, and the second data transmission interface protocol is a second PCIe protocol. The data transmission rates corresponding to the first PCIe protocol and the second PCIe protocol are different.
Illustratively, the first WiFi network is a 2.4G WiFi network, and the first PCIe protocol is a first generation PCIe protocol; the second WiFi network is a 5G WiFi network, and the second PCIe protocol is a second generation PCIe protocol or a third generation PCIe protocol.
As an example, if the network system of the wireless network is a 2.4G WiFi network, the pcie1.0 protocol is selected to perform data transmission with the wireless communication module. If the network system of the wireless network is a 5G WiFi network, selecting a PCIE2.0 protocol or a PCIE3.0 protocol to perform data transmission with the wireless communication module.
In the embodiment of the application, after the terminal equipment is accessed to the wireless network, the wireless communication module firstly detects the network system of the wireless network accessed by the terminal equipment, then the detection result is fed back to the processor, and the processor selects a data transmission interface protocol matched with the network system to carry out data transmission with the wireless communication module according to the detection result. Therefore, the flexibility of data transmission between the wireless communication module and the processor can be improved, the data transmission interface protocol adopted for data transmission between the wireless communication module and the processor is ensured to be matched with the network system of the wireless network accessed by the terminal equipment, so that the adopted data transmission interface protocol can meet the data transmission requirement of the accessed network system, for example, the adopted data transmission interface protocol can be ensured to be capable of considering the EMI performance and the data transmission rate under the wireless network.
Next, in conjunction with the technical solution described in fig. 6, the data transmission method provided by the embodiment of the present application is illustrated by taking the first WiFi network as a 2.4G WiFi network, the first PCIe protocol as a PCIe1.0 protocol, the second WiFi network as a 5G WiFi network, and the second PCIe protocol as a PCIe2.0 protocol or a PCIe3.0 protocol as an example.
Fig. 7 is a flowchart of another data transmission method provided in an embodiment of the present application, where the method is applied to a terminal device, and the terminal device includes a wireless communication module and a processor, as shown in fig. 1, and the method includes the following steps:
step 701: the wireless communication module detects that the terminal equipment accesses the wireless network.
Step 702: the wireless communication module detects a network system of the wireless network.
Step 703: the wireless communication module performs a handshake with the processor.
After detecting that the terminal device accesses the wireless network, the wireless communication module may handshake with the processor to establish a connection with the processor in order to be able to send data received from the wireless network to the processor or to send data from the processor to the wireless network.
The handshake between the wireless communication module and the processor may refer to the description of step 601 in the embodiment of fig. 6, which is not repeated herein.
Step 704: the wireless communication module sends the detection result to the processor in the process of handshake with the processor.
In the embodiment of the application, the wireless communication module can detect the network system of the wireless network in the process of handshaking with the processor, and negotiate with the processor to select a data transmission interface protocol matched with the network system to transmit data with the processor.
Therefore, the wireless communication module can negotiate with the processor to select a proper data transmission interface protocol before successfully establishing connection with the processor, and can directly adopt the selected data transmission interface protocol to carry out data transmission after successfully establishing connection subsequently, so that the data transmission efficiency can be improved.
For example, the wireless communication module may acquire network system information of the wireless network in a process of handshaking with the processor, and determine a network system of the wireless network according to the network system information of the wireless network.
In one possible implementation manner, the wireless communication module may capture a data packet from the wireless network through a wireless network capturing program, and parse the captured data packet to obtain network system information of the wireless network from the captured data packet. Of course, other manners may be used to obtain network system information of the wireless network, which is not limited by the embodiment of the present application.
Step 705: and the processor receives the detection result and judges whether the network system of the wireless network is a 2.4G WiFi network or not.
Step 706: if the network system of the wireless network is a 2.4G WiFi network, the processor and the wireless communication module negotiate to select PCIE1.0 protocol to perform data transmission with the wireless communication module.
Step 707: if the network system of the wireless network is not 2.4GWiFi, the processor judges whether the network system of the wireless network is a 5G WiFi network.
Step 708: if the network system of the wireless network is a 5G WiFi network, the processor and the wireless communication module negotiate to select PCIE2.0 protocol or PCIE3.0 protocol to perform data transmission with the wireless communication module.
As an example, considering that the data transmission rate corresponding to the pcie3.0 protocol is greater than the data transmission rate corresponding to the pcie2.0 protocol, if the network system of the wireless network is a 5G WiFi network, the pcie3.0 protocol may be selected for data transmission.
As another example, considering that, in the case where the network system of the wireless network is a 5G WiFi network, the intensity of interference noise generated by data transmission using the pcie2.0 protocol is lower than the intensity of interference noise generated by data transmission using the pcie3.0 protocol, if the network system of the wireless network is a 5G WiFi network, the pcie2.0 protocol may be selected for data transmission.
As another example, to achieve both data transmission rate and EMI performance, if the network system of the wireless network is a 5G WiFi network, the pcie3.0 protocol may be selected for data transmission, then the strength of interference noise generated by using the pcie3.0 protocol for data transmission is detected, and if the strength of the generated interference noise is greater than the strength threshold, then the pcie2.0 protocol is selected for data transmission.
It should be understood that the processor may also determine whether the network system of the wireless network is a 5G WiFi network, if so, select pcie2.0 protocol or pcie3.0 protocol to perform data transmission with the wireless communication module, and if not, determine whether the network system is a 2.4G WiFi network. If yes, selecting PCIE1.0 protocol and the wireless communication module to transmit data. The embodiment of the present application does not limit the sequence of step 705 and step 707.
In the embodiment of the application, after the terminal equipment accesses the wireless network, the wireless communication module firstly detects the network system of the accessed wireless network and feeds back the detection result to the processor. If the processor judges that the wireless network accessed by the terminal equipment is the 2.4G WiFi network according to the detection result, the PCIE1.0 protocol and the wireless communication module are selected for data transmission, so that the problem that data signal noise generated under the PCIE2.0 protocol and the PCIE3.0 protocol interferes with the 2.4G WiFi network can be avoided, the throughput rate of the 2.4GWiFi network is improved, and further user experience is improved. If the wireless network accessed by the terminal equipment is judged to be a 5G WiFi network, selecting the PCIE2.0 protocol or the PCIE3.0 protocol to carry out data transmission with the wireless communication module, so that higher data transmission rate can be ensured under the condition that the data signal noise generated under the PCIE2.0 protocol or the PCIE3.0 protocol has little influence on the 5G WiFi network. The technical scheme for selecting the matched PCIe protocol to carry out data transmission according to the network system can give consideration to the EMI performance and the data transmission rate.
Fig. 8 is a flowchart of yet another data transmission method according to an embodiment of the present application, where the method is applied to a terminal device, and the terminal device includes a wireless communication module and a processor, as shown in fig. 8, and the method includes the following steps:
step 801: the wireless communication module detects that the terminal equipment accesses the wireless network.
It should be noted that, for the specific implementation manner of step 801, reference may be made to step 601, and the embodiments of the present application are not described herein.
Step 802: the wireless communication module detects the MCS negotiated by the terminal device with the access point of the wireless network.
As one example, the wireless communication module may detect an index value of an MCS negotiated by the terminal device with an access point of the wireless network, and determine the MCS negotiated by the terminal device with the access point of the wireless network according to the index value.
In one possible implementation, the wireless communication module may capture a data packet from the wireless network through a wireless network capturing procedure, and parse the captured data packet to obtain an index value of an MCS negotiated by the terminal device and an access point of the wireless network from the captured data packet. Of course, other manners may be adopted to obtain the index value of the MCS negotiated by the terminal device and the access point of the wireless network, which is not limited in the embodiment of the present application.
It should be noted that, the wireless communication module may configure the function of detecting the MCS negotiated by the terminal device and the access point in advance, so as to actively detect the MCS negotiated by the terminal device and the access point after detecting that the terminal device accesses the wireless network, and then feed back the detection result to the processor. In addition, the wireless communication module may also detect the MCS negotiated by the terminal device and the access point under the control of the processor, that is, the processor controls the wireless communication module to detect the MCS negotiated by the terminal device and the access point, and then obtains the detection result of the wireless communication module.
Step 803: the wireless communication module sends the detection result to the processor.
The detection result includes MCS information negotiated by the terminal device and the access point, for example, the MCS information may be an index value of the MCS, etc.
That is, the wireless communication module may feed back the detected MCS to the processor after detecting the MCS negotiated with the access point by the terminal device.
As one example, the wireless communication module may send the detection result to the processor during a handshake with the processor. Therefore, before the wireless communication module establishes connection with the processor, the MCS negotiated by the terminal equipment and the access point can be detected, and in the process of establishing connection with the processor, the detection result is fed back to the processor, so that the processor can directly adopt a data transmission interface protocol matched with the MCS negotiated by the terminal equipment to carry out data transmission with the wireless communication module after establishing connection with the wireless communication module, and the data transmission efficiency can be improved.
It should be noted that the wireless communication module may handshake with the processor before step 803. For example, a handshake with the processor is performed after step 801 or step 802.
Step 804: and the processor receives the detection result, and selects a data transmission interface protocol matched with the MCS to perform data transmission with the wireless communication module according to the detection result.
The data transmission interface protocol matched with the MCS refers to a data transmission interface protocol which is matched with the negotiated MCS and can meet the data transmission requirement under the negotiated MCS. For example, the data transmission interface protocol matched with the MCS may be a data transmission interface protocol capable of considering EMI performance and data transmission rate under an accessed wireless network.
In addition, because the range of the MCS negotiated by the terminal device and the access point of the wireless network is usually different according to the different network modes of the accessed wireless network, the data transmission is performed with the wireless communication module by selecting the data transmission interface protocol matched with the negotiated MCS, and the selected data transmission interface protocol can be ensured to be matched with the network mode corresponding to the negotiated MCS, so that the adopted data transmission interface protocol can meet the data transmission requirement under the accessed network mode.
As one example, the processor may negotiate with the wireless communication module to select a data transmission interface protocol matching the MCS for data transmission. For example, a target negotiation mechanism may be configured in advance for the processor and the wireless communication module, the target negotiation mechanism referring to a mechanism for negotiating a data transmission interface protocol between the processor and the wireless communication module. After receiving the MCS negotiated by the terminal device and the access point and fed back by the wireless communication module, the processor may use the target negotiation mechanism to negotiate with the wireless communication module to select a data transmission interface protocol matching the MCS for data transmission.
As one example, multiple MCS sets may be preconfigured, and when the MCS negotiated by the terminal device and the access point of the wireless network are located in different MCS sets, the data transmission interface protocol matched thereto is different.
For example, the plurality of MCS sets includes a first MCS set and a second MCS set, and an intersection of the first MCS set and the second MCS set is null. If the MCS belongs to the first MCS set, the data transmission interface protocol matched with the MCS is the first data transmission interface protocol, and if the MCS belongs to the second MCS set, the data transmission interface protocol matched with the MCS is the second data transmission interface protocol. Wherein the first data transfer interface protocol and the second data transfer interface protocol are different.
As one example, if the negotiated MCS belongs to the first MCS set, the processor selects the first data transmission interface protocol for data transmission with the wireless communication module. And if the negotiated MCS belongs to the second MCS set, the processor selects a second data transmission interface protocol to perform data transmission with the wireless communication module.
As one example, the wireless communication module may obtain an index value of an MCS negotiated by the terminal device with an access point of the wireless network; if the index value belongs to the first MCS index value set, determining that the MCS belongs to the first MCS set; if the index value belongs to the second MCS index value set, determining that the MCS belongs to the second MCS set.
Illustratively, the first set of MCS index values is MCS0-MCS7 and the second set of MCS index values is MCS8-MCS11. Of course, the first MCS index value set and the second MCS index value set may be other index value sets, which is not limited in the embodiment of the present application.
Illustratively, the first data transmission interface protocol is a pcie1.0 protocol, and the second data transmission interface protocol is a pcie2.0 protocol or a pcie3.0 protocol. Of course, the first data transmission interface protocol and the second data transmission interface protocol may be other PCIe protocols, which is not limited by the embodiment of the present application.
Because under the 2.4G WiFi network, the index value of the MCS which can be negotiated by the terminal equipment and the access point of the connected wireless network is MCS0-MCS7, and under the 5G WiFi network, the index value of the MCS which can be negotiated by the terminal equipment and the access point of the connected wireless network is MCS0-MCS 11. Therefore, if the index value of the negotiated MCS is located between MCS0 and MCS7, it indicates that the accessed wireless network is a 2.4G WiFi network or a 5G WiFi network, and if the index value of the negotiated MCS is located between MCS8 and MCS11, it indicates that the accessed wireless network is a 5G WiFi network.
In the embodiment of the application, after the terminal equipment is accessed to the wireless network, the wireless communication module can detect the MCS negotiated by the terminal equipment and the access point of the accessed wireless network, and feed back the detection result to the processor, and the processor selects a data transmission interface protocol matched with the MCS according to the detection result to perform data transmission with the processor. Because the MCS negotiated by the terminal device and the access point of the wireless network is related to the network system of the wireless network, and the network transmission rate of the wireless network can be determined to a certain extent, the processor detects the MCS negotiated by the terminal device and the access point of the wireless network through the wireless communication module, then selects the data transmission interface protocol matched with the MCS negotiated by the terminal device to carry out data transmission with the wireless communication module, can ensure the adaptation of the selected data transmission interface protocol and the MCS and the network system adaptation corresponding to the MCS, realizes the dynamic association of the network transmission rate-MCS-data transmission interface protocol of the wireless network, improves the flexibility of data transmission between the wireless communication module and the processor, and can consider the network transmission rate and the EMI performance.
Next, in conjunction with the technical solution described in fig. 8, taking the first MCS index value set as MCS0 to MCS7, the first PCIe protocol as PCIe1.0 protocol, the second MCS index value set as MCS8 to MCS11, and the second PCIe protocol as PCIe2.0 protocol or PCIe3.0 protocol as an example, the data transmission method provided by the embodiment of the present application is illustrated.
Fig. 9 is a flowchart of yet another data transmission method according to an embodiment of the present application, where the method is applied to a terminal device, and the terminal device includes a wireless communication module and a processor, as shown in fig. 9, and the method includes the following steps:
Step 901: the wireless communication module detects that the terminal equipment accesses the wireless network.
Step 902: the wireless communication module detects an index value of the MCS negotiated by the terminal device and an access point of the wireless network.
Step 903: the wireless communication module sends the detection result to the processor.
Step 904: and processing to receive the detection result and judging whether the index value of the negotiated MCS belongs to MCS 0-MCS 7.
In the embodiment of the application, two MCS index value sets, namely MCS 0-MCS 7 and MCS 8-MCS 11, can be preset. Then, after detecting the index value of the MCS negotiated by the terminal device and the access point of the wireless network, it is determined whether the index value of the negotiated MCS is located in the two MCS index value sets.
It should be noted that, in the embodiment of the present application, it is only described by taking as an example whether the index value of the negotiated MCS belongs to MCS0 to MCS7, and if not, whether the index value of the negotiated MCS belongs to MCS8 to MCS 11. It should be understood that it is also possible to determine whether the index value of the negotiated MCS belongs to MCS8 to MCS11 first, and if not, determine whether the index value of the negotiated MCS belongs to MCS0 to MCS7. The embodiment of the present application does not limit the sequence of step 903 and step 905.
Step 905: if the index value of the negotiated MCS belongs to MCS 0-MCS 7, the processor and the wireless communication module negotiate to select PCIE1.0 protocol for data transmission with the wireless communication module.
Because under the 2.4G WiFi network, the index value of the MCS which can be negotiated by the terminal equipment and the access point of the connected wireless network is MCS0-MCS7, and under the 5G WiFi network, the index value of the MCS which can be negotiated by the terminal equipment and the access point of the connected wireless network is MCS0-MCS 11. Therefore, if the index value of the negotiated MCS belongs to MCS0-MCS7, it is indicated that the connected wireless network is a 2.4G WiFi network or a 5G WiFi network.
When the index value of the negotiated MCS belongs to MCS 0-MCS 7, negotiating and selecting the PCIE1.0 protocol with the processor to perform data transmission, so that the problem that data signal noise generated under the PCIE2.0 protocol and the PCIE3.0 protocol interferes with the 2.4G WiFi network can be avoided under the condition that the connected network is the 2.4G WiFi network, the throughput rate of the 2.4G WiFi network is improved, and further the user experience is improved.
Step 906: if the index value of the negotiated MCS does not belong to MCS 0-MCS 7, the processor determines whether the index value of the negotiated MCS belongs to MCS 8-MCS 11.
Step 907: if the index value of the negotiated MCS belongs to MCS 8-MCS 11, the processor and the wireless communication module negotiate to select PCIE2.0 protocol or PCIE3.0 to perform data transmission with the wireless communication module.
If the index value of the negotiated MCS belongs to MCS 8-MCS 11, the connected wireless network is a 5G WiFi network. When the index value of the negotiated MCS belongs to MCS 8-MCS 11, negotiating and selecting PCIE2.0 protocol or PCIE3.0 with the processor to perform data transmission, not only can ensure higher data transmission rate under the condition that the influence of data signal noise generated under the PCIE2.0 protocol or PCIE3.0 protocol on a 5GWiFi network is not great, but also can perform data transmission with the processor by adopting a PCIe protocol adapted to the higher network transmission rate when the network transmission rate is higher under the 5G WiFi network.
Step 908: if the wireless communication module detects that the terminal device renegotiates the MCS with the access point, the step is skipped to step 902, and the index value of the renegotiated MCS is fed back to the processor, so that the processor and the wireless communication module negotiate to select a data transmission interface protocol matched with the renegotiated MCS for data transmission.
That is, if the wireless network performs speed re-regulation, the processor may detect an index value of the MCS renegotiated by the terminal device and the access point of the wireless network through the wireless communication module, and negotiate with the wireless communication module to select a data transmission interface protocol matching the renegotiated MCS for data transmission.
In the embodiment of the application, after the terminal equipment is accessed to the wireless network, the wireless communication module can detect the index value of the MCS negotiated by the terminal equipment and the access point of the wireless network and send the detection result to the processor. If the index value of the negotiated MCS belongs to MCS 0-MCS 7, the processor and the wireless communication module negotiate to select PCIE1.0 protocol for data transmission, so that the problem that data signal noise generated under the PCIE2.0 protocol and the PCIE3.0 protocol interferes with the 2.4G WiFi network can be avoided under the condition that the accessed wireless network is the 2.4G WiFi network, the throughput rate of the 2.4G WiFi network is improved, and the user experience is further improved. If the index value of the negotiated MCS belongs to MCS 8-MCS 11, the processor negotiates with the wireless communication module to select PCIE2.0 protocol or PCIE3.0 for data transmission, so that higher data transmission rate can be ensured under the condition that the influence of data signal noise generated under the PCIE2.0 protocol or PCIE3.0 protocol on the 5G WiFi network is not great, and the PCIe protocol adapted to the higher network transmission rate can be adopted for data transmission when the network transmission rate under the 5G WiFi network is higher. In summary, when the terminal device performs wireless network communication, dynamic association of network transmission rate-MCS-data transmission interface protocol of the wireless network can be realized, and EMI performance and transmission rate are considered.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, data subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital versatile disk (DIGITAL VERSATILE DISC, DVD)), or a semiconductor medium (e.g., solid state disk (Solid STATE DISK, SSD)), etc.
The above embodiments are not intended to limit the present application, and any modifications, equivalent substitutions, improvements, etc. within the technical scope of the present application should be included in the scope of the present application.

Claims (13)

1. A data transmission method, characterized in that the method is applied to a terminal device, the terminal device includes a wireless communication module and a processor, and the method includes:
The wireless communication module detects the network system of a wireless network accessed by the terminal equipment;
the wireless communication module sends the detection result to the processor;
The processor selects a data transmission interface protocol matched with the network system to perform data transmission with the wireless communication module according to the detection result; the network system at least comprises a first network system and a second network system, the data transmission interface protocol matched with the first network system is a first data transmission interface protocol, the data transmission interface protocol matched with the second network system is a second data transmission interface protocol, the first network system is different from the second network system, and the first data transmission interface protocol is different from the second data transmission interface protocol.
2. The method of claim 1, wherein,
The first network system is a first wireless fidelity WiFi network, and the first data transmission interface protocol is a first peripheral component interconnect standard PCIe protocol;
The second network system is a second WiFi network, the second data transmission interface protocol is a second PCIe protocol, the second WiFi network is different from the first WiFi network in working frequency band, and the first PCIe protocol is different from the second PCIe protocol in data transmission rate.
3. The method of claim 2, wherein,
The first WiFi network is a 2.4G WiFi network, and the first PCIe protocol is a first-generation PCIe protocol;
The second WiFi network is a 5G WiFi network, and the second PCIe protocol is a second-generation PCIe protocol or a third-generation PCIe protocol.
4. A method according to any one of claims 1-3, wherein the wireless communication module detects a network format of a wireless network accessed by the terminal device, and includes:
the wireless communication module acquires network system information of a wireless network accessed by the terminal equipment, wherein the network system information is used for indicating the network system of the wireless network;
And the wireless communication module determines the network system of the wireless network according to the network system information.
5. The method of any of claims 1-4, wherein before the wireless communication module sends the detection result to the processor, further comprising:
if the wireless communication module detects that the terminal equipment is accessed to the wireless network, handshake is carried out between the wireless communication module and the processor;
The wireless communication module performs a step of transmitting a detection result to the processor in a handshake process with the processor.
6. A data transmission method, characterized in that the method is applied to a terminal device, the terminal device includes a wireless communication module and a processor, and the method includes:
The wireless communication module detects modulation and coding strategy MCS negotiated by the terminal equipment and an access point, wherein the access point is an access point of a wireless network accessed by the terminal equipment;
the wireless communication module sends the detection result to the processor;
the processor selects a data transmission interface protocol matched with the MCS to perform data transmission with the wireless communication module according to the detection result; and if the MCS belongs to a first MCS set, the data transmission interface protocol matched with the MCS is a first data transmission interface protocol, and if the MCS belongs to a second MCS set, the data transmission interface protocol matched with the MCS is a second data transmission interface protocol, the intersection of the first MCS set and the second MCS set is null, and the first data transmission interface protocol and the second data transmission interface protocol are different.
7. The method of claim 6, wherein the first data transmission interface protocol is a first peripheral component interconnect standard PCIe protocol, the second data transmission interface protocol is a second PCIe protocol, and the first PCIe protocol is different from a data transmission rate corresponding to the second PCIe protocol.
8. The method of claim 6 or 7, wherein the wireless communication module detecting the MCS negotiated by the terminal device with the access point comprises:
the wireless communication module acquires an index value of the MCS negotiated by the terminal equipment and the access point;
If the index value belongs to a first MCS index value set, determining that the MCS belongs to the first MCS set;
And if the index value belongs to a second MCS index value set, determining that the MCS belongs to the second MCS set.
9. The method of claim 8, wherein the first set of MCS index values is MCS0-MCS7 and the second set of MCS index values is MCS8-MCS11.
10. The method of claim 9, wherein the first data transmission interface protocol is a first generation PCIe protocol and the second data transmission interface protocol is a second generation PCIe protocol or a third generation PCIe protocol.
11. The method of any of claims 6-10, wherein the wireless communication module detecting the MCS negotiated by the terminal device with the access point comprises:
and if the wireless communication module detects that the terminal equipment negotiates the MCS with the access point for the first time or renegotiates the MCS, detecting the MCS negotiated by the terminal equipment and the access point.
12. A terminal device comprising a wireless communication module, a memory, a processor and a computer program stored in the memory and executable on the processor, which when executed by the processor implements the method of any one of claims 1 to 5 or 6-11.
13. A computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of any of claims 1 to 5 or claims 6 to 11.
CN202211285383.2A 2022-10-20 2022-10-20 Data transmission method, device and storage medium Pending CN117956548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211285383.2A CN117956548A (en) 2022-10-20 2022-10-20 Data transmission method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211285383.2A CN117956548A (en) 2022-10-20 2022-10-20 Data transmission method, device and storage medium

Publications (1)

Publication Number Publication Date
CN117956548A true CN117956548A (en) 2024-04-30

Family

ID=90795103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211285383.2A Pending CN117956548A (en) 2022-10-20 2022-10-20 Data transmission method, device and storage medium

Country Status (1)

Country Link
CN (1) CN117956548A (en)

Similar Documents

Publication Publication Date Title
US11683850B2 (en) Bluetooth reconnection method and related apparatus
WO2021169774A1 (en) Nfc-based communication method, apparatus and system
US20230069398A1 (en) Method for Implementing Wi-Fi Peer-To-Peer Service and Related Device
CN114390337B (en) Screen projection method and system and electronic equipment
CN113676269B (en) Data transmission method of electronic device, medium thereof, and electronic device
WO2022116974A1 (en) Access method and system and electronic device
CN114390501B (en) Data transmission method and electronic equipment
EP4243556A1 (en) Method for monitoring link and terminal device
CN116114239B (en) Volume management method and electronic equipment
CN114727101A (en) Antenna power adjusting method and electronic equipment
CN113645608B (en) Data transmission method and data transmission device
WO2022089515A1 (en) Dual wifi connection method and electronic device
CN115314427B (en) Protocol testing method, electronic equipment and chip system
WO2022228190A1 (en) Wifi connection method and device
CN117956548A (en) Data transmission method, device and storage medium
CN113840030A (en) Icon display method and device
CN116471707B (en) Method, device and system for connecting router
CN117135729B (en) Multi-device cooperation method, system and terminal device
CN117135532B (en) Audio data processing method, device and storage medium
WO2022228248A1 (en) Bluetooth communication method and system, and electronic device
WO2022206702A1 (en) Bluetooth communication method and system
CN116489645B (en) Data transmission method and electronic equipment
CN117880885A (en) Audio playing optimization method and electronic equipment
WO2021087909A1 (en) Signal transmission method and device, and mobile terminal and storage medium
CN118264709A (en) Service discovery method and electronic equipment

Legal Events

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