Service scheduling method and device, terminal, chip and storage medium

By prioritizing the signaling services of the first communication card and suspending the network selection and standby services of the second communication card during the signaling protection period, the problem of concurrent service processing for dual-SIM dual-standby terminals with limited resources is solved. This achieves a balance between the stability of signaling services and the processing of network selection and standby services, thereby improving user experience and terminal performance.

CN121815350APending Publication Date: 2026-04-07BEIJING X RING TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In dual-SIM dual-standby terminals, given the limited radio frequency channel resources, how can we coordinate the concurrent processing of dual-SIM services to ensure user experience and system performance?

Method used

By prioritizing the signaling services of the first communication card during the signaling protection period and suspending the network selection and camping services of the second communication card, and restoring the network selection and camping services of the second communication card after the signaling protection period, the two services are scheduled and executed using time-division multiplexing.

Benefits of technology

Ensure the stability and reliability of the signaling services of the first communication card, avoid interference, guarantee the mobility of the second communication card, improve resource utilization, and enhance user experience and terminal performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121815350A_ABST
    Figure CN121815350A_ABST
Patent Text Reader

Abstract

The invention provides a service scheduling method and device, a terminal, a chip and a storage medium, and relates to the field of communication, and the method comprises the steps: responding to a first communication card in the terminal to initiate a signaling service, executing a network selection resident service by a second communication card, and determining a signaling protection time period; within the signaling protection time period, the signaling service of the first communication card is scheduled, and the network selection resident service of the second communication card is suspended; and in response to the situation that the signaling protection time period is exceeded and the scheduling of the signaling service is not completed, recovering the network selection resident service, and scheduling and executing the signaling service and the network selection resident service in a time division multiplexing mode. Therefore, the stability and reliability of the signaling service of the first communication card can be ensured, and the mobility of the second communication card can also be ensured, so that the second communication card can normally carry out network selection residence related operations, and a good connection state with a network is maintained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a service scheduling method, apparatus, terminal, chip, and storage medium. Background Technology

[0002] With the continuous development of mobile communication technology, terminals supporting dual SIM dual standby (DSDS) functionality are becoming increasingly popular. In most terminals, the two Subscriber Identity Modules (SIMs) typically share a single set of radio frequency (RF) and baseband hardware resources, and their system architecture is generally designed for multiplexing based on the maximum processing capacity of a single SIM card. In dual-SIM concurrent service scenarios (such as simultaneous data transmission and reception or voice communication), especially when using a single-radio dual-SIM dual standby (SR-DSDS) architecture, due to limited RF channel resources, the two SIM cards often cannot simultaneously perform uplink or downlink data transmission and reception operations. Under such resource-constrained conditions, how to coordinate the processing of dual-SIM concurrent services becomes a key technical issue for ensuring user experience and system performance. Summary of the Invention

[0003] This application proposes a service scheduling method, apparatus, terminal, chip, and storage medium to at least partially solve one of the technical problems in the related art.

[0004] One embodiment of this application proposes a service scheduling method, including: in response to a first communication card in a terminal initiating a signaling service and a second communication card performing a network selection and resident service, determining a signaling protection period; within the signaling protection period, scheduling the signaling service of the first communication card and suspending the network selection and resident service of the second communication card; in response to the expiration of the signaling protection period and the signaling service not being scheduled, resuming the network selection and resident service, so as to schedule and execute the signaling service and the network selection and resident service in a time-division multiplexing manner.

[0005] Another embodiment of this application proposes a service scheduling device, comprising: a determining module, configured to determine a signaling protection period in response to a first communication card in a terminal initiating a signaling service and a second communication card performing a network selection and resident service; a first scheduling module, configured to schedule the signaling service of the first communication card and suspend the network selection and resident service of the second communication card within the signaling protection period; and a second scheduling module, configured to restore the network selection and resident service in response to the expiration of the signaling protection period and the failure to complete the scheduling of the signaling service, so as to schedule and execute the signaling service and the network selection and resident service in a time-division multiplexing manner.

[0006] In another aspect of this application, a terminal is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the service scheduling method as described in the foregoing aspect.

[0007] Another aspect of this application provides a chip including an interface circuit and a processing circuit coupled to each other, the interface circuit being used to input or output signals, and the processing circuit being configured to perform the service scheduling method as described in the preceding aspect.

[0008] In another aspect of this application, a non-transitory computer-readable storage medium is provided, on which computer program instructions are stored, which, when executed by a processor, implement the service scheduling method as described in the foregoing aspect.

[0009] Another aspect of this application provides a computer program product having a computer program stored thereon, which, when executed by a processor, implements the service scheduling method as described in the foregoing aspect.

[0010] The service scheduling method, apparatus, terminal, chip, and storage medium proposed in this application, by prioritizing the signaling service of the first communication card during the signaling protection period when service conflicts occur between the first and second communication cards, while suspending the network selection and caching service of the second communication card, can ensure the stability and reliability of the signaling service of the first communication card. This effectively avoids the interruption of the first communication card's signaling service due to interference from the network selection and caching service of the second communication card, thereby significantly improving the user experience. Furthermore, if the signaling protection period has expired and the signaling service of the first communication card has not been fully scheduled, the second communication card's signaling service can be promptly restored. The network selection and network selection service of the second communication card ensures the mobility of the second communication card, enabling it to perform network selection and network selection operations normally and maintain a good connection with the network. At the same time, the time-division multiplexing method is used to schedule the execution of signaling services and network selection and network selection services, which can complete the signaling services that the first communication card has not completed as much as possible under limited resource conditions, thereby improving resource utilization. This scheduling method achieves a certain degree of balance between the two services, avoiding the situation where excessive favoritism towards one service leads to the complete inability of the other service to be performed, thus improving the overall performance and user experience of the terminal in multi-card service concurrency scenarios.

[0011] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0012] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This diagram illustrates the scheduling method for dual-SIM services in related technologies. Figure 1 ; Figure 2 This diagram illustrates the scheduling method for dual-SIM services in related technologies. Figure 2 ; Figure 3 A flowchart illustrating a service scheduling method provided for an exemplary embodiment of this application; Figure 4 A flowchart illustrating another service scheduling method provided for an exemplary embodiment of this application; Figure 5 A flowchart illustrating yet another service scheduling method provided for an exemplary embodiment of this application; Figure 6 A flowchart illustrating another service scheduling method provided for an exemplary embodiment of this application; Figure 7 A schematic diagram of a dual-SIM service scheduling method provided for an exemplary embodiment of this application; Figure 8 A schematic diagram of the structure of a service scheduling device provided for an exemplary embodiment of this application; Figure 9 A schematic diagram of the structure of a terminal provided for an exemplary embodiment of this application; Figure 10 This is a schematic diagram of the structure of a chip proposed in an exemplary embodiment of this application. Detailed Implementation

