CN114679752A - Method for sharing wireless communication capacity by dual systems and terminal equipment - Google Patents

Method for sharing wireless communication capacity by dual systems and terminal equipment Download PDF

Info

Publication number
CN114679752A
CN114679752A CN202210319345.8A CN202210319345A CN114679752A CN 114679752 A CN114679752 A CN 114679752A CN 202210319345 A CN202210319345 A CN 202210319345A CN 114679752 A CN114679752 A CN 114679752A
Authority
CN
China
Prior art keywords
management module
module
communication data
response information
input interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210319345.8A
Other languages
Chinese (zh)
Other versions
CN114679752B (en
Inventor
周华
王晓林
吕士朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202210319345.8A priority Critical patent/CN114679752B/en
Publication of CN114679752A publication Critical patent/CN114679752A/en
Application granted granted Critical
Publication of CN114679752B publication Critical patent/CN114679752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application discloses a method for sharing wireless communication capacity by two systems and terminal equipment, which are used for solving the problem that the two systems in the terminal equipment of the two systems cannot share the wireless communication capacity. The method comprises the steps that a proxy service module comprising a first input interface, a second input interface and an output interface of a user identification card is added, wherein the first input interface is used for receiving first communication data sent by a first management module of a first system, and the second input interface is used for receiving second communication data sent by a second management module of a second system; the first management module and the second management module manage communication data of the same user identification card; if any communication data in the first communication data and the second communication data is received, the output interface of the user identification card is adopted to send the communication data to the wireless interface module of the user identification card, so that the two systems can be connected with the wireless interface module, and the two systems can share the wireless communication capacity of the hardware equipment layer.

Description

Method for sharing wireless communication capacity by dual systems and terminal equipment
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method for sharing wireless communication capability between dual systems and a terminal device.
Background
Along with the increasing popularization of terminal equipment, many industry markets have very high requirements on the safety and the management and control of the terminal equipment, and both information safety and convenience in use are considered, so that life and work are both avoided. The common mobile phone is generally a single system and cannot meet the special requirements of multiple scenes of the industry, and the terminal equipment of the double systems can meet the functional requirements of a working mode scene through one subsystem, and can meet the functional requirements of a common living mode through the other subsystem, so that the requirements of multiple scenes of the industry can be well met. The wireless communication capability of the subsystem is one of the core requirements of the dual-system terminal.
In the related art, both systems in which a dual-system terminal device interacts with a user need to have wireless communication capabilities, such as wireless communication capabilities of network residence, telephone, dialing, internet access, and the like. The application program layer of the dual-system terminal equipment is mainly connected with the wireless service layer and then connected with the hardware equipment, and the wireless communication capacity of the hardware equipment is mapped into the dual system, so that the dual-system terminal equipment can realize the wireless communication capacity, but the hardware equipment for realizing the corresponding wireless communication capacity in the terminal equipment is unique, and only one system in the android system can be connected with the wireless service layer, so that the processes of two systems in the dual-system terminal equipment cannot be simultaneously connected with the wireless service layer, and the two systems cannot simultaneously realize the wireless communication capacity.
Disclosure of Invention
The present application provides a method for sharing wireless communication capability between two systems and a terminal device, so as to solve the problem that two systems in a dual-system terminal device cannot share wireless communication capability.
In a first aspect, the present application provides a method for dual systems to share wireless communication capability, where the dual systems include a first system and a second system, and the method includes:
establishing communication connection based on a first input interface and a first management module of the first system, and establishing communication connection based on a second input interface and a second management module of the second system; the first management module and the second management module manage communication data of the same user identification card; the first input interface is used for receiving first communication data sent by the first management module, and the second input interface is used for receiving second communication data sent by the second management module;
if any communication data in the first communication data and the second communication data is received, the communication data is sent to a wireless interface module of the user identification card by adopting an output interface of the user identification card; and the wireless interface module of the user identification card is used for sending the communication data to a hardware equipment layer.
In one possible embodiment, the method further comprises:
receiving response information sent by a wireless interface module of the user identification card; the response information is response information aiming at the communication data sent by the hardware equipment layer;
if the response information is the response information of the first communication data, sending the response information to a first management module of the first system;
and if the response information is the response information of the second communication data, sending the response information to a second management module of the second system.
In one possible embodiment, the method further comprises:
acquiring a data identifier of the response information;
if the data identifier of the response information is the data identifier of the first communication data, determining that the response information is the response information of the first communication data;
and if the data identifier of the response information is the data identifier of the second communication data, determining that the response information is the response information of the second communication data.
In a possible embodiment, the establishing a communication connection based on the first input interface and a first management module of the first system and the establishing a communication connection based on the second input interface and a second management module of the second system includes:
if a connection request of a first management module of the first system is received, establishing communication connection between the first input interface and the first management module of the first system;
and if a connection request of a second management module of the second system is received, establishing communication connection between the second input interface and the second management module of the second system.
In one possible embodiment, the method further comprises:
responding to the starting operation of the terminal equipment, and receiving a connection request sent by a first management module of a first system if a foreground system is the first system;
and in response to the operation of switching the second system to the foreground system, receiving a connection request sent by a second management module of the second system, wherein the connection request of the second management module is triggered after the second system is switched to the foreground system.
In one possible embodiment, the method further comprises:
receiving a state event reported by a wireless interface module of the subscriber identity module, and respectively synchronizing the state event to a first management module of the first system and a second management module of the second system through the first input interface and the second input interface; the state event comprises network registration information and signal state.
In one possible embodiment, the method further comprises:
if the foreground system is the first system, sending a first specified event in the state events to a first management module of the first system through the first input interface;
and if the foreground system is the second system, sending a second specified event in the state events to a second management module of the second system through the second input interface.
In a second aspect, the present application provides a terminal device, comprising:
a display, a processor, and a memory;
the display is used for displaying a screen display area;
the memory to store the processor-executable instructions;
the processor is configured to execute the instructions to implement the method of dual system shared wireless communication capability as described in any of the above first aspects.
In a third aspect, the present application provides a computer-readable storage medium, wherein instructions, when executed by a terminal device, enable the terminal device to perform the method for dual-system sharing wireless communication capability as described in any of the first aspect above.
In a fourth aspect, the present application provides a computer program product comprising a computer program:
the computer program when executed by a processor implements a method of dual system shared wireless communication capability as described in any of the above first aspects.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
the dual system comprises a first system and a second system, communication connection is established based on a first input interface and a first management module of the first system, and communication connection is established based on a second input interface and a second management module of the second system; the first management module and the second management module manage communication data of the same user identification card; the first input interface is used for receiving first communication data sent by the first management module, and the second input interface is used for receiving second communication data sent by the second management module; if any communication data in the first communication data and the second communication data is received, the output interface of the user identification card is adopted to send the communication data to the wireless interface module of the user identification card; the wireless interface module of the user identification card is used for sending communication data to the hardware equipment layer.
Therefore, the proxy service module comprising the first input interface, the second input interface and the output interface of the user identification card can be added to carry out data communication with the wireless interface module, so that the wireless interface module can be connected with two systems, and the wireless communication capability of a hardware equipment layer is sent to the two systems, so that the two systems can share the wireless communication capability of the hardware equipment layer, and meanwhile, the original wireless interface module of the system is not modified, the coupling with a platform manufacturer code is greatly reduced, and the module integration is facilitated.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an interface for invoking an RIL to implement a wireless service in the prior art;
fig. 2 is a schematic structural diagram of a terminal device of a dual-card single-system implementing wireless communication capability in the prior art;
fig. 3 is a schematic diagram illustrating the relationship between systems in a dual-system terminal device in the prior art;
fig. 4 is a schematic structural diagram of a dual-system terminal device implementing wireless communication capability in the prior art;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 6 is a block diagram of a software structure of a terminal device according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a method for dual system sharing wireless communication capability according to an embodiment of the present application;
fig. 8 is a schematic structural diagram illustrating a terminal device of a single-card dual-system according to an embodiment of the present application, where the terminal device implements a wireless communication capability;
fig. 9 is a schematic structural diagram of a terminal device of a dual-card dual-system according to an embodiment of the present application, for implementing a wireless communication capability.
Detailed Description
In order to make the objects, 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 with reference to the drawings in the embodiments of the present application. The embodiments described are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Also, in the description of the embodiments of the present application, "/" indicates an inclusive meaning unless otherwise specified, for example, a/B may indicate a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiments of the present application.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the features, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
Hereinafter, the foreground system is a system of the terminal device currently used by the user; the background system is a system of the terminal equipment which can not be directly used by the user at present.
The android platform is designed based on a single system, so that a single system terminal device only has one system to interact with a user, and wireless service functions of the terminal device, such as mobile network registration, telephone, dialing, internet surfing and the like, are realized by the interaction of an application program Layer of the terminal device and a modem (modem) through a Radio Interface Layer (RIL). The wireless service function is finally supported by hardware devices such as sim card (Subscriber Identity Module), modem chip, antenna, and the like at the hardware level.
Referring to fig. 1, in order to call an interface of an RIL to implement a structure diagram of a wireless service function, as shown in fig. 1, a wireless communication capability of a terminal device of an android system is finally implemented by hardware devices such as a modem, in order to facilitate an application layer to implement wireless communication functions such as network residence, telephony, internet surfing, and SIM card services using the wireless communication capability, a manufacturer platform abstracts functions of the hardware devices such as the modem into interface sets, and the application layer interacts with the hardware devices such as the modem through the interfaces to finally implement a related wireless communication capability. The RIL module is a concrete implementation of the abstract interfaces, and the application program layer is actually used for calling the interface of the RIL to interact with hardware devices such as the modem.
As shown in fig. 1, the top Layer is an application Layer, which includes applications such as call, short message, SIM card management, and data tracking, and is mainly responsible for sending a user instruction to an RIL frame (Radio Interface Layer frame) of an application frame Layer Framework Layer, which is hereinafter referred to as an RILJ module.
The application program framework layer comprises two parts, one is a Phone (telephone management) module which is used for directly exposing a telephone function interface to an application development user for the calling of the user to realize the telephone function; the other is the RILJ module, which mainly provides a general API (Application Programming Interface) for the Application Layer, such as TelephonyManager (including call and network STATUS; SubscriptionManager (card STATUS), SmsManager (short message STATUS), etc., and the RILJ module is also responsible for maintaining communication with the rid (Radio Interface Layer Daemon), and sending the REQUEST of the Application Layer to the rid of the system library Layer to communicate with the rid, wherein the REQUEST sent by the RILJ module to the rid Application Layer is commonly referred to as RIL _ REQUEST _ GET _ SIM _ tus (obtaining SIM card STATUS), RIL _ REQUEST _ l (dialing call), RIL _ REQUEST _ SEND _ SMS (sending short message), RIL _ REQUEST _ STATE _ GET _ call (obtaining CURRENT call STATUS), and RIL _ REQUEST _ list (obtaining network STATUS).
The RIL module includes two parts at the system library level, intermediate the application framework level and the kernel level. One part is a rild module which is mainly used for being responsible for communication between a socket and an application program framework layer, continuously transmitting a request sent by the RILJ module to a kernel layer, and simultaneously sending a state change actively reported by hardware equipment to the RILJ module. The other part is a Vendor RIL module which is mainly responsible for continuously sending requests to the hardware equipment layer and communicating with the kernel layer. The state change actively reported by the hardware equipment is as follows: when the NETWORK STATE changes, RIL _ UNSOL _ RESPONSE _ VOICE _ NETWORK _ STATE _ CHANGED is actively reported, when a NEW short message exists, RIL _ UNSOL _ RESPONSE _ NEW _ SMS is actively reported, when an incoming CALL exists, RIL _ UNSOL _ CALL _ RING and the like are actively reported.
And the last layer is a kernel layer and is used for transmitting the request to the hardware equipment after receiving the request, and finally transmitting the request to the network end by the hardware equipment, and after the network end returns a result, transmitting the result back to the rild module by the hardware equipment.
Fig. 2 is a schematic structural diagram of a terminal device of a dual-card single-system according to an embodiment of the present application, for implementing a wireless communication capability. The rild module and the vendor RIL in fig. 2 constitute the RIL, hereinafter the radio interface module. For convenience of understanding, the following describes a flow of implementing the wireless communication capability by using a terminal device of a dual-card single-system as an example, with reference to fig. 2:
firstly, a rild module receives a communication request sent by a phone (1) module of SIM1 or a phone (2) module of SIM2 of an application framework layer through an RILJ module, the communication request is processed by the rild module and then sent to a vendor ril module, and the vendor ril module sends the communication request to hardware equipment such as a modem; and after the hardware equipment such as modem receives the communication request and sends the communication request to the network side, after the network side returns a result (response), the hardware equipment sends the result to the rild module through the vendor ril module, and feeds back the response to the SIM1 or the SIM2 which sends the communication request through the rild module.
Meanwhile, hardware devices such as modem can actively report the state event indication, send the state event indication to the rild module through the vendor ril module, and feed back the state event indication to the SIM1 or the SIM2 in use through the indication of the rild module.
Thus, through the flow shown in fig. 2, the terminal device of the dual-card single-system can implement the wireless communication capability. However, with the increasing popularization of terminal devices, many industry markets have high requirements on the safety and management and control of the terminal devices, and both information safety and convenience in use are considered, so that life and work are both avoided. The common mobile phone is generally a single-system terminal device, and cannot meet the special requirements of multiple scenes in the industry, while the terminal device of the double-system can meet the functional requirements of a working mode scene by one subsystem, meet the functional requirements of a common life mode by the other subsystem, and can well meet the requirements of multiple scenes in the industry. The wireless communication capability of the subsystem is one of the core requirements of the dual-system terminal.
The dual-system terminal device runs three systems on the terminal, a schematic relationship diagram of each system in the dual-system terminal device is shown in fig. 3, one of the systems is a main system which is a system invisible to a user in the terminal device, the other two systems are subsystems such as a common system and a safety system, the subsystems are systems visible to the user and capable of interacting with the user, the user can switch between the two subsystems, and the two subsystems are respectively represented by a first system and a second system.
In the related art, both subsystems interacting with a user need wireless communication capabilities such as network presence, telephone, dialing, internet access and the like. When the two subsystems are not on-line simultaneously, the two subsystems run respective processes. The functionality provided in the two subsystems is the same for the user as for a normal single system terminal device. Fig. 4 is a schematic structural diagram illustrating a dual-system terminal device implementing wireless communication capability in the prior art. In the process of implementing the wireless communication function, the instruction interaction flow is as shown in fig. 4, where application program layers of the first system and the second system issue instruction requests through RILJ (Radio Interface Layer Framework), interact with the modem through rild running in the main system, receive responses of the modem to the instruction requests through rild running in the main system, and send the responses to the instruction requests to the subsystem sending the instruction requests, so as to implement the wireless communication function. However, hardware devices such as SIM cards and modems for realizing corresponding wireless communication capabilities in the terminal device are unique, one service of a rild module in the main system only has one input interface and one output interface when serving the same SIM card, and the default android system only has one subsystem connected with rild, so that when the dual systems are directly operated, the processes in the two systems cannot be connected with the rild module at the same time, so that the two systems cannot be on-line at the same time, and the wireless communication capabilities are realized at the same time.
In view of this, the present application provides a method for sharing wireless communication capability between two systems and a terminal device, so as to solve the problem that two systems in a dual-system terminal device cannot share wireless communication capability.
The inventive concept of the present application can be summarized as follows: a proxy service module is added in a system library layer of a main system, and the proxy service module is a multi-input multi-output module. Taking dual systems as an example, the same subscriber identity module is provided with different management modules in different systems, for example, a first management module is provided in a first system, and a second management module is provided in a second system. The proxy service module establishes communication connection with a first management module of a first system based on the first input interface and establishes communication connection with a second management module of a second system based on the second input interface; the first input interface is used for receiving first communication data sent by the first management module, and the second input interface is used for receiving second communication data sent by the second management module; if any communication data in the first communication data and the second communication data is received, the output interface of the user identification card is adopted to send the communication data to the wireless interface module of the user identification card; the wireless interface module of the user identification card is used for sending communication data to the hardware equipment layer. Therefore, the wireless interface module can be simultaneously connected with the two systems by adding the agent service module to carry out data communication with the wireless interface module, the wireless communication capability of the hardware equipment layer is sent to the two systems, the two systems can share the wireless communication capability of the hardware equipment layer, the original wireless interface module of the system is not modified, the coupling with a platform manufacturer code is greatly reduced, and the module integration is facilitated.
After the inventive concept of the present application is introduced, the terminal device provided in the present application will be described below.
Fig. 5 shows a schematic structural diagram of a terminal device 100. It should be understood that the terminal device 100 shown in fig. 5 is only an example, and the terminal device 100 may have more or less components than those shown in fig. 5, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of the terminal device 100 according to an exemplary embodiment is exemplarily shown in fig. 5. As shown in fig. 5, the terminal device 100 includes: radio Frequency (RF) circuit 110, memory 120, display unit 130, camera 140, sensor 150, audio circuit 160, Wireless Fidelity (Wi-Fi) module 170, processor 180, bluetooth module 181, and power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal device 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the terminal device 100 to operate. The memory 120 may store an operating system and various application programs, and may also store program codes for performing the method for dual system sharing wireless communication capability according to the embodiment of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the terminal device 100, and specifically, the display unit 130 may include a touch screen 131 disposed on the front surface of the terminal device 100 and capable of collecting touch operations, such as button clicking, by the user thereon or nearby.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal apparatus 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the terminal device 100. The display 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display a screen display area of the terminal device in the present application.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal device 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The terminal device 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal device 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the terminal device 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal device 100 may further be configured with a volume button for adjusting the volume of the sound signal, and may be configured to combine other buttons to adjust the closed area. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal device, or outputs the audio data to the memory 120 for further processing.
Wi-Fi belongs to a short-distance wireless transmission technology, and the terminal device 100 can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 170, and provides wireless broadband internet access for the user.
The processor 180 is a control center of the terminal device 100, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, a touch response, and a method for sharing wireless communication capability by two systems according to the embodiments of the present application. Further, the processor 180 is coupled with the display unit 130.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having bluetooth modules through a bluetooth protocol. For example, the terminal device 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The terminal device 100 also includes a power supply 190 (such as a battery) for powering the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The terminal device 100 may further be configured with a power button for powering on and off the terminal device, and locking the screen.
Fig. 6 is a block diagram of a software configuration of the terminal device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer, from top to bottom, respectively. As shown in fig. 6, in the present application, each system of the dual systems respectively has the application layer and the application framework layer corresponding to each other, and the dual systems share the same system library and share the same kernel layer.
The application layer may include a series of application packages.
As shown in fig. 6, the application package may include applications such as call, sms, SIM management, data tracking, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 6, the application framework layers may include a window manager, a content provider, a radio interface framework layer, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, dialed and received calls, browsing history and bookmarks, phone books, short messages, etc.
The radio Interface framework layer is used to provide a general API (Application Programming Interface) for the Application layer, such as TelephonyManager (including call and network status; subscribescription manager, sms manager, etc.), and is also responsible for maintaining communication with the proxy service module and the radio Interface module in the system library, and sending the request of the Application layer to the proxy service module.
The phone manager is used to provide the communication function of the terminal device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources, such as localized strings, icons, pictures, layout files, video files, etc., to the application.
The notification manager allows the application to display notification information (e.g., the message content of a short message) in the status bar, can be used to convey notification-type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal device vibrates, an indicator light flickers, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc., the system Libraries further including the proxy service module and the wireless interface module provided in the embodiments of the present application.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
A 2D (an animation mode) graphics engine is a drawing engine for 2D drawing.
In the embodiment of the present application, the proxy service module and the wireless interface module in the system library are commonly used by two systems, and the media library, the three-dimensional graphics processing library, and the 2D graphics engine are respectively used by two systems in the two systems.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver and the like.
The terminal 100 in the embodiment of the present application may be an electronic device including, but not limited to, a smart phone, a tablet computer, a wearable electronic device (e.g., a smart watch), a notebook computer, and the like.
In order to facilitate understanding of the method for sharing wireless communication capability by two systems provided in the embodiments of the present application, the following description is further provided with reference to the accompanying drawings.
Fig. 7 is a flowchart illustrating a method for sharing wireless communication capability between two systems according to an embodiment of the present application. In the embodiment of the application, a proxy service module is added, each service sub-module proxyService of the proxy service module only serves the same SIM card, and the proxy service module is provided with two input interfaces and one output interface. A wireless interface module is connected downwards, and an HIDL (hardware abstraction layer interface definition language) interface is provided upwards for connecting the first system and the second system. As shown in fig. 7, the dual system includes a first system and a second system, and the method includes the steps of:
in step 701, establishing a communication connection based on a first input interface and a first management module of a first system, and establishing a communication connection based on a second input interface and a second management module of a second system; the first management module and the second management module manage communication data of the same user identification card; the first input interface is used for receiving first communication data sent by the first management module, and the second input interface is used for receiving second communication data sent by the second management module.
In a possible implementation manner, in this embodiment, establishing a communication connection based on the first input interface and the first management module of the first system, and establishing a communication connection based on the second input interface and the second management module of the second system may be implemented as: if a connection request of a first management module of a first system is received, establishing communication connection with the first management module of the first system by adopting a first input interface; and if a connection request of a second management module of the second system is received, establishing communication connection with the second management module of the second system by adopting the second input interface.
During implementation, the input interface and the corresponding management module are required to be established in communication connection after a connection request is received, and if only the connection request of the management module of one system is received, the communication connection is only established between the management module of the system and the corresponding input interface; if a connection request of a first management module of a first system and a connection request of a second management module of a second system are received at the same time, a first input interface and the first management module of the first system are adopted to establish communication connection, and a second input interface and the second management module of the second system are adopted to establish communication connection. Therefore, the communication connection is established after the connection request is received, so that the data expenditure can be saved, and unnecessary data resource waste is reduced.
In a possible implementation manner, in response to a power-on operation of the terminal device in the embodiment of the present application, the first system and the second system may simultaneously send a connection request, so that the connection between the dual system and the proxy service module is completed in a power-on phase. Or responding to the starting operation of the terminal equipment, and receiving a connection request sent by a first management module of a first system if the foreground system is the first system; and in response to the operation of switching the second system to the foreground system, receiving a connection request sent by a second management module of the second system, wherein the connection request of the second management module is triggered after the second system is switched to the foreground system, that is, the first system and the second system are asynchronously sent connection requests. The method can be specifically implemented as follows: if the foreground system is the first system, the terminal equipment receives a connection request sent by a first management module of the first system while being started, establishes communication connection between the first input interface and the first management module of the first system, receives a connection request sent by a second management module of the second system after the second system is switched to be the foreground system, and establishes communication connection between the second input interface and a second management module of the second system on the basis of not disconnecting the communication connection established between the first input interface and the first management module of the first system.
Therefore, communication connection can be established based on the first input interface and the first management module of the first system, communication connection is established based on the second input interface and the second management module of the second system, and the first system and the second system are both connected with the proxy service module, so that the first system and the second system can simultaneously send communication data, and the wireless communication capacity of the first system and the second system can be simultaneously on line when the first system and the second system are switched.
In step 702, if any communication data of the first communication data and the second communication data is received, the output interface of the subscriber identity module is used to send the communication data to the wireless interface module of the subscriber identity module; the wireless interface module of the user identification card is used for sending communication data to the hardware equipment layer.
In a possible implementation manner, after sending the communication data to the hardware device layer, it is further required to receive response information fed back by the hardware device layer for the communication data, and therefore the method for dual-system sharing wireless communication capability provided by the embodiment of the present application further includes: receiving response information sent by a wireless interface module of the subscriber identity module; the response information is response information aiming at communication data sent by a hardware device layer; if the response information is response information of the first communication data, sending the response information to a first management module of the first system; and if the response information is the response information of the second communication data, sending the response information to a second management module of the second system. The received response information can be transmitted to the first management module of the first system and the second management module of the second system through the proxy service module.
In a possible implementation manner, when response information sent by the wireless interface module is received, in order to determine whether the response information is response information of the first communication data or response information of the second communication data, in an embodiment of the present application, first, a data identifier of the response information needs to be acquired; if the data identifier of the response information is the data identifier of the first communication data, determining that the response information is the response information of the first communication data; and if the data identifier of the response information is the data identifier of the second communication data, determining that the response information is the response information of the second communication data. Therefore, whether the received response information is the response information of the first communication data or the response information of the second communication data can be determined according to the consistency of the response information and the data identification of the communication data, so that the received response information can be correctly fed back to the first system or the second system.
In a possible implementation manner, on the basis of sending communication data and receiving response information to the sent communication data, the present application embodiment may further receive a state event reported by the wireless interface module of the subscriber identity module, and synchronize the state event to the first management module of the first system and the second management module of the second system through the first input interface and the second input interface, respectively; the state event includes network registration information, a signal state, a short message state, an incoming call state and the like. Wherein, the state event is actively reported to the wireless interface module by the hardware equipment layer.
In a possible implementation manner, some specified events in the state events reported by the wireless interface module of the user identification card must be sent to the foreground system, for example, the state event of an incoming call, can only be sent to the foreground system to be processed by the foreground system, so as to avoid communication confusion caused by sending the specified events to the background system or synchronously sending the specified events to the foreground system and the background system, therefore, in the embodiment of the present application, it is first necessary to determine whether the reported state event is a specified event that must be sent to the foreground system; if not, directly synchronizing the state event to a first management module of the first system and a second management module of the second system through the first input interface and the second input interface respectively; if the state event is the first system, a first designated event in the state events is sent to a first management module of the first system through a first input interface; and if the foreground system is the second system, sending a second specified event in the state events to a second management module of the second system through a second input interface. The designated events represented by the first designated event and the second designated event may be the same, and in order to distinguish the designated event received by the foreground system for the first system from the designated event received by the foreground system for the second system, the designated event received by the foreground system for the first system is represented as the first designated event, and the designated event received by the foreground system for the second system is represented as the second designated event.
For convenience of understanding, the method for sharing wireless communication capability between two systems provided in the embodiment of the present application is further described below by taking a terminal device of a single-card dual-system and a terminal device of a dual-card dual-system as examples.
Example one:
fig. 8 is a schematic structural diagram of a terminal device of a single-card dual-system according to an embodiment of the present application, for implementing a wireless communication capability. The wireless interface module in fig. 8 comprises two parts, a rild module and a vendor ril module. The first management module of the first system and the second management module of the second system manage communication data of the same user identification card.
First, a proxy service module shown in fig. 8 is added, and a service sub-module proxyService (slot1) of the proxy service module serves only the SIM1 and has two input interfaces and one output interface. Therefore, the first input interface of the proxy service module is in communication connection with the first management module of the first system, and the second input interface of the proxy service module is in communication connection with the second management module of the second system, so that the first input interface is used for receiving first communication data sent by the first management module, and the second input interface is used for receiving second communication data sent by the second management module.
Then, if any communication data in the first communication data and the second communication data is received, the output interface of the proxyService (slot1) in the proxy Service module is adopted to send the communication data to the input interface of the Service (slot1) in the wireless interface module, so that the wireless interface module sends the communication data to the vendor ril module through the output interface of the Service (slot1), and the vendor ril module sends the communication data to the hardware device layer.
Specifically, if the first system and the second system simultaneously request to use the wireless communication capability, the phone (1) module of the SIM1 of the first system and the second system sends the communication request of the first system to the wireless proxy module through the first input interface and the output interface of the proxy service module, and sends the communication request of the second system to the wireless proxy module through the second input interface and the output interface of the proxy service module. The output interface of the proxy service module can output the communication request of the first system and the communication request of the second system according to the sequence of the requests.
As shown in fig. 8, after sending communication data to the hardware device layer, the response information sent by the hardware device layer for the communication data is sent to the vendor ril module, and then the vendor ril module sends the response information to the P < response > module of the proxyService (slot1) in the proxy Service module through the response module of the Service (slot1) in the wireless interface module, and then obtains the data identifier of the response information; if the data identifier of the response information is the data identifier of the first communication data, determining that the response information is the response information of the first communication data, and sending the response information to a first management module of the first system through a first input interface; and if the data identifier of the response information is the data identifier of the second communication data, determining that the response information is the response information of the second communication data, and sending the response information to a second management module of the second system through a second input interface.
As shown in fig. 8, the hardware device layer may also actively report a state event to the vendor ril module, and then the vendor ril module sends the state event to the P < indication > module of the proxy Service module, where the P < indication > module is a proxy Service (slot1) through an indication (state event) module of a Service (slot1) in the wireless interface module, and then first needs to determine whether the reported state event is an assigned event that must be sent to the foreground system; if not, directly and synchronously sending the state event to a first management module of the first system and a second management module of the second system through a first input interface and a second input interface respectively; if yes, judging whether the foreground system is the first system or the second system, and if the foreground system is the first system, sending the state event to a first management module of the first system through a first input interface; and if the foreground system is the second system, sending the state event to a second management module of the second system through a second input interface. The designated events which need to be sent to the foreground system comprise the events which need to be operated in the foreground system, such as the reception of short messages, the reception of calls and the like.
Example two:
fig. 9 is a schematic structural diagram of a terminal device of a dual-card dual-system according to an embodiment of the present application, for implementing a wireless communication capability. The wireless interface module in fig. 9 comprises two parts, a rild module and a vendor ril module. The first management module of the first system and the second management module of the second system manage the communication data of the subscriber identity card 1, and the third management module of the first system and the fourth management module of the second system manage the communication data of the subscriber identity card 2.
First, a proxy service module shown in fig. 9 is added, and a service sub-module proxyService (slot1) of the proxy service module serves only SIM1 and has two input interfaces and one output interface. The service sub-module proxyService (slot2) of the proxy service module serves only SIM2 and has two input interfaces and one output interface. Therefore, the first input interface of the proxy service module is in communication connection with the first management module of the first system, the second input interface of the proxy service module is in communication connection with the second management module of the second system, the third input interface of the proxy service module is in communication connection with the third management module of the first system, the fourth input interface of the proxy service module is in communication connection with the fourth management module of the second system, the first input interface is used for receiving first communication data sent by the first management module, the second input interface is used for receiving second communication data sent by the second management module, the third input interface is used for receiving third communication data sent by the third management module, and the fourth input interface is used for receiving fourth communication data sent by the fourth management module.
Then if any communication data in the first communication data, the second communication data, the third communication data and the fourth communication data is received, an output interface of a proxyService (slot1) in the proxy Service module is adopted to send the first communication data and/or the second communication data to an input interface of a Service (slot1) in the wireless interface module, and an output interface of a proxyService (slot2) in the proxy Service module is adopted to send the third communication data and/or the fourth communication data to an input interface of a Service (slot2) in the wireless interface module; and then the wireless interface module sends the first communication data and/or the second communication data to the vendor ril module through an output interface of a Service (slot1), and sends the third communication data and/or the fourth communication data to the vendor ril module through an output interface of a Service (slot2), so that the vendor ril module sends the communication data to the hardware device layer.
Specifically, if the phone (1) module of the SIM1 of the first system and the second system sends a communication request through the RILJ module and simultaneously requests to use the wireless communication capability, the communication request of the first system is sent to the infinite agent module through the first input interface and the first output interface of the proxy service module, and the communication request of the second system is sent to the infinite agent module through the second input interface and the first output interface of the proxy service module. The first output interface of the proxy service module may output the communication request of the SIM1 of the first system and the communication request of the SIM1 of the second system according to the order of the requests.
If the phone (1) modules of the SIMs 2 of the first system and the second system send communication requests through the RILJ module and simultaneously request to use the wireless communication capability, the communication request of the first system is sent to the wireless proxy module through the third input interface and the second output interface of the proxy service module, and the communication request of the second system is sent to the wireless proxy module through the fourth input interface and the second output interface of the proxy service module. Wherein, the second output interface of the proxy service module may output the communication request of the SIM2 of the first system and the communication request of the SIM2 of the second system according to the sequence of the requests.
As shown in fig. 9, after the communication data is sent to the hardware device layer, the response information for the communication data sent by the hardware device layer is sent to the vendor ril module, and then the vendor ril module obtains the data identifier of the response information; if the data identifier of the response information is the data identifier of the first communication data or the second communication data, sending the response information to a P < response > module of a proxyService (slot1) in the proxy Service module through a response module of a Service (slot1) in the wireless interface module, then if the data identifier of the response information is the data identifier of the first communication data, determining that the response information is the response information of the first communication data, and sending the response information to a first management module of the first system through a first input interface; and if the data identifier of the response information is the data identifier of the second communication data, determining that the response information is the response information of the second communication data, and sending the response information to a second management module of the second system through a second input interface. If the data identifier of the response information is the data identifier of the third communication data or the fourth communication data, sending the response information to a P < response > module of a proxyService (slot2) in the proxy Service module through a response module of a Service (slot2) in the wireless interface module, then if the data identifier of the response information is the data identifier of the third communication data, determining that the response information is the response information of the third communication data, and sending the response information to a third management module of the first system through a third input interface; and if the data identifier of the response information is the data identifier of the fourth communication data, determining that the response information is the response information of the fourth communication data, and sending the response information to a fourth management module of the second system through a fourth input interface.
As shown in fig. 9, the hardware device layer may also actively report a state event to the vendor ril module, and the vendor ril module needs to determine whether the reported state event is a state event of the SIM1 or a state event of the SIM2, and if the reported state event is the state event of the SIM1, the state event is sent to a P < indication > module of a proxy Service (slot1) in the proxy Service module through an indication (state event) module of a Service (slot1) in the wireless interface module; if the state event of the SIM2 is detected, the state event is sent to the P < indication > module of the proxyService (slot2) in the proxy Service module through the indication (state event) module of the Service (slot2) in the radio interface module.
Firstly, judging whether the reported state event is a specified event which must be sent to a foreground system; if not, the state event is directly and synchronously sent to a first management module of the first system and a second management module of the second system through the first input interface and the second input interface respectively, or synchronously sent to a third management module of the first system and a fourth management module of the second system through the third input interface and the fourth input interface respectively; if yes, judging whether the foreground system is the first system or the second system, and if the foreground system is the first system, sending the state event to a first management module of the first system through a first input interface or sending the state event to a third management module of the first system through a third input interface; and if the foreground system is the second system, sending the state event to a second management module of the second system through the second input interface or sending the state event to a fourth management module of the second system through the fourth input interface. The specified events which need to be sent to the foreground system comprise the events which need to be operated in the foreground system, such as the reception of short messages, the reception of calls and the like.
Therefore, by using the method for sharing wireless communication capacity by the dual systems provided by the embodiment of the application, the terminal device of the dual systems adds the proxy service module, realizes that the dual systems send the wireless communication function request, receive the response information and the state event actively reported by the hardware device, reflects the wireless communication capacity of the hardware device into the two systems, and ensures that the wireless communication capacity of the dual systems is on line at the same time when the dual systems are switched for use. The communication management between the upper-layer dual system and the wireless interface module is realized in the form of the proxy service module, the modification of the original wireless interface module of the system is not involved, the coupling with the platform manufacturer code is greatly reduced, the version upgrading conflict is avoided, and the module integration is facilitated.
Based on the foregoing description, the dual system in the embodiment of the present application includes a first system and a second system, and establishes a communication connection based on a first input interface and a first management module of the first system, and establishes a communication connection based on a second input interface and a second management module of the second system; the first management module and the second management module manage communication data of the same user identification card; the first input interface is used for receiving first communication data sent by the first management module, and the second input interface is used for receiving second communication data sent by the second management module; if any communication data in the first communication data and the second communication data is received, the output interface of the user identification card is adopted to send the communication data to the wireless interface module of the user identification card; the wireless interface module of the user identification card is used for sending communication data to the hardware equipment layer.
Therefore, the proxy service module comprising the first input interface, the second input interface and the output interface of the user identification card can be added to carry out data communication with the wireless interface module, so that the wireless interface module can be connected with two systems, and the wireless communication capability of a hardware equipment layer is sent to the two systems, so that the two systems can share the wireless communication capability of the hardware equipment layer, and meanwhile, the original wireless interface module of the system is not modified, the coupling with a platform manufacturer code is greatly reduced, and the module integration is facilitated.
In an exemplary embodiment, the present application also provides a computer readable storage medium, such as the memory 120, comprising instructions executable by the processor 180 of the terminal device 100 to perform the above-described method of dual system shared wireless communication capability. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, comprising a computer program which, when executed by the processor 180, implements the method of dual system shared wireless communication capability as provided herein.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of dual system sharing wireless communication capability, the dual system comprising a first system and a second system, the method comprising:
establishing communication connection based on a first input interface and a first management module of the first system, and establishing communication connection based on a second input interface and a second management module of the second system; the first management module and the second management module manage communication data of the same user identification card; the first input interface is used for receiving first communication data sent by the first management module, and the second input interface is used for receiving second communication data sent by the second management module;
if any communication data in the first communication data and the second communication data is received, the communication data is sent to a wireless interface module of the user identification card by adopting an output interface of the user identification card; and the wireless interface module of the user identification card is used for sending the communication data to a hardware equipment layer.
2. The method of claim 1, further comprising:
receiving response information sent by a wireless interface module of the user identification card; the response information is response information aiming at the communication data sent by the hardware equipment layer;
if the response information is the response information of the first communication data, sending the response information to a first management module of the first system;
and if the response information is the response information of the second communication data, sending the response information to a second management module of the second system.
3. The method of claim 2, further comprising:
acquiring a data identifier of the response information;
if the data identifier of the response information is the data identifier of the first communication data, determining that the response information is the response information of the first communication data;
and if the data identifier of the response information is the data identifier of the second communication data, determining that the response information is the response information of the second communication data.
4. The method of claim 1, wherein establishing a communication connection based on the first input interface and a first management module of the first system and establishing a communication connection based on the second input interface and a second management module of the second system comprises:
if a connection request of a first management module of the first system is received, establishing communication connection between the first input interface and the first management module of the first system;
and if a connection request of a second management module of the second system is received, establishing communication connection between the second input interface and the second management module of the second system.
5. The method of claim 4, further comprising:
responding to the starting operation of the terminal equipment, and receiving a connection request sent by a first management module of a first system if a foreground system is the first system;
and in response to the operation of switching the second system to the foreground system, receiving a connection request sent by a second management module of the second system, wherein the connection request of the second management module is triggered after the second system is switched to the foreground system.
6. The method of claim 1, further comprising:
receiving a state event reported by a wireless interface module of the subscriber identity module, and respectively synchronizing the state event to a first management module of the first system and a second management module of the second system through the first input interface and the second input interface; the state event comprises network registration information and signal state.
7. The method of claim 6, further comprising:
if the foreground system is the first system, sending a first specified event in the state events to a first management module of the first system through the first input interface;
and if the foreground system is the second system, sending a second specified event in the state events to a second management module of the second system through the second input interface.
8. A terminal device, comprising:
a display, a processor, and a memory;
the display is used for displaying a screen display area;
the memory to store the processor-executable instructions;
the processor is configured to execute the instructions to implement the method of dual system shared wireless communication capability of any of claims 1-7.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a terminal device, enable the terminal device to perform the method of dual-system shared wireless communication capability of any of claims 1-7.
10. A computer program product, comprising a computer program to:
the computer program, when executed by a processor, implements a method of dual system shared wireless communication capability as claimed in any one of claims 1-7.
CN202210319345.8A 2022-03-29 2022-03-29 Method for sharing wireless communication capability by double systems and terminal equipment Active CN114679752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210319345.8A CN114679752B (en) 2022-03-29 2022-03-29 Method for sharing wireless communication capability by double systems and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210319345.8A CN114679752B (en) 2022-03-29 2022-03-29 Method for sharing wireless communication capability by double systems and terminal equipment

Publications (2)

Publication Number Publication Date
CN114679752A true CN114679752A (en) 2022-06-28
CN114679752B CN114679752B (en) 2024-04-19

Family

ID=82075319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210319345.8A Active CN114679752B (en) 2022-03-29 2022-03-29 Method for sharing wireless communication capability by double systems and terminal equipment

Country Status (1)

Country Link
CN (1) CN114679752B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115720388A (en) * 2022-11-22 2023-02-28 中国电信股份有限公司 Method and device for realizing information sharing of user identification card and electronic equipment

Citations (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259629A1 (en) * 2005-04-21 2006-11-16 Qualcomm Incorporated Methods and apparatus for determining aspects of multimedia performance of a wireless device
CN2867772Y (en) * 2005-10-28 2007-02-07 伟成工业有限公司 Mobiel telephone capable of double system idling
CN102316428A (en) * 2011-09-30 2012-01-11 福源立信(北京)科技有限公司 Method for communication between mobile application client and intelligent card and device
CN103067593A (en) * 2012-12-29 2013-04-24 盛耀无线通讯科技(北京)有限公司 Double-card bi-pass software system framework based on Android platform and operation method thereof
US20130196628A1 (en) * 2010-10-20 2013-08-01 Zte Corporation Method and Apparatus for Dual-network Terminal to Communicate
CN203301560U (en) * 2013-06-08 2013-11-20 黄金富知识产权咨询(深圳)有限公司 Dual-card dual-standby dual-operation-system cellphone
US20140026058A1 (en) * 2012-07-03 2014-01-23 Evermore Technology Inc. Establishing System and Method for Establishing Application Program Having Capability Controlling Input and Output Interface for Mobile Computing Device
CN103795860A (en) * 2014-01-22 2014-05-14 周哲明 Dual-system smartphone and mobile phone outer sleeve with communication function
US20140366023A1 (en) * 2013-06-07 2014-12-11 American Megatrends, Inc. Methods, Devices and Computer Readable Storage Devices for Emulating a Gyroscope in a Guest Operating System from a Host Operating System
CN104507181A (en) * 2014-12-12 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Dual-card dual-standby conversation method, dual-card dual-standby conversation device and dual-card dual-standby conversation terminal
CN105072257A (en) * 2015-07-16 2015-11-18 深圳前海达闼科技有限公司 Double-card double-system terminal and incoming call processing method and apparatus thereof
CN105554259A (en) * 2015-12-11 2016-05-04 北京元心科技有限公司 Multi-system-based method for preventing telephone conflict and intelligent terminal
CN105847524A (en) * 2015-01-15 2016-08-10 宇龙计算机通信科技(深圳)有限公司 Dual-system-based communication method and terminal
CN105933766A (en) * 2016-01-21 2016-09-07 上海东方明珠新媒体股份有限公司 WebOS system based on set top box and set top box
CN106535160A (en) * 2016-11-29 2017-03-22 北京元心科技有限公司 Method and system for isolated transmission of dual-system dual-SIM card network
CN106941671A (en) * 2017-02-24 2017-07-11 北京珠穆朗玛移动通信有限公司 Communication event processing method and mobile terminal based on double card dual system
CN106959801A (en) * 2017-02-14 2017-07-18 北京珠穆朗玛移动通信有限公司 The management method and mobile terminal of shortcut menu based on dual system
CN107135313A (en) * 2017-06-19 2017-09-05 深圳市筑泰防务智能科技有限公司 Hardware physical isolation dual system mobile phone
CN107438243A (en) * 2017-07-31 2017-12-05 努比亚技术有限公司 A kind of network registering method, vehicle fitting and computer-readable recording medium
CN107547474A (en) * 2016-06-27 2018-01-05 中兴通讯股份有限公司 A kind of graphic display method and equipment of heterogeneous dual system
US20180027490A1 (en) * 2016-07-25 2018-01-25 Apple Inc. Wake-Up Radio Assisted WLAN Power Saving Technologies
US20190098597A1 (en) * 2017-09-28 2019-03-28 Lenovo (Singapore) Pte. Ltd. Method and Apparatus for Managing Dual Registration with Multiple Networks in One or More Radio Communication Systems
CN110704137A (en) * 2019-09-30 2020-01-17 郑州信大捷安信息技术股份有限公司 Security chip calling system and method based on dual systems
CN110781528A (en) * 2019-09-26 2020-02-11 深圳金澜汉源科技有限公司 Collaborative secure operating system architecture, operating system and electronic device
CN111552992A (en) * 2020-03-19 2020-08-18 中国电子科技集团公司第七研究所 Dual-system multimode communication architecture with asymmetric security level
CN111813724A (en) * 2020-05-20 2020-10-23 北京元心科技有限公司 HIDL interface adaptation system, method and corresponding equipment, storage medium
CN112181616A (en) * 2020-07-24 2021-01-05 华为技术有限公司 Task processing method and related device
CN113806117A (en) * 2021-11-18 2021-12-17 北京鲸鲮信息系统技术有限公司 Dual system broadcasting method, apparatus, electronic device and computer readable storage medium
WO2022057516A1 (en) * 2020-09-17 2022-03-24 Oppo广东移动通信有限公司 Network slice selection method, apparatus and device, and storage medium

Patent Citations (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259629A1 (en) * 2005-04-21 2006-11-16 Qualcomm Incorporated Methods and apparatus for determining aspects of multimedia performance of a wireless device
CN2867772Y (en) * 2005-10-28 2007-02-07 伟成工业有限公司 Mobiel telephone capable of double system idling
US20130196628A1 (en) * 2010-10-20 2013-08-01 Zte Corporation Method and Apparatus for Dual-network Terminal to Communicate
CN102316428A (en) * 2011-09-30 2012-01-11 福源立信(北京)科技有限公司 Method for communication between mobile application client and intelligent card and device
US20140026058A1 (en) * 2012-07-03 2014-01-23 Evermore Technology Inc. Establishing System and Method for Establishing Application Program Having Capability Controlling Input and Output Interface for Mobile Computing Device
CN103067593A (en) * 2012-12-29 2013-04-24 盛耀无线通讯科技(北京)有限公司 Double-card bi-pass software system framework based on Android platform and operation method thereof
US20140366023A1 (en) * 2013-06-07 2014-12-11 American Megatrends, Inc. Methods, Devices and Computer Readable Storage Devices for Emulating a Gyroscope in a Guest Operating System from a Host Operating System
CN203301560U (en) * 2013-06-08 2013-11-20 黄金富知识产权咨询(深圳)有限公司 Dual-card dual-standby dual-operation-system cellphone
CN103795860A (en) * 2014-01-22 2014-05-14 周哲明 Dual-system smartphone and mobile phone outer sleeve with communication function
CN104507181A (en) * 2014-12-12 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Dual-card dual-standby conversation method, dual-card dual-standby conversation device and dual-card dual-standby conversation terminal
CN105847524A (en) * 2015-01-15 2016-08-10 宇龙计算机通信科技(深圳)有限公司 Dual-system-based communication method and terminal
CN105072257A (en) * 2015-07-16 2015-11-18 深圳前海达闼科技有限公司 Double-card double-system terminal and incoming call processing method and apparatus thereof
CN105554259A (en) * 2015-12-11 2016-05-04 北京元心科技有限公司 Multi-system-based method for preventing telephone conflict and intelligent terminal
CN105933766A (en) * 2016-01-21 2016-09-07 上海东方明珠新媒体股份有限公司 WebOS system based on set top box and set top box
CN107547474A (en) * 2016-06-27 2018-01-05 中兴通讯股份有限公司 A kind of graphic display method and equipment of heterogeneous dual system
US20180027490A1 (en) * 2016-07-25 2018-01-25 Apple Inc. Wake-Up Radio Assisted WLAN Power Saving Technologies
CN106535160A (en) * 2016-11-29 2017-03-22 北京元心科技有限公司 Method and system for isolated transmission of dual-system dual-SIM card network
CN106959801A (en) * 2017-02-14 2017-07-18 北京珠穆朗玛移动通信有限公司 The management method and mobile terminal of shortcut menu based on dual system
CN106941671A (en) * 2017-02-24 2017-07-11 北京珠穆朗玛移动通信有限公司 Communication event processing method and mobile terminal based on double card dual system
CN107135313A (en) * 2017-06-19 2017-09-05 深圳市筑泰防务智能科技有限公司 Hardware physical isolation dual system mobile phone
CN107438243A (en) * 2017-07-31 2017-12-05 努比亚技术有限公司 A kind of network registering method, vehicle fitting and computer-readable recording medium
US20190098597A1 (en) * 2017-09-28 2019-03-28 Lenovo (Singapore) Pte. Ltd. Method and Apparatus for Managing Dual Registration with Multiple Networks in One or More Radio Communication Systems
CN110781528A (en) * 2019-09-26 2020-02-11 深圳金澜汉源科技有限公司 Collaborative secure operating system architecture, operating system and electronic device
CN110704137A (en) * 2019-09-30 2020-01-17 郑州信大捷安信息技术股份有限公司 Security chip calling system and method based on dual systems
CN111552992A (en) * 2020-03-19 2020-08-18 中国电子科技集团公司第七研究所 Dual-system multimode communication architecture with asymmetric security level
CN111813724A (en) * 2020-05-20 2020-10-23 北京元心科技有限公司 HIDL interface adaptation system, method and corresponding equipment, storage medium
CN112181616A (en) * 2020-07-24 2021-01-05 华为技术有限公司 Task processing method and related device
WO2022057516A1 (en) * 2020-09-17 2022-03-24 Oppo广东移动通信有限公司 Network slice selection method, apparatus and device, and storage medium
CN113806117A (en) * 2021-11-18 2021-12-17 北京鲸鲮信息系统技术有限公司 Dual system broadcasting method, apparatus, electronic device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨雪娇;郝业;阮军洲;: "Android平台增加专用无线模块的设计与实现", 计算机与网络, no. 07, 12 April 2016 (2016-04-12) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115720388A (en) * 2022-11-22 2023-02-28 中国电信股份有限公司 Method and device for realizing information sharing of user identification card and electronic equipment
CN115720388B (en) * 2022-11-22 2024-04-30 中国电信股份有限公司 Method and device for realizing information sharing of user identification card and electronic equipment

Also Published As

Publication number Publication date
CN114679752B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
US20230054451A1 (en) Communication Connection Method and Electronic Device
CN111294884A (en) Communication terminal supporting dual-card dual-standby single-pass and data service switching method
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN114666864A (en) Multi-network communication method, terminal device, storage medium, and program product
CN111176766A (en) Communication terminal and component display method
CN113207115B (en) Mobile terminal and network searching control method
CN114679752B (en) Method for sharing wireless communication capability by double systems and terminal equipment
CN112835472A (en) Communication terminal and display method
CN113727289A (en) Electronic equipment and communication method
CN114666395B (en) Dual-system network sharing method and device
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN114675786A (en) Large-capacity storage mounting method, device, terminal and medium
CN111600862B (en) User account management method and device
CN112954622A (en) Mobile terminal and short message sending method thereof
CN114007202A (en) Method for establishing binding relationship and related equipment
CN115150265B (en) Dual-system data processing method, device and apparatus
CN113543366B (en) Mobile terminal and call method, call server and call system thereof
CN115002820B (en) Call state monitoring method, device, equipment and storage medium
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
CN113253905B (en) Touch method based on multi-finger operation and intelligent terminal
CN116016418B (en) Information interaction method and electronic equipment
CN112668061B (en) Electronic equipment and equipment code reporting method thereof
CN111866836A (en) Call processing method and terminal
CN115297467A (en) Data domain switching method, device, terminal equipment and medium
CN113543366A (en) Mobile terminal, call method thereof, call server and call system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant