WO2023202533A1 - Procédé de communication, dispositif électronique et système - Google Patents
Procédé de communication, dispositif électronique et système Download PDFInfo
- Publication number
- WO2023202533A1 WO2023202533A1 PCT/CN2023/088711 CN2023088711W WO2023202533A1 WO 2023202533 A1 WO2023202533 A1 WO 2023202533A1 CN 2023088711 W CN2023088711 W CN 2023088711W WO 2023202533 A1 WO2023202533 A1 WO 2023202533A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- electronic device
- operator
- cell
- network
- data
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 178
- 230000006854 communication Effects 0.000 title claims abstract description 178
- 238000000034 method Methods 0.000 title claims abstract description 165
- 238000010295 mobile communication Methods 0.000 claims abstract description 95
- 230000001413 cellular effect Effects 0.000 claims abstract description 87
- 230000006870 function Effects 0.000 claims abstract description 30
- 230000008859 change Effects 0.000 claims description 37
- 230000015654 memory Effects 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 15
- 210000004027 cell Anatomy 0.000 description 312
- 238000010586 diagram Methods 0.000 description 54
- 239000003795 chemical substances by application Substances 0.000 description 38
- 230000004044 response Effects 0.000 description 28
- 230000005540 biological transmission Effects 0.000 description 25
- 238000007726 management method Methods 0.000 description 21
- 230000008569 process Effects 0.000 description 21
- 238000012545 processing Methods 0.000 description 19
- 238000013475 authorization Methods 0.000 description 16
- 230000005236 sound signal Effects 0.000 description 13
- 210000000988 bone and bone Anatomy 0.000 description 10
- 230000003993 interaction Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 239000002699 waste material Substances 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 101150096310 SIB1 gene Proteins 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 3
- 230000033001 locomotion Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000010009 beating Methods 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000001934 delay Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005855 radiation Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 210000000352 storage cell Anatomy 0.000 description 2
- 230000001755 vocal effect Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001149 cognitive effect Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000001976 improved effect Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 239000010985 leather Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012858 packaging process Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- HRULVFRXEOZUMJ-UHFFFAOYSA-K potassium;disodium;2-(4-chloro-2-methylphenoxy)propanoate;methyl-dioxido-oxo-$l^{5}-arsane Chemical compound [Na+].[Na+].[K+].C[As]([O-])([O-])=O.[O-]C(=O)C(C)OC1=CC=C(Cl)C=C1C HRULVFRXEOZUMJ-UHFFFAOYSA-K 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Definitions
- the present application relates to the field of communication technology, and in particular to communication methods, electronic devices and systems.
- This application discloses communication methods, electronic devices and systems, and relates to the field of electronic technology.
- the communication method provided by this application includes: when the user's electronic device is in a situation where the Internet quality is poor, it can discover other surrounding electronic devices and establish a connection, and access the Internet through the cellular mobile communication function of other electronic devices. Through this method, users can still get a good Internet experience in scenarios such as high-speed trains and densely populated areas.
- embodiments of the present application provide a communication method, applied to a system including a first electronic device and a second electronic device.
- the method includes: when the network status of the first electronic device is in the first state, The first electronic device exchanges network parameters with the second electronic device.
- the network parameters include the identity of the first operator and/or the identity of the second operator.
- the operation of the cellular mobile communication network to which the first electronic device is accessed The operator is the first operator, and the operator of the cellular mobile communication network accessed by the second electronic device is the second operator; if the first operator and the second operator are different, the third operator An electronic device establishes a first connection with the second electronic device; the first electronic device sends first data to the second electronic device through the first connection; and the second electronic device forwards the first data to the server.
- the first electronic device when the first electronic device is in the first state, it can actively discover the second electronic device with a different operator and establish a connection with the second electronic device. After the connection is established, the second electronic device The first electronic device provides a network agent. Since the operators of the first electronic device and the second electronic device are different, the probability that the communication quality of the second electronic device and the first electronic device are both poor at the same time is very small. In this way, the first electronic device always It is possible to maintain a better communication quality, thereby improving the online experience of users of the first electronic device.
- the first data may be a data field sent by the application, that is, it may not include a protocol field specified by the protocol.
- the first electronic device when the first operator and the second operator are the same and the first access cell and the second access cell are different, the first electronic device The first connection is established with the second electronic device.
- the network parameters include the identity of the first access cell and/or the identity of the second access cell.
- the first access cell The area is the access cell of the first electronic device, and the second access cell is the access cell of the second electronic device.
- the first electronic device when the first electronic device is in the first state, it can actively discover a second electronic device connected to a different cell and establish a connection with the second electronic device. After the connection is established, the second electronic device Provide a network agent for the first electronic device. Since the access cells of the first electronic device and the second electronic device are different, the probability of the communication quality of the second electronic device and the first electronic device being both poor at the same time is very small. In this way, the first electronic device The device can always maintain a better communication quality, thus improving the online experience of users of the first electronic device.
- the network parameters include the The identifier of the first cell switching strategy and/or the identifier of the second cell switching strategy.
- the first cell switching strategy is the cell switching strategy of the first electronic device
- the second cell switching strategy is the cell of the second electronic device. Switch strategy.
- the two electronic devices should not switch cells at the same time to avoid interrupting the network during the cell switching process; or, because the cell switching strategies of the two electronic devices are different, Then there is always one electronic device that switches quickly, and another electronic device that switches stably.
- the electronic device that switches stably provides the bottom line for the communication quality of the network between the two electronic devices.
- the electronic device that switches quickly has a greater chance of detecting the communication quality. community.
- the network parameter Including an identifier of the first cell reselection strategy and/or an identifier of the second cell reselection strategy is the cell reselection strategy of the first electronic device, and the second cell reselection strategy is The cell reselection strategy of the second electronic device.
- the two electronic devices since the cell reselection strategies of the two electronic devices are different, the two electronic devices should not reselect cells at the same time to avoid interrupting the network during the cell reselection process; or, due to the cell reselection strategies of the two electronic devices, If the selection strategies are different, then one electronic device will switch quickly and the other electronic device will switch stably.
- the electronic device with stable switching will guarantee the communication quality of the network between the two electronic devices.
- the electronic device with fast switching will have a greater chance. Cells with good communication quality can be discovered.
- the first account when the first account and the second account are the same, or when the first account and the second account belong to the same group, the first account The electronic device establishes a first connection with the second electronic device, the first account is an account logged in on the first electronic device, and the second account is an account logged in on the second electronic device.
- the two electronic devices when the accounts of two electronic devices are the same, or when the two electronic devices belong to the same group, the two electronic devices establish a connection, and the first electronic device can obtain benefits through the multi-path algorithm, Improve the communication quality of the network.
- the first state includes that the cellular mobile communication quality of the first electronic device is lower than a threshold, the first electronic device fails to register in the core network, the first electronic device Located in a preset area, the speed of the first electronic device is greater than a threshold, the cellular mobile communication network of the first electronic device is in arrears, or the mobile communication network of the first electronic device is out of service.
- the method before the first electronic device establishes the first connection with the second electronic device, the method further includes: the first electronic device and/or the second electronic device The device determines a network proxy mode, which is used to determine the type of the first connection.
- the first electronic device and/or the second electronic device can also determine the mode of the network proxy, and then select a more appropriate type of first connection. On the one hand, it avoids the waste of communication resources, and on the other hand, it ensures the first connection.
- the data transmission rate between the electronic device and the second electronic device meets the requirements of the first electronic device.
- the first connection when the network proxy mode is the first mode, the first connection is a 2.4G WiFi connection; when the network proxy mode is the second mode , the first connection is 5G WiFi connect.
- the first connection changes from a 2.4G WiFi connection to a 5G WiFi connection.
- the first electronic device receives the second data sent by the server on a second data channel, the first data channel being a cellular mobile device of the first electronic device.
- the communication function is provided; after receiving the second data, the first electronic device sends the first instruction to the second electronic device.
- the first instruction is used to indicate that the first electronic device has received the second data.
- the first instruction includes a first sequence number, which is the TCP sequence number of the second data or the sequence number in the data segment of the second data; the second electronic device does not send a request to the third data after receiving the second data.
- An electronic device sends the second data.
- the first electronic device and the second electronic device can cooperate to deduplicate the received data.
- the first electronic device When the first electronic device has received certain data through its own cellular mobile network, it can instruct the second electronic device to deduplicate the received data.
- the electronic device does not send the data to the first electronic device, thereby reducing the overhead of the first electronic device and the second electronic device.
- embodiments of the present application provide a communication method, applied to a system including a first electronic device and a second electronic device.
- the method includes: when the network status of the first electronic device is in the first state, The first electronic device establishes a first connection with the second electronic device; in the first case, the first electronic device sends a first instruction to the second electronic device, the first instruction is used to instruct the second electronic device to switch Operator, wherein in the first case, the first operator and the second operator are the same, the operator of the cellular mobile communication network to which the first electronic device accesses is the first operator, and the second electronic device The operator of the cellular mobile communication network that the device accesses is the second operator; the second electronic device switches operators after receiving the first instruction; the first electronic device communicates with the second electronic device through the first connection. Send the first data; the second electronic device forwards the first data to the server.
- the first electronic device when the first electronic device has determined that the second electronic device provides a network agent, the first electronic device can instruct the second electronic device to change the operator, so that the first electronic device can always maintain a Better communication quality, thereby improving the online experience of users of the first electronic device.
- the first data may be a data field sent by the application, that is, it may not include a protocol field specified by the protocol.
- the first electronic device sends a second instruction to the second electronic device, the second instruction is used to instruct the second electronic device to change Cell switching strategy; the second electronic device changes the cell switching strategy after receiving the second instruction, wherein in the second case, the first operator is the same as the second operator, and the first case is the same as the second operator.
- the second situation is different; wherein, after the second electronic device changes the cell switching strategy, the cell switching strategy of the second electronic device is different from the cell switching strategy of the first electronic device.
- the first electronic device when the first electronic device has determined that the second electronic device provides a network agent, the first electronic device can instruct the second electronic device to change the cell switching strategy, so that the first electronic device can always maintain A better communication quality, thereby improving the online experience of users of the first electronic device.
- the method further includes: in a third situation, the first electronic device sends a third instruction to the second electronic device, the third instruction is used to instruct the The second electronic device changes the cell reselection strategy; the second electronic device changes the cell reselection strategy after receiving the third instruction, wherein, in the third case, the first operator is the same as the second operator, And the first situation is different from the third situation; wherein, after the second electronic device changes the cell reselection strategy, the cell reselection strategy of the second electronic device is different from the cell reselection strategy of the first electronic device.
- the first electronic device when the first electronic device has determined that the second electronic device provides a network agent, the first electronic device can instruct the second electronic device to change the cell reselection strategy, so that the first electronic device can always Keep A better communication quality, thereby improving the online experience of users of the first electronic device.
- the method further includes: in a fourth situation, the first electronic device sends a fourth instruction to the second electronic device, the fourth instruction is used to instruct the The second electronic device changes the access cell; the second electronic device changes the access cell after receiving the third indication, wherein, in the fourth case, the first operator is the same as the second operator, and the The first situation is different from the fourth situation; wherein, after the second electronic device changes the access cell, the access cell of the second electronic device is different from the access cell of the first electronic device.
- the first electronic device when the first electronic device has determined that the second electronic device provides a network agent, the first electronic device can instruct the second electronic device to change the access cell, so that the first electronic device can always maintain A better communication quality, thereby improving the online experience of users of the first electronic device.
- the first state includes the cellular mobile communication quality of the first electronic device being lower than a threshold, the first electronic device failing to register in the core network, the first electronic device Located in a preset area, the speed of the first electronic device is greater than a threshold, the cellular mobile communication network of the first electronic device is in arrears, or the mobile communication network of the first electronic device is out of service.
- the first electronic device and/or the second electronic device determines a network proxy mode, and the network proxy mode is accessed by the first electronic device through the second electronic device.
- the mode of the server in the Internet the network proxy mode is used to determine the type of the first connection; when the network proxy mode is the first mode, the first connection is a 2.4G WiFi connection; when the network proxy mode is In the case of the second mode, the first connection is a 5G WiFi connection.
- the first electronic device and/or the second electronic device can also determine the mode of the network proxy, and then select a more appropriate type of first connection. On the one hand, it avoids the waste of communication resources, and on the other hand, it ensures the first connection.
- the data transmission rate between the electronic device and the second electronic device meets the requirements of the first electronic device.
- the type of the first connection changes from 2.4G WiFi to 5G WiFi.
- the first electronic device receives the second data sent by the server on a second data channel, and the first data channel is a cellular mobile device of the first electronic device.
- the communication function is provided; after receiving the second data, the first electronic device sends the first instruction to the second electronic device.
- the first instruction is used to indicate that the first electronic device has received the second data.
- the first instruction includes a first sequence number, which is the TCP sequence number of the second data or the sequence number in the data segment of the second data; the second electronic device does not send a request to the third data after receiving the second data.
- An electronic device sends the second data.
- the first electronic device and the second electronic device can cooperate to deduplicate the received data.
- the first electronic device When the first electronic device has received certain data through its own cellular mobile network, it can instruct the second electronic device to deduplicate the received data.
- the electronic device does not send the data to the first electronic device, thereby reducing the overhead of the first electronic device and the second electronic device.
- embodiments of the present application provide a communication method.
- the method includes: when the network status of the first electronic device is in the first state, the first electronic device obtains the network parameters of the second electronic device.
- the network parameters include the identification of the second operator, the operator of the cellular mobile communication network to which the first electronic device is connected is the first operator, and the operator of the cellular mobile communication network to which the second electronic device is connected is be the second operator; in the case where the first operator is different from the second operator, the first electronic device establishes a first connection, and the first connection is used to connect to the second electronic device; the third An electronic device sends first data to the second electronic device through the first connection, and the first data is used to be forwarded to the server by the second electronic device.
- the first electronic device when the first electronic device is in the first state, it can actively discover the second electronic device with a different operator and establish a connection with the second electronic device. After the connection is established, the second electronic device The first electronic device provides a network agent. Since the operators of the first electronic device and the second electronic device are different, the probability that the communication quality of the second electronic device and the first electronic device are both poor at the same time is very small. In this way, the first electronic device always It is possible to maintain a better communication quality, thereby improving the online experience of users of the first electronic device.
- the first data may be a data field sent by the application, that is, it may not include a protocol field specified by the protocol.
- the first electronic device when the first operator and the second operator are the same and the first access cell and the second access cell are different, the first electronic device
- the first connection is established with the second electronic device.
- the network parameters include the identifier of the first access cell and/or the identifier of the second access cell.
- the first access cell is the interface of the first electronic device.
- the second access cell is the access cell of the second electronic device.
- the first electronic device when the first electronic device is in the first state, it can actively discover a second electronic device connected to a different cell and establish a connection with the second electronic device. After the connection is established, the second electronic device Provide a network agent for the first electronic device. Since the access cells of the first electronic device and the second electronic device are different, the probability of the communication quality of the second electronic device and the first electronic device being both poor at the same time is very small. In this way, the first electronic device The device can always maintain a better communication quality, thus improving the online experience of users of the first electronic device.
- the network parameters include the The identifier of the first cell switching strategy and/or the identifier of the second cell switching strategy.
- the first cell switching strategy is the cell switching strategy of the first electronic device
- the second cell switching strategy is the cell of the second electronic device. Switch strategy.
- the two electronic devices should not switch cells at the same time to avoid interrupting the network during the cell switching process; or, because the cell switching strategies of the two electronic devices are different, Then there is always one electronic device that switches quickly, and another electronic device that switches stably.
- the electronic device that switches stably provides the bottom line for the communication quality of the network between the two electronic devices.
- the electronic device that switches quickly has a greater chance of detecting the communication quality. community.
- the network parameter Including an identifier of the first cell reselection strategy and/or an identifier of the second cell reselection strategy is the cell reselection strategy of the first electronic device, and the second cell reselection strategy is The cell reselection strategy of the second electronic device.
- the two electronic devices since the cell reselection strategies of the two electronic devices are different, the two electronic devices should not reselect cells at the same time to avoid interrupting the network during the cell reselection process; or, due to the cell reselection strategies of the two electronic devices, If the selection strategies are different, then one electronic device will switch quickly and the other electronic device will switch stably.
- the electronic device with stable switching will guarantee the communication quality of the network between the two electronic devices.
- the electronic device with fast switching will have a greater chance. Cells with good communication quality can be discovered.
- the first account and the second account are the same, or when the first account and the second account belong to the same group, the first account An electronic device establishes a first connection with the second electronic device, the first account is an account logged in on the first electronic device, and the second account is an account logged in on the second electronic device.
- the two electronic devices when the accounts of two electronic devices are the same, or when the two electronic devices belong to the same group, the two electronic devices establish a connection, and the first electronic device can obtain benefits through the multi-path algorithm, Improve the communication quality of the network.
- the first state includes that the cellular mobile communication quality of the first electronic device is lower than a threshold, the first electronic device fails to register in the core network, the first electronic device is located in a preset area, the speed of the first electronic device is greater than a threshold, the cellular mobile communication network of the first electronic device is in arrears, or the first electronic device One or more of the mobile communication networks provided are unserviceable.
- the method before the first electronic device establishes the first connection, the method further includes: the first electronic device determines a network proxy mode, and the network proxy mode is used to determine the The type of the first connection; when the network proxy mode is the first mode, the first connection is a 2.4G WiFi connection; when the network proxy mode is the second mode, the first connection is a 5G WiFi connection .
- the first electronic device can also determine the mode of the network proxy, and then select a more appropriate first connection type. On the one hand, it avoids the waste of communication resources, and on the other hand, it ensures that the first electronic device and the second electronic device The data transfer rate between them meets the needs of the first electronic device.
- embodiments of the present application provide a communication method applied to a first electronic device.
- the method includes: when the network status of the first electronic device is in the first state, the first electronic device establishes a third A connection, the first connection is used to connect to the second electronic device; in the first case, the first electronic device sends a first instruction to the second electronic device, the first instruction is used to instruct the second electronic device Switching operators, wherein in the first case, the first operator is the same as the second operator, the operator of the cellular mobile communication network accessed by the first electronic device is the first operator, and the second operator The operator of the cellular mobile communication network accessed by the electronic device is the second operator; the first electronic device sends first data to the second electronic device through the first connection, and the first data is used by the second electronic device.
- the electronic device is forwarded to the server.
- the first electronic device when the first electronic device has determined that the second electronic device provides a network agent, the first electronic device can instruct the second electronic device to change the operator, so that the first electronic device can always maintain a Better communication quality, thereby improving the online experience of users of the first electronic device.
- the first data may be a data field sent by the application, that is, it may not include a protocol field specified by the protocol.
- the method further includes: in the second situation, the first electronic device sends a second instruction to the second electronic device, the second instruction is used to instruct the The second electronic device changes the cell switching strategy; wherein, in the second case, the first operator is the same as the second operator, and the first case is different from the second case; wherein, in the second electronic device After the device changes the cell switching strategy, the cell switching strategy of the second electronic device is different from the cell switching strategy of the first electronic device.
- the first electronic device when the first electronic device has determined that the second electronic device provides a network agent, the first electronic device can instruct the second electronic device to change the cell switching strategy, so that the first electronic device can always maintain A better communication quality, thereby improving the online experience of users of the first electronic device.
- the first electronic device sends a third instruction to the second electronic device, the third instruction is used to instruct the second electronic device to change Cell reselection strategy; wherein, in the third situation, the first operator is the same as the second operator, and the first situation is different from the third situation; wherein, when the second electronic device changes the cell reselection After the strategy is selected, the cell reselection strategy of the second electronic device is different from the cell reselection strategy of the first electronic device.
- the first electronic device when the first electronic device has determined that the second electronic device provides a network agent, the first electronic device can instruct the second electronic device to change the cell reselection strategy, so that the first electronic device can always Maintain a better communication quality, thereby improving the online experience of users of the first electronic device.
- the first electronic device sends a fourth instruction to the second electronic device, the fourth instruction is used to instruct the second electronic device to change Access a cell; wherein, in the fourth case, the first operator is the same as the second operator, and the first case is different from the fourth case; wherein, when the second electronic device changes the access cell Finally, the access cell of the second electronic device is different from the access cell of the first electronic device.
- the first electronic device when the first electronic device has determined that the second electronic device provides a network agent, the first electronic device can instruct the second electronic device to change the access cell, so that the first electronic device can always maintain a Better communication quality, thereby improving the online experience of users of the first electronic device.
- the first state includes that the cellular mobile communication quality of the first electronic device is lower than a threshold, the first electronic device fails to register in the core network, the first electronic device Located in a preset area, the speed of the first electronic device is greater than a threshold, the cellular mobile communication network of the first electronic device is in arrears, or the mobile communication network of the first electronic device is out of service.
- the method before the first electronic device establishes the first connection, the method further includes: the first electronic device determines a network proxy mode, and the network proxy mode is the first electronic device.
- the first electronic device can also determine the mode of the network proxy, and then select a more appropriate first connection type. On the one hand, it avoids the waste of communication resources, and on the other hand, it ensures that the first electronic device and the second electronic device The data transfer rate between them meets the needs of the first electronic device.
- inventions of the present application provide an electronic device.
- the electronic device includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program codes,
- the computer program code includes computer instructions, and the one or more processors call the computer instructions to cause the electronic device to execute: when the network status of the first electronic device is in the first state, the first electronic device obtains the Network parameters of the second electronic device.
- the network parameters include the identification of the second operator.
- the operator of the cellular mobile communication network accessed by the first electronic device is the first operator.
- the operator of the cellular mobile communication network accessed by the second electronic device is the first operator.
- the operator of the cellular mobile communication network is the second operator; when the first operator is different from the second operator, the first electronic device establishes a first connection, and the first connection is used to connect to the a second electronic device; the first electronic device sends first data to the second electronic device through the first connection, and the first data is used to be forwarded to the server by the second electronic device.
- the one or more processors are also used to call the computer instructions to cause the electronic device to execute: when the first operator and the second operator are the same And when the first access cell and the second access cell are different, the first electronic device establishes the first connection with the second electronic device, and the network parameters include the identification of the first access cell and/or the An identifier of the second access cell, the first access cell is the access cell for the first electronic device, and the second access cell is the access cell for the second electronic device.
- the one or more processors are also used to call the computer instructions to cause the electronic device to execute: when the first operator and the second operator are the same And when the first cell switching strategy and the second cell switching strategy are different, the network parameters include the identification of the first cell switching strategy and/or the identification of the second cell switching strategy, and the first cell switching strategy is the third cell switching strategy.
- a cell switching strategy of an electronic device, and the second cell switching strategy is a cell switching strategy of the second electronic device.
- the one or more processors are also used to call the computer instructions to cause the electronic device to execute: when the first operator and the second operator are the same And when the first cell reselection strategy and the second cell reselection strategy are different, the network parameters include the identifier of the first cell reselection strategy and/or the identifier of the second cell reselection strategy, and the first cell reselection strategy
- the selection strategy is a cell reselection strategy of the first electronic device
- the second cell reselection strategy is a cell reselection strategy of the second electronic device.
- the one or more processors are also used to call the computer Computer instructions are provided to cause the electronic device to execute: in the case where the first account and the second account are the same, or in the case where the first account and the second account belong to the same group, the first electronic device and the The second electronic device establishes a first connection, the first account is an account logged in on the first electronic device, and the second account is an account logged in on the second electronic device.
- the first state includes that the cellular mobile communication quality of the first electronic device is lower than a threshold, the first electronic device fails to register in the core network, the first electronic device Located in a preset area, the speed of the first electronic device is greater than a threshold, the cellular mobile communication network of the first electronic device is in arrears, or the mobile communication network of the first electronic device is out of service.
- the one or more processors are also configured to call the computer instructions to cause the electronic device to execute: the first electronic device determines the network agent mode, and the network agent The mode is used to determine the type of the first connection; when the network proxy mode is the first mode, the first connection is a 2.4G WiFi connection; when the network proxy mode is the second mode, the third connection One connection is a 5G WiFi connection.
- inventions of the present application provide an electronic device.
- the electronic device includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program codes,
- the computer program code includes computer instructions, which are invoked by the one or more processors to cause the electronic device to execute: when the network status of the first electronic device is in the first state, the first electronic device establishes a third A connection, the first connection is used to connect to the second electronic device; in the first case, the first electronic device sends a first instruction to the second electronic device, the first instruction is used to instruct the second electronic device Switching operators, wherein in the first case, the first operator is the same as the second operator, the operator of the cellular mobile communication network accessed by the first electronic device is the first operator, and the second operator The operator of the cellular mobile communication network accessed by the electronic device is the second operator; the first electronic device sends first data to the second electronic device through the first connection, and the first data is used by the second electronic device.
- the one or more processors are also used to call the computer instructions to cause the electronic device to execute: In the second case, the first electronic device sends a request to the The second electronic device sends a second instruction, the second instruction is used to instruct the second electronic device to change the cell switching strategy; wherein, in the second case, the first operator is the same as the second operator, and the The first situation is different from the second situation; wherein, after the second electronic device changes the cell switching strategy, the cell switching strategy of the second electronic device is different from the cell switching strategy of the first electronic device.
- the one or more processors are also configured to call the computer instructions to cause the electronic device to execute:
- the first electronic device sends a request to the The second electronic device sends a third instruction, the third instruction is used to instruct the second electronic device to change the cell reselection strategy; wherein, in the third case, the first operator is the same as the second operator, and The first situation is different from the third situation; wherein, after the second electronic device changes the cell reselection strategy, the cell reselection strategy of the second electronic device is different from the cell reselection strategy of the first electronic device.
- the one or more processors are also used to call the computer instructions to cause the electronic device to execute:
- the first electronic device sends a request to the The second electronic device sends a fourth instruction, which is used to instruct the second electronic device to change the access cell; wherein, in the fourth case, the first operator is the same as the second operator, and the The first situation is different from the fourth situation; wherein, after the second electronic device changes the access cell, the access cell of the second electronic device is different from the access cell of the first electronic device.
- the first state includes the cellular mobile communication quality of the first electronic device being lower than a threshold, the first electronic device failing to register in the core network, the first electronic device is located in a preset area, the speed of the first electronic device is greater than a threshold, the cellular mobile communication network of the first electronic device is in arrears, or the first electronic device One or more of the mobile communication networks provided are unserviceable.
- the one or more processors are also configured to call the computer instructions to cause the electronic device to execute: the first electronic device determines the network agent mode, and the network agent The mode is a mode in which the first electronic device accesses a server in the Internet through the second electronic device, and the network proxy mode is used to determine the type of the first connection; when the network proxy mode is the first mode, the third The first connection is a 2.4G WiFi connection; when the network proxy mode is the second mode, the first connection is a 5G WiFi connection.
- embodiments of the present application provide a chip system, which is applied to an electronic device.
- the chip system includes one or more processors, and the processor is used to call computer instructions to cause the electronic device to execute the fifth step.
- the sixth aspect any possible implementation manner of the fifth aspect, and the method described in any possible implementation manner of the sixth aspect.
- embodiments of the present application provide a computer program product containing instructions.
- the electronic device causes the electronic device to execute any one of the fifth aspect, the sixth aspect, and the fifth aspect. Possible implementations and the method described in any possible implementation in the sixth aspect.
- embodiments of the present application provide a computer-readable storage medium, including instructions.
- the electronic device When the instructions are run on an electronic device, the electronic device causes the electronic device to execute any one of the fifth aspect, the sixth aspect, and the fifth aspect. Possible implementations and the method described in any possible implementation in the sixth aspect.
- the electronic device provided by the fifth aspect, the electronic device provided by the sixth aspect, the chip system provided by the seventh aspect, the computer program product provided by the eighth aspect and the computer storage medium provided by the ninth aspect are all used to execute The method provided by the embodiment of this application. Therefore, the beneficial effects it can achieve can be referred to the beneficial effects in the corresponding methods, and will not be described again here.
- FIG. 1A and FIG. 1B are an exemplary schematic diagram of a usage scenario of the communication method provided by the embodiment of the present application.
- FIG. 2 is an exemplary schematic diagram of a SIM card switching method provided by an embodiment of the present application.
- FIG. 3A and FIG. 3B are exemplary schematic diagrams of applicable scenarios of the communication method provided by the embodiment of the present application.
- FIG. 4 is an exemplary schematic diagram of the method flow of the communication method provided by the embodiment of the present application.
- FIG. 5A and FIG. 5B are an exemplary schematic diagram of two data channels on the first electronic device provided by the embodiment of the present application.
- FIG. 6A, FIG. 6B, and FIG. 6C are an exemplary schematic diagram of the data channel 2 through which the first electronic device provided by this application transmits data.
- FIG. 7A, FIG. 7B, and FIG. 7C are an exemplary schematic diagram of the first electronic device sending data through two data channels according to the embodiment of the present application.
- 8A and 8B are an exemplary schematic diagram of the first electronic device receiving data through two data channels according to the embodiment of the present application.
- Figure 9A is another exemplary schematic diagram of the flow of a communication method provided by an embodiment of the present application.
- FIG. 9B is another exemplary schematic diagram of the flow of the communication method provided by the embodiment of the present application.
- FIG. 10A is an exemplary schematic diagram of the first interface displayed on the first electronic device in the transmission method provided by the embodiment of the present application.
- FIG. 10B is an exemplary schematic diagram in which the user instructs the first electronic device to perform a communication method according to an embodiment of the present application.
- 11A and 11B are an exemplary schematic diagram of the second interface displayed by the second electronic device in the communication method provided by the embodiment of the present application.
- FIG. 11C is an exemplary schematic diagram of the second electronic device determining the upper limit of data traffic in the communication method provided by the embodiment of the present application.
- Figure 11D is an exemplary schematic diagram of the second electronic device determining the SIM card used by the network agent in the communication method provided by the embodiment of the present application.
- FIG. 12A and FIG. 12B are an exemplary schematic diagram of the interface of the first electronic device and/or the second electronic device provided by the embodiment of the present application.
- Figure 13 is another exemplary schematic diagram of the flow of a communication method provided by an embodiment of the present application.
- Figure 14 is another exemplary schematic diagram of the flow of a communication method provided by an embodiment of the present application.
- Figure 15 is another exemplary schematic diagram of the flow of a communication method provided by an embodiment of the present application.
- Figure 16 is an exemplary schematic diagram of an interface of a first electronic device provided by an embodiment of the present application.
- Figure 17 is an exemplary schematic diagram of the cell camping situation of the first electronic device and the second electronic device in the transmission method provided by the embodiment of the present application.
- FIG. 18 is an exemplary schematic diagram in which the first electronic device instructs the second electronic device to switch the type of connection establishment in the communication method provided by the embodiment of the present application.
- Figure 19 is an exemplary schematic diagram of a second electronic device modifying the priority of data sent by the first electronic device in the transmission method provided by the embodiment of the present application.
- Figure 20 is another exemplary schematic diagram of the flow of a transmission method provided by an embodiment of the present application.
- Figure 21 is an exemplary schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
- Figure 22 is an exemplary schematic diagram of the software architecture of the electronic device provided by the embodiment of the present application.
- FIG. 23 is an exemplary schematic diagram of data flow in a system including a first electronic device and a second electronic device provided by an embodiment of the present application.
- first and second are used for descriptive purposes only and shall not be understood as implying or implying relative importance or implicitly specifying the quantity of indicated technical features. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, “plurality” The meaning is two or more.
- GUI graphical user interface
- FIG. 1A and FIG. 1B are an exemplary schematic diagram of a usage scenario of the communication method provided by the embodiment of the present application.
- the SIM card is the first electronic device of operator 1. During the movement, it passes through the coverage areas of three cells, namely cell 1, cell 2 and cell 3 respectively. Among them, the operator of cell 1 is operator 1; the operator of cell 2 is operator 2; and the operator of cell 3 is operator 1.
- the first electronic device whose SIM card is operator 1 means that the operator of the cellular mobile communication network accessed by the first electronic device is operator 1.
- the coverage range of cell 1 overlaps with the coverage range of cell 2
- the coverage range of cell 2 overlaps with the coverage range of cell 3
- the coverage range of cell 1 does not overlap with the coverage range of cell 3.
- the first electronic device is within the coverage of Cell 1 and accesses Cell 1; after the first electronic device moves out of Cell 1 and is located within the coverage of Cell 2, since the operator corresponding to the SIM card is different from Cell 2 The corresponding operator 2 does not match, and the first electronic device does not access cell 2. At this time, the first electronic device disconnects from the network, that is, it cannot connect to the core network; then the first electronic device moves out of cell 2 and is located in cell 3. After being within the coverage range, the first electronic device accesses the cell 3. At this time, the first electronic device is connected to the network.
- the coverage area of cell 1, the coverage area of cell 2, and the coverage area of cell 3 overlap.
- the first electronic device is also located in the central area of Cell 2 and the edge of Cell 3.
- the communication quality of the first electronic device is poor.
- the Internet access rate of the first electronic device is unstable.
- the first electronic device in the scenario shown in FIG. 1A , when the first electronic device is only located within the coverage of cell 2, the first electronic device can still access cell 2 through an emergency call.
- whether the first electronic device has a network refers to whether the first electronic device can be connected to the core network through the cellular mobile communication function and thereby connected to the Internet.
- embodiments of the present application provide a SIM card switching method.
- FIG. 2 is an exemplary schematic diagram of a SIM card switching method provided by an embodiment of the present application.
- SIM card 1 is the card of operator 1
- SIM card 2 is the card of operator 2
- the currently used SIM card will be switched to SIM card 1
- the currently used SIM card will be switched to SIM card 1.
- the SIM card is switched to SIM card 2.
- the first electronic device can compare various parameters between the two cells, and then choose to switch to SIM card 2 or SIM card 1.
- the first electronic device is in a disconnected network state, that is, the first electronic device may change from a weak network state to a disconnected network state; secondly, , after the first electronic device performs SIM card switching, the first electronic device also needs to perform a cell search step. Since cell search requires the first electronic device to scan the frequency to discover surrounding cells, and then it can access the corresponding cell, resulting in SIM The card switching process takes a long time and consumes high power, which is not conducive to the user experience.
- embodiments of the present application provide a communication method that can improve the performance of any one of the multiple electronic devices or a specific electronic device in some weak network or no network environments by utilizing the cellular mobile communication capabilities of multiple electronic devices. Communication quality of cellular mobile communications in .
- FIG. 3A and FIG. 3B are exemplary schematic diagrams of applicable scenarios of the communication method provided by the embodiment of the present application.
- stage 1 the first electronic device determines whether the first condition is met.
- the first electronic device may determine whether the quality of the real-time cellular mobile communication is lower than a threshold. If the quality of the cellular mobile communication of the first electronic device is lower than a certain set quality threshold, it is determined that the first condition is met. Alternatively, the first electronic device can predict that the probability of fluctuations in cellular mobile communications in the future is greater than the probability threshold, and then determines that the first condition is met.
- the first condition is introduced below as an example.
- the quality of real-time cellular mobile communication can be determined by determining parameters such as signal strength, bit error rate, and congestion level of the current access cell between the first electronic device and the current access cell.
- the first electronic device may determine through positioning that the location of the first electronic device is located in a densely populated area such as a hospital or an airport. The first electronic device may believe that there is a high probability that cellular mobile communications will fluctuate, and then determine that the first electronic device meets the requirements of the first electronic device. A condition; or, the first electronic device can determine through positioning that the location of the first electronic device is located in a relatively closed internal area of a building such as a garage or a commercial office building, then the first electronic device can believe that there is a high probability that cellular mobile communications will fluctuate.
- the first condition is that the first electronic device determines that the speed of the first electronic device is greater than a threshold speed such as 200km/h through a speed sensor or a change in position, then the first electronic device is determined to meet the first condition; Or, the first condition is that the first electronic device determines that the cell accessed is a cell served by the high-speed rail dedicated network (high-speed rail dedicated network cell), then the first electronic device determines that it meets the first condition; or, the first condition is that the first electronic device The device determines that the user has subscribed to a high-speed rail, high-speed train or long-distance bus ticket, and the first electronic device determines that the current time is between the departure time and the alighting time of the high-speed rail, high-speed train or long-distance bus ticket, then the first electronic device determines that the first condition is met ; Or, the first condition is that the first electronic device determines that the user has subscribed to a high-speed rail, high-speed speed
- the first electronic device determines that the SIM card is in arrears or the first electronic device fails to register with the core network.
- Stage 2 The first electronic device discovers the surrounding second electronic device through broadcasting, and asks the second electronic device whether it meets the second condition.
- the second electronic device can be connected to the Internet.
- the second condition may be related to the first condition.
- the second condition is that the second electronic device determines that the quality of the real-time cellular mobile communication is lower than the threshold.
- the second condition is that the second electronic device determines that the operator used to access the Internet is the same as the one used by the first electronic device. different operators.
- the second condition may be independent of the first condition.
- the second condition is that the second electronic device determines that the current access cell is different from the current access cell of the first electronic device, or that the operator of the cellular network accessed by the second electronic device is different from the operator of the cellular network accessed by the first electronic device. Operators vary.
- the second electronic device may be any electronic device, or an electronic device specified by the user, and the second electronic device may not meet the second condition.
- Stage 3 The first electronic device and the second electronic device establish a connection through wired or wireless means.
- the wireless method may include WiFi, Bluetooth, ultra wide band (UWB), etc., and is not limited here.
- the second electronic device After the connection is established, the second electronic device provides a network proxy for the first electronic device, that is, the first electronic device can access the Internet through the second electronic device.
- the second electronic device provides a network proxy for the first electronic device means that after the first electronic device and the second electronic device establish a connection, the first electronic device can send a request to access the network to the second electronic device, and the second electronic device After the device receives the request to access the network, it is forwarded to the server on the Internet.
- the server may be an application server, such as a media server that provides videos, a game server that provides game servers, and an authentication server that provides identity verification information.
- Stage 4 The first electronic device can interact with the server in the Internet through two data channels, one of which is provided by the second electronic device.
- the two data channels on the first electronic device are constructed by different actual physical links.
- the communication quality of the two data channels is more independent, which is beneficial to improving the communication quality of the first electronic device. Compared with Traditional multipath communication methods are more robust and can avoid situations such as high data delays and slow data transmission rates, thereby improving user experience.
- the first electronic device can also provide a network proxy for the second electronic device, which can also improve the communication quality of the second electronic device.
- the SIM card of the first electronic device is operator 1, and the SIM card of the second electronic device is operator 2; for the first electronic device, when the communication of cell 1 is at the location of the first electronic device, The quality is greater than the communication quality of cell 2, and the first electronic device accesses cell 1 and then accesses the Internet; for the first electronic device, when the communication quality of cell 1 is less than or equal to the communication quality of cell 2 at the location of the first electronic device, or the communication quality of cell 2 The communication quality of 2 is greater than or equal to the communication quality of cell 3, and the first electronic device accesses the Internet through the network agent provided by the second electronic device; for the first electronic device, when the communication quality of cell 3 is greater than that of cell 3 at the location of the first electronic device With the communication quality of 2, the first electronic device accesses the community 2 and then accesses the Internet.
- the following first exemplarily introduces the communication method provided by the embodiment of the present application from the perspective of interaction between electronic devices and human-computer interaction, combined with the content shown in FIG. 4 .
- the communication method provided by the embodiment of the present application is first introduced from the perspective of the interaction between electronic devices.
- FIG. 4 is an exemplary schematic diagram of the method flow of the communication method provided by the embodiment of the present application.
- the first electronic device may discover the second electronic device through the broadcast.
- the broadcast can be a broadcast specified by Bluetooth, UWB, WiFi and other protocols, which is not limited here.
- the second electronic device when the first electronic device is connected to the second electronic device, the second electronic device can be discovered directly without discovering the second electronic device through broadcasting.
- the first electronic device when both the first electronic device and the second electronic device are logged in with the same account or account, such as account or According to the account, the first electronic device can discover the second electronic device in an end-to-end manner instead of discovering the second electronic device in a broadcast manner.
- S402 The first electronic device and the second electronic device exchange network parameters. After the first electronic device determines that the second electronic device meets the second condition, the first electronic device and the second electronic device establish a connection.
- the second condition can refer to the text description corresponding to Figure 2 above, and will not be described again here.
- the first electronic device requests the second electronic device to send network parameters, and the first electronic device determines whether the second electronic device meets the second condition based on the received network parameters.
- the network parameters may include an operator of a cellular network to which the second electronic device accesses.
- the network parameters may include the operator of the cellular network accessed by the first electronic device and the operator of the cellular network accessed by the second electronic device. operator.
- the network parameters may include the identity of the cell to which the second electronic device accesses.
- the network parameters may include the identity of the cell accessed by the first electronic device and the identity of the cell accessed by the second electronic device.
- the network parameters may include the cell switching (channel switch) strategy and/or cell reconfiguration of the second electronic device. Choose a strategy.
- the type of connection established by the first electronic device and the second electronic device may be determined by the second electronic device or by the first electronic device. Among them, the types of connections are shown in Table 1 below.
- the first electronic device may determine the type of connection according to the type of business currently requiring Internet access.
- the connection can include Bluetooth connection, UWB connection or WiFi 2.4G connection or WiFi 5G connection.
- WiFi 2.4G connection and WiFi 5G connection are both WiFi direct connections. For example, if the current business that requires Internet access is online video playback, the first electronic device can determine the connection to be a UWB connection or WiFi 5G connection; for another example, if the current business that requires Internet access is online audio playback, web browsing, etc., then the first electronic device You can determine whether the connection is a Bluetooth connection or a WiFi 2.4G connection.
- the second electronic device can also update the current network parameters of the second electronic device to the first electronic device.
- the second electronic device when the user specifies a second electronic device, the second electronic device may not meet the second condition.
- the first electronic device can broadcast its own network parameters to the outside, and the second electronic device determines whether the first electronic device meets the second condition, for example, the operator is different. After multiple second electronic devices determine that the first electronic device satisfies the second condition, that is, after multiple second electronic devices determine that they can provide a network proxy for the first electronic device, the first electronic device may determine which third electronic device to use.
- the second electronic device provides a network agent for the first electronic device. For example, a first electronic device broadcasts network parameters, multiple second electronic devices respond, and then the first electronic device selects from the multiple responding second electronic devices to determine one or more second electronic devices. Then, the first electronic device may establish a connection with the one or more second electronic devices.
- the first electronic device can broadcast its own network parameters to the outside world.
- the second electronic device can broadcast its own network parameters. parameters so that the first electronic device can receive the network parameters of the second electronic device, or the second electronic device can send the network parameters of the second electronic device to the first electronic device.
- the first electronic device may be the party initiating the connection
- the second electronic device may also be the party initiating the connection
- network parameters may include round-trip time delay (Round-Trip Time, RTT), packet loss rate and other parameters.
- RTT round-trip time delay
- the first electronic device when the first electronic device is accessing a webpage such as "www.huawei.com", the first electronic device will carry "www.huawei.com” when broadcasting.
- the second electronic device can obtain the packet loss rate and/or RTT of the second electronic device accessing "www.huawei.com”.
- the packet loss rate or RTT of the second electronic device is lower than the set threshold, the first electronic device determines that the second electronic device meets the second condition.
- the first call The sub-device can establish a connection with the second electronic device.
- the network parameters may include the packet loss rate or RTT when the second electronic device accesses the online video website, or, for another example, when the user plays online games through the first electronic device , then the network parameters may include the packet loss rate or RTT when the second electronic device accesses the application server corresponding to the game application.
- the second electronic device provides a network proxy for the first electronic device.
- the second electronic device After the connection is established, the second electronic device provides a network proxy for the first electronic device. After the second electronic device and the first electronic device provide network proxies, there are two data channels on the first electronic device to access the data packet. Among them, one data channel is established by the first electronic device through its own cellular mobile communication, and the other is established by the second electronic device.
- FIG. 5A and FIG. 5B are an exemplary schematic diagram of two data channels on the first electronic device provided by the embodiment of the present application.
- the first electronic device has two data channels, namely data channel 1 and data channel 2.
- the data channel 1 includes a first electronic device accessing a base station 2 and connecting to a server in the Internet through the base station 2 .
- the data channel 2 includes a connection established between a first electronic device and a second electronic device, and the second electronic device is connected to a server in the Internet through the base station 1 .
- base station 1 and base station 2 are the same base station, that is, the access cell of the first electronic device and the access cell of the second electronic device are the same.
- the source IPs of different paths are different.
- the source IPs of the two data channels can be the same, which are both the IP addresses of the first electronic device, that is, there is no need for the first
- the electronic device is a multi-network card (multi-network interface) device, or one network interface of the first electronic device is not required to be configured with multiple IP addresses; except for the first time, for traditional multi-path communication methods such as MPTCP, the server can determine from The requests from different paths are all sent by the first electronic device. However, optionally, in some embodiments of the present application, the server cannot determine that the requests from different data channels are all sent by the first electronic device.
- the first electronic device may establish a connection with a second electronic device and a connection with a third electronic device, and the second electronic device and the third electronic device may provide the first electronic device with Network proxy, as shown in Figure 5B.
- the first electronic device has three data channels, namely data channel 1, data channel 2, and data channel 3.
- the first electronic device receives and sends data based on at least two data channels.
- the data can be sent redundantly, or the data can be sent by the first electronic device on a data channel with good communication quality.
- the first electronic device can adjust the data on the two data channels based on the network parameters of the second electronic device and the network parameters of the first electronic device. distribution situation.
- the network parameters of the first electronic device and the network parameters of the second electronic device may be updated in real time, and the network parameters of the first electronic device and the network parameters of the second electronic device may include one of RTT, packet loss rate or Various.
- the second electronic device When the first electronic device and the second electronic device each receive the response data from the server, the second electronic device sends the received data to the first electronic device through the previously established connection.
- the first electronic device receives the response data from the two data channels. The data is compared and deduplicated, and then the latest data is submitted to the application.
- the data received on different data channels can be deduplicated through TCP sequence numbers; for unreliable transmission protocols represented by UDP, the sequence can be configured inside the data field. Number field, the protocol stack or application program deduplicates the received data on different data channels.
- FIG. 6A, FIG. 6B, and FIG. 6C are an exemplary schematic diagram of the data channel 2 through which the first electronic device provided by this application transmits data.
- the first electronic device sends data field 1 to the server in the Internet through the network proxy provided by the second electronic device. That is, the first electronic device sends data field 1 to the server in the Internet through data channel 2.
- the first electronic device encapsulates the data that needs to be sent into data in a specific format according to the type of connection between the first electronic device and the second electronic device. For example, when the connection between the first electronic device and the second electronic device is a Bluetooth connection, the first electronic device will encapsulate data field 1 into a Bluetooth format message; when the connection between the first electronic device and the second electronic device When the connection is a UWB connection, the first electronic device will encapsulate data field 1 into a UWB format message; when the connection between the first electronic device and the second electronic device is a WiFi direct connection, the first electronic device will encapsulate the data Field 1 is encapsulated into a message in WIFI direct connection format.
- the second electronic device decapsulates and obtains data field 1.
- the second electronic device After determining data field 1, the second electronic device encapsulates data field 1 as an application layer message, that is, adds a transport layer field, a network layer field, a link layer field, and a physical layer field to obtain a network message (in Figure 6A The data 2) is then sent out.
- the first electronic device can send the transport layer message to the second electronic device, that is, the first electronic device encapsulates the transport layer message into a Bluetooth format message. , UWB format messages, WiFi direct format messages. Moreover, after receiving the data, the second electronic device decapsulates and obtains the transport layer message sent by the first electronic device, and then continues to encapsulate it into a network message (data 2 in Figure 6B) before sending it out.
- the first electronic device can send the transport layer message to the second electronic device, that is, the first electronic device encapsulates the transport layer message into a Bluetooth format message. , UWB format messages, WiFi direct format messages.
- the second electronic device decapsulates and obtains the transport layer message sent by the first electronic device, and then continues to encapsulate it into a network message (data 2 in Figure 6B) before sending it out.
- the server can determine that the network message is sent by the first electronic device.
- the first electronic device can send the transport layer message to the second electronic device, that is, the first electronic device encapsulates the transport layer message into a Bluetooth format message, a UWB format message, or a WiFi format message. Messages in direct connection format.
- the second electronic device decapsulates and obtains the transport layer message sent by the first electronic device, and then encapsulates the transport layer message as data field 2 to obtain a network message and sends it out.
- the network message received by the server through the data channel 2 includes the transport layer field 1 corresponding to the first electronic device and the transport layer field 2 corresponding to the second electronic device, and then the network can be determined
- the message is data of the first electronic device forwarded by the second electronic device.
- the server can determine that the same request data from data channel 1 and data channel 2 are both sent by the first electronic device, and thus redundant or non-redundant. Send the remaining response data.
- the non-redundant sending response data is a data channel in which the server can select any one of the two data channels and send the response data on this data channel.
- FIG. 7A, FIG. 7B, and FIG. 7C are an exemplary schematic diagram of the first electronic device sending data through two data channels according to the embodiment of the present application.
- the first electronic device sends data to the server through data channel 1 and data channel 2.
- the data sent by the first electronic device includes message 1, message 2, message 3, message 4 and message 5.
- the first electronic device can send message 1, message 2, message 3, message 4 and message 5 on data channel 1 and data channel 2 respectively, that is, the first electronic device can send message 1, message 2, message 3, message 4 and message 5 on two data channels. Send data redundantly on the data channel.
- the first electronic device may estimate the RTT of the two data channels or other parameters used to measure the communication quality of the data channel, and then based on the RTT of the two data channels or other parameters used to measure the communication quality of the data channel.
- the parameters evenly distribute the data that needs to be sent to the two data channels.
- data channel 1 The RTT is 1.5 times the RTT of data channel 2, so message 1, message 2, and message 3 are assigned to data channel 2, and message 4 and message 5 are assigned to data channel 1.
- other parameters used to measure the communication quality of the data channel can be the transmission rate and scrambling rate.
- the second electronic device determines the RTT between the second electronic device and the server. Then the first electronic device can be allowed to calculate and determine the RTT of the data channel 2 .
- the second electronic device After a similar second electronic device determines other parameters for measuring the communication quality of the data channel between the second electronic device and the server, the second electronic device notifies the first of the parameters for measuring the communication quality between the second electronic device and the server. The electronic device, and in turn the first electronic device, determines the communication quality of the data channel 2 .
- the first electronic device after receiving the parameters sent by the second electronic device for measuring the communication quality between the second electronic device and the server, the first electronic device can directly determine the data based on the parameters.
- the communication quality of channel 2 does not take into account the impact of the connection between the first electronic device and the second electronic device on data channel 2.
- the first electronic device can compare the reference signal power (reference signal receiving power, RSRP) and reference signal quality (reference signal receiving quality, RSRQ) of the cells corresponding to the two data channels.
- received signal strength received signal strength indicator, RSSI
- signal to interference plus noise ratio signal to interference plus noise ratio, SINR
- channel quality channel quality indicator
- the first electronic device determines a ratio of the communication quality of the two data channels based on the RSRP of cell 1 and the RSRP of cell 2. It can be understood that, after ignoring the influence between the first electronic device and the second electronic device, the ratio of the communication quality of the two data channels can be determined directly through the same type of parameters without the need for parameter conversion.
- the first electronic device can also estimate the round-trip time delay (Round-Trip Time, RTT) of the two data channels or other parameters used to measure the communication quality of the data channels, and then select one of the two data channels.
- RTT Round-Trip Time
- Data channel with good communication quality For example, in the content shown in Figure 7C, after determining that the communication quality of data channel 2 is better than the communication quality of data channel 1, the first electronic device transfers message 1, message 2, message 3, message 4 and Telegram 5 is assigned to data channel 2.
- the first electronic device when the first electronic device establishes connections with both the second electronic device and the third electronic device, there are at least three data channels between the first electronic device and the server, wherein the first electronic device is connected to at least three data channels.
- the method of allocating data on the data channel please refer to the content shown in Figure 7A, Figure 7B and Figure 7C above, and will not be described again here.
- the first electronic device when the first electronic device determines that the communication quality of data channel 2 is better than the communication quality of data channel 1, the first electronic device temporarily transmits the data to the second electronic device. Save, during the interaction process between the second electronic device and the server, after the second electronic device receives the retransmission message or the error message, the second electronic device notifies the first electronic device. After the first electronic device receives the notification, the first electronic device determines to resend the data on data channel 1. The second electronic device may or may not retransmit.
- the first electronic device serves as the receiving end to compare and deduplicate the data received on different data channels, as shown in Figure 8A and Figure 8B.
- 8A and 8B are an illustration of the first electronic device receiving data through two data channels according to the embodiment of the present application. Example diagram.
- the times when the first electronic device receives message 1, message 2, message 3, message 4 and message 5 from data channel 1 are T1, T3, T7, T9 and T10 respectively;
- the times when the first electronic device receives message 1, message 2, message 3, message 4 and message 5 from data channel 2 are T2, T4, T5, T6 and T8 respectively; then the first electronic device is After performing comparison and deduplication, message 1 is received at time T1, message 2 is received at time T3, message 3 is received at time T5, message 4 is received at time T6, and message is received at time T8. 5.
- the first electronic device when the first electronic device determines that message 1 on data channel 1 or message 3 on data channel 2 is lost or has errors, it may not send a retransmission request to the server.
- the data transmission rate of the first electronic device can be increased.
- the second electronic device since the first electronic device will not stop receiving subsequent messages and request retransmission after determining that any message is lost or error-coded, the second electronic device will not stop receiving subsequent messages and request retransmission after determining that any message is lost or miscoded. After the message is lost or miscoded, it stops receiving subsequent messages and requires the server to retransmit, where the message is data for sending to the first electronic device.
- the communication method provided by the embodiment of the present application can reduce the data transmission delay of the first electronic device and improve the robustness of the data transmission of the first electronic device.
- the first electronic device can reduce the delay of data transmission and improve the robustness of data transmission through multiple data channels.
- Figure 9A is another exemplary schematic diagram of the flow of a communication method provided by an embodiment of the present application.
- S9A01 After determining that the first condition is met, the first electronic device displays the first interface, and the first interface is used to obtain user authorization.
- the first condition can refer to the text description corresponding to Figure 4 above, and will not be described again here.
- the first interface may be as shown in Figure 10A below.
- FIG. 10A is an exemplary schematic diagram of the first interface displayed on the first electronic device in the transmission method provided by the embodiment of the present application.
- the first electronic device displays window 1001.
- the window 1001 includes the text "The current network is not good, whether to enable network acceleration mode", and also Including control 1002 and control 1003.
- the text in window 1001 may also be other information used to prompt the user for authorization, which is not limited here.
- window 1001 can also be other forms of controls, such as notifications.
- the first electronic device determines to obtain the user's authorization and begins to perform subsequent steps; in response to receiving the user's click on the control 1002, the first electronic device determines that the user's authorization is not obtained and does not perform subsequent steps. steps.
- the first electronic device when the first electronic device has not yet determined whether the first condition is met, in response to receiving the user's operation, the first electronic device determines to obtain the user's authorization and begins to perform subsequent operations. Steps, as shown in Figure 10B.
- FIG. 10B is an exemplary schematic diagram in which the user instructs the first electronic device to perform a communication method according to an embodiment of the present application.
- the interface displayed by the first electronic device changes from the main interface to the menu bar.
- the operation may be a user's sliding operation, where the starting point of the sliding operation is the upper left corner of the screen.
- the main interface displayed by the first electronic device is as shown in (A) in Figure 10B, and the menu bar displayed by the first electronic device is as shown in (B) in Figure 10B.
- the menu bar displayed by the first electronic device includes control 1004.
- the first electronic device determines that the user's authorization is obtained and begins to perform subsequent steps.
- the operation in which the user clicks on the control 1003 or the control 1004 and other operations for triggering the first electronic device to start executing the communication method provided by the embodiment of the present application is called the first operation.
- S9A02 The first electronic device discovers the second electronic device through broadcast.
- S9A03 The first electronic device and the second electronic device exchange network parameters, and the first electronic device determines that the second electronic device meets the second condition.
- S9A04 The first electronic device sends a first request, and the first request is used to establish a connection and enable the second electronic device to provide a network proxy for the first electronic device.
- the first electronic device sends a first request to the second electronic device.
- the network agent can refer to the text description corresponding to Figure 3A and Figure 3B above, and will not be described again here.
- the first request also includes the identification of the first electronic device, and the identification of the first electronic device can be used to establish the connection in subsequent steps.
- the identifier may be the MAC of the first electronic device.
- the first request also includes the account logged in on the first electronic device, such as a Huawei account.
- the first request may also include network proxy mode.
- the network proxy mode can refer to the text description below and will not be described again here.
- S9A05 The second electronic device displays the second interface, obtains the user's authorization and determines the network proxy mode.
- the second electronic device After receiving the first request, the second electronic device displays the second interface.
- the second interface is shown in Figure 11A and Figure 11B below.
- 11A and 11B are an exemplary schematic diagram of the second interface displayed by the second electronic device in the communication method provided by the embodiment of the present application.
- the second electronic device displays a window 1101 included in the second interface.
- the window 1101 includes controls corresponding to different modes of the network proxy, such as a control 1102 corresponding to the extreme speed mode and a control 1103 corresponding to the balanced mode, and a control 1104 corresponding to rejecting network proxy authorization.
- the text in window 1101 is "data network sharing mode".
- the second electronic device determines to obtain the user's authorization.
- the second electronic device determines that the network proxy mode is the extreme speed mode; in response to receiving the user clicking on the control 1103, the second electronic device determines that the network proxy mode is the balanced mode.
- different network proxy modes may affect the type of connection between the first electronic device and the second electronic device. Or, optionally, in some embodiments of the present application, different network proxy modes may also affect the way the first electronic device sends data.
- Table 1 is an exemplary schematic table of the correspondence between the network proxy mode and the type of connection and the way in which the first electronic device sends data provided by the embodiment of the present application.
- the interface displayed by the second electronic device may also be as shown in Figure 11B.
- the interface displayed by the second electronic device includes a window 1105 , where the window 1105 includes a control 1107 and a control 1106 .
- the text in the window 1105 is: "Whether to share the data network to the first electronic device".
- the second electronic device determines to obtain the user's authorization.
- the second electronic device determines to obtain the user's authorization.
- the second electronic device determines that the user is not authorized to network proxy.
- the window 1108 includes controls corresponding to different modes of the network agent, such as a control 1109 corresponding to the extreme speed mode and a control 1110 corresponding to the balanced mode. Among them, the text included in window 1108 is: "data network sharing mode".
- the second electronic device determines that the network proxy mode is the extreme speed mode; in response to receiving the user click on the control 1110, the second electronic device determines that the network proxy mode is the balanced mode.
- the second electronic device when the first request also includes the account logged in on the first electronic device, and when the first electronic device and the second electronic device are electronic devices logged in with the same account or the account logged in on the first electronic device and the account logged in on the second electronic device belong to the same group (group) of users, such as a family group, the second electronic device has been authorized by the user by default. That is, the second electronic device only needs to confirm the network proxy mode to the user, or the second electronic device randomly selects the network proxy mode, or the second electronic device selects the default network proxy mode.
- the second electronic device when the first request includes network proxy mode, the second electronic device only needs to obtain the user's authorization.
- the way in which the second electronic device obtains the user's authorization is as shown in (A) in Figure 11B.
- the second electronic device determines that the user's authorization has been obtained and the second electronic device determines the network proxy mode.
- the second electronic device can also determine the upper limit of data traffic of the network proxy, as shown in Figure 11C.
- FIG. 11C is an exemplary schematic diagram of the second electronic device determining the upper limit of data traffic in the communication method provided by the embodiment of the present application.
- the interface displayed by the second electronic device includes a window 1111 , where the window 1111 includes controls 1112 , 1113 , and 1114 .
- the text included in window 1111 is: "Data traffic limit for network proxy".
- control 1112 corresponds to the upper limit of data traffic of the network proxy being 1GB
- control 1113 corresponds to the upper limit of data traffic of the network proxy being 2GB
- control 1114 is an input field used to obtain user input.
- the second electronic device determines that the upper limit of data traffic of the network proxy is 1GB; or, in response to receiving the user clicking on the control 1113, the second electronic device determines that the upper limit of data traffic of the network proxy is 2GB; or, In response to receiving the user's input in the control 1114, the second electronic device determines that the data traffic limit of the network proxy is the user's input value.
- the second electronic device when the account logged in by the first electronic device and the account logged in by the second electronic device are the same or belong to the same group, the second electronic device can directly determine the upper limit of data traffic of the network proxy. is a fixed value, which can be a preset value; alternatively, the second electronic device can directly determine that the upper limit of data flow of the network agent is infinite, that is, there is no upper limit of data flow of the network agent.
- the second electronic device can also determine the SIM card used by the network agent, as shown in Figure 11D.
- Figure 11D is an exemplary schematic diagram of the second electronic device determining the SIM card used by the network agent in the communication method provided by the embodiment of the present application.
- the interface displayed by the second electronic device includes a window 1115 , where the window 1115 includes a control 1116 and a control 1117 .
- the text included in window 1115 is: "SIM Card Used by Network Agent".
- control 1116 corresponds to SIM card 1
- SIM card 1 corresponds to operator 1
- control 1117 corresponds to SIM card 2
- SIM card 2 corresponds to operator 2.
- the second electronic device determines that the SIM card of the network agent is SIM card 1; in response to receiving the user clicking on the control 1117, the second electronic device determines that the SIM card of the network agent is SIM card 2.
- the second electronic device determines that the SIM card of the network agent is different from the SIM card currently used by the second electronic device
- the second electronic device can switch SIM cards, or the second electronic device can use SIM card 1 and SIM card 2 at the same time through time division multiplexing or other methods.
- S9A06 Determine the type of connection based on the network proxy mode and establish the connection.
- the first electronic device or the second electronic device determines the type of connection based on the network proxy mode.
- the network proxy mode For the corresponding relationship between the network proxy mode and the type of connection, please refer to the corresponding text description in Table 1 above, which will not be described again here.
- the first electronic device and the second electronic device may display corresponding icons in the status bar (status bar) or notification bar, as shown in Figures 12A and 12B.
- FIG. 12A and FIG. 12B are an exemplary schematic diagram of the interface of the first electronic device and/or the second electronic device provided by the embodiment of the present application.
- the status bar of the first electronic device and/or the second electronic device includes an icon 1201, where the icon 1201 is used to identify that the first electronic device and/or the second electronic device establishes a connection, and the second electronic device is First Electronic Devices provides a network proxy.
- the notification bar of the first electronic device and/or the second electronic device includes notification 1203, where the notification 1203 is used to identify the first electronic device and/or the second electronic device to establish a connection, and the second electronic device
- the device provides a network proxy for the first electronic device.
- the user can call out the notification bar by sliding down, and the starting point of the sliding operation is the upper left corner of the screen.
- the notification bar includes notification 1202 and notification 1203.
- FIG. 9B is another exemplary schematic diagram of the flow of the communication method provided by the embodiment of the present application.
- S9B01 In the process of the second electronic device providing a network agent for the first electronic device, after the second electronic device meets the third condition, the SIM card is switched.
- the quality of the cellular mobile communication of the second electronic device is lower than the quality threshold, it is determined that the third condition is met.
- the method of measuring the quality of real-time cellular mobile communication please refer to the text description corresponding to Figure 3A above, and will not be described again here.
- the third condition may also be: the traffic of the current SIM card of the first electronic device has been used up.
- S9B02 The second electronic device suspends the network agent and sends updated network parameters to the first electronic device.
- the second electronic device Since the second electronic device switches the SIM card, after the second electronic device suspends the network agent, it needs to send updated network parameters to the first electronic device.
- the first electronic device may determine whether the second electronic device continues to provide a network agent based on the updated network parameters.
- the second electronic device continues to provide a network agent for the first electronic device; in the case of the same operator, the cell switching strategy and/or access cell of the second electronic device is the same as that of the first electronic device.
- the second electronic device continues to provide a network proxy for the first electronic device.
- the second electronic device can continue to provide a network proxy for the first electronic device.
- the second electronic device may continue to provide a network agent for the first electronic device.
- the first electronic device can send an instruction to the second electronic device to instruct the second electronic device to change the cell switching strategy. Then, second The electronic device may continue to provide a network proxy to the first electronic device.
- the first electronic device when the operator is the same and the access cell is the same, can send an instruction to the second electronic device to instruct the second electronic device to change the access cell.
- the second electronic device can then continue to provide the network proxy for the first electronic device.
- the first electronic device can send an instruction to the second electronic device to instruct the second electronic device to change the cell reselection strategy.
- the second electronic device can then continue to provide the network proxy for the first electronic device.
- the transmission method provided by this application is introduced from the perspective of electronic device interaction and human-computer interaction.
- the transmission method provided by the embodiment of this application is introduced from the first electronic device side and the second electronic device side respectively.
- the communication method provided by the embodiment of the present application is introduced from the side of the first electronic device.
- Figure 13 is another exemplary schematic diagram of the flow of a communication method provided by an embodiment of the present application.
- S1301 The first electronic device determines whether the first condition is met or whether the user's first operation is received.
- S1302 Discover the second electronic device through broadcast, and obtain the network parameters of the second electronic device.
- the first electronic device determines whether the second electronic device meets the second condition based on the obtained network parameters.
- step S1304 is executed.
- S1304 Send the first request to the second electronic device and establish a connection with the second electronic device.
- the first electronic device sends and receives data based on at least two data channels.
- the first electronic device sends data of part of the application program through at least two data channels.
- the data of the applications recorded in the whitelist can be sent through at least two data channels, that is, the data of the applications recorded in the whitelist can be sent through the network proxy provided by the second electronic device.
- the whitelist can include browsers, music applications such as and Video applications such as and Among them, the blacklist can include payment applications such as and Voice communication applications such as wait.
- the second electronic device provides a network proxy for the first electronic device, and the second electronic device does not For non-network devices, in order to fully protect the privacy and property security of the user of the first electronic device, the first electronic device prohibits sending data of applications in the blacklist or other than the whitelist to the second electronic device.
- the communication method provided by the embodiment of the present application is introduced from the side of the second electronic device.
- Figure 14 is another exemplary schematic diagram of the flow of a communication method provided by an embodiment of the present application.
- the broadcast is used to request the network parameters of the second electronic device, and the second electronic device sends the network parameters.
- the second electronic device when it determines that it is in a weak network state or no network state, it may not respond to the broadcast.
- the network parameters can refer to the text description corresponding to Figure 4 above, and will not be described again here.
- S1402 The second electronic device receives the first request and determines whether the first request includes an account number and network proxy mode.
- the second electronic device After receiving the first request, the second electronic device executes step S1403 if the first request includes the account number and the network proxy mode; if the first request does not include the account number and the network proxy mode, executes step S1404.
- the second electronic device determines whether the account logged in on the second electronic device and the account in the first request are the same or belong to the same group.
- step S1405 is executed; if the account logged in on the second electronic device is different from the account in the first request and does not belong to the same group. , then execute step S1404.
- the second electronic device determines to obtain the user's authorization and determines the network proxy mode by referring to the text descriptions corresponding to FIG. 11A, FIG. 11B and FIG. 11C above, which will not be described again here.
- S1405 The second electronic device directly determines the network proxy mode.
- the first electronic device can directly determine the network proxy mode.
- the second electronic device determines the type of connection based on the network proxy mode, establishes a connection with the first electronic device, and provides a network proxy for the first electronic device after the connection is established.
- the above mainly introduces the communication method provided by the embodiment of the present application from the perspective of electronic equipment, the perspective of human-computer interaction, the first electronic device side, and the second electronic device side.
- the communication method provided by the embodiment of the present application is introduced below with reference to specific scenarios.
- Figure 15 is another exemplary schematic diagram of the flow of a communication method provided by an embodiment of the present application.
- the first electronic device After determining that the first condition is met, the first electronic device discovers the second electronic device through broadcast and obtains network parameters.
- the first electronic device may send the request in the form of a broadcast, and after receiving the request, the second electronic device sends the network parameters to the first electronic device.
- the second electronic device after receiving the request, sends parameters such as remaining traffic and power to the first electronic device.
- the first electronic device may display an interface to display the discovered electronic devices to the user, as shown in FIG. 16 .
- Figure 16 is an exemplary schematic diagram of an interface of a first electronic device provided by an embodiment of the present application.
- the interface displayed on the first electronic device includes controls corresponding to different electronic devices.
- the control 1601 corresponding to the fourth electronic device the control 1602 corresponding to the third electronic device, and the control 1603 corresponding to the second electronic device.
- the first electronic device determines the second electronic device.
- each control corresponding to an electronic device may also display information on a different electronic device.
- the corresponding control of the electronic device may also display information such as the power of the electronic device and the operator.
- a control 1604 and a control 1605 are displayed on the control 1603 .
- the control 1604 displays the operator of the cellular mobile network connected to the second electronic device
- the control 1605 displays the remaining traffic of the second electronic device.
- the operator of the cellular mobile network accessed by the second electronic device is operator B, and the remaining traffic of the second electronic device is 115GB.
- the first electronic device can send a query request to obtain the network parameters of the multiple electronic devices, and arrange different electronic devices according to the network parameters.
- the priority of the network parameter arrangement from high to low can be: the operators of the accessed cellular networks are different, the operators of the accessed cellular networks are the same but the access cells are different, the operators of the accessed cellular networks are the same and the access cells are different, the operators of the accessed cellular networks are the same and the access cells are different. Entering the community is the same.
- the first electronic device after discovering multiple electronic devices, in front of the display interface, can send an inquiry request to obtain the network parameters, remaining traffic, power, and other electronic devices of the multiple electronic devices.
- the distance between the device and the first electronic device and other more parameters, and the controls corresponding to different electronic devices are arranged according to more parameters such as network parameters, remaining traffic, power, the distance between other electronic devices and the first electronic device, etc.
- the sort order on the interface is an electronic device more suitable for improving the communication quality of the first electronic device.
- S1503 The first electronic device establishes a connection with the second electronic device.
- the first electronic device after the first electronic device establishes a connection with the second electronic device, the first electronic device obtains the network parameters of the second electronic device based on the connection. In this case, the network parameters of other electronic devices will not be displayed in the interface shown in FIG. 16 .
- the first electronic device or the second electronic device can also determine the network proxy mode, and then determine the type of connection.
- the second electronic device provides a network proxy for the first electronic device.
- the network agent may refer to the text description corresponding to Figure 3A and Figure 3B above, and will not be described again here.
- the first electronic device determines the cellular mobile communication network accessed by the first electronic device and the second electronic device.
- the network operator is the same.
- the first electronic device may determine that the operator of the cellular mobile communication network accessed by the first electronic device and the second electronic device is the same.
- S1506 Optionally, send a second request, the second request is used to change the cell switching strategy and/or the cell reselection strategy, or the second request is used to indicate that the second electronic device accesses a cell different from the first electronic device accessing the cell. community.
- the first electronic device may not send the second request.
- the first electronic device may determine based on the connection that the cell switching strategy of the second electronic device is the same as the cell switching strategy of the first electronic device; or, the first electronic device may determine based on the connection that the cell switching strategy of the second electronic device is the same.
- the cell reselection strategy of the second electronic device is the same as the cell reselection strategy of the first electronic device.
- the first electronic device may send a second request to the second electronic device.
- the second request is used to change the cell switching strategy and/or the cell reselection strategy, or the second request is used to instruct the second electronic device to access a cell that is different from the first electronic device's access cell.
- the second electronic device and the first electronic device may exchange updated network parameters in real time.
- the second electronic device after the first electronic device and the second electronic device establish a connection, notifies the first electronic device in real time after the network parameters change.
- the cell switching strategy and/or the cell reselection strategy of the second electronic device are different.
- the cell camping status of the first electronic device and the second electronic device is as shown in FIG. 17 .
- Figure 17 is an exemplary schematic diagram of the cell camping situation of the first electronic device and the second electronic device in the transmission method provided by the embodiment of the present application.
- the operators of the first electronic device and the second electronic device accessing the cellular mobile communication network are both operator 1, and the signal strength of the first electronic device and the second electronic device in the new cell is higher than the signal strength of the old cell.
- the locations of the first electronic device and the second electronic device can be considered to be similar (the spatial distance between the first electronic device and the second electronic device is smaller than that of the first electronic device and the second electronic device at least an order of magnitude away from a base station or other type of wireless access point).
- the cell reselection policy changes to the signal strength of the new cell being higher than the signal strength of the old cell Xdb, and then the second electronic device switches to the new cell.
- X can take 0.5.
- the cell camping situation of the first electronic device and the second electronic device is as shown in FIG. 17 .
- the first electronic device and the second electronic device can determine that the signal strength of cell 1 is higher than the signal strength of cell 2; from time T1 to time T2, the first electronic device and the second electronic device can determine It is determined that the signal strength of cell 2 is higher than the signal strength of cell 1, but the signal strength of cell 2 is not higher than the signal strength of cell 1 by 0.5db; from time T2 to time T3, the first electronic device and the second electronic device can determine the cell The signal strength of 2 is 0.5db higher than the signal strength of cell 1; from time T3 to time T4, the first electronic device and the second electronic device can determine that the signal strength of cell 3 is higher than the signal strength of cell 2, and the signal strength of cell 3 Not higher than the signal strength of Cell 2 by 0.5db; after time T4, the first electronic device and the second electronic device can determine that the signal strength of Cell 3 is higher than the signal strength of Cell 2 by 0.5db.
- both the first electronic device and the second electronic device reside in cell 1; from time T1 to time T2 At time, the first electronic device resides in cell 2, and the second electronic device resides in cell 1; from time T2 to time T3, the first electronic device and the second electronic device reside in cell 2; from time T3 to time T4 , the first electronic device is camped in cell 3, and the second electronic device is camped in cell 2; after time T4, the first electronic device and the second electronic device are camped in cell 3.
- the second electronic device can also change the value of the parameter that affects the cell switching strategy reported to the base station or other types of wireless access points.
- the parameters that affect the cell handover strategy such as the RSRP of the neighboring cell or the cell selection reception level value S rxlev , etc., are not limited here.
- the first electronic device and the second electronic device will not be in the process of cell reselection or cell switching at the same time, thereby making
- the first electronic device always has a data channel connected to the Internet most of the time, thereby ensuring the communication quality of the first electronic device and improving the robustness of the communication of the first electronic device; in addition, when the first electronic device is When the second electronic device provides a network agent, the communication quality of the second electronic device is also ensured and the robustness of the communication of the second electronic device is improved.
- S1507 Optionally, send a third request.
- the third request is used to instruct the second electronic device to switch SIM cards.
- the first electronic device may also send a third request to instruct the second electronic device to switch the SIM card and then switch the operator of the cellular mobile communication network for the second electronic device to access.
- the operator through which the second electronic device accesses the cellular mobile communication network after switching is different from the operator through which the first electronic device accesses the cellular mobile communication network.
- the first electronic device sends and receives data based on at least two data channels.
- the first electronic device after the first electronic device and the second electronic device establish a connection, the first electronic device indicates based on the rate of sending data on the data channel 2 and other parameters.
- the peer electronic device changes the type of connection and reconnects.
- the second electronic device can instruct the first electronic device to change the type of connection according to the rate of receiving data on data channel 2 and other parameters, and then re-establish connect.
- FIG. 18 is an exemplary schematic diagram in which the first electronic device instructs the second electronic device to switch the type of connection establishment in the communication method provided by the embodiment of the present application.
- S1801 The first electronic device determines that the communication quality of data channel 2 is lower than the threshold.
- the first electronic device can determine the communication quality of the data channel 2 through various parameters.
- the various parameters may include one or more of signal strength, delay, bit error rate, etc., which are not limited here.
- the first electronic device may determine that the rate at which the application program on the first electronic device generates data is greater than the rate at which the first electronic device sends data on data channel 2, then the first electronic device determines that the communication quality of data channel 2 is lower than the threshold; Alternatively, the first electronic device may determine that there is backlog of data for sending on the data channel 2 in the network card buffer, and then the first electronic device determines that the communication quality of the data channel 2 is lower than the threshold.
- the first electronic device sends a fourth request to the second electronic device.
- the fourth request is used to instruct the second electronic device to change the connection type.
- different types of connections can have different priorities. For example, the priority of 5G WiFi connection is greater than the priority of UWB connection, the priority of UWB connection is greater than the priority of 2.4G WiFi connection, and the priority of 2.4G WiFi connection is greater than the priority of Bluetooth connection.
- the priority of the connection type after the change is higher than the priority of the connection type before the change.
- S1803 The second electronic device sends a confirmation message to the first electronic device.
- the second electronic device may send a confirmation message to the first electronic device, thereby notifying the first electronic device that the second electronic device is ready to switch the connection.
- the confirmation message may also include parameters for re-establishing the connection.
- S1804 The first electronic device and the second electronic device re-establish a connection.
- the second electronic device can encapsulate the transmission data from the first electronic device as a transport layer message or an application layer message, and then obtain a physical layer message (network message), through cellular mobile communication sent by the network.
- the second electronic device after receiving the data sent by the first electronic device through data channel 2, can modify the processing priority of the data, thereby allowing the second electronic device to modify the processing priority of the data.
- the electronic device prioritizes processing of the data or delays processing of the data.
- the priority is specified by the business or application program, and can also be called business priority.
- the second electronic device may modify the priority of the data received from the first electronic device according to the network proxy mode. For example, when the network proxy mode is the extreme speed mode, the second electronic device will increase the priority of data from the first electronic device. For another example, when the network proxy mode is the balancing mode, the second electronic device may not change the priority of the data from the first electronic device, or lower the priority of the data from the first electronic device.
- Figure 19 is an exemplary schematic diagram of a second electronic device modifying the priority of data sent by the first electronic device in the transmission method provided by the embodiment of the present application.
- the music application sends business data to the protocol stack.
- the protocol stack adds data with priority identification according to the standard protocol. Then the protocol stack sends the data with the priority identification to the wireless communication module.
- the first electronic device sends the data to the second electronic device through the wireless communication module, and the second electronic device receives the data through the wireless communication module and sends the received data to the protocol stack.
- the network proxy module can determine whether to modify the priority of data according to the network proxy mode.
- the protocol stack can modify the priority of the data, thereby causing the data to enter the packet sending queue with a higher priority.
- the wireless communication module and the mobile communication module can be referred to the text description corresponding to Figure 21 in the following text, and will not be described again here.
- the first electronic device and the second electronic device are divided into eight priorities according to the RFC791 protocol.
- the priority of the service data of the music application on the first electronic device and the second electronic device is 0.
- the second electronic device will change the priority of the service data of the music application program sent by the first electronic device to 1 during the packaging process.
- the second electronic device does not actually change the routing priority of the data, such as the field value of IP Precedence or DSCP, but performs encapsulation and allocates packet sending queues according to the modified priority. and/or send deliver.
- the routing priority of the data such as the field value of IP Precedence or DSCP
- the first electronic device and the second electronic device can agree on a low-latency service identification field on the application layer or other layers. This field is used to identify whether the data is low-latency service identification. Delay service data. After receiving the data, the second electronic device will determine whether the value of the low-latency service identification field of the data is the agreed value. If the second electronic device determines that the data is data for the low-latency service, it will process it with priority. Encapsulate, encapsulate, and send, thereby ensuring the communication quality of the first electronic device.
- Figure 20 is another exemplary schematic diagram of the flow of a transmission method provided by an embodiment of the present application.
- S2001 The first electronic device performs cell search/initial cell search and obtains SIB1 of all cells within the coverage range.
- the first electronic device After the first electronic device is powered on, or after the first electronic device enters the cell coverage area from an area without cell coverage, or after the first electronic device determines that the communication quality of the currently accessed cell or other types of wireless access points is lower than a threshold. , the first electronic device performs cell search or initial cell search.
- the first electronic device obtains the system information block (SIB) of all cells within the coverage area, such as SIB1, where SIB1 provides the electronic device with information about whether to allow access to this cell, that is, the public land mobile network (public land mobile network) mobile network (PLMN).
- SIB system information block
- PLMN public land mobile network
- the first electronic device will only select the operator's frequency band corresponding to the SIM to perform cell search or initial cell search.
- the failure to register the first electronic device in the core network does not include emergency registration.
- the failure to register the first electronic device in the core network may be a failure in initial registration or mobility registration (periodic registration).
- the failure to register the first electronic device in the core network may also be a failure to establish the PDU session.
- the first electronic device determines that the first cell is selected based on the PLMN and the communication quality of the first cell is lower than the threshold; or the cell cannot be selected based on the PLMN; or the first cell is selected based on the PLMN, but the core network registration fails. , the first electronic device sends a broadcast to discover the second electronic device.
- the first electronic device can determine whether the accessible PLMN list can be selected based on the list of accessible PLMNs and the PLMN of the cell discovered by the first electronic device. community.
- S2003 The first electronic device and the second electronic device establish a connection, and the second electronic device provides a network proxy for the first electronic device.
- the first electronic device sends and receives data based on at least two data channels.
- the hardware structure of the first electronic device and the second electronic device may be the same, for convenience of explanation, the first electronic device and the second electronic device are referred to as electronic devices in the following text to facilitate an exemplary introduction of the hardware structures.
- Figure 21 is an exemplary schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.
- the electronic device may be a mobile phone, tablet computer, desktop computer, laptop computer, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, as well as cellular phone, personal digital assistant (personal digital assistant) assistant (PDA), augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, wearable devices, vehicle-mounted devices, smart home devices and/or smart devices City equipment, the embodiment of this application does not place special restrictions on the specific type of electronic equipment.
- PDA personal digital assistant
- AR augmented reality
- VR virtual reality
- AI artificial intelligence
- wearable devices wearable devices
- vehicle-mounted devices smart home devices and/or smart devices City equipment
- the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and user Identification module (subscriber identification module, SIM) card interface 195, etc.
- a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen
- the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
- the structures illustrated in the embodiments of the present invention do not constitute specific limitations on the electronic equipment.
- the electronic device may include more or less components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently.
- the components illustrated may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc.
- application processor application processor, AP
- modem processor graphics processing unit
- GPU graphics processing unit
- image signal processor image signal processor
- ISP image signal processor
- controller video codec
- digital signal processor digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- neural network processor neural-network processing unit
- the controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
- the processor 110 may also be provided with a memory for storing instructions and data.
- the memory in processor 110 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110 . If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
- processor 110 may include one or more interfaces.
- Interfaces may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiver and transmitter (universal asynchronous receiver/transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and /or universal serial bus (USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- UART universal asynchronous receiver and transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (derail clock line, SCL).
- processor 110 may include multiple sets of I2C buses.
- the processor 110 can separately couple the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces.
- the processor 110 can 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 bus interface to implement the touch function of the electronic device.
- the I2S interface can be used for audio communication.
- processor 110 may include multiple sets of I2S buses.
- the processor 110 can be coupled with the audio module 170 through the I2S bus to implement communication between the processor 110 and the audio module 170 .
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface to implement the function of answering calls through a Bluetooth headset.
- the PCM interface can also be used for audio communications to sample, quantize and encode analog signals.
- the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
- the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface to implement the function of answering calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
- the UART interface is a universal serial data bus used for asynchronous communication.
- the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
- the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
- the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
- the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
- MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
- the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device.
- the processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device.
- the GPIO interface can be configured through software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface can be used to connect the processor 110 with the camera 193, display screen 194, wireless communication module 160, audio module 170, sensor module 180, etc.
- the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the USB interface 130 is an interface that complies with the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
- the USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transmit data between the electronic device and peripheral devices. It can also be used to connect headphones to play audio through them. This interface can also be used to connect other electronic devices, such as AR devices, etc.
- the interface connection relationships between the modules illustrated in the embodiments of the present invention are only schematic illustrations and do not constitute structural limitations on the electronic equipment.
- the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
- the charging management module 140 is used to receive charging input from the charger.
- the charger can be a wireless charger or a wired charger.
- the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
- the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device. While the charging management module 140 charges the battery 142, it can also provide power to the electronic device through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, and the like.
- the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
- the power management module 141 may also be provided in the processor 110 .
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the electronic device can be realized through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- Antenna 1 can be multiplexed as Diversity antennas for wireless LANs. In other embodiments, antennas may be used in conjunction with tuning switches.
- the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to electronic devices.
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
- the mobile communication module 150 can receive electromagnetic waves through the antenna 1, perform filtering, amplification and other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves through the antenna 1 for radiation.
- at least part of the functional modules of the mobile communication module 150 may be disposed in the processor 110 .
- at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
- a modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal.
- the demodulator is used to demodulate 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 application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194.
- the modem processor may be a stand-alone device.
- the modem processor may be independent of the processor 110 and may be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), and global navigation satellite systems for use in electronic devices. (global navigation satellite system, GNSS), frequency modulation (FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
- the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband 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 technology, etc.
- the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi) -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite based augmentation systems
- the electronic device implements display functions through the GPU, display screen 194, and application processor.
- the GPU is an image processing microprocessor and is connected to the display screen 194 and the application processor. GPUs are 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 alter display information.
- the display screen 194 is used to display images, videos, etc.
- Display 194 includes a display panel.
- the display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light).
- LCD liquid crystal display
- OLED organic light-emitting diode
- AMOLED organic light-emitting diode
- FLED flexible light-emitting diode
- Miniled MicroLed, Micro-oLed, Quantum dot light emitting diodes (QLED), etc.
- the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
- the electronic device can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
- the ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera sensor through the lens, the optical signal is converted into an electrical signal, and the camera sensor passes the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise and brightness. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
- Camera 193 is used to capture still images or video.
- the object passes through the lens to produce an optical image that is projected onto the photosensitive element.
- the photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to convert it into a digital image signal.
- ISP outputs digital image signals to DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other format image signals.
- the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1.
- Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
- Video codecs are used to compress or decompress digital video.
- Electronic devices may support one or more video codecs. In this way, electronic devices can play or record videos in multiple encoding formats, such as: Moving Picture Experts Group (MPEG)1, MPEG2, MPEG3, MPEG4, etc.
- MPEG Moving Picture Experts Group
- MPEG2 MPEG2, MPEG3, MPEG4, etc.
- NPU is a neural network (NN) computing processor.
- NN neural network
- Intelligent cognitive applications of electronic devices can be realized through NPU, such as image recognition, face recognition, speech recognition, text understanding, etc.
- the internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
- RAM random access memories
- NVM non-volatile memories
- Random access memory can include static random-access memory (SRAM), dynamic random-access memory (DRAM), synchronous dynamic random-access memory (SDRAM), double data rate synchronous Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as the fifth generation DDR SDRAM is generally called DDR5SDRAM), etc.;
- SRAM static random-access memory
- DRAM dynamic random-access memory
- SDRAM synchronous dynamic random-access memory
- DDR SDRAM double data rate synchronous Dynamic random access memory
- DDR SDRAM double data rate synchronous dynamic random access memory
- DDR5SDRAM double data rate synchronous dynamic random access memory
- Non-volatile memory can include disk storage devices and flash memory.
- Flash memory can be divided according to the operating principle to include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.
- the storage unit potential level it can include single-level storage cells (single-level cell, SLC), multi-level storage cells (multi-level cell, MLC), third-level storage unit (triple-level cell, TLC), fourth-level storage unit (quad-level cell, QLC), etc., which can include universal flash storage (English: universal flash storage, UFS) according to storage specifications. , embedded multi media card (embedded multi media Card, eMMC), etc.
- the random access memory can be directly read and written by the processor 110, can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data, etc.
- the non-volatile memory can also store executable programs and user and application program data, etc., and can be loaded into the random access memory in advance for direct reading and writing by the processor 110.
- the external memory interface 120 can be used to connect an external non-volatile memory to expand the storage capacity of the electronic device.
- the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, save music, video and other files in external non-volatile memory.
- the electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playback, recording, etc.
- the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
- Speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
- the electronic device can listen to music through speaker 170A, or listen to hands-free calls.
- Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
- the electronic device answers a call or a voice message, the voice can be heard by bringing the receiver 170B close to the human ear.
- Microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak close to the microphone 170C with the human mouth and input the sound signal to the microphone 170C.
- the electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function. In other embodiments, the electronic device can also be equipped with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions, etc.
- the headphone interface 170D is used to connect wired headphones.
- the headphone interface 170D may be a USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA Cellular Telecommunications Industry Association of the USA
- the pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals.
- pressure sensor 180A may be disposed on display screen 194 .
- pressure sensors 180A there are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc.
- a capacitive pressure sensor may include at least two parallel plates of conductive material.
- the electronic device detects the strength of the touch operation according to the pressure sensor 180A.
- the electronic device may also calculate the touched position based on the detection signal of the pressure sensor 180A.
- touch operations acting on the same touch location but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.
- the gyro sensor 180B can be used to determine the motion posture of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (ie, x, y, and z axes) may be determined by gyro sensor 180B.
- the gyro sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyro sensor 180B detects the angle at which the electronic device shakes, and calculates the distance that the lens module needs to compensate based on the angle, so that the lens can offset the shake of the electronic device through reverse movement to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
- Air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
- Magnetic sensor 180D includes a Hall sensor.
- the electronic device can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
- the electronic device may detect opening and closing of the flip according to the magnetic sensor 180D. Then, based on the detected opening and closing status of the leather case or the opening and closing status of the flip cover, features such as automatic unlocking of the flip cover are set.
- the acceleration sensor 180E can detect the acceleration of the electronic device in various directions (generally three axes). When electronic equipment The magnitude and direction of gravity can be detected when the device is stationary. It can also be used to identify the posture of electronic devices and be used in horizontal and vertical screen switching, pedometer and other applications.
- Distance sensor 180F for measuring distance.
- Electronic devices can measure distance via infrared or laser. In some embodiments, when shooting a scene, the electronic device can utilize the distance sensor 180F to measure distance to achieve fast focusing.
- Proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
- the light emitting diode may be an infrared light emitting diode.
- Electronic devices emit infrared light through light-emitting diodes.
- Electronic devices use photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device. When insufficient reflected light is detected, the electronic device can determine that there is no object near the electronic device.
- Electronic devices can use the proximity light sensor 180G to detect when the user holds the electronic device close to the ear and talk, so that the screen can be automatically turned off to save power.
- the proximity light sensor 180G can also be used in holster mode, and pocket mode automatically unlocks and locks the screen.
- the ambient light sensor 180L is used to sense ambient light brightness.
- the electronic device can adaptively adjust the brightness of the display screen 194 based on perceived ambient light brightness.
- the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device is in the pocket to prevent accidental touching.
- Fingerprint sensor 180H is used to collect fingerprints. Electronic devices can use the collected fingerprint characteristics to unlock fingerprints, access application locks, take photos with fingerprints, answer incoming calls with fingerprints, etc.
- Temperature sensor 180J is used to detect temperature.
- the electronic device uses the temperature detected by the temperature sensor 180J to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device reduces the performance of a processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device heats the battery 142 to prevent the low temperature from causing abnormal shutdown of the electronic device. In some other embodiments, when the temperature is lower than another threshold, the electronic device performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
- Touch sensor 180K also known as "touch device”.
- the touch sensor 180K can be disposed on the display screen 194.
- the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen”.
- the touch sensor 180K is used to detect a touch operation on or near the touch sensor 180K.
- the touch sensor can pass the detected touch operation to the application processor to determine the touch event type.
- Visual output related to the touch operation may be provided through display screen 194 .
- the touch sensor 180K may also be disposed on the surface of the electronic device at a location different from that of the display screen 194 .
- Bone conduction sensor 180M can acquire vibration signals.
- the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human body's vocal part.
- the bone conduction sensor 180M can also contact the human body's pulse and receive blood pressure beating signals.
- the bone conduction sensor 180M can also be provided in an earphone and combined into a bone conduction earphone.
- the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibrating bone obtained by the bone conduction sensor 180M to implement the voice function.
- the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M to implement the heart rate detection function.
- the buttons 190 include a power button, a volume button, etc.
- Key 190 may be a mechanical key. It can also be a touch button.
- the electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.
- the motor 191 can generate vibration prompts.
- the motor 191 can be used for vibration prompts for incoming calls and can also be used for touch vibration feedback.
- touch operations for different applications can correspond to different vibration feedback effects.
- the motor 191 can also respond to different vibration feedback effects for touch operations in different areas of the display screen 194 .
- Different application scenarios such as time reminders, receiving information, alarm clocks, games, etc.
- the touch vibration feedback effect can also be customized.
- the indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, or may be used to indicate messages, missed calls, notifications, etc.
- the SIM card interface 195 is used to connect a SIM card.
- the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to realize contact and separation from the electronic device.
- the electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
- SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
- the SIM card interface 195 is also compatible with different types of SIM cards.
- the SIM card interface 195 is also compatible with external memory cards.
- Electronic devices interact with the network through SIM cards to implement functions such as calls and data communications.
- the electronic device uses an eSIM, that is, an embedded SIM card.
- the eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
- Software systems of electronic devices can adopt layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture.
- the embodiment of the present invention takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device.
- Figure 22 is an exemplary schematic diagram of the software architecture of the electronic device provided by the embodiment of the present application.
- the layered architecture divides the software into several layers, and each layer has clear roles and division of labor.
- the layers communicate through software interfaces.
- the Android system is divided into four layers, from top to bottom: application layer, application framework layer, Android runtime and system libraries, and kernel layer.
- the application layer can include a series of application packages.
- the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
- the application framework layer provides an application programming interface (API) and programming framework for applications in the application layer.
- API application programming interface
- the application framework layer includes some predefined functions.
- the application framework layer can include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
- a window manager is used to manage window programs.
- the window manager can obtain the display size, determine whether there is a status bar, lock the screen, capture the screen, etc.
- Content providers are used to store and retrieve data and make this data accessible to applications.
- Said data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
- the view system includes visual controls, such as controls that display text, controls that display pictures, etc.
- a view system can be used to build applications.
- the display interface can be composed of one or more views.
- a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
- Telephone managers are used to provide communication functions of electronic devices. For example, call status management (including connected, hung up, etc.).
- the resource manager provides various resources to applications, such as localized strings, icons, pictures, layout files, video files, etc.
- the notification manager allows applications to display notification information in the status bar, which can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction.
- the notification manager is used to notify download completion, message reminders, etc.
- the notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, text information is prompted in the status bar, a beep sounds, the electronic device vibrates, the indicator light flashes, etc.
- Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
- the core library contains two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android.
- the application layer and application framework layer run in virtual machines.
- the virtual machine executes the java files of the application layer and application framework layer into binary files.
- the virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection and other functions.
- System libraries can include multiple functional modules. For example: surface manager (surface manager), media libraries (Media Libraries), 3D graphics processing libraries (for example: OpenGL ES), 2D graphics engines (for example: SGL), etc.
- the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc.
- the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, composition, and layer processing.
- 2D Graphics Engine is a drawing engine for 2D drawing.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
- FIG. 23 is an exemplary schematic diagram of data flow in a system including a first electronic device and a second electronic device provided by an embodiment of the present application.
- the data channel 1 on the first electronic device is: the data of the application program on the first electronic device can send the data to the mobile communication module through the network proxy module, and then the mobile communication module sends the data to the base station, and then the base station Forwarded to server.
- the data channel 2 on the first electronic device is: the data of the application program on the first electronic device can send the data to the wireless communication module through the network proxy module, and then send the data to the second electronic device; the second electronic device After receiving the data, the wireless communication module can send the data to the mobile communication module and then to the base station, which then forwards it to the server.
- the network proxy module can be used to determine whether the data is sent on data channel 1 or data channel 2, as shown in Figures 7A to 7C.
- the network proxy module can also be used to instruct the protocol stack how to encapsulate the data to be sent, as shown in Figures 6A to 6C.
- the network proxy module can also be used to determine the network proxy mode, and then instruct the wireless communication module what type of connection to establish with the wireless communication module of the peer electronic device.
- the network proxy module can also be used to modify the priority of the data sent by the first electronic device, thereby instructing the protocol stack to preferentially encapsulate or decapsulate the data.
- the network proxy module can also be used to perform deduplication and merging on the received data.
- the network proxy module can also be used to determine the traffic used, and prohibit the use of data channel 2 to send data after the traffic usage reaches the traffic upper limit.
- the term “when” may be interpreted to mean “if" or “after” or “in response to determining" or “in response to detecting" depending on the context.
- the phrase “when determining" or “if (stated condition or event) is detected” may be interpreted to mean “if it is determined" or “in response to determining" or “on detecting (stated condition or event)” or “in response to detecting (stated condition or event)”.
- the computer program product includes one or more computer instructions.
- the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted over a wired connection from a website, computer, server, or data center (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) means to transmit to another website, computer, server or data center.
- the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
- the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state drive), etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
La présente demande relève du domaine technique de l'électronique. Sont divulgués un procédé de communication, un dispositif électronique et un système. Lorsque la qualité de navigation sur Internet d'un dispositif électronique d'un utilisateur est médiocre, le procédé de communication d'après la présente demande comprend les étapes consistant à : trouver d'autres dispositifs électroniques dans le voisinage ; établir une connexion ; et naviguer sur Internet au moyen de fonctions de communication mobile cellulaire desdits dispositifs électroniques. Le procédé permet à des utilisateurs de continuer à bénéficier d'une expérience de navigation sur Internet satisfaisante dans des circonstances telles que des liaisons ferroviaires à grande vitesse et des zones très fréquentées.
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210425390 | 2022-04-21 | ||
CN202210425390.1 | 2022-04-21 | ||
CN202210827794.3A CN116980864A (zh) | 2022-04-21 | 2022-07-14 | 通信方法、电子设备以及系统 |
CN202210827794.3 | 2022-07-14 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023202533A1 true WO2023202533A1 (fr) | 2023-10-26 |
Family
ID=88419219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/088711 WO2023202533A1 (fr) | 2022-04-21 | 2023-04-17 | Procédé de communication, dispositif électronique et système |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2023202533A1 (fr) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021135815A1 (fr) * | 2019-12-30 | 2021-07-08 | 荣耀终端有限公司 | Procédé de communication et dispositif et système de communication associés |
CN113747347A (zh) * | 2021-07-26 | 2021-12-03 | 荣耀终端有限公司 | 电子设备及其上网卡切换方法、可读介质 |
CN113747527A (zh) * | 2021-07-30 | 2021-12-03 | 荣耀终端有限公司 | 基于电子设备状态的网络链路切换方法和电子设备 |
CN113840346A (zh) * | 2021-11-23 | 2021-12-24 | 荣耀终端有限公司 | 一种运营商切换方法及相关设备 |
CN115150812A (zh) * | 2021-03-31 | 2022-10-04 | 华为技术有限公司 | 一种通信系统、第一电子设备和第二电子设备 |
-
2023
- 2023-04-17 WO PCT/CN2023/088711 patent/WO2023202533A1/fr unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021135815A1 (fr) * | 2019-12-30 | 2021-07-08 | 荣耀终端有限公司 | Procédé de communication et dispositif et système de communication associés |
CN115150812A (zh) * | 2021-03-31 | 2022-10-04 | 华为技术有限公司 | 一种通信系统、第一电子设备和第二电子设备 |
CN113747347A (zh) * | 2021-07-26 | 2021-12-03 | 荣耀终端有限公司 | 电子设备及其上网卡切换方法、可读介质 |
CN113747527A (zh) * | 2021-07-30 | 2021-12-03 | 荣耀终端有限公司 | 基于电子设备状态的网络链路切换方法和电子设备 |
CN113840346A (zh) * | 2021-11-23 | 2021-12-24 | 荣耀终端有限公司 | 一种运营商切换方法及相关设备 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3917210B1 (fr) | Procédé de commutation de carte réseau et dispositif électronique | |
CN111866950B (zh) | Mec中数据传输的方法和通信装置 | |
WO2020233538A1 (fr) | Procédé d'accès au réseau local sans fil et terminal | |
CN113630910B (zh) | 蜂窝通信功能的使用方法、相关装置及系统 | |
CN113840346B (zh) | 一种运营商切换方法及相关设备 | |
CN114390337B (zh) | 投屏方法、系统及电子设备 | |
WO2021175300A1 (fr) | Procédé et appareil de transmission de données, dispositif électronique et support de stockage lisible | |
WO2022068513A1 (fr) | Procédé de communication sans fil et dispositif terminal | |
WO2021169698A1 (fr) | Procédé de gestion de connexion et dispositif associé | |
WO2021218544A1 (fr) | Système de fourniture de connexion sans fil, procédé et appareil électronique | |
WO2023143300A1 (fr) | Procédé et système de sélection de tranche, et appareil associé | |
EP4102927B1 (fr) | Double connexion wi-fi | |
EP4199562A1 (fr) | Procédé de transmission de données, et dispositif électronique | |
JP2021532653A (ja) | データ伝送方法及び電子デバイス | |
WO2020134868A1 (fr) | Procédé d'établissement de connexion, et appareil terminal | |
CN113133089B (zh) | 手动搜网的方法及相关装置 | |
WO2022042264A1 (fr) | Procédé, appareil et système de commutation de point d'accès | |
WO2020124447A1 (fr) | Gestion de réseau avec plusieurs sim | |
WO2022205254A1 (fr) | Procédé et dispositif de détermination d'un serveur de configuration de bordure | |
WO2023202533A1 (fr) | Procédé de communication, dispositif électronique et système | |
CN113141637B (zh) | 一种多路径传输控制的方法及控制装置 | |
CN116980864A (zh) | 通信方法、电子设备以及系统 | |
CN114980238B (zh) | Wi-Fi接入的方法及相关设备 | |
WO2021143921A1 (fr) | Procédé de commande et appareil de commande de transmission par trajets multiples | |
WO2024104122A1 (fr) | Procédé de partage, dispositif électronique et support de stockage informatique |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23791188 Country of ref document: EP Kind code of ref document: A1 |