[0013] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0014] In dual-SIM SR-DSDS mode, while one communication card (e.g., SIM card 0, referred to as card 0) is conducting data service signaling, the other communication card (e.g., SIM card 1, referred to as card 1) is in an idle state or network selection process. The main processing method for dual-SIM services in related technologies is as follows: The first method: In SR-DSDS mode, if one of the SMI cards (card 0) is performing data service signaling, it will use the following method: Figure 1The dual-SIM service scheduling method shown delays the network selection process, System Information (SI) reception process (or SI reading process), or neighbor cell measurement process of the other SIM card (Card 1). The network selection process, SI reception process, or neighbor cell measurement process of Card 1 is only initiated after the signaling process of Card 0 has finished. Although this approach is logically simple, it causes a significant delay in the service processing of Card 1.

[0015] The second method: In SR-DSDS mode, if one SMI card (card 0) performs data service signaling, the other SMI card (card 1) will use the following method: Figure 2 The dual-SIM service scheduling method shown uses a time-division multiplexing puncturing mechanism to complete the network selection process, SI reception process, and neighbor cell measurement process. From Figure 2 As can be seen, the signaling process of Card 0 is continuous, while the service processing of Card 1 is interspersed within the signaling process of Card 0 in the form of punched holes. However, this punching method causes temporary interruption of the sending and receiving services of Card 0, increasing the frequency and duration of service interruptions.

[0016] In summary, in the first approach, if SIM 0 performs a signaling process, and the signaling process of SIM 0 is relatively long or the higher layers frequently initiate signaling processes (such as MMS services), it will cause SIM 1's network selection, SI reception, neighbor cell measurement, and other services to be delayed for a long time. This may cause SIM 1 to experience camping problems or have its mobility affected, thereby affecting the user experience.

[0017] In the second method, if card 0 is performing a signaling process and card 1 is performing service processing via punching, the punching method will cause card 0's sending and receiving services to be temporarily interrupted. The frequency and duration of service interruptions will not only prolong the signaling process delay of card 0, but may even cause card 0's signaling process to fail, seriously affecting the user experience.

[0018] Therefore, in view of at least one of the problems existing in the above-mentioned related technologies, this application proposes a service scheduling method, apparatus, terminal, chip and storage medium.

[0019] The service scheduling method, apparatus, terminal, chip, and storage medium of this application are described below with reference to the accompanying drawings. Before specifically describing the embodiments of this application, commonly used technical terms are first introduced for ease of understanding: RAT is short for Radio Access Technology.

[0020] The network selection process refers to the automatic search and selection of a suitable mobile network operator and network standard when a terminal is powered on or enters a new area. The goal of this process is to ensure that the terminal can obtain basic communication services and meet the user's needs regarding network quality, cost, and other aspects.

[0021] System Information (SI) messages are a type of message used in mobile networks to broadcast important information to terminals. This information includes network configuration, neighbor cell lists, access parameters, etc., and is crucial for the normal access and communication of the terminal.

[0022] The SI reception process typically includes the following steps: Receiving the broadcast channel: After accessing the network, the terminal continuously listens to the network's broadcast channel (such as the Broadcast Control Channel (BCCH)) to receive SIs; Parsing the SI: After receiving the SI from the broadcast channel, the terminal parses it to extract the required information; Applying the SI: Based on the parsed SI, the terminal updates its own network configuration parameters, such as the neighbor cell list and access parameters, to ensure normal access and communication.

[0023] The neighbor cell measurement process refers to the continuous monitoring and evaluation of the signal quality of surrounding neighbor cells during communication by a terminal. This process is crucial for network optimization functions such as handover decisions and load balancing. The neighbor cell measurement process typically includes the following steps: 1. Determining the measurement target: The terminal determines a list of neighbor cells to be measured based on network configuration or its own needs. 2. Performing the measurement: The terminal measures the signal quality of the neighbor cells according to a predetermined measurement cycle and parameters, which may include Reference Signal Received Power (RSRP) and Reference Signal Received Quality (RSRQ). 3. Reporting the measurement results: The terminal reports the measurement results to the network so that the network can perform network optimization operations such as handover decisions and load balancing based on the measurement results.

[0024] Figure 3 This is a flowchart illustrating a service scheduling method provided for an exemplary embodiment of this application.

[0025] It should be noted that the service scheduling method of this application embodiment can be applied to a service scheduling device. In some possible embodiments, the service scheduling device can be configured in a terminal or chip so that the terminal or chip can perform service scheduling functions. Additionally, in some possible embodiments, the service scheduling device can also be software within the terminal.

[0026] In any embodiment of this application, the chip can be integrated into a terminal. The chip includes a Central Processing Unit (CPU), an Image Signal Processing (ISP), an Application-Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), a System-on-Chip (SOC), a Reduced Instruction Set Computer, etc., which will not be listed here.

[0027] In this context, a terminal is a user-side entity used to receive or transmit signals, such as a mobile phone. A terminal can also be called a terminal device (terminal), user equipment (UE), mobile station (MS), mobile terminal device (MT), etc. Terminals can be communication-enabled vehicles, smart cars, mobile phones, wearable devices, tablets, computers with wireless transceiver capabilities, virtual reality (VR) terminals, augmented reality (AR) terminals, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and so on. The embodiments in this application do not limit the specific technology or device form used in the terminal.

[0028] For ease of explanation, the following embodiments use the application of a service scheduling device to a terminal as an example.

[0029] like Figure 3 As shown, the service scheduling method may include the following steps S301 to S303: Step S301: In response to the first communication card in the terminal initiating a signaling service and the second communication card performing a network selection and camping service, the signaling protection period is determined.

[0030] The terminal includes two communication cards: a first communication card (e.g., card 0) and a second communication card (e.g., card 1). The first communication card initiates signaling services, while the second communication card performs network selection and hosting services. The network selection and hosting service is a series of operations performed by the second communication card to ensure a stable connection with the network and normal communication functions.

[0031] The signaling service can be initiated by the first communication card in the connected state or in the idle state. This application embodiment does not limit this.

[0032] For example, in idle mode, although the terminal is not transmitting data or voice services, it still needs to maintain a certain level of connection with the network. During this time, it initiates signaling procedures. For instance, after powering on, the terminal needs to perform cell search and selection, establishing an initial connection with the network by initiating relevant signaling. When the terminal's location changes, it initiates location update signaling to report its new location to the network so that the network can accurately page the terminal. In connected mode, the terminal is performing critical services such as data transmission or voice calls. Signaling services are mainly used to support these ongoing critical services. For example, during data transmission, if network quality changes, the terminal initiates a handover signaling procedure to switch to a better network cell, ensuring the continuity and quality of data transmission. During voice calls, it may initiate signaling to adjust call parameters or perform supplementary service operations.

[0033] The network selection and resident service can be initiated by the second communication card in the connected state or in the idle state, and this application embodiment does not limit this.

[0034] For example, in idle mode, network selection and dwell is more common. For instance, after powering on, the terminal actively searches for available networks in the vicinity and selects a suitable network to dwell on based on a preset network selection strategy (such as prioritizing networks with strong signal strength or the user's subscribed network). Another example is when the terminal moves from one area to another, and the signal of the currently dwelling network weakens or a better network becomes available; the terminal will also initiate a network selection and dwell process to reselect and dwell on a more suitable network. In connected mode, network selection and dwell is usually initiated under specific circumstances, such as when the quality of the currently connected network deteriorates significantly and cannot meet the needs of the ongoing service, or when a better network becomes available. For example, if a user is playing high-definition video on the terminal and moves to another area, and the current network's bandwidth is insufficient causing video buffering, but another nearby network can provide more stable bandwidth, the terminal will initiate a network selection and dwell process to switch the service to the better network.

[0035] The signaling services include, but are not limited to: the signaling process initiated by the first communication card during packet switching (PS) service, or the signaling process initiated by the first communication card for access.

[0036] Among them, the network selection and stationing services include, but are not limited to, any one of the following: network selection process, system message SI reading process (or SI receiving process), neighbor cell measurement process, etc.

[0037] The signaling protection period is used to protect the priority execution of signaling services.

[0038] In this embodiment of the application, when the first communication card in the terminal initiates a signaling service and the second communication card in the terminal performs a network selection and camping service, a signaling protection period can be determined. The start time of the signaling protection period can be the initiation time of the signaling service, and the duration of the signaling protection period can be a set duration, or the duration of the signaling protection period can be a dynamically configured duration. This embodiment of the application does not impose any restrictions on this.

[0039] As an example, the duration of the signaling protection period can be determined based on the signaling duration of the first communication card accessing the RAT. For instance, in the case of a 2G / 3G network, the duration of the signaling protection period can be 1.5 seconds (s); in the case of a 4G / 5G network, the duration of the signaling protection period can be 1 second (s).

[0040] As another example, the duration of the signaling protection period can be configured according to target requirements; where target requirements include the service requirements and / or user requirements of the first communication card (i.e., the actual needs of the terminal's users). That is, the duration of the signaling protection period can be configured by the user according to actual needs to meet the personalized needs of different users.

[0041] Step S302: During the signaling protection period, schedule the signaling service of the first communication card and suspend the network selection and camping service of the second communication card.

[0042] In this embodiment of the application, during the signaling protection period, the signaling service of the first communication card can be scheduled first, and the network selection and camping service of the second communication card can be suspended, that is, the network selection and camping service of the second communication card can be suspended.

[0043] Understandably, signaling services are typically responsible for transmitting control information necessary for critical services such as data services and voice calls. Prioritizing the signaling services of the first communication card can ensure the normal operation of these critical services. At the same time, suspending the network selection and camping services of the second communication card (such as the network selection process, SI reading process, and neighbor cell measurement process) will not have a serious impact on the basic functions of the second communication card in the short term, and can avoid resource conflicts with the signaling services of the first communication card.

[0044] As an example, when the first communication card in the terminal initiates a signaling service and the second communication card performs a network selection and resident service, a signaling protection timer can be started. If the signaling protection timer has not expired, the signaling service of the first communication card can be scheduled first, and the network selection and resident service of the second communication card can be suspended or paused.

[0045] The duration of the signaling protection timer is consistent with the duration of the signaling protection period. That is, the signaling protection period is the time from when the signaling protection timer starts until it expires.

[0046] Step S303: In response to exceeding the signaling protection period and the signaling service not being scheduled, the network selection and network selection service of the second communication card is restored, so that the signaling service and network selection and network selection service are scheduled and executed in a time-division multiplexing manner.

[0047] It is understandable that when the signaling protection period has expired and the signaling service of the first communication card has not yet been scheduled, it means that the signaling service of the first communication card may take longer to process. At this time, if the network selection and camping service of the second communication card is not restored in time, it may affect the normal mobility management of the second communication card. For example, it may cause the second communication card to be unable to access the appropriate network in time, affecting its subsequent data transmission or call services.

[0048] Therefore, in this application, if the signaling protection period has expired and the signaling service of the first communication card has not been scheduled, the network selection and hosting service of the second communication card can be restored in a timely manner. This allows for the time-division multiplexing method to schedule and execute the signaling service of the first communication card and the network selection and hosting service of the second communication card. Thus, by using time-division multiplexing to schedule and execute the two services, time resources can be allocated reasonably under limited resource conditions, ensuring that both services are processed to a certain extent.

[0049] The service scheduling method of this application embodiment prioritizes the signaling service of the first communication card during the signaling protection period when the services of the first and second communication cards conflict, while suspending the network selection and camping service of the second communication card. This ensures the stability and reliability of the signaling service of the first communication card and effectively avoids the interruption of the signaling service of the first communication card due to interference from the network selection and camping service of the second communication card, thereby significantly improving the user experience. If the signaling protection period has expired and the signaling service of the first communication card has not been scheduled, the network selection and camping service of the second communication card is restored in a timely manner. This ensures the mobility of the second communication card, enabling it to carry out network selection and camping related operations normally and maintain its good connection with the network. At the same time, the time-division multiplexing method is used to schedule the execution of signaling services and network selection and camping services, which can complete the signaling services that the first communication card has not completed as much as possible under limited resource conditions, thereby improving resource utilization. This scheduling method achieves a certain degree of balanced processing of the two services, avoiding the situation where the other service cannot be carried out at all due to excessive bias towards one service, and improving the overall performance and user experience of the terminal in multi-card service concurrency scenarios.

[0050] As one possible implementation method, Figure 4 This is a flowchart illustrating another service scheduling method provided for an exemplary embodiment of this application. It should be noted that this service scheduling method can be executed alone, or it can be executed together with any embodiment or possible implementation thereof in this application, or it can be executed together with any technical solution in related technologies. This application does not impose any limitations on this.

[0051] like Figure 4 As shown, the service scheduling method may include the following steps S401 to S404: Step S401: In response to the first communication card in the terminal initiating a signaling service and the second communication card performing a network selection and camping service, the signaling protection period is determined.

[0052] Step S402: During the signaling protection period, schedule the signaling service of the first communication card and suspend the network selection and camping service of the second communication card.

[0053] It should be noted that the explanations of steps S401 to S402 can be found in the relevant descriptions in any embodiment of this application, and will not be repeated here.

[0054] Step S403: In response to exceeding the signaling protection period and the signaling service not being scheduled, the network selection and camping service of the second communication card is restored.

[0055] It is understandable that when the signaling protection period has expired and the signaling service of the first communication card has not yet been scheduled, it means that the signaling service of the first communication card may take longer to process. At this time, if the network selection and camping service of the second communication card is not restored in time, it may affect the normal mobility management of the second communication card. For example, it may cause the second communication card to be unable to access the appropriate network in time, affecting its subsequent data transmission or call services.

[0056] Therefore, in any embodiment of this application, if the signaling protection period has expired and the signaling service of the first communication card has not been scheduled, the network selection and camping service of the second communication card can be restored in a timely manner.

[0057] Step S404: In the first time period after the signaling protection period, the first scheduling mechanism is adopted to schedule and execute signaling services and network selection and stationing services in a time-division multiplexing manner.

[0058] The start time of the first time period is the end time of the signaling protection period, such as the expiration time of the signaling protection timer. The duration of the first time period is determined based on the time difference between the set signaling duration and the duration of the signaling protection period.

[0059] For example, if the signaling duration is set to T1 and the duration of the signaling protection period (i.e., the timing duration of the signaling protection timer) is T2, then the duration of the first period = T1 - T2 = T3.

[0060] The first scheduling mechanism, also known as the relaxed scheduling mechanism, involves a time slot resource length occupied by a single scheduling signaling service that is greater than the time slot resource length occupied by a single scheduling network selection and camping service.

[0061] It should be noted that signaling services are directly related to key aspects such as the establishment, maintenance, and release of communication. If signaling services are frequently punctured during the scheduling process (i.e., signaling transmission is interrupted or fragmented), it may lead to problems such as signaling loss and incorrect parsing, thereby affecting the normal operation of communication.

[0062] To address the aforementioned issues, this application employs a first scheduling mechanism within the first time period following the signaling protection period. This mechanism uses time-division multiplexing to schedule and execute signaling services and network selection / camping services. This allows for the allocation of longer time slots for each scheduled signaling service, providing a relatively continuous and stable transmission environment. This reduces the puncturing rate in the signaling process, ensuring accurate and complete signaling transmission and guaranteeing the stability and reliability of the first communication card's critical communication functions. Furthermore, while ensuring the quality of signaling services, the network selection / camping service of the second communication card is also considered, enabling the second communication card to perform network selection and connection maintenance normally, maintaining its good network connection.

[0063] The service scheduling method of this application embodiment employs a first scheduling mechanism during the first time period after the signaling protection period. This mechanism schedules and executes signaling services and network selection / camping services in a time-division multiplexing manner. This reduces the puncturing rate in the signaling process, ensures accurate and complete signaling transmission, and guarantees the stability and reliability of the key communication functions of the first communication card. At the same time, it also takes into account the network selection / camping services of the second communication card, enabling the second communication card to perform network selection and connection maintenance normally, maintaining its good connection with the network, and avoiding problems such as network connection abnormalities due to prolonged lack of scheduling.

[0064] As one possible implementation method, Figure 5 This is a flowchart illustrating another service scheduling method provided as an exemplary embodiment of this application. It should be noted that this service scheduling method can be executed alone, or it can be executed together with any embodiment or possible implementation thereof in this application, or it can be executed together with any technical solution in related technologies. This application does not impose any limitations on this.

[0065] like Figure 5 As shown, the service scheduling method may include the following steps S501 to S507: Step S501: In response to the first communication card in the terminal initiating a signaling service and the second communication card performing a network selection and camping service, the signaling protection period is determined.

[0066] Step S502: During the signaling protection period, schedule the signaling service of the first communication card and suspend the network selection and camping service of the second communication card.

[0067] Step S503: In response to the signaling protection period being exceeded and the signaling service not being scheduled, the network selection and camping service of the second communication card is restored.

[0068] Step S504: In the first time period after the signaling protection period, the first scheduling mechanism is adopted to schedule and execute signaling services and network selection and stationing services in a time-division multiplexing manner.

[0069] In the first scheduling mechanism, the length of time slot resources occupied by a single scheduling signaling service is greater than the length of time slot resources occupied by a single scheduling network selection and camping service.

[0070] It should be noted that the explanations of steps S501 to S504 can be found in the relevant descriptions in any embodiment of this application, and will not be repeated here.

[0071] Step S505: Determine whether the signaling service has been scheduled within the first time period. If yes, proceed to step S507; otherwise, proceed to step S506.

[0072] It should be noted that steps S506 and S507 are two parallel possible implementations, and either one can be selected for execution.

[0073] Step S506: In the second time period following the first time period, the second scheduling mechanism is adopted to schedule and execute signaling services and network selection and stationing services in a time-division multiplexing manner.

[0074] The start time of the second time period matches the end time of the first time period.

[0075] In the second scheduling mechanism, the length of time slot resources occupied by a single scheduling signaling service is matched with the length of time slot resources occupied by a single scheduling network selection and camping service.

[0076] In this embodiment of the application, if the signaling service is not scheduled within the first time period, the second scheduling mechanism can be adopted in the second time period after the first time period to schedule and execute the signaling service and the network selection and stationing service in a time-division multiplexing manner; wherein, in the second scheduling mechanism, the length of the time slot resources occupied by a single scheduling of the signaling service is matched with the length of the time slot resources occupied by a single scheduling of the network selection and stationing service.

[0077] Understandably, employing a second scheduling mechanism during the second time period, and continuing to allocate time slot resources matching the time slot length of the network selection and camping service, ensures that the signaling service has sufficient and reasonable resources to complete the remaining transmission in subsequent scheduling. This guarantees that the signaling service can be transmitted completely and accurately, avoiding interruptions or loss of critical information due to unreasonable resource allocation, thereby ensuring the smooth implementation of the key communication functions of the first communication card. At the same time, it enables the second communication card to continuously and normally perform network selection and connection maintenance, maintaining a good network condition and preventing excessive compression of its time slot resources due to incomplete signaling services, which could lead to prolonged inability to perform network selection and camping services, resulting in network connection abnormalities or limited communication functions.

[0078] In any embodiment of this application, the length of time slot resources occupied by a single scheduling signaling service in the second scheduling mechanism may be less than the length of time slot resources occupied by a single scheduling signaling service in the first scheduling mechanism.

[0079] It should be understood that the network selection and dwell service is crucial for the second communication card to maintain normal network connectivity and communication capabilities. If the signaling service is still allocated a large time slot according to the first scheduling mechanism in the second time period, the network selection and dwell service may be unable to operate in a timely manner due to a prolonged lack of resources, which will greatly affect its mobility. For example, the second communication card may be unable to measure the signal strength of neighboring cells in a timely and accurate manner, making it difficult to select a better network for connection based on signal quality, leading to network connection anomalies, frequent disconnections, signal instability, and other problems, which will severely limit communication functions. Therefore, in this application, reducing the time slot length of a single scheduling of the signaling service in the second time period can allocate time slot resources to the network selection and dwell service more frequently, enabling the second communication card to perform network selection and connection maintenance operations in a timely manner, avoiding network connection anomalies and inability to access suitable networks in a timely manner due to delays in the network selection and dwell service, and ensuring the basic communication functions of the second communication card.

[0080] In summary, a balance can be struck between service priority and fairness, ensuring the transmission of critical information for signaling services while also accommodating the normal operation of network selection and resident services. This avoids the network selection and resident services being blocked for extended periods due to excessive resource allocation, which would affect the normal use of the second communication card.

[0081] Step S507: Schedule the network selection and camping service of the second communication card.

[0082] In this embodiment of the application, in response to the completion of signaling service scheduling within the first time period, the network selection and camping service of the second communication card is scheduled normally.

[0083] Understandably, prioritizing signaling services during the first time period allows for rapid transmission, meeting real-time requirements. After signaling services are scheduled, the network selection and dwell services of the second communication card are scheduled normally. At this point, system resources are relatively idle and stable, free from interference and resource fluctuations caused by signaling transmission. This allows the network selection and dwell services to perform network selection, SI reading, and neighbor cell measurement more efficiently, improving the quality and accuracy of these operations. For example, the second communication card can more accurately measure neighbor cell signal strength and select a more suitable network for connection.

[0084] The service scheduling method of this application adopts a second scheduling mechanism in the second time period to continue to allocate time slot resources that match the time slot resource length of the network selection and camping service for the signaling service. This can avoid extreme situations in resource allocation, so that both services can obtain relatively fair and reasonable resources in the second time period, ensuring the overall stability and reliability of the system and improving resource utilization efficiency.

[0085] As one possible implementation method, Figure 6 This is a flowchart illustrating another service scheduling method provided as an exemplary embodiment of this application. It should be noted that this service scheduling method can be executed alone, or it can be executed together with any embodiment or possible implementation thereof in this application, or it can be executed together with any technical solution in related technologies. This application does not impose any limitations on this.

[0086] like Figure 6 As shown, the service scheduling method may include the following steps S601 to S605: Step S601: In response to the first communication card in the terminal initiating a signaling service and the second communication card performing a network selection and camping service, the signaling protection period is determined.

[0087] Step S602: During the signaling protection period, schedule the signaling service of the first communication card and suspend the network selection and camping service of the second communication card.

[0088] It should be noted that the explanations of steps S601 to S602 can be found in the relevant descriptions in any embodiment of this application, and will not be repeated here.

[0089] Step S603: Determine whether the signaling service has been scheduled and completed within the signaling protection period. If yes, proceed to step S604; otherwise, proceed to step S605.

[0090] It should be noted that steps S604 and S605 are two parallel possible implementations, and either one can be selected for execution.

[0091] Step S604: Restore the network selection and camping service of the second communication card to schedule the network selection and camping service of the second communication card.

[0092] In any embodiment of this application, it can be determined whether the signaling service of the first communication card has been scheduled within the signaling protection period. If the signaling service of the first communication card has been scheduled within the signaling protection period, the network selection and camping service of the second communication card is restored in a timely manner so as to schedule the network selection and camping service of the second communication card normally.

[0093] Understandably, in multi-SIM terminals, the network selection and dwell service is crucial for the second communication card to maintain its connection with the network, obtain network information in a timely manner, and initiate data or voice services. During the signaling protection period, the network selection and dwell service of the second communication card is suspended to ensure the signaling service of the first communication card. When the signaling service of the first communication card is successfully scheduled and completed during the signaling protection period, it means that the critical signaling processing of the first communication card has ended and there is no longer an urgent and large demand for system resources. At this time, timely restoration of the network selection and dwell service of the second communication card allows the second communication card to continue the previously interrupted network selection process, such as the network selection process, SI reading process, and neighbor cell measurement process, ensuring the continuity of the network selection and dwell service of the second communication card. This allows it to complete the interaction with the network according to the normal process, maintain a stable connection with the network, prepare for the subsequent services, and avoid problems such as network connection abnormalities or service initiation failures caused by service interruption.

[0094] Step S605: Restore the network selection and resident service, and in the first time period after the signaling protection period, use the first scheduling mechanism to schedule and execute the signaling service and network selection and resident service in a time-division multiplexing manner.

[0095] In the first scheduling mechanism, the length of time slot resources occupied by a single scheduling signaling service is greater than the length of time slot resources occupied by a single scheduling network selection and camping service.

[0096] It should be noted that the explanation of step S605 can be found in the relevant description in any embodiment of this application, and will not be repeated here.

[0097] In any embodiment of this application, in the first scheduling mechanism, the length of time slot resources occupied by a single scheduling signaling service can be determined in the following way: First, obtain the amplification factor associated with the network selection and dwell service; wherein, the amplification factor is used to characterize the degree of leniency in adjusting the time slot resources; then, use the amplification factor to amplify the period of the network selection and dwell service to obtain the relaxation duration; then, the length of time slot resources occupied by a single scheduling signaling service in the first scheduling mechanism can be determined according to the relaxation duration.

[0098] Therefore, by adopting a relaxed scheduling mechanism to allocate longer time slot resources for single-time scheduling signaling services, a relatively continuous and stable transmission environment can be provided for signaling services, thereby reducing the puncturing rate of the signaling process, ensuring that the signaling can be transmitted accurately and completely, and guaranteeing the stability and reliability of the key communication functions of the first communication card.

[0099] In any embodiment of this application, in the first scheduling mechanism, the length of the time slot resources occupied by a single scheduling network selection and dwell service can be determined according to the cycle of the network selection and dwell service.

[0100] In any embodiment of the present application, in the dual-SIM SR-DSDS mode, when there is a conflict between the signaling process initiated by one communication SIM card (such as SIM card 0) and the network selection and residence service of another communication SIM card (such as SIM card 1), it is preferred to ensure that the signaling process of SIM card 0 is not affected or to reduce the service conflict in the signaling process. That is, it is preferred to ensure that the signaling process of SIM card 0 is not affected or to reduce the punching rate of the signaling process, while taking into account the mobility of SIM card 1 to prevent the mobility of SIM card 1 from deteriorating due to the overly long duration of the signaling of SIM card 0, thereby greatly improving the dual-SIM user experience in this scenario.

[0101] Exemplarily, the service scheduling method for SIM card 0 and SIM card 1 can be as Figure 7 shown, and mainly includes the following steps: Step 1: The dual-SIMs enter the SR-DSDS mode. SIM card 0 initiates a signaling process during a packet switched (PS) service process, or initiates an access signaling process, and SIM card 1 is in the idle state (IDLE) or in a network selection process, SI reception process, or neighbor cell measurement process.

[0102] Step 2: The upper layer protocol stack of SIM card 0 notifies the physical layer to enter the signaling process, and informs the physical layer of the delay protection mechanism, and performs the following operations: Step 2.1: Set the timing duration T2 of the signaling protection timer of SIM card 0. Among them, the timing duration T2 of the signaling protection timer can be defined according to the signaling duration of the accessed radio access technology (RAT). For example, it can be set to 1.5 seconds (s) for 2G / 3G and 1 s for 4G / 5G; alternatively, it can also be configured according to user requirements; Step 2.2: After the physical layer receives the service of SIM card 1 after SIM card 0 enters the signaling process, suspend the service of SIM card 1 according to the indication of the upper layer carrying the delay protection mechanism. Step 3: If during the signaling process of SIM card 0, the signaling protection timer T2 expires and T2 < T1 is satisfied, notify the physical layer that the delay protection mechanism fails, and at this time, the physical layer resumes the service of SIM card 1 at the moment T3 = T1 - T2, and the service of SIM card 1 is scheduled using a relaxed scheduling strategy.

[0103] Step 3.1: If SIM card 1 is in a network selection process, it is magnified according to the period of the two network selection data reception intervals, magnified to N1 * period (N1 > 1), where N1 can be configured according to user requirements; Step 3.2: If SIM card 1 is in a process of receiving system messages, it is magnified according to the reception period of the system messages, magnified to N2 * period (N2 > 1), where N2 can be configured according to user requirements; ]>Step 3.3: If SIM card 1 is in a neighbor cell measurement process, it is magnified according to the period of the two neighbor cell measurement data reception intervals, magnified to N3 * period (N3 > 1), where N3 can be configured according to user requirements.

[0104] Step 4: If timer T2 does not time out during the signaling process of card 0, i.e., T1<=T2, then notify the physical layer that the signaling process of card 0 has ended and restore the normal service scheduling of card 1.

[0105] In summary, in the dual-SIM SR-DSDS scenario, the signaling process is largely free from puncturing caused by SIM 1's service interruption, preventing signaling anomalies. Even in extreme scenarios where SIM 0's signaling process is excessively long, a relaxed puncturing strategy is employed to mitigate the impact of SIM 0's signaling process being interrupted by SIM 1's service. Simultaneously, when SIM 0's signaling process is excessively long, a relaxed scheduling strategy is used to schedule and execute SIM 1's network selection, system message reading, and neighbor cell measurement processes, ensuring SIM 1's mobility performance. This reduces the impact of dual-SIM service conflicts on service functionality and performance, and improves the user experience in this scenario.

[0106] The service scheduling method of this application embodiment, when the signaling service of the first communication card is successfully scheduled within the signaling protection period, promptly restores the network selection and camping service of the second communication card. This allows the second communication card to continue the previously interrupted service process, ensuring the continuity of the network selection and camping service of the second communication card. This enables it to complete the interaction with the network according to the normal process, maintain a stable connection with the network, and prepare for subsequent services that may be initiated, avoiding problems such as network connection abnormalities or service initiation failures caused by service interruption.

[0107] To implement the above embodiments, this application also proposes a service scheduling device. Figure 8 This is a schematic diagram of the structure of a service scheduling device provided for an exemplary embodiment of this application.

[0108] like Figure 8 As shown, the service scheduling device 800 may include: a determination module 810, a first scheduling module 820, and a second scheduling module 830.

[0109] The determination module 810 is used to determine the signaling protection period in response to the first communication card in the terminal initiating a signaling service and the second communication card performing a network selection and resident service; the first scheduling module 820 is used to schedule the signaling service of the first communication card and suspend the network selection and resident service of the second communication card within the signaling protection period; the second scheduling module 830 is used to restore the network selection and resident service in response to the signaling protection period being exceeded and the signaling service not being scheduled, so as to schedule the execution of the signaling service and the network selection and resident service in a time-division multiplexing manner.

[0110] In one implementation of this application, the second scheduling module 830 is configured to: in response to exceeding the signaling protection period and the signaling service not being scheduled, restore the network selection and dwell service of the second communication card; and in the first time period after the signaling protection period, use a first scheduling mechanism to schedule and execute the signaling service and the network selection and dwell service in a time-division multiplexing manner; wherein, in the first scheduling mechanism, the length of the time slot resources occupied by a single scheduling of the signaling service is greater than the length of the time slot resources occupied by a single scheduling of the network selection and dwell service.

[0111] In one implementation of this application, the second scheduling module 830 is further configured to: respond to the fact that the signaling service has not been scheduled within the first time period, and in the second time period after the first time period, adopt a second scheduling mechanism to schedule and execute the signaling service and the network selection and stationing service in a time-division multiplexing manner; wherein, in the second scheduling mechanism, the length of the time slot resources occupied by a single scheduling of the signaling service is matched with the length of the time slot resources occupied by a single scheduling of the network selection and stationing service.

[0112] In one implementation of this application, the service scheduling device 800 may further include: a third scheduling module, used to schedule the network selection and camping service of the second communication card in response to the completion of signaling service scheduling within a first time period.

[0113] In one implementation of this application, the length of time slot resources occupied by a single scheduling signaling service in the second scheduling mechanism is less than the length of time slot resources occupied by a single scheduling signaling service in the first scheduling mechanism.

[0114] In one implementation of this application, the start time of the first time period is the end time of the signaling protection period, and the duration of the first time period is determined based on the time difference between the set signaling duration and the duration of the signaling protection period; the start time of the second time period matches the end time of the first time period.

[0115] In one implementation of this application, the length of time slot resources occupied by a single scheduling signaling service in the first scheduling mechanism is determined by the following modules: an acquisition module, used to acquire the amplification factor associated with the network selection and dwell service; wherein, the amplification factor is used to characterize the degree of leniency in adjusting the time slot resources; an amplification module, used to amplify the period of the network selection and dwell service using the amplification factor to obtain the relaxation duration; and a determination module 810, further used to determine the length of time slot resources occupied by a single scheduling signaling service in the first scheduling mechanism based on the relaxation duration.

[0116] In one implementation of this application, the service scheduling device 800 may further include: a fourth scheduling module, used to restore the network selection and camping service of the second communication card in response to the completion of signaling service scheduling during the signaling protection period, so as to schedule the network selection and camping service of the second communication card.

[0117] In one implementation of this application, the signaling service includes: a signaling process initiated by the first communication card during packet switching, or a signaling process initiated by the first communication card for access; the network selection and camping service includes any one of the following: network selection process, system message SI reading process, and neighbor cell measurement process.

[0118] In one implementation of this application, the determining module 810 is further configured to: determine the duration of the signaling protection period based on the signaling duration of the first communication card accessing the RAT; or, configure the duration of the signaling protection period based on target requirements; wherein the target requirements include the service requirements of the first communication card and / or the actual requirements of the terminal user.

[0119] It should be noted that the foregoing explanation of any service scheduling method embodiment also applies to the service scheduling device of that embodiment, and will not be repeated here.

[0120] In the service scheduling device of this application embodiment, when the services of the first communication card and the second communication card conflict, the signaling service of the first communication card is prioritized during the signaling protection period, while the network selection and camping service of the second communication card is suspended. This ensures the stability and reliability of the signaling service of the first communication card and effectively avoids the interruption of the signaling service of the first communication card due to interference from the network selection and camping service of the second communication card, thereby significantly improving the user experience. If the signaling protection period has expired and the signaling service of the first communication card has not been scheduled, the network selection and camping service of the second communication card is restored in a timely manner. This ensures the mobility of the second communication card, enabling it to carry out network selection and camping related operations normally and maintain its good connection with the network. At the same time, the time-division multiplexing method is used to schedule the execution of signaling service and network selection and camping service, which can complete the signaling service that the first communication card has not completed as much as possible under limited resource conditions, thereby improving resource utilization. This scheduling method achieves a certain degree of balance between the two services, avoiding the situation where the other service cannot be carried out due to excessive bias towards one service, and improving the overall performance and user experience of the terminal in multi-card service concurrency scenarios.

[0121] To implement the above embodiments, this application also proposes a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the service scheduling method as described in any of the foregoing embodiments.

[0122] Figure 7 This is a schematic diagram of the structure of a terminal provided for an exemplary embodiment of this application. For example, terminal 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0123] Reference Figure 7 The terminal 700 may include one or more of the following components: processing component 702, memory 704, power component 706, multimedia component 708, audio component 710, input / output (I / O) interface 712, sensor component 714, and communication component 716.

[0124] Processing component 702 typically controls the overall operation of terminal 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.

[0125] Memory 704 is configured to store various types of data to support operation on terminal 700. Examples of this data include instructions for any application or method operating on terminal 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 storage, flash memory, magnetic disk, or optical disk.

[0126] Power component 706 provides power to various components of terminal 700. Power component 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to terminal 700.

[0127] Multimedia component 708 includes a screen that provides an output interface between the terminal 700 and the user. 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 touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the terminal 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0128] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when terminal 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.

[0129] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0130] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of terminal 700. For example, sensor assembly 714 can detect the on / off state of terminal 700, the relative positioning of components such as the display and keypad of terminal 700, changes in the position of terminal 700 or a component of terminal 700, the presence or absence of user contact with terminal 700, the orientation or acceleration / deceleration of terminal 700, and temperature changes of terminal 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0131] Communication component 716 is configured to facilitate wired or wireless communication between terminal 700 and other devices. Terminal 700 can access wireless networks based on communication standards, such as WiFi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra-Wideband (UWB), Bluetooth, and other technologies.

[0132] In an exemplary embodiment, terminal 700 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 components to perform the methods described above.

[0133] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, which can be executed by a processor 720 of a terminal 700 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.

[0134] To implement the above embodiments, this application also proposes a chip, wherein the chip includes an interface circuit and a processing circuit coupled to each other. The interface circuit is used to input or output signals, and the processing circuit is configured to execute the service scheduling method provided in any of the foregoing embodiments.

