[go: up one dir, main page]

CN114679752B - Method for sharing wireless communication capability by double systems and terminal equipment - Google Patents

Method for sharing wireless communication capability by double systems and terminal equipment Download PDF

Info

Publication number
CN114679752B
CN114679752B CN202210319345.8A CN202210319345A CN114679752B CN 114679752 B CN114679752 B CN 114679752B CN 202210319345 A CN202210319345 A CN 202210319345A CN 114679752 B CN114679752 B CN 114679752B
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.)
Active
Application number
CN202210319345.8A
Other languages
Chinese (zh)
Other versions
CN114679752A (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

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 of dual systems and terminal equipment, which are used for solving the problem that two systems in the dual-system terminal equipment cannot share the wireless communication capacity. The proxy service module comprises a first input interface, a second input interface and an output interface of the user identification card, 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 wireless interface module can be connected with both systems, and the two systems can share the wireless communication capability of the hardware equipment layer.

Description

Method for sharing wireless communication capability by double 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 by two systems and a terminal device.
Background
Along with the popularization of terminal equipment, many industry markets have high requirements on the safety and control of the terminal equipment, and the information safety and the use convenience are considered at the same time, so that life and work are not wrong. The common mobile phone is generally a single system, and cannot meet the special requirements of multiple scenes in the industry, while the terminal equipment of the double systems can meet the functional requirements of the scenes in the working mode by one subsystem, and the functional requirements of the common life modes by the other subsystem, so that the requirements of multiple scenes in the industry can be well met. Among them, the wireless communication capability of the subsystem is one of the core requirements of the dual-system terminal.
In the related art, two systems of interaction between a dual-system terminal device and a user are required to have wireless communication capabilities, such as a resident network, a telephone, a dial-up, a 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, so that the wireless communication capacity of the hardware equipment is mapped into the dual-system, the dual-system terminal equipment realizes the wireless communication capacity, but the hardware equipment for realizing the corresponding wireless communication capacity in the terminal equipment is unique, and the android system can only be connected with the wireless service layer by one system, so that the processes of the 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 application aims to provide a method for sharing wireless communication capacity of a dual system and terminal equipment, which are used for solving the problem that two systems in the dual system terminal equipment cannot share the wireless communication capacity.
In a first aspect, the present application provides a method for a dual system to share wireless communication capabilities, 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, an output interface of the user identification card is adopted to send the communication data to a wireless interface module of the user identification card; the wireless interface module of the user identification card is used for sending the communication data to a hardware device 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 which is sent by the hardware equipment layer and is aimed at the communication data;
if the response information is the response information of the first communication data, the response information is sent to a first management module of the first system;
And if the response information is the response information of the second communication data, the response information is sent 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 identification of the response information is the data identification of the first communication data, determining that the response information is the response information of the first communication data;
and if the data identification of the response information is the data identification of the second communication data, determining that the response information is the response information of the second communication data.
In one possible implementation manner, the establishing a communication connection based on the first input interface and the first management module of the first system, and the establishing a communication connection based on the second input interface and the 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 with the first management module of the first system by adopting the 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.
In one possible embodiment, the method further comprises:
responding to starting operation of terminal equipment, and if a foreground system is a first system, receiving a connection request sent by a first management module of the first system;
And responding to the operation of switching the second system into 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 into the foreground system.
In one possible embodiment, the method further comprises:
Receiving a status event reported by a wireless interface module of the user identification card, and respectively synchronizing the status 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; wherein, 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, a first appointed event in the state event is sent 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 designated 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, including:
a display, a processor, and a memory;
The display is used for displaying a screen display area;
the memory is configured to store the processor-executable instructions;
The processor is configured to execute the instructions to implement a method of dual system sharing wireless communication capability as in any of the first aspects above.
In a third aspect, the present application provides a computer readable storage medium, which when executed by a terminal device, causes the terminal device to perform a method of sharing wireless communication capability of a dual system as in any of the first aspects above.
In a fourth aspect, the application provides a computer program product comprising a computer program:
The computer program, when executed by a processor, implements a method of sharing wireless communication capability of a dual system as set forth in any one of the first aspects above.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
the dual system in the embodiment of the application comprises a first system and a second system, wherein 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, an output interface of the user identification card is adopted to send the communication data to a wireless interface module of the user identification card; the wireless interface module of the user identification card is used for sending the 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 perform data communication with the wireless interface module, so that the two systems can be connected with the wireless interface module, the wireless communication capacity of the hardware equipment layer is sent to the two systems, the two systems can share the wireless communication capacity of the hardware equipment layer, the original wireless interface module of the system is not modified, the coupling with codes of a platform manufacturer 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 practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof 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 that are needed 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a prior art architecture for implementing wireless services using RIL-enabled interfaces;
fig. 2 is a schematic structural diagram of a terminal device of a dual-card single system for implementing wireless communication capability in the prior art;
FIG. 3 is a schematic diagram of 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 for 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 software structure block diagram of a terminal device according to an embodiment of the present application;
Fig. 7 is a flow chart of a method for sharing wireless communication capability by dual systems according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of a single-card dual-system terminal device for implementing wireless communication capability according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a dual-card dual-system terminal device for implementing wireless communication capability according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Wherein the described embodiments are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Also, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and furthermore, in the description of the embodiments of the present application, "plural" means two or more than two.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", or the like may explicitly or implicitly include one or more such feature, and in the description of embodiments of the application, unless otherwise indicated, the meaning of "a plurality" is two or more.
Hereinafter, the foreground system is a system of terminal devices that the user is currently using; the background system is a system of terminal equipment which cannot be directly used by a user at present.
The android platform is designed based on a single system, so that only one system of single-system terminal equipment interacts with a user, and wireless service functions of the terminal equipment, such as mobile network registration, telephone, dialing, surfing and the like, are realized by interaction of an application program layer of the terminal equipment with a modem through RIL (Radio INTERFACE LAYER, wireless interface module). The wireless service function is supported by sim card (Subscriber Identity Module, subscriber identity module card), modem chip, antenna and other hardware devices at the hardware level.
Referring to fig. 1, for the structural schematic diagram of implementing the wireless service function by the interface for calling RIL, as shown in fig. 1, the wireless communication capability of the terminal device of the android system is finally implemented by the hardware devices such as the modem, so that in order to facilitate the application program layer to implement the wireless communication functions such as network residence, telephone, internet access, SIM card service and the like by using these wireless communication capabilities, the vendor platform abstracts the functions of the hardware devices such as the modem into some interface sets, and the application program layer interacts with the hardware devices such as the modem through these interfaces to finally implement the relevant wireless communication capability. The RIL module is a specific implementation of these abstract interfaces, and the application layer is actually that the interface calling RIL interacts with hardware devices such as modem.
As shown in fig. 1, the uppermost layer is an application layer, including applications such as call, sms, SIM card management, and data tracking, and is mainly responsible for sending a user instruction to a RIL frame (Radio INTERFACE LAYER frame) of the application frame sequence frame layer, hereinafter collectively referred to as RILJ module.
An application program framework layer, which comprises two parts, wherein one part is a Phone (telephone management) module, which is used for directly exposing a telephone function interface to an application development user for the user to call for realizing telephone functions; the other is RILJ module, mainly provides general apis (Application Programming Interface ) for application program layer, such as TelephonyManager (including call, network STATE, subscriptionManager (card STATE) and SMSMANAGER (short message STATE), etc., while RILJ is also responsible for maintaining communication with rild (radio INTERFACE LAYER daemon, wireless interface module daemon)) and sending REQUEST of application program layer to rild of system library layer for communication with rild, wherein RILJ module sends REQUEST of application program layer to rild commonly having ril_request_get_sim_status (obtain SIM card STATE), ril_request_DIAL (call), ril_request_send_sms (SEND short message), ril_request_get_current_call_calls (obtain CURRENT call STATE), ril_request_speed_request_state (obtain network STATE).
The RIL module is at the system library layer intermediate the application framework layer and the kernel layer, and comprises two parts. One part is a rild module, which is mainly used for communicating with an application program framework layer in charge of socket (socket), 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 device layer and communicating with the kernel layer. The state change reported by the hardware device actively is common: when the NETWORK STATE changes, the RIL_ UNSOL _response_VOICE_NETWORK_STATE_CHANGED is actively reported, when a NEW short message exists, the RIL_ UNSOL _response_NEW_SMS is actively reported, and when an incoming CALL exists, the RIL_ UNSOL _CALL_RING is actively reported.
The last layer is a kernel layer, and is used for transmitting the request to the hardware device after receiving the request, and finally transmitting the request to the network end by the hardware device, and transmitting the request back to the rild module by the hardware device after the network end returns the result.
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 to implement wireless communication capability. The rild module and vendor RIL in fig. 2 constitute RIL, hereinafter a radio interface module. For easy understanding, the following describes, with reference to fig. 2, a flow of implementing wireless communication capability by a terminal device of the dual-card-and-single system, taking the terminal device of the dual-card-and-single system as an example:
Firstly, a rild module receives a communication request sent by a phone (1) module of an SIM1 or a phone (2) module of an SIM2 of an application framework layer through a RILJ module, the communication request is processed by the rild module and then sent to a vendor ril module, and a vendor ril module sends the communication request to hardware equipment such as a modem; after receiving the communication request, the hardware devices such as the modem send the communication request to the network, and after the network returns a result (response), the hardware devices send the result to the rild module through the vendor ril module and feed back the response to the SIM1 or the SIM2 which sends the communication request through the rild module.
Meanwhile, hardware devices such as a 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 realize wireless communication capability. However, with the increasing popularity of terminal devices, many industries and markets have high requirements on the safety and control of the terminal devices, and the information safety and the convenience in use are considered, so that the life and the work are not wrong. 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 with two systems can meet the functional requirements of the scenes in the working mode by one subsystem, and the functional requirements of the common life mode by the other subsystem, so that the requirements of multiple scenes in the industry can be well met. Among them, 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, the relation diagram of each system in the dual-system terminal device is shown in fig. 3, one of the systems is a main system, the other is a system invisible to a user in the terminal device, the other is a subsystem, such as a common system and a safety system, the subsystem is a system visible to the user and interactable 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, two subsystems for interacting with a user are required to have wireless communication capabilities such as network residence, telephone, dialing, surfing the internet, and the like. When the two subsystems are not online at the same time, the two subsystems run respective processes. The functions provided in both subsystems are the same as for a normal single-system terminal device for the user. Fig. 4 is a schematic structural diagram of a dual-system terminal device for implementing wireless communication capability in the prior art. In the process of implementing the wireless communication function, as shown in fig. 4, the application program layers of the first system and the second system issue a command request through RILJ (Radio INTERFACE LAYER Framework, wireless interface module Framework), interact with the modem through rild running in the main system, and send a response of the modem to the command request to the subsystem that issues the command request through rild running in the main system, so as to implement the wireless communication function. However, hardware devices such as SIM cards and modems for realizing corresponding wireless communication capability in the terminal device are unique, and one service of the rild module in the main system has only one input interface and one output interface when serving the same SIM card, and the default android system can only have one subsystem connected with rild, so that the two systems can be directly operated, because processes in the two systems cannot be simultaneously connected with the rild module, the two systems cannot be simultaneously online, and wireless communication capability is simultaneously realized.
In view of the above, the present application provides a method and a terminal device for sharing wireless communication capability of two systems, which are used for solving the problem that two systems in the terminal device of two systems cannot share wireless communication capability.
The inventive concept of the present application can be summarized as follows: and adding a proxy service module in a system library layer of the main system, wherein the proxy service module is a multi-input multi-output module. Taking a dual system as an example, the same Subscriber Identity Module (SIM) card 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 based on the first input interface and a first management module of the first system, and establishes communication connection based on the second input interface and a second management module of the second system; 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, an output interface of the user identification card is adopted to send the communication data to a wireless interface module of the user identification card; the wireless interface module of the user identification card is used for sending the communication data to the hardware equipment layer. Therefore, the agent service module can be added to carry out data communication with the wireless interface module, so that the two systems can be simultaneously connected with the wireless interface module, the wireless communication capacity of the hardware equipment layer is transmitted to the two systems, the two systems can share the wireless communication capacity 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 convenient.
After the inventive concept of the present application is introduced, the terminal device provided by the present application will be described.
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 one example, and that the terminal device 100 may have more or fewer components than 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 hardware configuration block diagram of the terminal device 100 in accordance with an exemplary embodiment is exemplarily shown in fig. 5. As shown in fig. 5, the terminal device 100 includes: radio Frequency (RF) circuitry 110, memory 120, display unit 130, camera 140, sensor 150, audio circuitry 160, wireless fidelity (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 the process of receiving and transmitting information or communication, and may receive downlink data of the base station and then transmit the downlink data to the processor 180 for processing; uplink data may be sent to the base station. Typically, RF circuitry includes, but is not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers, diplexers, and the like.
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 running software programs or data stored in the memory 120. 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 of the present application may store an operating system and various applications, and may also store program code for performing the method of sharing wireless communication capabilities of the dual system of the present application.
The display unit 130 may be used to receive input digital or character information, generate signal inputs related to user settings and function control of the terminal device 100, and in particular, the display unit 130 may include a touch screen 131 provided at the front surface of the terminal device 100, and may collect touch operations on or near the user, such as clicking a button.
The display unit 130 may also be used to display information input by a user or information provided to the user and a graphical user interface (GRAPHICAL USER INTERFACE, GUI) of various menus of the terminal device 100. Specifically, the display unit 130 may include a display 132 provided on the front surface of the terminal device 100. The display 132 may be configured in the form of a liquid crystal display, light emitting diodes, 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 integration, the touch screen may be simply referred to as a touch display screen. The display unit 130 may display the application program and the corresponding operation steps in the present application.
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 onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the processor 180 for conversion into a digital image signal.
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 gyroscopes, barometers, hygrometers, thermometers, infrared sensors, light sensors, motion sensors, and the like.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and terminal device 100. The audio circuit 160 may transmit the received electrical signal converted from audio data to the speaker 161, and the speaker 161 converts the electrical signal into a sound signal and outputs the sound signal. The terminal device 100 may also be provided with a volume button for adjusting the volume of the sound signal, and may also be used for combining other buttons to adjust the enclosed area. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, which is output to the RF circuit 110 for transmission to, for example, another terminal device, or to the memory 120 for further processing.
Wi-Fi belongs to a short-range wireless transmission technology, and the terminal device 100 can help a user to send and receive e-mail, browse web pages, access streaming media and the like through the Wi-Fi module 170, so that wireless broadband internet access is provided 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, the processor 180 may include one or more processing units; the processor 180 may also integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., and a baseband processor that primarily handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. The processor 180 of the present application may run an operating system, an application, a user interface display and a touch response, and a method for sharing wireless communication capability by the dual system of the present application. In addition, the processor 180 is coupled with the display unit 130.
The bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module 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) also provided with a bluetooth module through the bluetooth module 181, thereby performing data interaction.
The terminal device 100 also includes a power supply 190 (e.g., a battery) that provides power to the various components. The power supply may be logically connected to the processor 180 through a power management system, so that functions of managing charge, discharge, power consumption, etc. are implemented through the power management system. The terminal device 100 may also be configured with a power button for powering on and off the terminal device, and for locking the screen.
Fig. 6 is a software configuration block diagram of the terminal device 100 of the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system may be divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun rows (Android runtime) and system libraries, and a kernel layer, respectively. As shown in fig. 6, in the present application, each system of the dual system has a respective application layer and application framework layer, 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 (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 6, the application framework layer may include a window manager, a content provider, a wireless 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 acquire 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 such data accessible to applications. The data may include video, images, audio, telephone calls made and received, browsing history and bookmarks, phonebooks, short messages, etc.
The wireless interface framework layer is used to provide a generic API (Application Programming Interface ) for the application layer, such as TelephonyManager (including call, network state, subscriptionManager (card state), SMSMANAGER (short message state), etc., while also being responsible for maintaining communication with the proxy service module and the wireless interface module in the system library and sending requests from the application layer to the proxy service module.
The telephony manager is used to provide the communication functions of the terminal device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information (e.g., the message content of a short message) in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, 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, a text message is prompted in a status bar, a prompt tone is emitted, the terminal equipment vibrates, and an indicator light blinks.
Android run time includes a core library and virtual machines. Android runtime is responsible for scheduling and management of the android system.
The core library consists of 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. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (e.g. OpenGL ES), 2D graphics engine (e.g. SGL), etc., and the system library further includes a proxy service module and a wireless interface module provided by the embodiments of the present application.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
A 2D (one way of animation) graphics engine is a drawing engine for 2D drawing.
In the embodiment of the application, the proxy service module and the wireless interface module in the system library are used together by two systems, and the media library, the three-dimensional graphic processing library and the 2D graphic engine are respectively used by two systems in the two systems.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises display drive, camera drive, audio drive, sensor drive 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 of the dual system provided by the embodiment of the present application, the following description will further refer to the accompanying drawings.
Fig. 7 is a flowchart of a method for sharing wireless communication capability by dual systems according to an embodiment of the present application. In the embodiment of the application, a proxy service module is added, and each service submodule proxyService of the proxy service module only serves the same SIM card and is provided with two input interfaces and one output interface. The wireless interface module is connected downward, and the HIDL (HAL INTERFACE definition language (hardware abstraction layer interface definition language)) interface is provided upward for the first system and the second system to connect. 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, a communication connection is established based on a first input interface and a first management module of a first system, and a communication connection is established 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 one possible implementation manner, in the embodiment of the present application, the communication connection is established based on the first input interface and the first management module of the first system, and the communication connection is established based on the second input interface and the second management module of the second system, which may be implemented as follows: if a connection request of a first management module of the 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 a second input interface.
When in implementation, the communication connection between the input interface and the corresponding management module can be required to be established only after the connection request is received, and if the connection request of the management module of one system is received, the communication connection is established only between the management module of the system and the corresponding input interface; if the connection request of the first management module of the first system and the connection request of the second management module of the second system are received at the same time, the communication connection is established by adopting the first input interface and the first management module of the first system, and the communication connection is established by adopting the second input interface and the second management module of the second system. Therefore, the communication connection is established after the connection request is received, so that the data expense can be saved, and the unnecessary data resource waste can be reduced.
In a possible implementation manner, in the embodiment of the present application, in response to a start-up operation of the terminal device, the first system and the second system may send a connection request at the same time, so that connection between the dual system and the proxy service module is completed in a start-up stage. The method can also respond to the starting-up operation of the terminal equipment, and if the foreground system is a first system, the connection request sent by a first management module of the first system is received; and responding 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, namely, the first system and the second system are asynchronously sent connection requests. The method can be concretely 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, a communication connection is established by adopting a first input interface and the first management module of the first system, then after the second system is switched to the foreground system, the connection request sent by a second management module of the second system is received, and on the basis of not disconnecting the communication connection established by the first input interface and the first management module of the first system, the communication connection is established by adopting the second input interface and the second management module of the second 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 connected with the proxy service module, so that the first system and the second system can simultaneously send communication data, and the wireless communication capability of the first system and the second system can be simultaneously online 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 communication data is sent to the wireless interface module of the user identification card by using the output interface of the user identification card; the wireless interface module of the user identification card is used for sending the communication data to the hardware equipment layer.
In a possible implementation manner, after the communication data is sent to the hardware device layer, response information fed back by the hardware device layer for the communication data needs to be received, so that the method for sharing wireless communication capability by the dual system provided by the embodiment of the application further includes: receiving response information sent by a wireless interface module of the user identification card; the response information is response information which is sent by the hardware equipment layer and aims at communication data; if the response information is the response information of the first communication data, the response information is sent to a first management module of the first system; and if the response information is the response information of the second communication data, the response information is sent to a second management module of the second system. The received response information may thus 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 one possible implementation manner, when receiving the response information sent by the wireless interface module, in order to determine whether the response information is the response information of the first communication data or the response information of the second communication data, in the embodiment of the present application, the data identifier of the response information needs to be acquired first; if the data identification of the response information is the data identification of the first communication data, determining that the response information is the response information of the first communication data; and if the data identification of the response information is the data identification of the second communication data, determining that the response information is the response information of the second communication data. Therefore, according to the fact that the response information is consistent with the data identification of the communication data, 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, and accordingly 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 embodiment of the application can also receive a status event reported by a wireless interface module of the user identification card, and synchronize the status 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; the state event comprises network registration information, signal state, short message state, incoming call state and the like. Wherein, the state event is actively reported to the wireless interface module by the hardware device layer.
In one possible implementation manner, some specified events in the state events reported by the wireless interface module of the subscriber identity module card must be sent to the foreground system, for example, the state events 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 application, it is necessary to determine whether the reported state events are the specified events which 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 a first input interface and a second input interface respectively; if so, judging whether the foreground system is a first system or a second system, and if the foreground system is the first system, sending a first appointed event in the state event to a first management module of the first system through a first input interface; if the foreground system is the second system, a second designated event in the state event is sent to a second management module of the second system through a second input interface. The specified events represented by the first specified event and the second specified event may be the same, and in order to distinguish whether the specified event received by the foreground system is the first system or the specified event received by the foreground system is the second system, the specified event received by the foreground system is represented as the first specified event, and the specified event received by the foreground system is represented as the second specified event.
In order to facilitate understanding, a method for sharing wireless communication capability of a dual system provided by 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 single-card dual-system terminal device for implementing wireless communication capability according to an embodiment of the present application. The wireless interface module in fig. 8 includes two parts, a rild module and 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 (slot 1) of the proxy service module serves only 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 the first communication data sent by the first management module, and the second input interface is used for receiving the second communication data sent by the second management module.
And then if any communication data in the first communication data and the second communication data is received, an output interface of proxyService (slot 1) in the proxy Service module is adopted to send the communication data to an input interface of Service (slot 1) 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 Service (slot 1), and the vendor ril module sends the communication data to the hardware equipment layer.
In particular, if the first system and the second system request to use the wireless communication capability at the same time, the phone (1) module of SIM1 of the first system and the second system first sends a communication request of the first system to the unlimited proxy module through the first input interface and the output interface of the proxy service module through the communication request sent by the RILJ module, and sends a 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 may 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 the 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 proxyService (slot 1) in the proxy Service module through the response module of Service (slot 1) in the wireless interface module, and then obtains the data identifier of the response information; if the data identification of the response information is the data identification 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; if the data identification of the response information is the data identification 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 status event to the vendor ril module, and further, the vendor ril module sends the status event to the P < indication > module of proxyService (slot 1) in the proxy Service module through the indication module of Service (slot 1) in the wireless interface module, and then, first, needs to determine whether the reported status event is a specified event that must be sent to the foreground system; if not, directly transmitting the state event synchronization 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 a first system or a second system at the moment, and if the foreground system is the first system, sending a state event to a first management module of the first system through a first input interface; if the foreground system is the second system, the state event is sent to a second management module of the second system through a second input interface. The specified event that must be sent to the foreground system includes the event that the foreground system must operate, such as receiving a short message, receiving a telephone, etc.
Example two:
Fig. 9 is a schematic structural diagram of a dual-card dual-system terminal device for implementing wireless communication capability according to an embodiment of the present application. The wireless interface module in fig. 9 includes two parts, a rild module and vendor ril module. Wherein the first management module of the first system and the second management module of the second system manage the communication data of the user identification 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 user identification card 2.
First, a proxy service module shown in fig. 9 is added, and a service sub-module proxyService (slot 1) of the proxy service module serves only SIM 1 and has two input interfaces and one output interface. The service submodule proxyService (slot 2) of the proxy service module serves only SIM 2 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, so that the first input interface is used for receiving the first communication data sent by the first management module, the second input interface is used for receiving the second communication data sent by the second management module, the third input interface is used for receiving the third communication data sent by the third management module, and the fourth input interface is used for receiving the fourth communication data sent by the fourth management module.
Then if any communication data of the first communication data, the second communication data, the third communication data and the fourth communication data is received, an output interface of proxyService (slot 1) in the proxy Service module is adopted to send the first communication data and/or the second communication data to an input interface of Service (slot 1) in the wireless interface module, and an output interface of proxyService (slot 2) in the proxy Service module is adopted to send the third communication data and/or the fourth communication data to an input interface of Service (slot 2) 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 the Service (slot 1) output interface, and sends the third communication data and/or the fourth communication data to the vendor ril module through the Service (slot 2) output interface, so that the vendor ril module sends the communication data to the hardware device layer.
The implementation is that 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 wireless communication capability, the communication request of the first system is sent to the infinite proxy module through the first input interface and the first output interface of the proxy service module, and simultaneously, the communication request of the second system is sent to the infinite proxy 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 sequence of the requests.
If the phone (1) module of the SIM2 of the first system and the second system sends a communication request through the RILJ module, and simultaneously requests to use wireless communication capability, the communication request of the first system is sent to the infinite proxy module through the third input interface and the second output interface of the proxy service module, and simultaneously, the communication request of the second system is sent to the infinite proxy module through the fourth input interface and the second output interface of the proxy service module. 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, 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, the response information is sent to a P < response > module of proxyService (slot 1) in the proxy Service module through a response module of Service (slot 1) in the wireless interface module, and then if the data identifier of the response information is the data identifier of the first communication data, the response information is determined to be the response information of the first communication data, and the response information is sent to a first management module of the first system through a first input interface; if the data identification of the response information is the data identification 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, the response information is sent to a P < response > module of proxyService (slot 2) in the proxy Service module through a response module of Service (slot 2) in the wireless interface module, and then if the data identifier of the response information is the data identifier of the third communication data, the response information is determined to be the response information of the third communication data, and the response information is sent to a third management module of the first system through a third input interface; if the data identification of the response information is the data identification 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 status event to the vendor ril module, and further the vendor ril module needs to determine whether the reported status event is a status event of SIM 1 or a status event of SIM2, if the status event of SIM 1 is the status event, send the status event to a P < indication > module of proxyService (slot 1) in the proxy Service module through an indication module of Service (slot 1) in the wireless interface module; if the status event of the SIM2 is the status event, the status event is sent to the P < indication > module of proxyService (slot 2) in the proxy Service module through the indication module of Service (slot 2) in the wireless interface module.
Then firstly judging whether the reported state event is a designated event which must be sent to a foreground system; if not, directly transmitting 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 or transmitting the state event to a third management module of the first system and a fourth management module of the second system through a third input interface and a fourth input interface respectively; if the foreground system is the first system, sending a state event to a first management module of the first system through a first input interface or sending a state event to a third management module of the first system through a third input interface; if the foreground system is the second system, the state event is sent to a second management module of the second system through a second input interface or sent to a fourth management module of the second system through a fourth input interface. The specified event that must be sent to the foreground system includes the event that the foreground system must operate, such as receiving a short message, receiving a telephone, etc.
Therefore, by using the method for sharing the wireless communication capability of the dual system provided by the embodiment of the application, the proxy service module is added, so that the dual system can send a wireless communication function request, receive response information and actively report a state event of the hardware device, the wireless communication capability of the hardware device is reflected to the two systems, and the wireless communication capability of the dual system is ensured to be simultaneously online when the dual system is switched for use. Communication management between the upper layer double system and the wireless interface module is realized through the form of the proxy service module, modification of the original wireless interface module of the system is not involved, coupling with a code of a platform manufacturer is greatly reduced, version upgrading conflict is avoided, and 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, a communication connection is established based on a first input interface and a first management module of the first system, and a 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, an output interface of the user identification card is adopted to send the communication data to a wireless interface module of the user identification card; the wireless interface module of the user identification card is used for sending the 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 perform data communication with the wireless interface module, so that the two systems can be connected with the wireless interface module, the wireless communication capacity of the hardware equipment layer is sent to the two systems, the two systems can share the wireless communication capacity of the hardware equipment layer, the original wireless interface module of the system is not modified, the coupling with codes of a platform manufacturer 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 memory 120, comprising instructions executable by processor 180 of terminal device 100 to perform the above-described method of dual-system sharing wireless communication capabilities. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, 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 a method of dual system sharing wireless communication capability as provided by the present application.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (9)

1. A method for a dual system to share wireless communication capabilities, 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, an output interface of the user identification card is adopted to send the communication data to a wireless interface module of the user identification card; the wireless interface module of the user identification card is used for sending the communication data to a hardware device layer.
2. The method according to claim 1, wherein the method further comprises:
receiving response information sent by a wireless interface module of the user identification card; the response information is response information which is sent by the hardware equipment layer and is aimed at the communication data;
if the response information is the response information of the first communication data, the response information is sent to a first management module of the first system;
And if the response information is the response information of the second communication data, the response information is sent to a second management module of the second system.
3. The method according to claim 2, wherein the method further comprises:
Acquiring a data identifier of the response information;
if the data identification of the response information is the data identification of the first communication data, determining that the response information is the response information of the first communication data;
and if the data identification of the response information is the data identification 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 the establishing a communication connection based on the first input interface and the first management module of the first system, and the establishing a communication connection based on the second input interface and the 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 with the first management module of the first system by adopting the 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.
5. The method according to claim 4, wherein the method further comprises:
responding to starting operation of terminal equipment, and if a foreground system is a first system, receiving a connection request sent by a first management module of the first system;
And responding to the operation of switching the second system into 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 into the foreground system.
6. The method according to claim 1, wherein the method further comprises:
Receiving a status event reported by a wireless interface module of the user identification card, and respectively synchronizing the status 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; wherein, the state event comprises network registration information and signal state.
7. The method of claim 6, wherein the method further comprises:
if the foreground system is the first system, a first appointed event in the state event is sent 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 designated 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 is configured to store the processor-executable instructions;
the processor is configured to execute the instructions to implement the method of sharing wireless communication capabilities of the dual system of any one of claims 1-7.
9. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a terminal device, enable the terminal device to perform the method of sharing wireless communication capability of the dual system of any 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 CN114679752A (en) 2022-06-28
CN114679752B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297467B (en) * 2022-07-13 2024-07-12 青岛海信移动通信技术有限公司 Data domain switching method, device, terminal equipment and medium
CN115720388B (en) * 2022-11-22 2024-04-30 中国电信股份有限公司 Method and device for realizing information sharing of user identification card and electronic equipment

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2867772Y (en) * 2005-10-28 2007-02-07 伟成工业有限公司 Mobile Phone with Dual System Standby
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
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
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
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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8719419B2 (en) * 2005-04-21 2014-05-06 Qualcomm Incorporated Methods and apparatus for determining aspects of multimedia performance of a wireless device
CN101980556A (en) * 2010-10-20 2011-02-23 中兴通讯股份有限公司 Method and device for communicating double-network double-standby terminal
TWI471800B (en) * 2012-07-03 2015-02-01 Evermore Technology Inc Establishing system and method for establishing application program for mobile computing device and having capability controlling input and output interface
US9378038B2 (en) * 2013-06-07 2016-06-28 American Megatrends, Inc. Methods, devices and computer readable storage devices for emulating a gyroscope in a guest operating system from a host operating system
US10484941B2 (en) * 2016-07-25 2019-11-19 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

Patent Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2867772Y (en) * 2005-10-28 2007-02-07 伟成工业有限公司 Mobile Phone with Dual System Standby
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
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
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
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平台增加专用无线模块的设计与实现;杨雪娇;郝业;阮军洲;;计算机与网络;20160412(第07期);全文 *

Also Published As

Publication number Publication date
CN114679752A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
CN111818669B (en) Mobile terminal and data transmission method thereof
US12309881B2 (en) Communication connection method and electronic device
US20230422154A1 (en) Method for using cellular communication function, and related apparatus and system
CN114679752B (en) Method for sharing wireless communication capability by double systems and terminal equipment
CN113727289B (en) Electronic device and communication method
CN111294884A (en) Communication terminal supporting dual-card dual-standby single-pass and data service switching method
US20240196454A1 (en) File sharing method and terminal device
CN114666864A (en) Multi-network communication method, terminal device, storage medium, and program product
CN114020379B (en) Terminal equipment, information feedback method and storage medium
CN111176766A (en) Communication terminal and component display method
CN115297467B (en) Data domain switching method, device, terminal equipment and medium
CN113207115A (en) Mobile terminal and network searching control method
CN114666395B (en) Dual-system network sharing method and device
CN115442472B (en) Terminal device, communication control method and storage medium
CN113543366B (en) Mobile terminal and call method, call server and call system thereof
CN114501389B (en) Mobile terminal, network sharing method and storage medium
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
CN113642010B (en) Method for acquiring data of extended storage device and mobile terminal
CN114020381B (en) Terminal equipment, plug-in deployment method and storage medium
CN114371895B (en) Terminal equipment, mail marking method and storage medium
CN112954622A (en) Mobile terminal and short message sending method thereof
CN115150265B (en) Dual-system data processing method, device and apparatus
CN114896009B (en) Terminal equipment, server, theme recommendation method and storage medium
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN114615649B (en) Intercom terminal and speaking right request method thereof

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