CN117395618B - Data link switching method, device, storage medium and chip - Google Patents

Data link switching method, device, storage medium and chip Download PDF

Info

Publication number
CN117395618B
CN117395618B CN202311361818.1A CN202311361818A CN117395618B CN 117395618 B CN117395618 B CN 117395618B CN 202311361818 A CN202311361818 A CN 202311361818A CN 117395618 B CN117395618 B CN 117395618B
Authority
CN
China
Prior art keywords
data
link
data link
service
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311361818.1A
Other languages
Chinese (zh)
Other versions
CN117395618A (en
Inventor
陈龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202311361818.1A priority Critical patent/CN117395618B/en
Publication of CN117395618A publication Critical patent/CN117395618A/en
Application granted granted Critical
Publication of CN117395618B publication Critical patent/CN117395618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/56Allocation or scheduling criteria for wireless resources based on priority criteria
    • H04W72/566Allocation or scheduling criteria for wireless resources based on priority criteria of the information or information source or recipient
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure relates to a data link switching method, a device, a storage medium and a chip, and relates to the field of communication, wherein the method comprises the following steps: when the terminal equipment is switched from double-card double-pass to double-card double-standby, determining a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment; and determining a data link for data transmission of the data service after switching to the dual-card dual-standby in the first data link and the second data link according to the priorities of the first data service and the second data service. When the terminal equipment is switched from double-card double-pass to double-card double-standby, the data links used by the data services are switched according to the priority of the two-card data services, so that the problem of data service interruption caused by the fact that the SIM card cannot perform data transmission can be avoided, and the influence on user experience is enhanced.

Description

Data link switching method, device, storage medium and chip
Technical Field
The present disclosure relates to the field of communications, and in particular, to a data link switching method, device, storage medium, and chip.
Background
With the development of communication technology, the terminal device can support dual-card bi-pass (Dual SIM Dual Active, DSDA) and dual-card concurrent data, i.e. allow the terminal device to simultaneously support two SIM cards and keep active, which means that even if one SIM card is talking or using data, the other SIM card can still receive signals and talking; this also means that the terminal device can use the mobile data network to perform web browsing, social media and other operations on both SIM cards simultaneously. However, in practical applications, the SIM card may not perform data transmission due to network signals or calls, and the data service using the SIM card may be interrupted, thereby affecting the user experience.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a data link switching method, apparatus, storage medium, and chip.
According to a first aspect of embodiments of the present disclosure, there is provided a data link switching method applied to a terminal device, where the terminal device supports dual-card dual-pass and dual-card dual-standby, including:
when the terminal equipment is switched from double-card double-pass to double-card double-standby, determining a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment;
And determining a data link for data transmission of the data service after switching to the double-card double-standby in the first data link and the second data link according to the priorities of the first data service and the second data service.
Optionally, the determining the first data traffic using the first data link and the second data traffic using the second data link includes:
acquiring the first data service for data transmission through the first data link and the second data service for data transmission through the second data link in the terminal equipment;
and acquiring the priorities of the first data service and the second data service.
Optionally, the acquiring the priority of the first data service and the second data service includes:
acquiring the service type of the first data service and the service type of the second data service;
and determining the priority of the first data service and the second data service according to the service type.
Optionally, the acquiring the priority of the first data service and the second data service includes:
acquiring an application program of the first data service and an application program of the second data service;
And determining the priority of the first data service and the second data service according to the application program.
Optionally, the determining, according to the priorities of the first data service and the second data service, a data link for data transmission of data service after switching to the dual-card dual-standby in the first data link and the second data link includes:
determining the data service with the highest priority in the first data service and the second data service;
determining a data link used by the data service with the highest priority as a target link in the first data link and the second data link;
and determining the target link as a data link for data transmission of the data service after switching to the double-card double-standby.
Optionally, the determining, among the first data link and the second data link, the data link used by the data service with the highest priority as the target link includes:
when the data link used by the data service with the highest priority is the first data link, determining that the first data link is the target link;
When the data link used by the data service with the highest priority is the second data link, determining the first data link as the target link;
and when at least two data services with the highest priority use the first data link and the second data link respectively, determining the data link belonging to the main card in the first data link and the second data link as the target link.
Optionally, the determining, among the first data link and the second data link, the data link used by the data service with the highest priority as the target link further includes:
determining the second data link as the target link when the second data traffic is present and the first data traffic is absent;
and determining the first data link as the target link when the first data service exists and the second data service does not exist.
Optionally, the method further comprises:
and when the terminal equipment is switched from double-card double-standby to double-card double-pass, carrying out data transmission on the first data service through the first data link, and carrying out data transmission on the second data service through the second data link.
Optionally, when the terminal device is in dual-card dual-pass, the method further comprises:
when the first data link is cut off, carrying out data transmission on the first data service and the second data service through the second data link;
or when the second data link is cut off, carrying out data transmission on the first data service and the second data service through the first data link.
According to a second aspect of the embodiments of the present disclosure, there is provided a data link switching apparatus, including:
a determining module configured to determine a first data service using a first data link and a second data service using a second data link when the terminal device is switched from dual-card dual-pass to dual-card dual-standby; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment;
and the control module is configured to determine a data link for data transmission of the data service after switching to the dual-card dual-standby in the first data link and the second data link according to the priority of the first data service and the second data service.
According to a third aspect of the embodiments of the present disclosure, there is provided a data link switching apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: executing the executable instructions to implement the steps of the data link switching method of any one of the first aspects of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the data link switching method provided by the first aspect of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a chip comprising a processor and an interface; the processor is configured to read instructions to perform the step of data link switching of any of the first aspects above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in the above technical solution, when the terminal device switches from dual-card dual-pass to dual-card dual-standby, determining a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment; and determining a data link for data transmission of the data service after switching to the dual-card dual-standby in the first data link and the second data link according to the priorities of the first data service and the second data service. According to the technical scheme, when the terminal equipment is switched from double-card double-pass to double-card double-standby, the data links used by the data services are switched according to the priority of the two-card data services, so that the problem of data service interruption caused by the fact that the SIM card cannot perform data transmission can be avoided, and the influence on user experience is enhanced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 3 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 4 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 5 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 6 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 7 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 8 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 9 is a flow chart illustrating a method of data link handoff according to an example embodiment.
Fig. 10 is a block diagram illustrating a data link switching apparatus 1000 according to an example embodiment.
Fig. 11 is a block diagram illustrating a data link switching apparatus 1100 according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, all actions for acquiring signals, information or data in the present disclosure are performed under the condition of conforming to the corresponding data protection rule policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
Fig. 1 is a flowchart illustrating a data link switching method according to an exemplary embodiment, and the method is applied to a terminal device as shown in fig. 1, and includes the following steps:
In step S11, when the terminal device switches from dual-card dual-pass to dual-card dual-standby, determining a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal device, and the second data link is a data link of a second card of the terminal device.
The terminal device is illustratively a UE (User Equipment) supporting dual-card dual-pass (Dual SIM Dual Active, DSDA) and dual-card dual-standby (Dual SIM Dual Standby, DSDS) functions, and may be, for example, a mobile phone, a tablet, a watch, or other devices having dual-card dual-pass DSDA and dual-card dual-standby DSDS. The dual-card dual-pass DSDA refers to terminal equipment in which two SIM cards in the terminal equipment are mutually independent and are provided with receiving and transmitting antennas, and the terminal equipment supporting the dual-card dual-pass DSDA can simultaneously and actively receive telephones or short messages from the two SIM cards; when one card is talking, the other card can also receive the incoming call, and the user can answer or switch according to the needs; in addition, both SIM cards can simultaneously maintain network connection, and a user can select which card to use for data communication according to the needs. When one SIM card is used for talking, the other SIM card is in standby state, i.e. the two cards cannot answer the phone at the same time; alternatively, when one card is using network data, the other Zhang Kake can temporarily lose network connectivity; in this mode, the terminal device can switch different SIM cards to realize conversion of call and data functions. The first card and the second card may be two SIM cards in the terminal device, where one of the first card and the second card is a primary card, and the other is a secondary card. It will be appreciated that in embodiments of the present disclosure, SIM cards include, but are not limited to: standard SIM card, mini SIM card, micro SIM card, nano SIM card, eSIM (Embedded-SIM) card. It will be appreciated that the first and second cards may be other types of telephone cards, such as UIM (User Identity Module ) cards, in addition to SIM cards.
In step S12, according to the priorities of the first data service and the second data service, a data link for data transmission of the data service after switching to the dual card dual standby is determined in the first data link and the second data link.
For example, when two SIM cards are inserted into the terminal device and the terminal device is in a dual-card dual-pass DSDA, dual-card data services may be concurrent, that is, the first SIM card transmits the data services through the first data link, and the second SIM card transmits the data services through the first data link; the data service may include an application used by a user in the terminal device, an application running in the background, a component running in the system, and the like, which need to use data. The data link may also be called a data channel, and may be used for data transmission of a data service, when the terminal device is switched from a dual-card dual-pass DSDA to a dual-card dual-standby DSDS, the terminal device is switched from a state where data of the first data link and data of the second data link can be used in parallel to a state where only one of the data links can be used, that is, data transmission can be performed only through one SIM card under the dual-card dual-standby DSDS, so that one link needs to be selected from the first data link and the second data link as the data link of the data service.
At this time, a data link for data transmission of the data service under the dual-card dual-standby DSDS may be determined in the first data link and the second data link according to the priority levels of the first data service and the second data service.
Because data transmission can be carried out only through one SIM card under the dual-card dual-standby DSDS, one data link in the first data link and the second data link cannot be carried out, when the second data link is selected as the data link for data transmission of data service under the dual-card dual-standby DSDS, the first data link cannot carry out data transmission, and the data link used by the first data service can be switched to the second data link; or when the first data link is selected as the data link for data transmission of the data service under the dual-card dual-standby DSDS, the second data link cannot transmit data, and the data link used by the second data service can be switched to the first data link.
In the above technical solution, when the terminal device switches from dual-card dual-pass to dual-card dual-standby, determining a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment; and determining a data link for data transmission of the data service after switching to the dual-card dual-standby in the first data link and the second data link according to the priorities of the first data service and the second data service. According to the technical scheme, when the terminal equipment is switched from double-card double-pass to double-card double-standby, the data links used by the data services are switched according to the priority of the two-card data services, so that the problem of data service interruption caused by the fact that the SIM card cannot perform data transmission can be avoided, and the influence on user experience is enhanced.
Fig. 2 is a flowchart illustrating a data link switching method according to an exemplary embodiment, as shown in fig. 2, step S11 includes the steps of:
in step S111, the first data service for data transmission through the first data link and the second data service for data transmission through the second data link in the terminal device are acquired.
For example, the terminal device may perform data transmission on a plurality of different data services using the first data link and the second data link, respectively; i.e. a plurality of data services may use a first data link and other plurality of data services may also use a second data link; thus, a first data service using a first data link as described in this disclosure may contain multiple data services, and a second data service using a second data link may also contain multiple data services.
In step S112, the priorities of the first data service and the second data service are acquired.
The priority of a data service may be automatically allocated by the terminal device when the user opens the data service, or the priority of the data service may be built in the terminal device, or the priority of different data services may be adjusted in real time by the terminal device according to the frequency of use of the data service; wherein multiple data traffic may have the same priority. In summary, the present disclosure does not limit the manner of setting the priority of the data service in the terminal device. In addition, when the terminal device opens a certain data service, the first data link or the second data link is used, the terminal device may allocate according to the use condition of the data link (such as traffic, the number of data services using the data link, etc.), or randomly select the data link, which data link is used by a certain data service is not limited by the present disclosure.
Fig. 3 is a flowchart illustrating a data link switching method according to an exemplary embodiment, as shown in fig. 3, step S112 includes the steps of:
in step S1121, the service type of the first data service and the service type of the second data service are acquired.
In step S1122, the priorities of the first data service and the second data service are determined according to the service type.
For example, the terminal device may assign different priorities to different types of data services, the classification methods for the service types in the different terminal devices may be different, and the priorities of the different service types may be different, which is not limited in the present disclosure. When the terminal equipment is switched from the dual-card dual-pass DSDA to the dual-card dual-standby DSDS, the priority corresponding to the data service can be determined through the service types of different data services. In general, the service types of the data service in the terminal device may include: the priorities (the greater the number, the higher the priority) of the different service types can be as shown in the following table 1:
for example, when the terminal device is switched from the dual-card dual-pass DSDA to the dual-card dual-standby DSDS, 3 data services using the first data link are respectively a game 1, a banking software and a security manager of the terminal device, and the service type corresponding to the game 1 is a game, and the priority is 5; the business type corresponding to the certain bank software is financial and financial, and the priority is 2; the corresponding service type of the security manager is system application, and the priority is 1. 2 data services using the second data link are respectively a game 2 and a video software, and the service type corresponding to the game 2 is a game, and the priority is 5; the service type corresponding to the video software is video and audio, and the priority is 3.
Fig. 4 is a flowchart illustrating a data link switching method according to an exemplary embodiment, as shown in fig. 4, step S112 includes the steps of:
in step S1123, the application to which the first data service belongs and the application to which the second data service belongs are acquired.
In step S1124, priorities of the first data service and the second data service are determined according to the application program.
For example, the terminal device may treat an application as a data service, assign different priorities to different applications, and the priority settings of the applications in different terminal devices may be different, which is not limited by the present disclosure. When the terminal equipment is switched from the dual-card dual-pass DSDA to the dual-card dual-standby DSDS, the priority corresponding to the data service can be determined through the application programs corresponding to different data services. The priorities (the greater the number, the higher the priority) of the different applications may be as shown in table 2 below:
for example, when the terminal device switches from the dual-card dual-pass DADA to the dual-card dual-standby DSDS, there are 1 data services using the first data link, and the corresponding application program is application program 2, and then the priority of the application program 2 is 2; 3 data services using the second data link, wherein the corresponding application programs are application program 1, application program 3 and application program 4 respectively, and the priority of the application program 1 is 1; the priority of the application 3 is 3; the application 4 has a priority of 4.
Fig. 5 is a flowchart illustrating a data link switching method according to an exemplary embodiment, and as shown in fig. 5, step S12 includes the steps of:
in step S121, among the first data service and the second data service, the data service with the highest priority is determined.
In step S122, among the first data link and the second data link, the data link used by the data service with the highest priority is determined as the target link.
In step S123, the target link is determined as a data link for data transmission of the data service after switching to the dual card dual standby.
In the above embodiment, the terminal device may acquire priorities of a plurality of data services using the first data link and the second data link, and use a data link used by a data service having a highest priority as a target link, and when the terminal device is switched from the dual card dual access DSDA to the dual card dual standby DSDS, the data service running in the terminal device may perform data transmission only through one data link, and therefore, the data links used by the first data service and the second data service may be switched to the target links.
Fig. 6 is a flowchart illustrating a data link switching method according to an exemplary embodiment, as shown in fig. 6, step S122 includes the steps of:
in step S1221, when the data link used by the data service with the highest priority is the first data link, the first data link is determined to be the target link.
For example, when the first data service includes a plurality of data services and the second data service also includes a plurality of data services, if the data service with the highest priority is obtained from the first data service according to the method described in the foregoing embodiment, the first data link used by the first data service may be used as the target link.
In step S1222, when the data link used by the data service with the highest priority is the second data link, the first data link is determined to be the target link.
For example, when the first data service includes a plurality of data services and the second data service also includes a plurality of data services, if the data service with the highest priority is obtained from the second data service according to the method described in the foregoing embodiment, the second data link used by the second data service may be used as the target link.
In step S1223, when there are at least two data traffic with highest priority using the first data link and the second data link, respectively, the data link belonging to the host card among the first data link and the second data link is determined as the target link.
For example, when two SIM cards are included in the terminal device, one SIM card is typically used as a main card, and the other SIM card is typically used as a sub-card. When the first data service includes a plurality of data services and the second data service also includes a plurality of data services, if two data services with the highest priority are obtained according to the method described in the above embodiment, and the two data services with the highest priority use a first data link and a second data link respectively, at this time, if the first data link is a main card link, the first data link is determined to be a target link; and if the second data link is the main card link, determining the second data link as a target link. In addition, in another possible embodiment, when the first data traffic includes N data traffic with highest priority and the second data traffic includes data traffic with highest priority, the data link of the main card may be determined as the target data link when m=n; when M is more than or equal to N, the first data link can be determined to be a target data link; when M < N, then the second data link may be determined to be the target data link. In another possible embodiment, when the first data traffic includes K data traffic and the second data traffic includes J data traffic, and K is greater than or equal to J, the first data link may be determined to be the target data link; when K < J, then the first data link may be determined to be the target data link.
Optionally, step S122 further includes the steps of:
and determining the second data link as the target link when the second data traffic is present and the first data traffic is not present.
And determining the first data link as the target link when the first data service exists and the second data service does not exist.
Alternatively, when there is a second data service and there is no first data service, it indicates that the first data link is not used, in which case the second data link may be used as the target link when the terminal device is switched from the dual card dual pass DSDA to the dual card dual standby DSDS. Or when the first data service exists and the second data service does not exist, the second data link is not used, in which case, when the terminal device is switched from the dual-card dual-pass DSDA to the dual-card dual-standby DSDS, the first data link may be used as the target link. The scheme can effectively avoid the interruption of data transmission of the data service caused by the switching of the data link.
Fig. 7 is a flowchart illustrating a data link switching method according to an exemplary embodiment, and the method further includes the steps of:
In step S13, when the terminal device switches from dual-card dual-standby to dual-card dual-pass, data transmission is performed on the first data service through the first data link, and data transmission is performed on the second data service through the second data link.
In an exemplary embodiment, when the terminal device is switched from the dual-card dual-standby DSDS to the dual-card dual-pass DSDA, the first data link and the second data link may both perform data transmission of the data service, and at this time, data transmission is performed on the first data service through the first data link, and data transmission is performed on the second data service through the second data link, which can effectively avoid problems of data transmission delay and data service blocking caused by network speed, signal strength, bandwidth and the like when one data link performs data transmission on a plurality of data services.
Fig. 8 is a flowchart illustrating a data link switching method according to an exemplary embodiment, and as shown in fig. 8, when the terminal device is in a dual card dual pass DSDA, the method further includes the steps of:
in step S14, when the first data link is disconnected, data transmission is performed on the first data service and the second data service through the second data link.
For example, a break of a data link of a terminal device may refer to a situation in which in network communication, a data connection break or interruption state between the terminal device and the network persists. Such outage conditions may be caused by network failures, equipment failures, signal interference, communication protocol problems, and the like. When the data link of the terminal equipment is cut off, the terminal equipment cannot perform normal data exchange and communication with the network. This means that the terminal device cannot send or receive data, which may cause problems such as inability to access the internet, inability to receive messages, and inability to make a real-time call. Therefore, when the first data link is cut off, the first data service using the first data link may not perform data transmission, so as to influence the use experience of the user; at this time, the first data traffic and the second data traffic may be data-transmitted over the second data link. Or when the disconnection of the first data link does not restore the connection state within the designated time, the data transmission can be performed on the first data service and the second data service through the second data link. In summary, when the first data link is disconnected and restored to the connection state, the data transmission can be performed on the first data service through the first data link, and the data transmission can be performed on the second data service through the second data link.
Fig. 9 is a flowchart illustrating a data link switching method according to an exemplary embodiment, and as shown in fig. 9, when the terminal device is in a dual card dual pass DSDA, the method further includes the steps of:
in step S15, when the second data link is disconnected, data transmission is performed on the first data service and the second data service through the first data link.
For example, when the second data link is disconnected, data transmission can be performed on the first data service and the second data service through the first data link; or when the disconnection of the second data link is not recovered in the specified time, the data transmission can be carried out on the first data service and the second data service through the first data link. In summary, when the second data link is disconnected and restored to the connection state, the first data service may be transmitted through the first data link, and the second data service may be transmitted through the second data link.
In addition, in the embodiments described in the present disclosure, when the first data link or the second data link performs data transmission on a plurality of data services, the plurality of data services may be data-transmitted in order from high to low by the priority of the plurality of data services; the service data with higher priority can be transmitted first, and the user experience is improved.
In the above technical solution, when the terminal device switches from dual-card dual-pass to dual-card dual-standby, determining a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment; and determining a data link for data transmission of the data service after switching to the dual-card dual-standby in the first data link and the second data link according to the priorities of the first data service and the second data service. According to the technical scheme, when the terminal equipment is switched from double-card double-pass to double-card double-standby, the data links used by the data services are switched according to the priority of the two-card data services, so that the problem of data service interruption caused by the fact that the SIM card cannot perform data transmission can be avoided, and the influence on user experience is enhanced.
Fig. 10 is a block diagram illustrating a data link switching apparatus 1000 according to an example embodiment. Referring to fig. 10, the apparatus 1000 includes: a determination module 1001 and a control module 1002.
The determining module 1001 is configured to determine, when the terminal device switches from dual-card dual-pass to dual-card dual-standby, a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment;
The control module 1002 is configured to determine, among the first data link and the second data link, a data link for data transmission of a data service after switching to the dual card dual standby according to priorities of the first data service and the second data service.
Optionally, the determining module 1001 includes: the device comprises a first acquisition sub-module and a second acquisition sub-module;
the first acquisition sub-module is configured to acquire the first data service of the terminal equipment for data transmission through the first data link and the second data service of the terminal equipment for data transmission through the second data link;
the second acquisition sub-module is configured to acquire priorities of the first data service and the second data service.
Optionally, the second acquisition sub-module is configured to:
acquiring the service type of the first data service and the service type of the second data service;
and determining the priority of the first data service and the second data service according to the service type.
Optionally, the second acquisition sub-module is configured to:
acquiring an application program to which the first data service belongs and an application program to which the second data service belongs;
And determining the priority of the first data service and the second data service according to the application program.
Optionally, the control module 1002 includes: the system comprises a first determining submodule, a second determining submodule and a control submodule;
the first determining submodule is configured to determine the data service with the highest priority in the first data service and the second data service;
the second determining submodule is configured to determine a data link used by the data service with the highest priority as a target link in the first data link and the second data link;
the control submodule is configured to determine the target link as a data link for data transmission of the data service after switching to the dual-card dual-standby.
Optionally, the second determination submodule is configured to:
when the data link used by the data service with the highest priority is the first data link, determining the first data link as the target link;
when the data link used by the data service with the highest priority is the second data link, determining the first data link as the target link;
and when at least two data services with the highest priority use the first data link and the second data link respectively, determining the data link belonging to the main card in the first data link and the second data link as the target link.
Optionally, the second determination submodule is configured to:
determining the second data link as the target link when the second data traffic is present and the first data traffic is not present;
and determining the first data link as the target link when the first data service exists and the second data service does not exist.
Optionally, the control module 1002 is further configured to: when the terminal equipment is switched from double-card double-standby to double-card double-pass, the first data service is subjected to data transmission through the first data link, and the second data service is subjected to data transmission through the second data link.
Optionally, the control module 1002 is further configured to: when the first data link is cut off, data transmission is carried out on the first data service and the second data service through the second data link;
or when the second data link is cut off, data transmission is performed on the first data service and the second data service through the first data link.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In the above technical solution, when the terminal device switches from dual-card dual-pass to dual-card dual-standby, determining a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment; and determining a data link for data transmission of the data service after switching to the dual-card dual-standby in the first data link and the second data link according to the priorities of the first data service and the second data service. According to the technical scheme, when the terminal equipment is switched from double-card double-pass to double-card double-standby, the data links used by the data services are switched according to the priority of the two-card data services, so that the problem of data service interruption caused by the fact that the SIM card cannot perform data transmission can be avoided, and the influence on user experience is enhanced.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the data link switching method provided by the present disclosure.
Fig. 11 is a block diagram illustrating an apparatus 1100 for data link switching according to an example embodiment. For example, apparatus 1100 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 11, apparatus 1100 may include one or more of the following components: a processing component 1102, a memory 1104, a power component 1106, a multimedia component 1108, an audio component 1110, an input/output interface 1112, a sensor component 1114, and a communication component 1116.
The processing component 1102 generally controls overall operation of the apparatus 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1102 may include one or more processors 1120 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1102 can include one or more modules that facilitate interactions between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
Memory 1104 is configured to store various types of data to support operations at apparatus 1100. Examples of such data include instructions for any application or method operating on the device 1100, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1104 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 1106 provides power to the various components of the device 1100. The power supply component 1106 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1100.
Multimedia component 1108 includes a screen between the device 1100 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, multimedia component 1108 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1100 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1110 is configured to output and/or input an audio signal. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the device 1100 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio component 1110 further comprises a speaker for outputting audio signals.
Input/output interface 1112 provides an interface between processing component 1102 and peripheral interface modules, which may be keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1114 includes one or more sensors for providing status assessment of various aspects of the apparatus 1100. For example, the sensor assembly 1114 may detect the on/off state of the device 1100, the relative positioning of the components, such as the display and keypad of the device 1100, the sensor assembly 1114 may also detect a change in position of the device 1100 or a component of the device 1100, the presence or absence of user contact with the device 1100, the orientation or acceleration/deceleration of the device 1100, and a change in temperature of the device 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1116 is configured to facilitate communication between the apparatus 1100 and other devices in a wired or wireless manner. The device 1100 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1116 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1116 further includes a Near Field Communication (NFC) module to facilitate short range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1100 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the data link switching methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 1104, including instructions executable by processor 1120 of apparatus 1100 to perform the data link switching method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
The apparatus may be a stand-alone electronic device or may be part of a stand-alone electronic device, for example, in one embodiment, the apparatus may be an integrated circuit (Integrated Circuit, IC) or a chip, where the integrated circuit may be an IC or may be a collection of ICs; the chip may include, but is not limited to, the following: GPU (Graphics Processing Unit, graphics processor), CPU (Central Processing Unit ), FPGA (Field Programmable Gate Array, programmable logic array), DSP (Digital Signal Processor ), ASIC (Application Specific Integrated Circuit, application specific integrated circuit), SOC (System on Chip, SOC, system on Chip or System on Chip), etc. The integrated circuit or chip may be configured to execute executable instructions (or code) to implement the data link switching method described above. The executable instructions may be stored on the integrated circuit or chip or may be retrieved from another device or apparatus, such as the integrated circuit or chip including a processor, memory, and interface for communicating with other devices. The executable instructions may be stored in the memory, which when executed by the processor implement the data link switching method described above; alternatively, the integrated circuit or chip may receive the executable instructions through the interface and transmit the executable instructions to the processor for execution to implement the data link switching method described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above described data link switching method when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. A data link switching method, which is applied to a terminal device, wherein the terminal device supports dual-card dual-pass and dual-card dual-standby, the method comprising:
When the terminal equipment is switched from double-card double-pass to double-card double-standby, determining a first data service using a first data link and a second data service using a second data link; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment;
and determining a data link for data transmission of the data service after switching to the dual-card dual-standby in the first data link and the second data link according to the priorities of the first data service and the second data service, wherein the data service comprises the first data service and the second data service.
2. The method of claim 1, wherein the determining the first data traffic using the first data link and the second data traffic using the second data link comprises:
acquiring the first data service for data transmission through the first data link and the second data service for data transmission through the second data link in the terminal equipment;
and acquiring the priorities of the first data service and the second data service.
3. The method of claim 2, wherein the acquiring the priority of the first data traffic and the second data traffic comprises:
acquiring the service type of the first data service and the service type of the second data service;
and determining the priority of the first data service and the second data service according to the service type.
4. The method of claim 2, wherein the acquiring the priority of the first data traffic and the second data traffic comprises:
acquiring an application program of the first data service and an application program of the second data service;
and determining the priority of the first data service and the second data service according to the application program.
5. The method according to claim 1, wherein determining, among the first data link and the second data link, a data link for data transmission of data traffic after switching to the dual card dual standby according to priorities of the first data traffic and the second data traffic comprises:
determining the data service with the highest priority in the first data service and the second data service;
Determining a data link used by the data service with the highest priority as a target link in the first data link and the second data link;
and determining the target link as a data link for data transmission of the data service after switching to the double-card double-standby.
6. The method of claim 5, wherein the determining, among the first data link and the second data link, the data link used by the data traffic with the highest priority as the target link comprises:
when the data link used by the data service with the highest priority is the first data link, determining that the first data link is the target link;
when the data link used by the data service with the highest priority is the second data link, determining the first data link as the target link;
and when at least two data services with the highest priority use the first data link and the second data link respectively, determining the data link belonging to the main card in the first data link and the second data link as the target link.
7. The method of claim 5, wherein the determining, among the first data link and the second data link, the data link used by the data traffic with the highest priority as the target link further comprises:
Determining the second data link as the target link when the second data traffic is present and the first data traffic is absent;
and determining the first data link as the target link when the first data service exists and the second data service does not exist.
8. The method according to claim 1, wherein the method further comprises:
and when the terminal equipment is switched from double-card double-standby to double-card double-pass, carrying out data transmission on the first data service through the first data link, and carrying out data transmission on the second data service through the second data link.
9. The method of claim 1, wherein when the terminal device is in dual card dual pass, the method further comprises:
when the first data link is cut off, carrying out data transmission on the first data service and the second data service through the second data link;
or when the second data link is cut off, carrying out data transmission on the first data service and the second data service through the first data link.
10. A data link switching apparatus, comprising:
A determining module configured to determine a first data service using a first data link and a second data service using a second data link when the terminal device is switched from dual-card dual-pass to dual-card dual-standby; the first data link is a data link of a first card of the terminal equipment, and the second data link is a data link of a second card of the terminal equipment;
and the control module is configured to determine a data link used for data transmission of the data service after switching to the dual-card dual-standby in the first data link and the second data link according to the priority of the first data service and the second data service, wherein the data service comprises the first data service and the second data service.
11. A data link switching apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: executing the executable instructions to implement the steps of the method of any one of claims 1-9.
12. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1 to 9.
13. A chip, comprising a processor and an interface; the processor is configured to read instructions to perform the method of any one of claims 1-9.
CN202311361818.1A 2023-10-19 2023-10-19 Data link switching method, device, storage medium and chip Active CN117395618B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311361818.1A CN117395618B (en) 2023-10-19 2023-10-19 Data link switching method, device, storage medium and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311361818.1A CN117395618B (en) 2023-10-19 2023-10-19 Data link switching method, device, storage medium and chip

Publications (2)

Publication Number Publication Date
CN117395618A CN117395618A (en) 2024-01-12
CN117395618B true CN117395618B (en) 2024-03-01

Family

ID=89438627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311361818.1A Active CN117395618B (en) 2023-10-19 2023-10-19 Data link switching method, device, storage medium and chip

Country Status (1)

Country Link
CN (1) CN117395618B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193419A (en) * 2023-02-15 2023-05-30 维沃移动通信有限公司 Communication method, device and equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287255A (en) * 2008-05-30 2008-10-15 德信智能手机技术(北京)有限公司 Data connecting method and apparatus for dual-card and dual-standby mobile terminal
CN102158824A (en) * 2011-04-18 2011-08-17 中兴通讯股份有限公司 Method and system for receiving and sending multimedia message based on dual-mode terminal as well as terminal
CN105744650A (en) * 2014-12-11 2016-07-06 联芯科技有限公司 Dual-standby dual-pass terminal
CN106358177A (en) * 2016-09-12 2017-01-25 中国联合网络通信集团有限公司 Communication method and communication device on basis of double-card and double-standby terminals
CN109314736A (en) * 2017-03-24 2019-02-05 华为技术有限公司 A kind of communication means that realizing dual-card dual-standby dual-pass and terminal
CN111404623A (en) * 2020-03-13 2020-07-10 北京小米移动软件有限公司 Data transmission method, device and storage medium based on mobile network
CN111417140A (en) * 2020-02-26 2020-07-14 翁磊 Wireless dual-channel communication method, system, equipment and computer equipment
CN112153759A (en) * 2020-09-23 2020-12-29 北京小米移动软件有限公司 Communication method and device of dual-card terminal
CN113660653A (en) * 2021-08-30 2021-11-16 联想(北京)有限公司 Transmission method, transmission device and electronic equipment
CN113766484A (en) * 2021-09-07 2021-12-07 北京小米移动软件有限公司 Communication method, communication apparatus, storage medium, and electronic device
CN113766489A (en) * 2020-06-01 2021-12-07 中国电信股份有限公司 Terminal communication control method, device, storage medium and terminal
CN113905425A (en) * 2021-12-09 2022-01-07 荣耀终端有限公司 Data service switching method and device, electronic equipment and readable storage medium
CN114710838A (en) * 2022-06-06 2022-07-05 深圳小米通讯技术有限公司 User equipment service processing method, device, user equipment and storage medium
CN116193419A (en) * 2023-02-15 2023-05-30 维沃移动通信有限公司 Communication method, device and equipment
CN116709583A (en) * 2022-12-30 2023-09-05 荣耀终端有限公司 Method and device for realizing double-card double-pass

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9066330B2 (en) * 2013-09-30 2015-06-23 Qualcomm Incorporated Simultaneous voice and data for Dual-SIM-Dual-Standby (DSDS) wireless device

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287255A (en) * 2008-05-30 2008-10-15 德信智能手机技术(北京)有限公司 Data connecting method and apparatus for dual-card and dual-standby mobile terminal
CN102158824A (en) * 2011-04-18 2011-08-17 中兴通讯股份有限公司 Method and system for receiving and sending multimedia message based on dual-mode terminal as well as terminal
CN105744650A (en) * 2014-12-11 2016-07-06 联芯科技有限公司 Dual-standby dual-pass terminal
CN106358177A (en) * 2016-09-12 2017-01-25 中国联合网络通信集团有限公司 Communication method and communication device on basis of double-card and double-standby terminals
CN109314736A (en) * 2017-03-24 2019-02-05 华为技术有限公司 A kind of communication means that realizing dual-card dual-standby dual-pass and terminal
CN111417140A (en) * 2020-02-26 2020-07-14 翁磊 Wireless dual-channel communication method, system, equipment and computer equipment
CN111404623A (en) * 2020-03-13 2020-07-10 北京小米移动软件有限公司 Data transmission method, device and storage medium based on mobile network
CN113766489A (en) * 2020-06-01 2021-12-07 中国电信股份有限公司 Terminal communication control method, device, storage medium and terminal
CN112153759A (en) * 2020-09-23 2020-12-29 北京小米移动软件有限公司 Communication method and device of dual-card terminal
CN113660653A (en) * 2021-08-30 2021-11-16 联想(北京)有限公司 Transmission method, transmission device and electronic equipment
CN113766484A (en) * 2021-09-07 2021-12-07 北京小米移动软件有限公司 Communication method, communication apparatus, storage medium, and electronic device
CN113905425A (en) * 2021-12-09 2022-01-07 荣耀终端有限公司 Data service switching method and device, electronic equipment and readable storage medium
CN114710838A (en) * 2022-06-06 2022-07-05 深圳小米通讯技术有限公司 User equipment service processing method, device, user equipment and storage medium
CN116709583A (en) * 2022-12-30 2023-09-05 荣耀终端有限公司 Method and device for realizing double-card double-pass
CN116193419A (en) * 2023-02-15 2023-05-30 维沃移动通信有限公司 Communication method, device and equipment

Also Published As

Publication number Publication date
CN117395618A (en) 2024-01-12

Similar Documents

Publication Publication Date Title
US20160381629A1 (en) Virtual sim card for accessing operator network
CN105554884A (en) Method and device for paging response
CN111343686B (en) Data switching method and device and storage medium
US20220210764A1 (en) Paging method and apparatus
CN117395618B (en) Data link switching method, device, storage medium and chip
US11284398B2 (en) Communication link configuration method and device
US11937296B2 (en) Monitoring method and apparatus, device, and storage medium
CN109379783B (en) Radio frequency resource allocation method and device
KR20240033035A (en) Relay decision method and device
CN113873603B (en) Network control method, device and storage medium
CN110337823B (en) Information configuration method and device, service processing method and device and base station
CN108718450B (en) Telephone card control method, device, storage medium and mobile terminal
CN110121856B (en) Control area configuration method and device
CN109152062B (en) Beacon frame processing method and device
CN114095915A (en) Communication method, apparatus and medium
CN107396415B (en) Communication method of dual-card intelligent terminal and terminal
US20220104003A1 (en) Random access method and apparatus, and computer readable storage medium
CN114745736B (en) Meta-universe service processing method and device, electronic equipment and storage medium
US20240147221A1 (en) Capability sending method and apparatus, and capability receiving method and apparatus
CN113728725B (en) Paging message processing method, paging message processing device and storage medium
CN117641483A (en) Data channel switching method and device, readable storage medium and chip
US20230337101A1 (en) Adjustment indication method and device, and communication link adjustment method and device
CN118118919A (en) Communication mode determining method, device, electronic equipment, storage medium and chip
CN118488501A (en) Mode switching method and device, electronic equipment and storage medium
CN116980877A (en) Control method, device and storage medium of user identity identification card

Legal Events

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