[0135] Figure 8 This is a schematic diagram of the structure of a chip proposed in an exemplary embodiment of this application. See also... Figure 8 The diagram shown is a schematic representation of the structure of chip 800, but is not limited to this.

[0136] Chip 800 includes processing circuit 801, which is configured to execute any of the above service scheduling methods.

[0137] In some embodiments, the chip 800 further includes one or more interface circuits 802. Optionally, the interface circuit 802 is connected to the memory 803, and the interface circuit 802 can be used to receive signals from the memory 803 or other devices, and the interface circuit 802 can be used to send signals to the memory 803 or other devices. For example, the interface circuit 802 can read instructions stored in the memory 803 and send the instructions to the processing circuit 801.

[0138] In some embodiments, the interface circuit 802 performs at least one of the communication steps such as sending and / or receiving in the above method, and the processing circuit 801 performs other steps.

[0139] In some embodiments, the terms interface circuit, interface, transceiver pin, transceiver, etc., can be used interchangeably.

[0140] In some embodiments, chip 800 further includes one or more memories 803 for storing instructions. Optionally, all or part of the memories 803 may be located outside of chip 800.

[0141] To implement the above embodiments, this application also proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the service scheduling method as described in any of the foregoing method embodiments.

[0142] To implement the above embodiments, this application also proposes a computer program product on which a computer program is stored, wherein the computer program, when executed by a processor, implements the service scheduling method as described in any of the foregoing method embodiments.

