Communication method, communication device, electronic device and readable storage medium
By using the second device in the smart device to receive data from the secondary card and disconnecting it from the base station, and concentrating communication resources on the primary card, the problem of resources occupied by the secondary card affecting the quality of the primary card is solved, and communication quality and user experience are improved.
Patent Information
- Application Number
- CN202210910123.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-07-29
AI Technical Summary
In smart devices, the secondary card occupies the communication resources of the primary card, which reduces the uplink and downlink throughput of the primary card and affects the communication quality.
By setting the first SIM card and the second SIM card in the first device, using the second device to receive the communication data of the second SIM card, disconnecting the communication connection between the second SIM card and the base station, and concentrating communication resources on the first SIM card card, thereby improving the communication quality of the first SIM card.
Without affecting the communication of the first device through the first SIM card and the second SIM card, the communication quality of the first device through the first SIM card is improved, and the communication quality caused by excessive occupation of the main card resources of the smartphone is avoided. Reduce and improve user experience.
Smart Images

Figure CN115278610B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a communication method, a communication device, an electronic device and a readable storage medium. Background Art
[0002] With the development of communication technology, more and more users use smart devices that support dual SIM cards and dual standby. In related technologies, the secondary card of a smart device will occupy the communication resources of the primary card, resulting in a decrease in the uplink and downlink throughput of the primary card, affecting the communication quality of the primary card. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a communication method, a communication device, an electronic device and a readable storage medium, which can improve the communication quality of the first device through the first SIM card without affecting the communication between the first device and the second SIM card.
[0004] In a first aspect, an embodiment of the present application provides a communication method, which is applied to a first device, wherein the first device is provided with at least a first SIM card and a second SIM card, the first device is communicatively connected with the second device, and the second device can send and receive communication data of the second SIM card. The communication method includes: when the first SIM card is in a target state, the second SIM card establishes a communication connection with the second device; and the communication data of the second SIM card is received through the second device.
[0005] In a second aspect, an embodiment of the present application provides a communication device, which is applied to a first device, wherein the first device is provided with at least a first SIM card and a second SIM card, the first device is communicatively connected with the second device, and the second device can send and receive communication data of the second SIM card. The communication device includes: a communication module, which is used to establish a communication connection between the second SIM card and the second device when the first SIM card is in a target state; and a receiving module, which is used to receive the communication data of the second SIM card through the second device.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory can be a program or instruction running on the processor, and when the program or instruction is executed by the processor, the steps of the method of the first aspect are implemented.
[0007] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
[0008] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the method of the first aspect.
[0009] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
[0010] In the embodiment of the present application, when the first device meets the preset conditions, the communication data of the second SIM card of the first device is received through the second device, and the first device disconnects the communication connection between the second SIM card and the base station, thereby ensuring that the communication resources of the first device can be concentrated on the first SIM card, thereby improving the communication quality of the first device during communication through the first SIM card, and achieving the premise that the communication of the first device through the first SIM card and the second SIM card is not affected, the communication quality of the first device through the first SIM card is also improved.
[0011] In the embodiment of the present application, when the first device is a smart phone, the second device can be selected as a subordinate smart device of the smart phone, so that the communication resources of the subordinate smart device can be reasonably used when the smart phone has dual SIM cards and dual standby, and the communication quality of the first SIM card is not affected due to the second SIM card occupying the communication resources when the first SIM card of the smart phone has a large demand for communication resources. The user experience when using dual SIM cards and dual standby is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 A schematic diagram showing a flow chart of a communication method provided in an embodiment of the present application is shown;
[0013] Figure 2 A communication interaction diagram of a first device provided in an embodiment of the present application is shown;
[0014] Figure 3 A schematic diagram of communication interaction between a first device and a second device provided in an embodiment of the present application is shown;
[0015] Figure 4 A structural block diagram of a communication device provided in an embodiment of the present application is shown;
[0016] Figure 5 A structural block diagram of an electronic device provided in an embodiment of the present application is shown;
[0017] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0019] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0020] The following is combined with Figures 1 to 6 , the communication method, communication device, electronic device and readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0021] An embodiment of the present application provides a communication method, which is applied to a first device, wherein the first device is provided with at least a first SIM card and a second SIM card, the first device is communicatively connected with the second device, and the second device can send and receive communication data of the second SIM card.
[0022] It should be noted that the first SIM card and the second SIM card in the first device may be SIM (Subscriber Identification Module) cards, and the first device is an electronic device with a "dual-card dual-standby" function, that is, the first SIM card and the second SIM card can be used to communicate on the first device at the same time. The second device communicates with the first device through near-field communication technology, which may be WI-FI (Wireless-Fidelity), Bluetooth, Zigbee (Zigbee Protocol), etc. The second device is bound to the second SIM card in the first device, and the second device can send and receive communication data of the second SIM card. The first device may be a mobile phone, a tablet computer, etc., and the second device may be a smart headset, a smart watch, a tablet computer, etc., which is not limited in this application.
[0023] Figure 1 A flow chart of a communication method provided in an embodiment of the present application is shown. Figure 1 As shown, the communication method includes:
[0024] Step 102, when the first SIM card is in the target state, the second SIM card establishes a communication connection with the second device;
[0025] During the operation of the first device, the first SIM card and the second SIM card are connected to the base station through communication, that is, the first device can send and receive communication data of the first SIM card and the second SIM card to the base station.
[0026] When the first SIM card is in the target state, the second SIM card is connected to the second device. At this time, the normal communication of the first SIM card is maintained, and the communication connection between the second SIM card and the base station is disconnected, that is, the first device exchanges communication data with the base station only through the first SIM card, and the second device exchanges communication data with the base station through the second SIM card.
[0027] During the process of data exchange between the first device and the base station through the first SIM card and the second SIM card, the communication resources of the first device are distributed to the first SIM card and the second SIM card. When the first device is in the target state, the first device disconnects the communication between the second SIM card and the base station. At this time, all communication resources are concentrated on the first SIM card to meet the communication needs of the first SIM card. Communication resources include one or a combination of the following: antenna resources, spectrum resources, and time resources.
[0028] It should be noted that when the first device is in the target state, the first SIM card needs to occupy more communication resources.
[0029] In some possible implementations, the first SIM card is a primary card of the first device, and the second SIM card is a secondary card of the first device.
[0030] Step 104: Receive communication data of the second SIM card through the second device.
[0031] The first device and the second device are connected to each other by near field communication technology, and the first device can communicate and interact with the second device by near field communication technology. The first device sends a first signal to the second device to control the second device to obtain communication data corresponding to the second SIM card.
[0032] The second device includes not only a near field communication module but also a cellular communication module. The second device receives the first signal through the near field communication module. In response to the first signal, the second device controls the cellular communication module to start receiving communication data from the second SIM card.
[0033] In some possible implementations, the second device transmits the received communication data of the second SIM card back to the first device via the near field communication module. The first device can process the communication data of the second SIM card, such as displaying the communication data.
[0034] In some other possible implementations, the second device directly processes the received communication data of the second SIM card.
[0035] In the embodiment of the present application, when the first SIM card in the first device needs to occupy more communication resources in the first device, the communication data of the second SIM card is received through the second device. At the same time, the communication connection with the base station through the first SIM card is maintained, so that all the communication resources of the first device are concentrated in the communication interaction process through the first SIM card, and the second device receives the communication data of the second SIM card, which also avoids the user missing the communication data of the second SIM card.
[0036] Figure 2 A communication interaction diagram of a first device provided in an embodiment of the present application is shown. Figure 2 As shown, the first device 200 is provided with a first SIM card 202 and a second SIM card 204. When the first device 200 does not meet the preset condition, the first device communicates and interacts with the base station 206 through the first SIM card 202, and the first device communicates and interacts with the base station 206 through the second SIM card 204.
[0037] Figure 3 A schematic diagram of communication interaction between a first device and a second device provided in an embodiment of the present application is shown. Figure 3 As shown, a first SIM card 302 and a second SIM card 304 are provided in the first device 300. When the first device 300 meets the preset conditions, the first device communicates and interacts with the base station 306 through the first SIM card 302. The first device 300 communicates and interacts with the second near field communication module 312 in the second device 310 through the first near field communication module 308, and the second device 310 interacts with the base station through the virtual SIM card 314. The virtual SIM card 314 is bound to the identity of the second SIM card 304, and the second device 310 interacts with the base station 306 for the communication data of the second SIM card 304.
[0038] Among them, the first device can be selected as a smart phone, and the second device can be selected as a smart watch. The second device has a virtual SIM card, and the identity identification information of the virtual SIM card is bound to the identity identification information of the second SIM card. The second device can simulate the second SIM card through the virtual SIM card to communicate and interact with the base station.
[0039] In the embodiment of the present application, when the first device meets the preset conditions, the communication data of the second SIM card of the first device is received through the second device, and the first device disconnects the communication connection between the second SIM card and the base station, thereby ensuring that the communication resources of the first device can be concentrated on the first SIM card, thereby improving the communication quality of the first device during communication through the first SIM card, and achieving the premise that the communication of the first device through the first SIM card and the second SIM card is not affected, the communication quality of the first device through the first SIM card is also improved.
[0040] In the embodiment of the present application, when the first device is a smart phone, the second device can be selected as a subordinate smart device of the smart phone, so that the communication resources of the subordinate smart device can be reasonably used when the smart phone has dual SIM cards and dual standby, and the communication quality of the first SIM card is not affected due to the second SIM card occupying the communication resources when the first SIM card of the smart phone has a large demand for communication resources. The user experience when using dual SIM cards and dual standby is improved.
[0041] In some embodiments of the present application, the first SIM card is in a target state, including: the first SIM card is in a high-throughput data transmission state; or the first SIM card is in a low-latency service state.
[0042] In the embodiment of the present application, the first SIM card is in the target state when the first SIM card needs to occupy more communication resources.
[0043] Wherein, when the first SIM card is in a high-throughput data transmission state, the data throughput of the first SIM card within a preset time period can be detected, and when it is detected that the data throughput of the first SIM card within the preset time period is greater than a preset threshold, it is determined that the first SIM card is in a high-throughput data transmission state. At this time, the connection with the base station through the second SIM card is disconnected, so that the communication resources of the first device are concentrated on the first SIM card, and the stability of the first device running the target application is ensured.
[0044] Exemplarily, the first device is a smart phone, the first SIM card is the main card of the smart phone, and the second SIM card is the secondary card of the smart phone. When a user conducts a video conference through a smart phone, since the first SIM card is the main card, the amount of data sent and received by the main card during the video conference on the smart phone is greater than the preset amount of data. To ensure the stability of the video conference, the communication connection of the secondary card is disconnected, and resources such as antennas and spectrum are concentrated on the communication between the main card and the base station, thereby avoiding the phenomenon of freezing during the video conference.
[0045] Wherein, by the first SIM card being in a low-latency service state, it is possible to detect whether the first device is running a target application, and when it is detected that the first device is running the target application, it is determined that the first SIM card is in a low-latency service state. At this time, the connection with the base station through the second SIM card is disconnected, so that the communication resources of the first device are concentrated on the first SIM card, thereby ensuring the efficiency of the first device in sending and receiving communication data through the first SIM card.
[0046] For example, the first device is a smartphone, the target application is a video application, the first SIM card is the primary card of the smartphone, and the second SIM card is the secondary card of the smartphone. When a user runs a video application on a smartphone to watch a video, the smartphone needs to receive a large amount of video data through the primary card. At this time, the communication connection of the secondary card is disconnected, and resources such as antennas and spectrum are concentrated on the communication between the primary card and the base station, which improves the communication quality between the primary card and the base station and avoids the phenomenon of freezing during video playback.
[0047] In the embodiment of the present application, when the first SIM card is in a high-throughput data transmission state, or the first SIM card is in a low-latency service state, it can be determined that the first device needs to communicate and interact with the base station for a large amount of data through the first SIM card. At this time, the communication connection between the second SIM card and the base station is controlled to be disconnected to ensure that the first SIM card of the first device has sufficient communication resources for communication and interaction of a large amount of data.
[0048] In some embodiments of the present application, the second device includes a virtual SIM card, and before the second device receives the communication data of the second SIM card, the method further includes: binding the virtual SIM card of the second device to the identity of the second SIM card.
[0049] In the embodiment of the present application, the second device includes a virtual SIM card. Before the second device communicates with the base station, it is necessary to configure an identity for the virtual SIM card, that is, to bind the virtual SIM card to the physical SIM card. By binding the virtual SIM card of the second device to the identity of the second SIM card in the first device, it is ensured that the second device can send and receive communication data of the second SIM card through the virtual SIM card.
[0050] Specifically, the virtual SIM card of the second device needs to be configured with the identity of the physical SIM card before it can communicate with the base station. The first device sends a first request to configure the virtual SIM card to the second device, and the first request includes the identity of the second SIM card. In response to the first request, the second device can bind the virtual SIM card in the second device to the identity of the second SIM card in the first device.
[0051] In the embodiment of the present application, before the first device receives the communication data of the second SIM card through the second device, the virtual SIM card in the second device is bound to the identity of the second SIM card, thereby ensuring that the second device can send and receive the communication data of the second SIM card.
[0052] In some embodiments of the present application, before the second SIM card establishes a communication connection with the second device, the method further includes: disconnecting the communication connection between the first device and the base station through the second SIM card.
[0053] In the embodiment of the present application, before the first device receives the communication data of the second SIM card through the second device, in order to ensure the communication quality of the first SIM card in the first device, the communication link between the second SIM card and the base station is disconnected, that is, the first device is controlled to stop receiving the communication data through the second SIM card.
[0054] During the process of data exchange between the first device and the base station through the first SIM card and the second SIM card, the communication resources of the first device are distributed to the first SIM card and the second SIM card. When the first device is in the target state, the first device disconnects the communication between the second SIM card and the base station. At this time, all communication resources are concentrated on the first SIM card to meet the communication needs of the first SIM card. Communication resources include one or a combination of the following: antenna resources, spectrum resources, and time resources.
[0055] In an embodiment of the present application, before receiving the communication data of the second SIM card through the second device, the communication link between the second SIM card in the first device and the base station is controlled, so that all communication resources of the first device are used for the communication of the first SIM card, thereby ensuring the communication effect of the first device through the first SIM card.
[0056] In some embodiments of the present application, after receiving the communication data of the second SIM card through the second device, it also includes: when the first SIM card is not in the target state and continues for a preset time, restoring the communication connection between the second SIM card and the base station, and disconnecting the communication link between the second SIM card and the second device.
[0057] In the embodiment of the present application, during the process in which the first device exchanges data with the base station only through the first SIM card, the status of the first SIM card is continuously detected. When it is detected that the first SIM is not in the target state and continues for a preset time, the communication function of the second SIM card is turned on, and the second device is controlled to stop sending and receiving communication data to the second SIM card.
[0058] Specifically, after the first device turns off the communication function of the second SIM card, if it detects that the first SIM card is in a high-throughput data transmission state or a low-latency service state, the current communication state is maintained, that is, the communication data of the first SIM card is sent and received through the first device, and the communication data of the second SIM card is sent and received through the second device. If it is detected that the first SIM card is not in a high-throughput data transmission state and is not in a low-latency service state, and the preset time is reached, it is determined that the communication resources of the first device can ensure that the first SIM card and the second SIM card communicate at the same time, and at this time, the second SIM card is controlled to resume the communication function, and the second device is controlled to stop receiving the communication data of the second SIM card.
[0059] In the embodiment of the present application, the first device continuously detects the operating status of the first SIM card. When it is detected that the first SIM card is not in the target state and the preset time is reached, the second SIM card is automatically controlled to resume communication, and the second device is controlled to stop sending and receiving communication data of the second SIM card, thereby achieving reasonable utilization of the communication resources of the first device and the second device, and avoiding waste of resources while ensuring that both the first SIM card and the second SIM card in the first device can communicate with high quality.
[0060] The communication method provided in the embodiment of the present application can be executed by a communication device. In the embodiment of the present application, the communication device provided in the embodiment of the present application is described by taking the communication device executing the communication method as an example.
[0061] Figure 4 The structure block diagram of the communication device provided in the embodiment of the present application is shown as follows: Figure 4 As shown, the communication device 400 includes:
[0062] The communication module 402 is used for establishing a communication connection between the second SIM card and the second device when the first SIM card is in the target state;
[0063] The receiving module 404 is configured to receive communication data of the second SIM card through the second device.
[0064] In the embodiment of the present application, when the first device meets the preset conditions, the communication data of the second SIM card of the first device is received through the second device, and the first device disconnects the communication connection between the second SIM card and the base station, thereby ensuring that the communication resources of the first device can be concentrated on the first SIM card, thereby improving the communication quality of the first device during communication through the first SIM card, and achieving the premise that the communication of the first device through the first SIM card and the second SIM card is not affected, the communication quality of the first device through the first SIM card is also improved.
[0065] In the embodiment of the present application, when the first device is a smart phone, the second device can be selected as a subordinate smart device of the smart phone, so that the communication resources of the subordinate smart device can be reasonably used when the smart phone has dual SIM cards and dual standby, and the communication quality of the first SIM card is not affected due to the second SIM card occupying the communication resources when the first SIM card of the smart phone has a large demand for communication resources. The user experience when using dual SIM cards and dual standby is improved.
[0066] In some embodiments of the present application, the first SIM card is in a target state, including: the first SIM card is in a high-throughput data transmission state; or the first SIM card is in a low-latency service state.
[0067] In the embodiment of the present application, when the first SIM card is in a high-throughput data transmission state, or the first SIM card is in a low-latency service state, it can be determined that the first device needs to communicate and interact with the base station for a large amount of data through the first SIM card. At this time, the communication connection between the second SIM card and the base station is controlled to be disconnected to ensure that the first SIM card of the first device has sufficient communication resources for communication and interaction of a large amount of data.
[0068] In some embodiments of the present application, the second device includes a virtual SIM card, and the communication apparatus further includes: a binding module, configured to bind the virtual SIM card of the second device to an identity identifier of the second SIM card.
[0069] In the embodiment of the present application, before the first device receives the communication data of the second SIM card through the second device, the virtual SIM card in the second device is bound to the identity of the second SIM card, thereby ensuring that the second device can send and receive the communication data of the second SIM card.
[0070] In some embodiments of the present application, the communication module 402 is further configured to disconnect the communication connection between the first device and the base station through the second SIM card.
[0071] In an embodiment of the present application, before receiving the communication data of the second SIM card through the second device, the communication link between the second SIM card in the first device and the base station is controlled, so that all communication resources of the first device are used for the communication of the first SIM card, thereby ensuring the communication effect of the first device through the first SIM card.
[0072] In some embodiments of the present application, the communication module 402 is further configured to restore the communication connection between the second SIM card and the base station and disconnect the communication link between the second SIM card and the second device when the first SIM card is not in the target state for a preset period of time.
[0073] In the embodiment of the present application, the first device continuously detects the operating status of the first SIM card. When it is detected that the first SIM card is not in the target state and the preset time is reached, the second SIM card is automatically controlled to resume communication, and the second device is controlled to stop sending and receiving communication data of the second SIM card, thereby achieving reasonable utilization of the communication resources of the first device and the second device, and avoiding waste of resources while ensuring that both the first SIM card and the second SIM card in the first device can communicate with high quality.
[0074] The communication device of the electronic device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0075] The communication device of the electronic device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0076] The communication device of the electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
[0077] Optionally, an embodiment of the present application further provides an electronic device, which includes a communication device of an electronic device as in any of the above embodiments, and thus has all the beneficial effects of the communication device of the electronic device in any of the embodiments, which will not be elaborated herein.
[0078] Optionally, an embodiment of the present application further provides an electronic device, Figure 5 A structural block diagram of an electronic device according to an embodiment of the present application is shown. Figure 5As shown, the electronic device 500 includes a processor 502, a memory 504, and a program or instruction stored in the memory 504 and executable on the processor 502. When the program or instruction is executed by the processor 502, each process of the above-mentioned communication method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0079] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0080] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0081] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610 and other components.
[0082] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0083] The processor 610 is configured to establish a communication connection between the second SIM card and the second device when the first SIM card is in the target state;
[0084] The processor 610 is configured to receive communication data of the second SIM card through the second device.
[0085] In the embodiment of the present application, when the first device meets the preset conditions, the communication data of the second SIM card of the first device is received through the second device, and the first device disconnects the communication connection between the second SIM card and the base station, thereby ensuring that the communication resources of the first device can be concentrated on the first SIM card, thereby improving the communication quality of the first device during communication through the first SIM card, and achieving the premise that the communication of the first device through the first SIM card and the second SIM card is not affected, the communication quality of the first device through the first SIM card is also improved.
[0086] In the embodiment of the present application, when the first device is a smart phone, the second device can be selected as a subordinate smart device of the smart phone, so that the communication resources of the subordinate smart device can be reasonably used when the smart phone has dual SIM cards and dual standby, and the communication quality of the first SIM card is not affected due to the second SIM card occupying the communication resources when the first SIM card of the smart phone has a large demand for communication resources. The user experience when using dual SIM cards and dual standby is improved.
[0087] Optionally, the first SIM card is in a target state, including: the first SIM card is in a high-throughput data transmission state; or the first SIM card is in a low-latency service state.
[0088] In the embodiment of the present application, when the first SIM card is in a high-throughput data transmission state, or the first SIM card is in a low-latency service state, it can be determined that the first device needs to communicate and interact with the base station for a large amount of data through the first SIM card. At this time, the communication connection between the second SIM card and the base station is controlled to be disconnected to ensure that the first SIM card of the first device has sufficient communication resources for communication and interaction of a large amount of data.
[0089] Optionally, the second device includes a virtual SIM card, and the processor 610 is configured to bind the virtual SIM card of the second device to an identity identifier of the second SIM card.
[0090] In the embodiment of the present application, before the first device receives the communication data of the second SIM card through the second device, the virtual SIM card in the second device is bound to the identity of the second SIM card, thereby ensuring that the second device can send and receive the communication data of the second SIM card.
[0091] Optionally, the processor 610 is configured to disconnect the communication connection between the first device and the base station through the second SIM card.
[0092] In an embodiment of the present application, before receiving the communication data of the second SIM card through the second device, the communication link between the second SIM card in the first device and the base station is controlled, so that all communication resources of the first device are used for the communication of the first SIM card, thereby ensuring the communication effect of the first device through the first SIM card.
[0093] Optionally, the processor 610 is configured to restore the communication connection between the second SIM card and the base station, and disconnect the communication link between the second SIM card and the second device when the first SIM card is not in the target state for a preset period of time.
[0094] In the embodiment of the present application, the first device continuously detects the operating status of the first SIM card. When it is detected that the first SIM card is not in the target state and the preset time is reached, the second SIM card is automatically controlled to resume communication, and the second device is controlled to stop sending and receiving communication data of the second SIM card, thereby achieving reasonable utilization of the communication resources of the first device and the second device, and avoiding waste of resources while ensuring that both the first SIM card and the second SIM card in the first device can communicate with high quality.
[0095] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include at least two parts of a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0096] The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 609 may include a volatile memory or a non-volatile memory, or the memory 609 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 609 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0097] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 610.
[0098] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0099] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0100] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned communication method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0101] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0102] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned communication method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0103] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0104] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0105] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A communication method, applied to a first device, characterized in that: The first device is provided with at least a first SIM card and a second SIM card, the first device is in communication connection with the second device, the second device can send and receive communication data of the second SIM card, and the communication method includes: When the first SIM card is in the target state, the second SIM card establishes a communication connection with the second device; receiving communication data of the second SIM card through the second device; The first SIM card being in the target state means that the first SIM card needs to occupy more communication resources; Before the second SIM card establishes a communication connection with the second device, the method further includes: disconnecting the communication connection between the first device and the base station through the second SIM card, so that all the communication resources of the first device are used for the communication connection of the first SIM card; After receiving the communication data of the second SIM card through the second device, the method further includes: When the first SIM card is not in the target state for a preset period of time, the second SIM card is automatically controlled to restore the communication connection between the second SIM card and the base station, and disconnect the communication link between the second SIM card and the second device.
2. The communication method according to claim 1, characterized in that: The first SIM card is in a target state, including: The first SIM card is in a high-throughput data transmission state; or The first SIM card is in a low-latency service state.
3. The communication method according to claim 1, characterized in that: The second device includes a virtual SIM card, and before the second device receives the communication data of the second SIM card, the method further includes: Bind the virtual SIM card of the second device to the identity identifier of the second SIM card.
4. A communication device, applied to a first device, characterized in that: The first device is provided with at least a first SIM card and a second SIM card, the first device is communicatively connected with the second device, the second device can send and receive communication data of the second SIM card, and the communication device includes: a communication module, configured to establish a communication connection between the second SIM card and the second device when the first SIM card is in a target state; A receiving module, used for receiving communication data of the second SIM card through the second device; The first SIM card being in the target state means that the first SIM card needs to occupy more communication resources; The communication module is further used to disconnect the communication connection between the first device and the base station through the second SIM card, so that the communication resources of the first device are all used for the communication connection of the first SIM card; The communication module is further configured to automatically control the second SIM card to restore the communication connection between the second SIM card and the base station, and disconnect the communication link between the second SIM card and the second device when the first SIM card is not in the target state for a preset period of time.
5. The communication device according to claim 4, characterized in that: The first SIM card is in a target state, including: The first SIM card is in a high-throughput data transmission state; or The first SIM card is in a low-latency service state.
6. The communication device according to claim 4, characterized in that: The second device includes a virtual SIM card, and the communication apparatus further includes: The binding module is used to bind the virtual SIM card of the second device to the identity identifier of the second SIM card.
7. An electronic device, characterized in that: include: A memory on which programs or instructions are stored; A processor, configured to implement the steps of the communication method according to any one of claims 1 to 3 when executing the program or instruction.
8. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the steps of the communication method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Communication method and device
CN114630313A
Method For Improving Data Throughput In Multiple-SIM Communication Apparatus
US20180270649A1
