Data service implementation method, wireless communication device and dual-card dual-standby equipment

By introducing a communication adapter module and a driver module into the wireless communication interface RIL layer to manage automatic data dialing and suspended threads, the problem of only being able to access the Internet on a single card in a dual-SIM dual-standby device is solved, and simultaneous Internet access on both cards is achieved, improving the user experience.

CN120602920APending Publication Date: 2025-09-05QUECTEL WIRELESS SOLUTIONS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510802233.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

Existing dual-SIM dual-standby devices can only select one user identity card when surfing the Internet, resulting in a poor user experience.

Method used

By introducing the communication adapter module and the communication driver module into the wireless communication interface RIL layer, and utilizing the dynamic link library and the automatic data dialing thread, the simultaneous dialing of two communication cards is realized, including the management of automatic data dialing and suspended threads.

Benefits of technology

It enables two communication cards in a dual-SIM dual-standby device to access the Internet at the same time, expands the application scenarios, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602920A_ABST
    Figure CN120602920A_ABST
Patent Text Reader

Abstract

The invention provides a data service implementation method, a wireless communication device and dual-card dual-standby equipment, and relates to the technical field of communication. The method comprises the following steps: monitoring an attribute value of a preset automatic dialing function in a dynamic link library by adopting an automatic data dialing thread; an automatic data dialing thread is adopted, a preset automatic dialing function in the dynamic link library is called, and a data dialing initiating process of the first communication card is executed; the communication adaptation module calls a preset data dialing setting function and transmits a data dialing setting request message of the second communication card to the communication driving module; the communication driving module sets the attribute value of the preset automatic dialing function as a second attribute value based on the setting data dialing request message; and executing a data dialing initiation process of the second communication card. According to the invention, two communication cards can simultaneously initiate data dialing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a data service implementation method, a wireless communication device, and a dual-SIM dual-standby device. Background Art

[0002] Dual SIM Dual Standby (DSDS) means that a device can have two Subscriber Identity Modules (SIMs) inserted at the same time, and both SIMs can be in standby mode at the same time.

[0003] Currently, when using a dual-SIM dual-standby device to access the Internet, only one user identity card can be selected, that is, only one network can be used at the same time, and Internet access is restricted, resulting in a poor user experience. Summary of the Invention

[0004] In response to the above-mentioned deficiencies in the prior art, the present application provides a data service implementation method, a wireless communication device, and a dual-SIM dual-standby device to solve the problems existing in the prior art.

[0005] The technical solutions adopted in the embodiments of this application are as follows:

[0006] In a first aspect, an embodiment of the present application provides a data service implementation method, which is applied to a wireless communication interface RIL layer under a preset operating system, wherein the RIL layer includes: a communication adapter module and a communication driver module, and the method includes:

[0007] The communication driver module calls a communication initialization function in a dynamic link library to initialize the dynamic link library, and calls an automatic data dialing thread from the communication initialization function;

[0008] The communication driver module uses the automatic data dialing thread to monitor the property value of the preset automatic dialing function in the dynamic link library;

[0009] If the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is the first attribute value, the communication driver module uses the automatic data dialing thread to call the preset automatic dialing function to execute the data dialing initiation process of the first communication card;

[0010] The communication adapter module calls a preset data dialing setting function to transmit a setting data dialing request message of the second communication card to the communication driver module;

[0011] The communication driving module sets the attribute value of the preset automatic dialing function to a second attribute value based on the setting data dialing request message;

[0012] If the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is set to the second attribute value, the communication driver module uses the automatic data dialing thread to call the preset automatic dialing function and execute the data dialing initiation process of the second communication card.

[0013] In one embodiment, the communication adapter module calls a preset data dialing setting function to transmit a setting data dialing request message of the second communication card to the communication driver module, including:

[0014] The communication adapter module calls the preset data dialing setting function, and through the preset data dialing setting function, transmits the setting data dialing request message to the shared library in the communication driver module, so that the shared library calls the request processing method in the dynamic link library to continue to transmit the setting data dialing request message.

[0015] In one embodiment, before the communication driver module sets the attribute value of the preset automatic dialing function to the second attribute value based on the setting data dialing request message, the method further includes:

[0016] The communication driving module adopts the request processing method in the dynamic link library and determines, according to the setting data dialing request message, that the communication card targeted by the setting data dialing request message is the second communication card.

[0017] In one embodiment, after the communication driver module calls a communication initialization function method in a dynamic link library to initialize the dynamic link library, the method further includes:

[0018] The communication driving module calls the automatic suspension thread from the communication initialization function, and the automatic suspension thread is used to monitor the property value of the preset automatic suspension function in the dynamic link library.

[0019] In one embodiment, the method further comprises:

[0020] If the automatic suspension thread monitors that the attribute value of the preset automatic suspension function is a third attribute value, the communication driver module uses the automatic suspension thread to call the preset automatic suspension function in the dynamic link library to execute the data dialing release process of the first communication card and the second communication card.

[0021] In one embodiment, if the automatic suspension thread monitors that the attribute value of the preset automatic suspension function is a third attribute value, the communication driver module uses the automatic suspension thread to call the preset automatic suspension function in the dynamic link library, and before executing the data dialing release process of the first communication card and the second communication card, the method further includes:

[0022] The communication adaptation module obtains a disconnect data dialing request from the application layer;

[0023] The communication adapter module calls a preset data dialing closing function according to the disconnect data dialing request, and transmits a data dialing closing request message of the second communication card to the communication driver module;

[0024] The communication driving module sets the attribute value of the preset automatic suspension function from the fourth attribute value to the third attribute value based on the data dial-off request message.

[0025] In one embodiment, the method further comprises:

[0026] After the data dialing release process of the first communication card and the second communication card is completed, the communication driving module sets the attribute value of the preset automatic suspension function to the fourth attribute value.

[0027] In one embodiment, before the communication driver module calls a communication initialization function in a dynamic link library to initialize the dynamic link library, and calls the automatic data dialing thread from the communication initialization function, the method further includes:

[0028] The communication adaptation module obtains the wireless communication service request transmitted by the application layer;

[0029] The communication adapter module transmits the wireless communication service request to the communication driver module;

[0030] The communication driving module determines, according to the wireless communication service request, that the dual-SIM dual-standby device is in a power-on startup phase.

[0031] In a second aspect, an embodiment of the present application provides a wireless communication device, comprising: a wireless communication interface RIL layer under a preset operating system, and a hardware communication unit, the RIL layer comprising: a communication adapter module and a communication driver module, the communication adapter module being connected to the communication driver module via a socket communication method, and the communication driver module being connected to the hardware communication unit via a serial port communication method;

[0032] The communication adapter module is used to call a preset data dialing setting function and transmit a setting data dialing request message of the second communication card to the communication driver module;

[0033] The communication driver module is used to call a communication initialization function in a dynamic link library to initialize the dynamic link library, and call an automatic data dialing thread from the communication initialization function; use the automatic data dialing thread to monitor the attribute value of a preset automatic dialing function in the dynamic link library; if the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is a first attribute value, use the automatic data dialing thread to call the preset automatic dialing function, execute the data dialing initiation process of the first communication card, and set the attribute value of the preset automatic dialing function to a second attribute value; if the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is set to the second attribute value, use the automatic data dialing thread to call the preset automatic dialing function in the dynamic link library, and execute the data dialing initiation process of the second communication card.

[0034] In a third aspect, an embodiment of the present application further provides a dual-SIM dual-standby device, comprising at least: the wireless communication device described in the above embodiment.

[0035] The beneficial effect of the present application is that the present application provides a data service implementation method, which can realize that in a dual-SIM dual-standby device, one communication card can automatically initiate dialing while the other communication card can initiate dialing through a communication adapter module, thereby realizing that the two communication cards can initiate data dialing at the same time, realizing dual-SIM dual-standby Internet access at the same time, making the application scenarios of dual-SIM dual-standby devices more extensive and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 A schematic diagram of the structure of the wireless communication interface RIL layer provided in an embodiment of the present application;

[0038] Figure 2 One of the flow charts of the data service implementation method provided in the embodiment of the present application;

[0039] Figure 3 The second flowchart of the data service implementation method provided in the embodiment of the present application;

[0040] Figure 4 Flowchart 3 of the data service implementation method provided in the embodiment of the present application;

[0041] Figure 5Flowchart 4 of the data service implementation method provided in the embodiment of the present application;

[0042] Figure 6 A schematic diagram of the structure of a wireless communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.

[0044] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for protection, but merely represents selected embodiments of the present application. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in the present application without creative work are within the scope of protection of the present application.

[0045] In addition, the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0046] It should be noted that, in the absence of conflict, the features in the embodiments of this application can be combined with each other.

[0047] At present, in the case of dual-SIM dual-standby, Android's wireless communication interface RIL layer can only select one SIM card as the Internet card, which results in a poor user experience. Therefore, an embodiment of the present application provides a data service implementation method that can solve the above problem. The method can be generated by any wireless communication interface RIL layer with computing and processing capabilities. The data service implementation method provided by the present application is specifically illustrated below through multiple examples in conjunction with the accompanying drawings.

[0048] The wireless communication interface layer described in this application is the wireless communication interface RIL layer (Radio Interface Layer) of Android, which is used to provide telephone services. Figure 1, explains the Android wireless communication interface RIL layer.

[0049] like Figure 1 As shown in the figure, the Android wireless communication interface RIL layer can be divided into the communication adapter module (RILJ) and the communication driver module (RILC) according to the source code. RILJ is a general term for Java programs running on the HAL layer, and RILC is a general term for C / C++ programs running in the HAL layer. RILC includes a shared library (libril.so) and a dynamic link library (libreference-ril.so).

[0050] RILC also includes the Main function (RILD), which serves as the entry point of the entire RIL layer. It uses dlopen to open the libreference-ril.so library, RIL_startEventLoop to create a client event listening thread, RIL_register to register the event processing interface, and creates a socket to listen for events.

[0051] Specifically, the role of RILD is to connect libril.so and libreference-ril.so. libril.so is a Java socket communication for the upper layer and distributes the naming of the Java layer to libreference-ril.so for the lower layer. Libreference-ril.so converts the naming into AT commands (modem command language, i.e. Attention), and then sends it to the hardware communication unit (Modem) through the serial port. In actual operation, the service request related to Android RIL is initiated by RILJ, passed to RILC's libril.so for processing, and then passed to libreference-ril.so, and finally sent to the baseband processor (modem) for processing. After the Modem processes, the processing results are passed back layer by layer. The advantage of this application making RIL an independent dynamic link library is that the Android system can adapt to different Modems, and different Modems can have an independent RIL corresponding to them.

[0052] The method of this application is applied to the wireless communication interface RIL layer under the preset operating system. Figure 2 This is one of the flow charts of the data service implementation method provided in the embodiment of the present application, such as Figure 2 As shown, the method includes:

[0053] S101. The communication driver module calls a communication initialization function in a dynamic link library to initialize the dynamic link library, and calls an automatic data dialing thread from the communication initialization function.

[0054] The wireless communication interface RIL layer under the preset operating system provided in the present application is in a dual-SIM dual-standby device, and the dual-SIM dual-standby device is a device that is provided with two communication cards (SIM cards) at the same time.

[0055] When a dual-SIM dual-standby device is in the startup phase, the communication driver module RILC calls the communication initialization function in the dynamic link library libreference-ril.so to start the automatic data dialing thread. Specifically, the automatic data dialing thread can be, for example, the autoDataCall thread. During the startup phase of the dual-SIM dual-standby device, RILD calls the RIL_Init method of libreference-ril.so to initialize it. In RIL_Init, the autoDataCall thread is started, which also starts the automatic data dialing thread.

[0056] S102: The communication driver module uses the automatic data dialing thread to monitor the property value of the preset automatic dialing function in the dynamic link library.