[0143] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0144] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0145] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.

[0146] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and compact disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0147] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0148] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.

[0149] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0150] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.

Claims

1. A service scheduling method, characterized in that, include: In response to the first communication card in the terminal initiating a signaling service and the second communication card performing a network selection and camping service, the signaling protection period is determined; During the signaling protection period, the signaling services of the first communication card are scheduled, and the network selection and camping services of the second communication card are suspended. In response to the expiration of the signaling protection period and the failure to complete the scheduling of the signaling service, the network selection and resident service is restored, and the signaling service and the network selection and resident service are scheduled and executed in a time-division multiplexing manner.

2. The method according to claim 1, characterized in that, The response to exceeding the signaling protection period and the signaling service not being scheduled in time, restoring the network selection and resident service, and scheduling the signaling service and the network selection and resident service using time-division multiplexing, includes: In response to the expiration of the signaling protection period and the failure to complete the signaling service scheduling, the network selection and camping service of the second communication card is restored; During the first time period following the signaling protection period, the first scheduling mechanism is adopted to schedule and execute the signaling service and the network selection and camping service in the time-division multiplexing manner. In the first scheduling mechanism, the length of the time slot resources occupied by the signaling service in a single scheduling is greater than the length of the time slot resources occupied by the network selection and stationing service in a single scheduling.

3. The method according to claim 2, characterized in that, The method of scheduling and executing the signaling service and the network selection and dwell service using time-division multiplexing also includes: If the signaling service is not scheduled to be completed within the first time period, a second scheduling mechanism is adopted in the second time period after the first time period to schedule and execute the signaling service and the network selection and stationing service in the time-division multiplexing manner. In the second scheduling mechanism, the length of the time slot resources occupied by the signaling service in a single scheduling is matched with the length of the time slot resources occupied by the network selection and dwell service in a single scheduling.

4. The method according to claim 2, characterized in that, The method further includes: In response to the completion of the signaling service scheduling within the first time period, the network selection and camping service of the second communication card is scheduled.

5. The method according to claim 3, characterized in that, The length of time slot resources occupied by a single scheduling of the signaling service in the second scheduling mechanism is less than the length of time slot resources occupied by a single scheduling of the signaling service in the first scheduling mechanism.

6. The method according to claim 3, characterized in that, The start time of the first time period is the end time of the signaling protection period, and the duration of the first time period is determined based on the time difference between the set signaling duration and the duration of the signaling protection period. The start time of the second time period matches the end time of the first time period.

7. The method according to claim 2, characterized in that, The length of the time slot resources occupied by a single scheduling of the signaling service in the first scheduling mechanism is determined in the following way: Obtain the amplification factor associated with the selected network resident service; wherein the amplification factor is used to characterize the degree of leniency in adjusting time slot resources; The period of the selected network dwell service is amplified using the amplification factor to obtain the relaxation duration; Based on the relaxation duration, the length of the time slot resources occupied by a single scheduling of the signaling service in the first scheduling mechanism is determined.