[0057] The preset automatic dialing function may be, for example, persist.quectel.auto_data_call. After the autoDataCall thread is started, the thread may be used to monitor the property value of persist.quectel.auto_data_call in libreference-ril.so.

[0058] S103: If the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is the first attribute value, the communication driver module uses the automatic data dialing thread to call the preset automatic dialing function to execute the data dialing initiation process of the first communication card.

[0059] The autoDataCall thread determines which communication card (SIM card) in the dual-SIM dual-standby device will automatically initiate dialing by judging the attribute value of persist.quectel.auto_data_call.

[0060] For example, persist.quectel.auto_data_call is preset with a first attribute value of 0 and a second attribute value of 1. The first attribute value of 0 indicates that the communication card that automatically initiates dialing is the first communication card, and the second attribute value of 1 indicates that the communication card that automatically initiates dialing is the second communication card.

[0061] When the autoDataCall thread detects that the persist.quectel.auto_data_call attribute value is 0, indicating that the user has set the first communication card as the default communication card in the dual-SIM dual-standby device, the communication driver module RILC uses the automatic data dialing thread to call the preset automatic dialing function persist.quectel.auto_data_call in the dynamic link library libreference-ril.so to execute the data dialing initiation process of the first communication card, thereby implementing data dialing of the first communication card.

[0062] S104: The communication adapter module calls a preset data dialing setting function and transmits a setting data dialing request message of the second communication card to the communication driver module.

[0063] Specifically, the communication adapter module RILJ calls the preset data dial setting function setupDatacall, and through the preset data dial setting function setupDatacall, passes the data dial setting request message RIL_REQUEST_SETUP_DATA_CALL to the shared library libril.so in the communication driver module RILC, so that the shared library libril.so calls the request processing method (onRequest method) in the dynamic link library libreference-ril.so, and continues to pass the data dial setting request message.

[0064] S105: The communication driving module sets the property value of the preset automatic dialing function to a second property value based on the setting data dialing request message.

[0065] After receiving the data dialing request message, the onRequest method of libreference-ril.so sets the attribute value of persist.quectel.auto_data_call to the second attribute value 1.

[0066] It should be noted that before executing step S105, the communication driver module needs to use the onRequest method to determine that the communication card targeted by the set data dial request message is the second communication card according to the set data dial request message, and then set the attribute value of persist.quectel.auto_data_call to the second attribute value 1.

[0067] S106: If the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is set to the second attribute value, the communication driver module uses the automatic data dialing thread to call the preset automatic dialing function to execute the data dialing initiation process of the second communication card.

[0068] After the persist.quectel.auto_data_call property value is set to the second property value 1, it will be monitored by the automatic data dialing thread autoDataCall. Similar to the dialing process of the first communication card, the communication driver module RILC uses the automatic data dialing thread to call persist.quectel.auto_data_call in libreference-ril.so. Since the persist.quectel.auto_data_call property value is set to 1 at this time, the autoDataCall thread can initiate the data dialing process for the second communication card, thus realizing that both communication cards of the dual-SIM dual-standby device can initiate data dialing simultaneously.

[0069] It should also be noted that, corresponding to the above embodiment, there is another situation during the actual execution of this method: if the autoDataCall thread monitors that the attribute value of persist.quectel.auto_data_call is 1, indicating that the user has set the second communication card as the default communication card in the dual-SIM dual-standby device, the communication driver module RILC uses the automatic data dialing thread to call the preset automatic dialing function persist.quectel.auto_data_call in the dynamic link library libreference-ril.so to execute the data dialing initiation process of the second communication card, thereby realizing data dialing of the second communication card, and the communication adapter module RILJ initiates a set data dialing request message for the first communication card, so that the first communication card initiates data dialing by RILJ. The specific implementation principle is exactly the same as that of the above embodiment and will not be repeated here.

[0070] In summary, this embodiment provides a data service implementation method, which can realize that in a dual-SIM dual-standby device, one communication card can automatically initiate dialing while the other communication card can initiate dialing through the communication adapter module, thereby realizing that the two communication cards can initiate data dialing at the same time, realizing dual-SIM dual-standby Internet access at the same time, making the application scenarios of dual-SIM dual-standby devices more extensive and improving the user experience.

[0071] Figure 3 The second flow chart of the data service implementation method provided in the embodiment of the present application is as follows: Figure 3 As shown, the method of the present application also includes:

[0072] S201. The communication driver module calls the automatic suspension thread from the communication initialization function.

[0073] When the dual-SIM dual-standby device is in the boot-up phase, while starting the automatic data dialing thread autoDataCall, the communication driver module RILC can also call the communication initialization function in the dynamic link library libreference-ril.so to start the automatic suspension thread.

[0074] Specifically, the automatic suspension thread may be, for example, an autoHangup thread. During the boot-up phase of the dual-SIM dual-standby device, RILD calls the RIL_Init method of libreference-ril.so for initialization, and starts the autoHangup thread in RIL_Init, i.e., starts the automatic suspension thread.

[0075] S202: The communication driver module uses an automatic suspension thread to monitor the property value of the preset automatic suspension function in the dynamic link library.

[0076] The preset automatic hangup function may be, for example, persist.quectel.auto_hangup. After the autoHangup thread is started, the attribute value of persist.quectel.auto_hangup may be monitored using the thread.

[0077] S203: If the automatic suspension thread monitors that the attribute value of the preset automatic suspension function is the third attribute value, the communication driver module uses the automatic suspension thread to call the preset automatic suspension function in the dynamic link library to execute the data dialing release process of the first communication card and the second communication card.

[0078] When the autoHangup thread detects that the attribute value of persist.quectel.auto_hangup is the third attribute value, it indicates that the user has initiated a request to disconnect the data dial-up. Then, the RILC uses the automatic hang-up thread to call the preset automatic hang-up function in the dynamic link library to execute the data dial-up release process of the first communication card and the second communication card, that is, to disconnect the data dial-up of the first communication card and the second communication card.

[0079] The third attribute value of persist.quectel.auto_hangup is a preset value, for example, 1. When the autoHangup thread monitors that the attribute value of persist.quectel.auto_hangup is 1, it indicates that the user has initiated a request to disconnect the data dialing, thereby executing the data dialing release process of the first communication card and the second communication card.

[0080] After the data dial release process of the first communication card and the second communication card is completed, the RILC sets the attribute value of persist.quectel.auto_hangup to a fourth attribute value. The fourth attribute value may be 0, for example, indicating that the communication card does not need to be released.

[0081] Figure 4 The third flow chart of the data service implementation method provided in the embodiment of the present application is as follows: Figure 4 As shown, before executing step S203, the method of the present application may further include:

[0082] S301: The communication adaptation module obtains a disconnect data dialing request from the application layer.

[0083] Before executing step S203, if the user initiates a disconnect data dialing request at the application layer, the communication adaptation module RILJ can obtain the disconnect data dialing request at the application layer, which indicates that the user wants to disconnect the data dialing between the first communication card and the second communication card.

[0084] S302: The communication adapter module calls a preset data dialing closing function according to the disconnect data dialing request, and transmits a data dialing closing request message of the second communication card to the communication driver module.

[0085] Since the first communication card is the default communication card, when RILJ obtains the application layer's request to disconnect the data dialing, the data dialing of the first communication card has been closed by the user. Therefore, after RILJ obtains the application layer's request to disconnect the data dialing, according to the preset data dialing closing function deactivateDataCall, the data dialing closing request message RIL_REQUEST_DEACTIVATE_DATA_CALL of the second communication card is passed to the communication driver module RILC, thereby closing the data dialing of the second communication card.

[0086] S303: The communication driver module sets the property value of the preset automatic suspension function from the fourth property value to the third property value based on the close data dial request message.