8. The method according to claim 1, characterized in that, The method further includes: In response to the completion of the signaling service scheduling during the signaling protection period, the network selection and camping service of the second communication card is restored to schedule the network selection and camping service of the second communication card.

9. The method according to any one of claims 1-8, characterized in that, The signaling services include: a signaling process initiated by the first communication card during packet switching, or a signaling process initiated by the first communication card for access. The network selection and dwell services include any one of the following: network selection process, system message SI reading process, and neighbor cell measurement process.

10. The method according to any one of claims 1-8, characterized in that, The duration of the signaling protection period is determined using any of the following methods: The duration of the signaling protection period is determined based on the signaling duration of the first communication card accessing the RAT. Configure the duration of the signaling protection period according to the target requirements; wherein, the target requirements include the service requirements of the first communication card and / or the actual needs of the users of the terminal.

11. A service scheduling device, characterized in that, include: The determination module is used to determine the signaling protection period in response to the first communication card in the terminal initiating a signaling service and the second communication card performing a network selection and camping service; The first scheduling module is used to schedule the signaling services of the first communication card and suspend the network selection and camping services of the second communication card during the signaling protection period. The second scheduling module is used to respond to the signaling protection period being exceeded and the signaling service not being scheduled, and to restore the network selection and stationing service, so as to schedule and execute the signaling service and the network selection and stationing service in a time-division multiplexing manner.

12. The apparatus according to claim 11, characterized in that, The second scheduling module is used for: In response to the expiration of the signaling protection period and the failure to complete the signaling service scheduling, the network selection and camping service of the second communication card is restored; During the first time period following the signaling protection period, a first scheduling mechanism is adopted to schedule and execute the signaling service and the network selection and stationing service using the time-division multiplexing method. In the first scheduling mechanism, the length of the time slot resources occupied by the signaling service in a single scheduling is greater than the length of the time slot resources occupied by the network selection and stationing service in a single scheduling.

13. The apparatus according to claim 12, characterized in that, The second scheduling module is also used for: If the signaling service is not scheduled to be completed within the first time period, a second scheduling mechanism is adopted in the second time period after the first time period to schedule and execute the signaling service and the network selection and stationing service using the time-division multiplexing method. In the second scheduling mechanism, the length of the time slot resources occupied by the signaling service in a single scheduling is matched with the length of the time slot resources occupied by the network selection and dwell service in a single scheduling.

14. A terminal, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the steps of the method as described in any one of claims 1 to 10.

15. A non-transitory computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by a processor, the program instructions implement the steps of the method according to any one of claims 1 to 10.

16. A chip, characterized in that, The chip includes an interface circuit and a processing circuit that are coupled to each other. The interface circuit is used to input or output signals, and the processing circuit is used to implement the method of any one of claims 1 to 10.

17. A computer program product, characterized in that, It includes a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 10.