[0087] The default attribute value of persist.quectel.auto_hangup is 0. When the communication driver module receives the RIL_REQUEST_DEACTIVATE_DATA_CALL message, based on the data dialing closure request message, the attribute value of persist.quectel.auto_hangup is changed from 0 to 1. This allows the autoHangup thread to monitor the attribute value of persist.quectel.auto_hangup to be 1. RILC can then automatically suspend the thread. The onRequest method of libreference-ril.so executes the corresponding data dialing release process and calls the preset automatic suspend function persist.quectel.auto_hangup in the dynamic link library libreference-ril.so to close the data dialing of the second communication card. In this way, data dialing of both cards can be closed at the same time.

[0088] Figure 5 The fourth flow chart of the data service implementation method provided in the embodiment of the present application is as follows: Figure 5 As shown, before executing step S101, the method of the present application further includes:

[0089] S401: The communication adaptation module obtains a wireless communication service request transmitted by the application layer.

[0090] When a user initiates a wireless communication service request through the application layer, the communication adaptation module RILJ can obtain the wireless communication service request transmitted by the application layer. The wireless communication service request is used to indicate that the dual-SIM dual-standby device is in the startup phase.

[0091] S402: The communication adapter module transmits the wireless communication service request to the communication driver module.

[0092] After receiving the wireless communication service request, RILJ passes the wireless communication service request to the communication driver module RILC.

[0093] S403: The communication driver module determines that the dual-SIM dual-standby device is in the startup phase according to the wireless communication service request.

[0094] RILC can determine that the dual-SIM dual-standby device is in the startup phase through wireless communication service requests.

[0095] Figure 6 A schematic diagram of the structure of a wireless communication device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the present application also provides a wireless communication device, including a wireless communication interface RIL layer under a preset operating system, and a hardware communication unit modem.

[0096] The RIL layer includes a communication adapter module RILJ and a communication driver module RILC. The communication adapter module RILJ is connected to the communication driver module RILC via a socket communication mode, and the communication driver module RILC is connected to the hardware communication unit modem via a serial communication mode.

[0097] The communication adapter module is used to call the preset data dialing setting function and transmit the setting data dialing request message of the second communication card to the communication driver module;

[0098] The communication driver module is used to call a communication initialization function in a dynamic link library to initialize the dynamic link library, and call an automatic data dialing thread from the communication initialization function; use the automatic data dialing thread to monitor the attribute value of a preset automatic dialing function in the dynamic link library; if the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is a first attribute value, use the automatic data dialing thread to call the preset automatic dialing function and execute the data dialing initiation process of the first communication card; set the attribute value of the preset automatic dialing function to a second attribute value; if the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is set to the second attribute value, use the automatic data dialing thread to call the preset automatic dialing function in the dynamic link library and execute the data dialing initiation process of the second communication card.

[0099] The specific implementation method can refer to the description of the above method embodiment, which will not be repeated here.

[0100] Based on the wireless communication device provided in the above embodiment, the present application also provides a dual-SIM dual-standby device, which at least includes the wireless communication device provided in the above embodiment and can enable two communication cards to initiate data dialing at the same time.

[0101] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0102] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0103] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0104] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a readable storage medium. The above-mentioned software functional unit is stored in a readable storage medium and includes a number of instructions for enabling a dual-SIM dual-standby device or processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk, and other media that can store program code.

[0105] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A data service implementation method, characterized in that: The wireless communication interface RIL layer applied to a preset operating system includes: a communication adapter module and a communication driver module. The method includes: The communication driver module calls a communication initialization function in a dynamic link library to initialize the dynamic link library, and calls an automatic data dialing thread from the communication initialization function; The communication driver module uses the automatic data dialing thread to monitor the property value of the preset automatic dialing function in the dynamic link library; If the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is the first attribute value, the communication driver module uses the automatic data dialing thread to call the preset automatic dialing function to execute the data dialing initiation process of the first communication card; The communication adapter module calls a preset data dialing setting function to transmit a setting data dialing request message of the second communication card to the communication driver module; The communication driving module sets the attribute value of the preset automatic dialing function to a second attribute value based on the setting data dialing request message; If the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is set to the second attribute value, the communication driver module uses the automatic data dialing thread to call the preset automatic dialing function and execute the data dialing initiation process of the second communication card.

2. The method according to claim 1, characterized in that The communication adapter module calls a preset data dialing setting function to transmit a setting data dialing request message of the second communication card to the communication driver module, including: The communication adapter module calls the preset data dialing setting function, and through the preset data dialing setting function, transmits the setting data dialing request message to the shared library in the communication driver module, so that the shared library calls the request processing method in the dynamic link library to continue to transmit the setting data dialing request message.

3. The method according to claim 2, characterized in that Before the communication driving module sets the attribute value of the preset automatic dialing function to a second attribute value based on the setting data dialing request message, the method further includes: The communication driving module adopts the request processing method in the dynamic link library and determines, according to the setting data dialing request message, that the communication card targeted by the setting data dialing request message is the second communication card.

4. The method according to claim 1, wherein After the communication driver module calls the communication initialization function method in the dynamic link library to initialize the dynamic link library, the method further includes: The communication driving module calls the automatic suspension thread from the communication initialization function, and the automatic suspension thread is used to monitor the property value of the preset automatic suspension function in the dynamic link library.

5. The method according to claim 4, characterized in that The method further comprises: If the automatic suspension thread monitors that the attribute value of the preset automatic suspension function is a third attribute value, the communication driver module uses the automatic suspension thread to call the preset automatic suspension function in the dynamic link library to execute the data dialing release process of the first communication card and the second communication card.

6. The method according to claim 5, characterized in that If the automatic suspension thread monitors that the attribute value of the preset automatic suspension function is a third attribute value, the communication driver module uses the automatic suspension thread to call the preset automatic suspension function in the dynamic link library, and before executing the data dialing release process of the first communication card and the second communication card, the method further includes: The communication adaptation module obtains a disconnect data dialing request from the application layer; The communication adapter module calls a preset data dialing closing function according to the disconnect data dialing request, and transmits a data dialing closing request message of the second communication card to the communication driver module; The communication driving module sets the attribute value of the preset automatic suspension function from the fourth attribute value to the third attribute value based on the data dial-off request message.

7. The method according to claim 5, characterized in that The method further comprises: After the data dialing release process of the first communication card and the second communication card is completed, the communication driving module sets the attribute value of the preset automatic suspension function to a fourth attribute value.

8. The method according to claim 1, characterized in that Before the communication driver module calls a communication initialization function in a dynamic link library to initialize the dynamic link library, and calls the automatic data dialing thread from the communication initialization function, the method further includes: The communication adaptation module obtains the wireless communication service request transmitted by the application layer; The communication adapter module transmits the wireless communication service request to the communication driver module; The communication driving module determines that the dual-SIM dual-standby device is in a power-on startup phase according to the wireless communication service request.

9. A wireless communication device, characterized in that: include: A wireless communication interface RIL layer under a preset operating system, and a hardware communication unit, wherein the RIL layer includes: a communication adapter module and a communication driver module, wherein the communication adapter module is connected to the communication driver module via a socket communication mode, and the communication driver module is connected to the hardware communication unit via a serial port communication mode; The communication adapter module is used to call a preset data dialing setting function and transmit a setting data dialing request message of the second communication card to the communication driver module; The communication driver module is used to call a communication initialization function in a dynamic link library to initialize the dynamic link library, and call an automatic data dialing thread from the communication initialization function; use the automatic data dialing thread to monitor the attribute value of a preset automatic dialing function in the dynamic link library; if the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is a first attribute value, use the automatic data dialing thread to call the preset automatic dialing function and execute the data dialing initiation process of the first communication card; set the attribute value of the preset automatic dialing function to a second attribute value; if the automatic data dialing thread monitors that the attribute value of the preset automatic dialing function is set to the second attribute value, use the automatic data dialing thread to call the preset automatic dialing function in the dynamic link library and execute the data dialing initiation process of the second communication card.

10. A dual-SIM dual-standby device, characterized in that: At least: The wireless communication device according to claim 9.