CN116367214A - Call state monitoring method, device and storage medium - Google Patents
Call state monitoring method, device and storage medium Download PDFInfo
- Publication number
- CN116367214A CN116367214A CN202310092186.7A CN202310092186A CN116367214A CN 116367214 A CN116367214 A CN 116367214A CN 202310092186 A CN202310092186 A CN 202310092186A CN 116367214 A CN116367214 A CN 116367214A
- Authority
- CN
- China
- Prior art keywords
- call
- sim card
- sim
- card
- monitor
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000012544 monitoring process Methods 0.000 title claims abstract description 54
- 238000004891 communication Methods 0.000 claims description 63
- 230000008569 process Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 5
- 238000007726 management method Methods 0.000 description 42
- 230000006870 function Effects 0.000 description 29
- 238000010586 diagram Methods 0.000 description 22
- 239000010410 layer Substances 0.000 description 19
- 238000012545 processing Methods 0.000 description 17
- 230000008859 change Effects 0.000 description 12
- 238000012806 monitoring device Methods 0.000 description 9
- 238000010295 mobile communication Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 239000002699 waste material Substances 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/30—Network architectures or network communication protocols for network security for supporting lawful interception, monitoring or retaining of communications or communication related information
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephone Function (AREA)
Abstract
The application discloses a call state monitoring method, equipment and a storage medium, and belongs to the technical field of terminals. Comprising the following steps: if the second device performs multi-screen collaboration with the second device, acquiring the identification of each SIM card in all the SIM cards installed by the second device; creating a monitor corresponding to each SIM card according to the identification of each SIM card in all the SIM cards, wherein the monitor corresponding to each SIM card is used for monitoring the call state of the corresponding SIM card, and the call state is used for indicating that the call is changed from idle to call or from idle; starting monitors corresponding to each SIM card in all the SIM cards to monitor the call states of all the SIM cards respectively. According to the method and the device, each monitor can monitor the call state of the corresponding SIM card, so that no matter which SIM card is used for carrying out operator call, the monitor can be monitored. The service logic of the whole scheme is reasonable, and the monitoring process is simple, convenient and accurate.
Description
The application is a divisional application of the invention patent application with the name of 'call state monitoring method, device, equipment and storage medium' which is filed to China patent office and has the application number of 202111630631.8 and the application date of 2021, 12 and 28.
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a storage medium for monitoring a call state.
Background
With the rapid development of terminal technology, the multi-screen collaborative technology is widely applied. The multi-screen collaboration refers to that after a first device (such as a mobile phone) and a second device (such as a tablet computer) are connected, a screen picture of the first device is displayed in a mirror image in an interface of the second device. In this case, the user can cause the first device to execute the corresponding function by operating the screen of the first device displayed in the interface of the second device.
Under the scene of multi-screen collaboration, if the first equipment performs operator conversation, the first equipment can be switched to the second equipment to collect and play conversation voice, and then collaborative conversation can be performed. Specifically, when the first device and the second device carry out cooperative communication, a microphone of the second device collects communication voice of a local end user and sends the communication voice to the first device, and the first device sends the communication voice to the far-end communication device; the remote communication device sends communication voice of the remote user to the first device, the first device sends the communication voice to the second device, and the second device is played through a loudspeaker of the second device.
If the first device and the second device need to realize the collaborative call under the condition of multi-screen collaboration, the first device is required to monitor the call state of a user identification module (subscriber identity module, SIM) card installed by the first device so as to determine whether to start the operator call. However, in the multi-screen collaboration scenario, if the first device installs multiple SIM cards, the call state monitoring of the SIM cards will be invalid at probability, so that the collaborative call is affected.
Disclosure of Invention
The application provides a call state monitoring method, device, equipment, storage medium and program product, which can simply, quickly and accurately determine the call state of each SIM card in all SIM cards. The technical scheme is as follows:
in a first aspect, a call state monitoring method is provided. In the method, if the first device performs multi-screen collaboration with the second device, the first device acquires the identification of each SIM card in all the SIM cards installed by the first device. And then, the first equipment respectively creates a monitor corresponding to each SIM card according to the identification of each SIM card in all the SIM cards, wherein the monitor corresponding to each SIM card is used for monitoring the call state of the corresponding SIM card. The first device starts a monitor corresponding to each SIM card in all the SIM cards so as to monitor the call state of all the SIM cards respectively.
Multi-screen collaboration refers to displaying a screen of a first device on an interface of a second device. That is, after the first device performs multi-screen collaboration with the second device, the screen of the first device is displayed on the interface of the second device. In this case, the user can cause the first device to execute the corresponding function by operating the screen of the first device displayed in the interface of the second device.
The first device is a device capable of operator communication. One or more SIM cards can be installed in the first device, and the first device can use any one of the one or more SIM cards to conduct operator communication. The one or more SIM cards installed by the first device have an identity. For any one SIM card, the identity of the SIM card is used to uniquely identify the SIM card.
And the corresponding monitor created according to the identification of each SIM card is used for monitoring the call state of the corresponding SIM card. That is, for any one of all the SIM cards installed in the first device, the first device may create a listener corresponding to the SIM card according to the identifier of the SIM card, where the listener corresponding to the SIM card is used to listen to the call state of the SIM card.
The call state is used for indicating that the call is changed from idle to call or the call is changed from idle to idle. For one SIM card, if the SIM card is idle, indicating that the SIM card is not used for carrying out the communication of an operator; if the SIM card is in communication, the operator can use the SIM card to communicate. In this case, if the first device starts to make an operator call by using the SIM card, the call state of the SIM card is changed from idle to in-call. And if the first equipment hangs up the operator call by the SIM card, the call state of the SIM card is converted into idle call.
The monitor is a monitoring interface for receiving a call state change event of the SIM card, and can determine the call state of the SIM card according to the call state change event. For example, when a call state of one SIM card is changed, that is, when the call state of the SIM card is changed from idle to call or from call to idle, a call state change event is generated, and at this time, a listener corresponding to the SIM card may receive the call state change event of the SIM card, and according to the call state change event, it may be determined whether the call state of the SIM card is changed from idle to call or from call to idle.
In the application, after the first device starts the monitor corresponding to each SIM card in all SIM cards, the call state of each SIM card may be monitored by the corresponding monitor. In this case, whether the first device is provided with one SIM card or a plurality of SIM cards, the call state of each SIM card is monitored by its corresponding monitor. Therefore, no matter which SIM card is used by the first equipment for the operator to communicate, the first equipment can be monitored in time, and accordingly, the first equipment can execute corresponding business processing. The service logic of the whole scheme is reasonable, the monitoring process is simple, convenient and accurate, and redundant processing and resource waste are avoided.
The first device may have one or more card slots, each for mounting one SIM card, that is, each card slot corresponding to the SIM card mounted thereon. After a SIM card is installed in a card slot in the first device, the first device can use the SIM card to make or receive incoming calls, i.e., can use the SIM card to make operator calls. In this case, the operation of the first device to obtain the identifier of each SIM card in all the SIM cards installed in the first device may be: the first device obtains the identification of each card slot in all card slots used for installing the SIM card in the first device, and obtains the identification of the SIM card installed in each card slot according to the identification of each card slot in the identifications of all card slots.
As an example, listeners may be registered by a call management object. The call management object is used for managing the call state of the SIM card. For example, the call management object may be a telephone service manager, which is a service class that manages call status and network information. In this case, the operation of the first device to create the listener corresponding to each SIM card according to the identifier of each SIM card in all SIM cards may be: for each of all the SIM cards, the first device creates a call management object corresponding to the one SIM card according to the identifier of the one SIM card, and registers a listener through the call management object corresponding to the one SIM card as the listener corresponding to the one SIM card.
Since the call management object corresponding to the one SIM card is created according to the identifier of the one SIM card, the call management object corresponding to the one SIM card is used for managing the call state of the one SIM card. In this case, the listener registered by the call management object corresponding to the one SIM card is used to listen to the call state of the one SIM card, that is, the listener registered by the call management object corresponding to the one SIM card is the listener corresponding to the one SIM card.
In this case, if only one SIM card is installed in the first device, only the listener corresponding to the SIM card is registered, and when the call state of the SIM card is changed, an event notification is received in the corresponding listener. If a plurality of SIM cards are installed in the first device, corresponding monitors are respectively registered for the plurality of SIM cards, and event notification is received in the corresponding monitors when the call state of each SIM card is changed.
As an example, in a multi-screen collaboration scenario, a first device may default to automatically conduct collaborative conversations when conducting an operator conversation, i.e., default to automatically switch conversational speech to a second device that is multi-screen collaborative with the first device when conducting an operator conversation. Or, the user may manually turn on the cooperative call function in the first device, for example, the user may turn on a switch for switching the call voice to the second device from the notification bar of the first device or the second device, so as to turn on the cooperative call function, thereby indicating that the first device automatically performs the cooperative call when performing the operator call.
In this case, for any one of all the SIM cards installed by the first device, this SIM card may be referred to as a target SIM card. If the first device detects that the call state of the target SIM card is changed from idle to call through the monitor corresponding to the target SIM card, the first device starts to perform the operator call by using the target SIM card, and the first device can perform collaborative call in the process of performing the operator call by using the target SIM card, so that the second device performing multi-screen collaborative with the first device performs collection and playing of the operator call voice. And if the first device monitors that the call state of the target SIM card is changed from call to idle through the monitor corresponding to the target SIM card, the first device can end the collaborative call to stop the second device from collecting and playing the call voice of the operator when the first device hangs up the call of the operator by the target SIM card. Thus, the opening and ending of the collaborative call can be flexibly and accurately realized.
The first device performs collaborative call in the process of using the target SIM card to perform operator call, namely, the call voice of the operator call performed by the first device using the target SIM card is switched to the second device, and the second device performs collection and play of the call voice. Specifically, when the first device and the second device carry out cooperative communication, a microphone of the second device collects communication voice of a local end user and sends the communication voice to the first device, and the first device sends the communication voice to the far-end communication device; the remote communication device sends communication voice of the remote user to the first device, the first device sends the communication voice to the second device, and the second device is played through a loudspeaker of the second device.
And if the first device hangs up the operator call by the target SIM card, which indicates that the first device has no cooperative call requirement, the first device can end the cooperative call. In this case, the collection and playing of the operator call voice resumes the original state, i.e. switches back to the first device execution.
In a second aspect, a call state monitoring device is provided, where the call state monitoring device has a function of implementing the call state monitoring method behavior in the first aspect. The call state monitoring device comprises at least one module, and the at least one module is used for realizing the call state monitoring method provided by the first aspect.
In a third aspect, a call state monitoring device is provided, where the structure of the call state monitoring device includes a processor and a memory, where the memory is configured to store a program for supporting the call state monitoring device to execute the call state monitoring method provided in the first aspect, and store data related to implementing the call state monitoring method in the first aspect. The processor is configured to execute a program stored in the memory. The call state listening device may further comprise a communication bus for establishing a connection between the processor and the memory.
In a fourth aspect, there is provided a computer readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the call state monitoring method described in the first aspect.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the call state listening method of the first aspect described above.
The technical effects obtained by the second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and are not described in detail herein.
Drawings
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present application;
FIG. 2 is a block diagram of a software system of a terminal provided in an embodiment of the present application;
fig. 3 is an interface schematic diagram of a tablet computer according to an embodiment of the present application;
fig. 4 is an interface schematic diagram of a mobile phone according to an embodiment of the present application;
fig. 5 is an interface schematic diagram of another tablet computer according to an embodiment of the present application;
fig. 6 is an interface schematic diagram of another mobile phone according to an embodiment of the present application;
fig. 7 is an interface schematic diagram in a multi-screen collaboration scenario provided in an embodiment of the present application;
fig. 8 is a schematic interface diagram in another multi-screen collaboration scenario provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of a multi-screen collaboration system provided in an embodiment of the present application;
fig. 10 is a flowchart of a call state monitoring method provided in an embodiment of the present application;
FIG. 11 is a schematic diagram of a call state monitoring method provided in the related art;
fig. 12 is a schematic diagram of a call state monitoring method provided in an embodiment of the present application;
fig. 13 is a schematic structural diagram of a call state monitoring device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that reference herein to "a plurality" means two or more. In the description of the present application, "/" means or, unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, for the purpose of facilitating the clear description of the technical solutions of the present application, the words "first", "second", etc. are used to distinguish between the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
Before explaining the call state monitoring method provided in the embodiment of the present application in detail, a terminal related to the embodiment of the present application is described.
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present application. Referring to fig. 1, the terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display 194, a SIM card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal 100. In other embodiments of the present application, terminal 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the terminal 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the terminal 100. The charging management module 140 may also supply power to the terminal 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the terminal 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied on the terminal 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
Terminal 100 implements display functions via a GPU, display 194, and application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The terminal 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize the memory capability of the extension terminal 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. Such as storing files of music, video, etc. in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The processor 110 performs various functional applications of the terminal 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data (e.g., audio data, phonebook, etc.) created by the terminal 100 during use, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The terminal 100 may implement audio functions such as music playing, recording, etc. through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be contacted and separated from the terminal 100 by being inserted into the SIM card interface 195 or by being withdrawn from the SIM card interface 195. The terminal 100 may support 1 or N SIM card interfaces, N being an integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The terminal 100 interacts with the network through the SIM card to realize functions such as call and data communication. In some embodiments, the terminal 100 employs esims, i.e.: an embedded SIM card. The eSIM card may be embedded in the terminal 100 and cannot be separated from the terminal 100.
The software system of the terminal 100 will be described next.
The software system of the terminal 100 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In this embodiment, a software system of the terminal 100 is exemplarily described by taking an Android (Android) system with a hierarchical architecture as an example.
Fig. 2 is a block diagram of a software system of the terminal 100 according to an embodiment of the present application. Referring to fig. 2, the hierarchical 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 is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run time) and system layer, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 2, the application package may include applications such as multi-screen collaboration, cameras, gallery, calendar, talk, map, navigation, WLAN, bluetooth, short message, etc. The multi-screen cooperative application is used for starting the multi-screen cooperative function.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 2, the application framework layer may include a distributed mobility aware platform (distributed mobile sensing development platform, DMSDP), a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like. The window manager is used for managing window programs. The DMSDP is used for monitoring the call state of the SIM card when the multi-screen collaboration is carried out, and realizing the collaboration call according to the call state. 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, which may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc., and make such data accessible to the application. The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to construct a display interface for an application, which may be comprised of one or more views, such as a view that includes displaying a text notification icon, a view that includes displaying text, and a view that includes displaying a picture. The telephony manager is used to provide communication functions of the terminal 100, such as management of call status (including on, off, 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 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. For example, a notification manager is used to inform that the download is complete, a message alert, etc. The notification manager may also be a notification that appears in the system top status bar in the form of a chart or a scroll bar text, such as a notification of a background running application. The notification manager may also be a notification that appears on the screen in the form of a dialog window, such as a text message being prompted in a status bar, a notification sound being emitted, the electronic device vibrating, a flashing indicator light, etc.
Android run time includes a core library and virtual machines. Android run time 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, such as: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc. 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. The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The application scenario related to the embodiment of the present application is described below.
Under the condition that the mobile phone and the tablet personal computer are cooperated with each other in a multi-screen mode, if the mobile phone is used for calling by an operator, the mobile phone can be switched to the tablet personal computer to collect and play calling voice, and then the cooperated calling can be carried out. If the mobile phone and the tablet personal computer are required to realize the collaborative call under the condition of multi-screen collaboration, the mobile phone is required to monitor the call state of the SIM card installed by the mobile phone so as to determine whether to start the call of the operator. When the mobile phone monitors that the call state of the SIM card is changed from idle to call, the mobile phone determines that the mobile phone starts to perform operator call, and can be switched to the tablet personal computer to collect and play call voice.
However, currently, when monitoring the call state, it is default to monitor the call state of the SIM card in the main card slot. Under the condition that the mobile phone is inserted into the double card, the mobile phone cannot monitor the started operator call when the mobile phone uses the SIM card in the auxiliary card slot to perform the operator call, and the mobile phone cannot be switched to the tablet personal computer to collect and play call voice. Under the situation, when the mobile phone uses the SIM card in the auxiliary card slot to carry out the call of the operator, the expected call voice is on the side of the tablet personal computer, but the actual call voice is still on the side of the mobile phone, and the cooperative call fails.
Therefore, the embodiment of the application provides a call state monitoring method, which can monitor the call states of all SIM cards installed in a mobile phone simply, quickly, accurately and efficiently when the mobile phone and a tablet personal computer are in multi-screen collaboration.
In the following, several possible connection modes of multi-screen collaboration are described by taking a mobile phone and a tablet computer as an example for multi-screen collaboration.
1. The connection is established via bluetooth.
For example, if the user wants to perform the collaborative operation between the mobile phone and the tablet pc, bluetooth in both the mobile phone and the tablet pc may be turned on. Then, the user manually opens the multi-screen collaboration function in the handset. For example, the user can find the switch of the multi-screen collaboration through the path of setting the multi-screen collaboration and the more connection in the interface of the mobile phone, and the multi-screen collaboration function of the mobile phone is started by setting the switch to be in an on state.
Referring to the interface schematic diagram of the tablet computer shown in fig. 3, as shown in fig. 3 (a), the user slides out of the notification panel from the status bar of the tablet computer, and the notification panel includes a "multi-screen collaboration" option 31. The user clicks the multi-screen collaboration option 31, and the tablet personal computer responds to the triggering operation of the user on the multi-screen collaboration option 31 to display a first prompt window, wherein the first prompt window comprises first operation prompt information for indicating how the user operates to realize multi-screen collaboration. For example, as shown in the diagram (b) of fig. 3, the first operation prompt information includes "1. Turning on your mobile bluetooth and approaching the local, clicking" connect "after the local is found.
2. After connection, you can operate the mobile phone on the tablet personal computer to realize data sharing among devices. "prompt content. Thus, the user can perform corresponding operation according to the first operation prompt information, such as approaching the mobile phone to the tablet personal computer.
In one example, referring to the interface schematic diagram of the mobile phone shown in fig. 4, when the mobile phone discovers the tablet computer during the process of approaching the tablet computer, the mobile phone displays a second prompt window, as shown in (a) of fig. 4, where the second prompt window includes prompt content of "whether to establish a cooperative connection with the discovered device", and "connect" option 41 and "cancel" option 42. When the user clicks the "connect" option 41, the user is instructed to confirm that the collaborative connection is to be established, and the mobile phone establishes the collaborative connection with the tablet computer through bluetooth in response to the triggering operation of the user on the "connect" option 41. When the user clicks the "cancel" option 42, it is indicated that the user does not want to establish the cooperative connection, and the mobile phone does not perform the operation of establishing the cooperative connection in response to the user's trigger operation of the "cancel" option 42. In another example, in the process that the mobile phone approaches to the tablet computer, when the mobile phone discovers the tablet computer, the second prompt window is not displayed, and a cooperative connection is automatically established with the tablet computer through bluetooth.
As an example and not by way of limitation, in the process of establishing a cooperative connection between the mobile phone and the tablet computer through bluetooth, in order to display the progress of establishing the cooperative connection, the mobile phone may further display a third prompt window for indicating that connection is being performed, for example, a third prompt window may be displayed as shown in (b) of fig. 4. Optionally, a "cancel" option is included in the third prompt window to facilitate the user to cancel the connection at any time if desired.
2. And establishing connection in a code scanning mode.
For example, the user may find the button of "scan code connection" through the path of "my mobile phone" - "immediate connection" - "scan code connection" in the interface of the tablet computer, the user clicks the button, and the tablet computer displays the two-dimensional code for establishing the collaborative connection in response to the triggering operation of the button by the user, for example, may display the two-dimensional code as shown in fig. 5. Optionally, the tablet computer may further display a second operation prompt for prompting the user how to operate to implement multi-screen collaboration, for example, as shown in fig. 5, the second operation prompt may be "scan code connection using a mobile phone browser".
In one example, referring to the interface schematic of the mobile phone shown in fig. 6, the user may enter an interface in which a "swipe" option is displayed in the browser (or smart vision) of the mobile phone, for example, may enter an interface in the browser shown in fig. 6 (a), in which a "swipe" option 61 is displayed. The user can click on the "sweep one sweep" option 61, the mobile phone responds to the triggering operation of the user on the "sweep one sweep" option 61, the camera is started, and the sweep code interface shown in the diagram (b) in fig. 6 is displayed, so that the user can conduct the sweep code operation on the two-dimensional code displayed by the tablet computer by aiming the camera.
In one example, after the mobile phone has successfully scanned the code, a request to establish a collaborative connection is sent to the tablet computer. After receiving the request sent by the mobile phone, the tablet computer may display a fourth prompt window, where the fourth prompt window includes prompt information for prompting whether the user agrees to establish a cooperative connection, for example, the prompt information may include "xx device requests to establish a cooperative connection with the local terminal, and does not agree to establish a cooperative connection? The "prompt content" and the "consent" and "rejection" options. When the user clicks the 'agree' option, the user is stated to allow the mobile phone to establish cooperative connection with the tablet computer, and the tablet computer responds to the triggering operation of the user on the 'agree' option to establish cooperative connection with the mobile phone. When the user clicks the reject option, the fact that the user does not allow the mobile phone to establish the cooperative connection with the tablet personal computer is indicated, and the tablet personal computer responds to the triggering operation of the user on the reject option to inform the mobile phone of the failure in establishing the cooperative connection.
It should be noted that, the above description only takes the path of the user through the my mobile phone "-" immediate connection "-" scan code connection "to open the two-dimensional code in the tablet computer as an example. Alternatively, the two-dimensional code may also be opened through other paths. For example, as shown in fig. 3 (b), the first prompt window includes "no local found? You can also sweep the hint content of the code connection, wherein the four words of the code connection are triggerable. The user can click on the content of the code scanning connection in the first prompt window, and the tablet computer responds to the triggering operation of the user on the content of the code scanning connection to display the two-dimensional code shown in fig. 5. Thus, the user can scan the two-dimensional code displayed by the tablet personal computer through the mobile phone, and the cooperative connection is established in a code scanning mode.
3. The connection is established by touching one touch.
The user can start the NFC and multi-screen cooperative function in the mobile phone and the tablet computer. After that, the user touches the NFC area of the back of the mobile phone (usually around the camera of the back of the mobile phone) to the NFC area of the tablet (usually in the lower right corner area of the tablet), and the mobile phone and the tablet establish a cooperative connection through NFC in response to the touch operation of the user. Optionally, before establishing the cooperative connection through NFC, the tablet computer and the mobile phone may further prompt the user whether to agree to establish the cooperative connection, and after the user agrees to establish the cooperative connection, the mobile phone and the tablet computer execute the operation of establishing the cooperative connection. In one example, when the mobile phone and the tablet computer successfully establish a cooperative connection, the mobile phone can also remind the user in a vibration or ringing mode.
It should be noted that the above several possible connection methods are described by taking a wireless connection method as an example. In another embodiment, the connection may be implemented by a wired connection, for example, a connection line from Type-C to high definition multimedia interface (high definition multimedia interface, HDMI), which is not limited in this embodiment.
After the mobile phone and the tablet computer are successfully connected in a collaborative manner, as shown in fig. 7, the tablet computer can mirror-image and display the screen of the mobile phone. Thus, the user can operate the screen picture of the mobile phone displayed by the tablet personal computer in the tablet personal computer according to the requirements, so that the mobile phone can execute corresponding functions. In one example, the mobile phone and the tablet computer synchronously display the main interface of the mobile phone as shown in fig. 7, if the user wants to dial a phone call, the user can click an icon for dialing the phone call on the main interface of the mobile phone displayed on the tablet computer to open the dialing interface of the mobile phone, and at this time, the mobile phone and the tablet computer synchronously display the dialing interface of the mobile phone. Then, the user can dial in the dialing interface of the mobile phone displayed by the tablet personal computer so as to realize dialing in the mobile phone.
After a call is placed in the mobile phone, if the mobile phone starts to make an operator call, as shown in fig. 8, the mobile phone and the tablet computer synchronously display a call interface of the mobile phone. When the mobile phone carries out the call of the operator, the mobile phone can be selectively switched to the tablet personal computer to collect and play the call voice, and then the cooperative call can be carried out. Specifically, when the mobile phone and the tablet personal computer carry out cooperative communication, a microphone of the tablet personal computer collects communication voice of a local end user and sends the communication voice to the mobile phone, and the mobile phone sends the communication voice to remote communication equipment; the remote communication equipment sends communication voice of the remote user to the mobile phone, the mobile phone sends the communication voice to the tablet computer, and the communication voice is played by a loudspeaker of the tablet computer.
For example, after the mobile phone and the tablet computer perform multi-screen collaboration, if the mobile phone starts to perform an operator call, as shown in fig. 8, after the user pulls down the notification bar of the tablet computer in the tablet computer, the notification bar of the tablet computer may display the prompt content of "collaboration to the mobile phone", and the notification bar may further include a switch for switching the call voice to the tablet computer, and the user may operate the switch according to the requirement to indicate whether to switch the call voice to the tablet computer, that is, whether to perform collaboration call. Or, the user can pull down the notification bar of the mobile phone in the mobile phone, the notification bar of the mobile phone can display the prompt content of 'cooperated to the tablet computer', the notification bar can also comprise a switch for switching the call voice to the tablet computer, and the user can operate the switch according to the requirement to indicate whether to perform the cooperated call. If, during the operator call of the mobile phone, the user instructs to switch the call voice to the tablet computer by operating the switch for switching the call voice to the tablet computer on the tablet computer or the mobile phone, that is, instructs to perform the cooperative call, the collection and playing of the call voice of the operator call that is performed by the mobile phone are performed on the tablet computer side. If, during the operator call of the mobile phone, the user instructs not to switch the call voice to the tablet computer by operating the switch for switching the call voice to the tablet computer on the tablet computer or the mobile phone, that is, instructs not to perform the cooperative call, the collection and playing of the call voice of the operator call that the mobile phone is performing are still performed on the mobile phone side.
It should be noted that in some embodiments, in the scenario of multi-screen collaboration, the mobile phone may also default to automatically conduct collaboration when conducting an operator call. That is, after the mobile phone and the tablet personal computer perform multi-screen collaboration, if the mobile phone starts to perform the operator call, the user operation is not needed, and the collaborative call can be automatically performed, that is, the collection and playing of the call voice are automatically switched to the tablet personal computer side for execution. Under the situation, if the user does not want to make the cooperative call, the user can instruct not to switch the call voice to the tablet computer by operating the switch for switching the call voice to the tablet computer on the tablet computer or the mobile phone, namely instruct to close the cooperative call, switch the call voice back to the mobile phone, and at the moment, the collection and playing of the call voice of the ongoing operator call of the mobile phone are switched back to the mobile phone side to continue to be executed.
As can be seen from the above description, if a collaborative call is required to be implemented under the condition that the mobile phone and the tablet computer perform multi-screen collaboration, the mobile phone is required to monitor the call state of the SIM card installed in the mobile phone to determine whether to start the operator call. When the mobile phone monitors that the call state of the SIM card is changed from idle to call, the mobile phone can determine that the mobile phone starts to perform operator call, and can switch to the tablet personal computer to collect and play call voice, namely, perform collaborative call. Therefore, the embodiment of the application provides a call state monitoring method, which can monitor the call states of all SIM cards installed in a mobile phone simply, quickly and accurately when the mobile phone and a tablet personal computer are in multi-screen collaboration.
The call state monitoring method provided by the embodiment of the application is applied to a multi-screen cooperative system, and the multi-screen cooperative system is explained below.
Fig. 9 is a schematic diagram of a multi-screen collaboration system according to an embodiment of the present application. Referring to fig. 9, the multi-screen collaborative system may include a first device 901 and a second device 902. The first device 901 and the second device 902 may communicate through a wired connection or a wireless connection.
The first device 901 and the second device 902 may each be a terminal, which may be a terminal as described in the embodiments of fig. 1-2 above. For example, the terminal may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), a television, or the like, which is not limited in the embodiments of the present application.
The first device 901 and the second device 902 may perform multi-screen collaboration. After the first device 901 performs multi-screen collaboration with the second device 902, a screen of the first device 901 may be displayed on an interface of the second device 902.
The first device 901 and the second device 902 may be different types of terminals, or may be the same type of terminal, which is not limited in the embodiment of the present application. For example, both may be terminals such as a mobile phone or a tablet computer.
In a possible implementation manner, the screen size of the first device 901 is smaller than the screen size of the second device 902, so that when the small screen and the large screen cooperate in a multi-screen manner, the screen picture of the small screen is displayed to the interface of the large screen as a window, and a user can operate the screen picture of the small screen in the interface of the large screen, so that the operation experience of the user is improved. For example, the first device 901 is a mobile phone, and the second device 902 is a tablet computer or a television. Alternatively, the first device 901 is a tablet computer and the second device 902 is a television. Of course, the screen size of the first device 901 may also be larger than the screen size of the second device 902. For example, the first device 901 is a tablet computer, and the second device 902 is a mobile phone.
In the case where the first device 901 performs multi-screen collaboration with the second device 902, the first device 901 needs to monitor the call state of the SIM card installed in itself to determine whether to start the operator call, so as to determine whether to switch to the second device 902 to perform collection and playing of call voice according to the call state, that is, determine whether to perform collaborative call according to the call state. The call state monitoring method provided by the embodiment of the invention is applied to a scene that the first device 901 and the second device 902 perform multi-screen collaboration. In this case, by executing the call state monitoring method provided by the embodiment of the present application, the first device 901 may simply, quickly and accurately monitor the call states of all SIM cards installed in the first device 901 while performing multi-screen collaboration with the second device 902.
The following explains the call state monitoring method provided in the embodiment of the present application in detail.
Fig. 10 is a flowchart of a call state monitoring method provided in the embodiment of the present application, where the method is applied to a first device, and the first device and a second device may perform multi-screen collaboration, where the multi-screen collaboration refers to displaying a screen of the first device on an interface of the second device. Referring to fig. 10, the method includes:
step 1001: if the first equipment and the second equipment perform multi-screen collaboration, the first equipment acquires the identification of each SIM card in all the SIMs installed by the first equipment.
After the first equipment and the second equipment are subjected to multi-screen collaboration, the screen picture of the first equipment is displayed on the interface of the second equipment. In this case, the user can cause the first device to execute the corresponding function by operating the screen of the first device displayed in the interface of the second device. The first device and the second device may implement multi-screen collaboration through a plurality of possible manners, for example, may implement multi-screen collaboration through bluetooth, code scanning, touch, etc., which are described in detail above, and this embodiment of the present application will not be described in detail.
The first device is a device capable of operator communication. One or more SIM cards can be installed in the first device, and the first device can use any one of the one or more SIM cards to conduct operator communication. For example, in the case where the first device has only one SIM card installed, the first device may directly use the SIM card to make an operator call, such as making a call using the SIM card, or answering an incoming call using the SIM card. In the case that the first device is provided with a plurality of SIM cards, the first device may use one of the plurality of SIM cards to make an operator call, for example, may use the one SIM card to make a call or use the one SIM card to answer an incoming call.
In the case where the first device performs multi-screen collaboration with the second device, the user may directly operate in the first device to cause the first device to start performing an operator call, or the user may operate in the second device to cause the first device to start performing an operator call.
In the following, several possible operation modes are described, taking as an example the case of making a phone call in the first device to start the operator call.
In a first possible operation mode, if the user wants to make a call in the first device, the operation may be directly performed in the first device.
For example, the user may click on an icon for dialing a phone call in the main interface of the first device to open the dialing interface of the first device, and then the user may perform a dialing operation in the dialing interface of the first device to dial a phone call in the first device to start making a call by the carrier. Under the condition that only one SIM card is installed in the first equipment, a user can directly dial in a dialing interface of the first equipment, so that the user uses the SIM card to dial a call in the first equipment; under the condition that a plurality of SIM cards are installed in the first equipment, a user can firstly select one SIM card in a dialing interface of the first equipment and then dial the number on the dialing interface of the first equipment, so that the selected SIM card is used in the first equipment to dial a call.
In a second possible operation manner, if the user wants to make a call in the first device, the operation may be performed by a second device that performs multi-screen collaboration with the first device.
For example, after the first device and the second device perform multi-screen collaboration, the first device and the second device synchronously display a main interface of the first device, a user can click an icon for dialing a phone in the main interface of the first device displayed by the second device to open a dialing interface of the first device, at this time, the first device and the second device can synchronously display the dialing interface of the first device, and then the user can perform dialing operation in the dialing interface of the first device displayed by the second device, so as to dial the phone in the first device to start the operator call. Under the condition that only one SIM card is arranged in the first equipment, a user can directly dial in a dialing interface of the first equipment displayed by the second equipment, so that the user can use the SIM card to dial a call in the first equipment; under the condition that a plurality of SIM cards are installed in the first equipment, a user can firstly select one SIM card from the dialing interface of the first equipment displayed by the second equipment, and then dial operation is carried out on the dialing interface of the first equipment displayed by the second equipment, so that the selected SIM card can be used for dialing a call in the first equipment.
In a third possible operation manner, if the user wants to make a call in the first device, the operation may be performed on both the first device and the second device that performs multi-screen collaboration with the first device.
For example, after the first device and the second device perform multi-screen collaboration, the first device and the second device synchronously display a main interface of the first device, a user may click an icon for dialing a phone in the main interface of the first device displayed by the second device to open a dialing interface of the first device, at this time, the first device and the second device may synchronously display the dialing interface of the first device, and then the user may perform a dialing operation in the dialing interface of the first device to dial a phone in the first device to start an operator call. Under the condition that only one SIM card is installed in the first equipment, a user can directly dial in a dialing interface of the first equipment, so that the user uses the SIM card to dial a call in the first equipment; under the condition that a plurality of SIM cards are installed in the first equipment, a user can firstly select one SIM card in a dialing interface of the first equipment and then dial the number on the dialing interface of the first equipment, so that the selected SIM card is used in the first equipment to dial a call.
For another example, after the first device and the second device perform multi-screen collaboration, the first device and the second device synchronously display a main interface of the first device, a user may click an icon for dialing a phone in the main interface of the first device to open a dialing interface of the first device, at this time, the first device and the second device may synchronously display the dialing interface of the first device, and then the user may perform a dialing operation in the dialing interface of the first device displayed by the second device, so as to dial the phone in the first device to start the operator call. Under the condition that only one SIM card is arranged in the first equipment, a user can directly dial in a dialing interface of the first equipment displayed by the second equipment, so that the user can use the SIM card to dial a call in the first equipment; under the condition that a plurality of SIM cards are installed in the first equipment, a user can firstly select one SIM card from the dialing interface of the first equipment displayed by the second equipment, and then dial operation is carried out on the dialing interface of the first equipment displayed by the second equipment, so that the selected SIM card can be used for dialing a call in the first equipment.
In the following, several possible operation modes are described, taking as an example that an incoming call is answered in the first device to start the operator call.
In a first possible operation manner, when the first device has an incoming call, if the user wants to answer the incoming call in the first device, the operation may be performed in the first device.
For example, if the first device has an incoming call, the first device may display an incoming call interface, and the user may click an answer button on the incoming call interface of the first device to answer the incoming call in the first device to start the operator call. Wherein, in the case that the first device is provided with only one SIM card, the telephone dialed in the first device is the telephone dialed in the SIM card, so that the first device uses the SIM card to receive the telephone; in the case where the first device has a plurality of SIM cards installed, a call placed in the first device is a call placed in one of the plurality of SIM cards, and thus the one SIM card is used in the first device to receive a call.
In a second possible operation manner, when the first device has an incoming call, if the user wants to answer the incoming call in the first device, the operation can be performed on a second device that performs multi-screen collaboration with the first device.
For example, after the first device and the second device perform multi-screen collaboration, if the first device has an incoming call, the first device and the second device synchronously display an incoming call interface of the first device, and the user can click an answer button in the incoming call interface of the first device displayed by the second device, so as to answer the incoming call in the first device to start to perform the operator call. Wherein, in the case that the first device is provided with only one SIM card, the telephone dialed in the first device is the telephone dialed in the SIM card, so that the first device uses the SIM card to receive the telephone; in the case where the first device has a plurality of SIM cards installed, a call placed in the first device is a call placed in one of the plurality of SIM cards, and thus the one SIM card is used in the first device to receive a call.
The SIM card or cards installed by the first device have an identification (which may be referred to as subID). For any one SIM card, the identity of the SIM card is used to uniquely identify the SIM card.
The first device may have one or more card slots, each for mounting one SIM card, that is, each card slot corresponding to the SIM card mounted thereon. After a SIM card is installed in a card slot in the first device, the first device can use the SIM card to make or receive incoming calls, i.e., can use the SIM card to make operator calls.
In this case, the operation of the first device to obtain the identifier of each SIM card in all SIM cards installed by the first device may be: the first device obtains the identification of each card slot in all card slots used for installing the SIM card in the first device, and then obtains the identification of the SIM card installed in each card slot according to the identification of each card slot in the identifications of all card slots.
One or more card slots in the first device have an identification. For any one card slot, the identification of the card slot is used for uniquely identifying the card slot. The first device stores in advance the identification of each of all the card slots.
As an example, the first device may store a correspondence between the card slot identifier and the SIM card identifier, where the correspondence includes an identifier of each card slot in all card slots in the first device. For any one card slot of all card slots in the first device, if one SIM card is inserted into the card slot, the first device may store the identifier of the SIM card as the SIM card identifier corresponding to the identifier of the card slot in the correspondence relationship. If the SIM card is pulled out from the card slot, the first device may delete the SIM card identifier corresponding to the identifier of the card slot in the correspondence relationship, where the identifier of the card slot does not have the corresponding SIM card identifier in the correspondence relationship.
For example, the correspondence between the card slot identifier and the SIM card identifier may be as shown in table 1 below. In the correspondence shown in table 1, the card slot identifier 1 corresponds to the SIM card identifier 1, and the card slot identifier 2 does not have a corresponding SIM card identifier. According to the correspondence shown in table 1, the SIM card identified by the SIM card identifier 1 is installed in the card slot identified by the card slot identifier 1, and the SIM card is not currently installed in the card slot identified by the card slot identifier 2.
TABLE 1
Card slot mark | SIM card identification |
Card slot label 1 | SIM card identification 1 |
Card slot label 2 |
In the embodiment of the present application, the correspondence between the card slot identifier and the SIM card identifier is described by taking table 1 as an example, and table 1 is not limited to the embodiment of the present application.
In this case, the operation of the first device to obtain the identifier of the SIM card installed in each card slot according to the identifier of each card slot in the identifiers of all card slots may be: for the identification of each card slot in all card slots in the first device, the first device can obtain the corresponding SIM card identification from the corresponding relation between the card slot identification and the SIM card identification according to the identification of the card slot, and the obtained SIM card identification is the identification of the SIM card installed in the card slot. If the first device does not acquire the corresponding SIM card identifier from the corresponding relation between the card slot identifier and the SIM card identifier according to the identifier of the card slot, the first device indicates that the card slot is not provided with the SIM card currently.
For example, the first device has two card slots, one of which is identified as card slot identification 1 and the other as card slot identification 2. The first device obtains the corresponding SIM card identifier as the SIM card identifier 1 from the corresponding relationship between the card slot identifier and the SIM card identifier shown in table 1 according to the card slot identifier 1, where the obtained SIM card identifier 1 is the identifier of the SIM card installed in the card slot identified by the card slot identifier 1. And, the second device may determine, according to the card slot identifier 2, that the SIM card is not currently installed in the card slot identified by the card slot identifier 2, if the corresponding SIM identifier is not obtained from the correspondence between the card slot identifier and the SIM card identifier shown in table 1. Thus, the first device obtains the identity of all the SIM cards installed by the first device (i.e. the SIM cards installed in the card slots identified by the card slot identity 1) as the SIM card identity 1.
As an example, the identity of the SIM card installed in any one card slot may be generated based on the number of SIM cards that have been installed in that card slot. For example, after a SIM card is inserted into a card slot, if the SIM card is the i-th SIM card installed in the card slot, that is, i-1 SIM card has been installed into the card slot before the SIM card is installed in the card slot, the first device may set the identifier of the SIM card to i. Wherein i is a positive integer.
That is, the identity of the SIM card installed in this card slot is incremented. For example, for a first SIM card inserted into this card slot, the identity of the first SIM card may be 1. If another SIM card is inserted into the card slot after the first SIM card is pulled out, the currently inserted SIM card is the second SIM card inserted into the card slot, and the identifier of the second SIM card may be 2. If one SIM card is continuously inserted into the card slot after the second SIM card is pulled out, the currently inserted SIM card is the third SIM card inserted into the card slot, and the identifier of the third SIM card may be 3.
Step 1002: the first device creates a monitor corresponding to each SIM card according to the identification of each SIM card in all the SIM cards.
And the monitor corresponding to each SIM card is used for monitoring the call state of the corresponding SIM card. That is, for any one of all the SIM cards installed in the first device, the first device may create a listener corresponding to the SIM card according to the identifier of the SIM card, where the listener corresponding to the SIM card is used to listen to the call state of the SIM card.
The call state is used to indicate a transition from idle to in-call (offhook) or from in-call to idle. For one SIM card, if the SIM card is idle, indicating that the SIM card is not used for carrying out the communication of an operator; if the SIM card is in communication, the operator can use the SIM card to communicate. In this case, if the first device starts to make an operator call by using the SIM card, the call state of the SIM card is changed from idle to in-call. And if the first equipment hangs up the operator call by the SIM card, the call state of the SIM card is converted into idle call.
A listener (also referred to as a listener object) is a listening interface for receiving a call state change event of the SIM card, from which the call state of the SIM card can be determined. For example, when a call state of one SIM card is changed, that is, when the call state of the SIM card is changed from idle to call or from call to idle, a call state change event is generated, and at this time, a listener corresponding to the SIM card may receive the call state change event of the SIM card, and according to the call state change event, it may be determined whether the call state of the SIM card is changed from idle to call or from call to idle.
As an example, listeners may be registered by a call management object. The call management object is used for managing the call state of the SIM card. For example, the call management object may be a telephone service manager (telescopemanager), which is a service class that manages call status, network information.
In this case, the operation of the first device to create the listener corresponding to each SIM card according to the identifier of each SIM card in all SIM cards may be: for each of all SIM cards installed in the first device, the first device creates a call management object corresponding to the one SIM card according to the identification of the one SIM card. And then, the first equipment registers a monitor through the call management object corresponding to the SIM card as the monitor corresponding to the SIM card.
Since the call management object corresponding to the one SIM card is created according to the identifier of the one SIM card, the call management object corresponding to the one SIM card is used for managing the call state of the one SIM card. In this case, the listener registered by the call management object corresponding to the one SIM card is used to listen to the call state of the one SIM card, that is, the listener registered by the call management object corresponding to the one SIM card is the listener corresponding to the one SIM card.
In this case, if only one SIM card is installed in the first device, only the listener corresponding to the SIM card is registered, and when the call state of the SIM card is changed, an event notification is received in the corresponding listener. If a plurality of SIM cards are installed in the first device, corresponding monitors are respectively registered for the plurality of SIM cards, and event notification is received in the corresponding monitors when the call state of each SIM card is changed.
Step 1003: the first device starts a monitor corresponding to each SIM card in all the SIM cards so as to monitor the call state of all the SIM cards respectively.
After the first device starts the monitor corresponding to each of the SIM cards, the call state of each SIM card can be monitored by the corresponding monitor. In this case, whether the first device is provided with one SIM card or a plurality of SIM cards, the call state of each SIM card is monitored by its corresponding monitor. Therefore, no matter which SIM card is used by the first equipment for the operator to communicate, the first equipment can be monitored in time, and accordingly, the first equipment can execute corresponding business processing.
As an example, in a multi-screen collaboration scenario, a first device may default to automatically conduct collaborative conversations when conducting an operator conversation, i.e., default to automatically switch conversational speech to a second device that is multi-screen collaborative with the first device when conducting an operator conversation. Or, the user may manually turn on the cooperative call function in the first device, for example, the user may turn on a switch for switching the call voice to the second device from the notification bar of the first device or the second device, so as to turn on the cooperative call function, thereby indicating that the first device automatically performs the cooperative call when performing the operator call.
In this case, for any one of all the SIM cards installed by the first device, this SIM card may be referred to as a target SIM card. If the first device detects that the call state of the target SIM card is changed from idle to call through the monitor corresponding to the target SIM card, the first device starts to perform the operator call by using the target SIM card, and the first device can perform collaborative call in the process of performing the operator call by using the target SIM card, so that the second device performing multi-screen collaborative with the first device performs collection and playing of the operator call voice. And if the first device monitors that the call state of the target SIM card is changed from call to idle through the monitor corresponding to the target SIM card, the first device can end the collaborative call to stop the second device from collecting and playing the call voice of the operator when the first device hangs up the call of the operator by the target SIM card.
The first device performs collaborative call in the process of using the target SIM card to perform operator call, namely, the call voice of the operator call performed by the first device using the target SIM card is switched to the second device, and the second device performs collection and play of the call voice. Specifically, when the first device and the second device carry out cooperative communication, a microphone of the second device collects communication voice of a local end user and sends the communication voice to the first device, and the first device sends the communication voice to the far-end communication device; the remote communication device sends communication voice of the remote user to the first device, the first device sends the communication voice to the second device, and the second device is played through a loudspeaker of the second device.
And if the first device hangs up the operator call by the target SIM card, which indicates that the first device has no cooperative call requirement, the first device can end the cooperative call. In this case, the collection and playing of the operator call voice resumes the original state, i.e. switches back to the first device execution.
In order to facilitate understanding, the foregoing call state monitoring method will be illustrated with reference to fig. 11 and fig. 12 by taking the first device as a mobile phone and the second device as a tablet computer as an example.
The existing mobile phone is generally in a dual-card dual-standby mode, namely, the mobile phone is provided with two clamping grooves, and two SIM cards can be installed. However, the conventional call state monitoring method is specific to a single-card mobile phone, that is, the conventional call state monitoring method can only monitor the call state of one SIM card. Thus, when the traditional call state monitoring mode is applied to the dual-card mobile phone, the call state of the SIM card in the main card slot is monitored by default, and the call state of the SIM card in the auxiliary card slot cannot be monitored. To solve this problem, the related art adjusts the conventional call state listening manner. The call state monitoring method in the related art will be described with reference to fig. 11.
Fig. 11 is a schematic diagram of a call state monitoring manner provided in the related art. Referring to fig. 11, the call state listening manner may include the following steps A1 to A6.
Step A1: the mobile phone and the tablet personal computer perform multi-screen collaboration.
Step A2: the mobile phone registers a monitor and starts, and the monitor monitors the call state of the SIM card in the main card slot of the mobile phone by default.
Step A3: if the mobile phone monitors that the call state (namely the call state of the SIM card in the main card slot) is changed from idle to call, the mobile phone performs cooperative call so as to switch the call voice to the tablet personal computer.
Step A4: if the mobile phone monitors that the call state is changed from the call state to the idle state through the monitor, the step A5 is executed.
Step A5: and traversing to obtain the call states of the SIM cards in all the card slots (namely the main card slot and the auxiliary card slot) in the mobile phone, namely obtaining the call states of all the SIM cards in the mobile phone.
Step A6: judging whether the SIM card exists in the mobile phone in a call. If all SIM cards in the mobile phone are idle, ending the collaborative call; if the SIM card exists in the mobile phone and is in the call, the cooperative call is kept.
That is, in the conventional call state monitoring manner, if the mobile phone monitors that the call state is changed from the call state to the idle state through the monitor, the cooperative call is directly ended. Therefore, the cooperative call can be realized only when the mobile phone uses the SIM card in the main card slot to make the call of the operator, so that the call voice can be switched to the tablet personal computer. And when the mobile phone uses the SIM card in the auxiliary card slot to carry out the communication of the operator, the cooperative communication cannot be realized, namely the communication voice can be switched to fail.
The related art adjusts the traditional call state monitoring mode, specifically, when the mobile phone monitors that the call state is changed from the call state to the idle state through the monitor, the mobile phone traverses and acquires the call states of the SIM cards in each of all the card slots in the mobile phone, and if any SIM card is in the call, the cooperative call can be kept continuously. Therefore, the mobile phone can successfully realize collaborative communication no matter the mobile phone uses the SIM card in the main card slot or the auxiliary card slot to carry out the communication of the operator.
However, the call state listening method in the related art has the following problems: 1. business logic is unreasonable: the method is designed for avoiding the problems in the traditional call state monitoring mode, and only for rapidly solving the problems, the service logic is unreasonable. 2. Waste of resources: regardless of the existence of a plurality of SIM cards in the mobile phone, if the call state is monitored to be changed from call to idle, the call state of the SIM card in each card slot in all card slots in the mobile phone is obtained again, and redundant processing and resource waste exist.
Therefore, aiming at the problems in the double-card scene and the unreasonable related technical schemes, the embodiment of the application re-teases the business flow of the call voice switching, and provides an optimization scheme. The following describes a call state monitoring method provided in the embodiment of the present application with reference to fig. 12.
Fig. 12 is a schematic diagram of a call state monitoring method according to an embodiment of the present application. Referring to fig. 12, the call state listening method may include the following steps B1 to B5.
Step B1: the mobile phone and the tablet personal computer perform multi-screen collaboration.
The mobile phone and the tablet personal computer can realize multi-screen cooperation through a plurality of possible modes, for example, the multi-screen cooperation can be realized through Bluetooth, code scanning, touch, and the like, and the modes are described in detail above, so that the embodiment of the application is not repeated.
Step B2: the mobile phone traverses and acquires the identification of the SIM card in each card slot in all card slots (namely a main card slot and a secondary card slot) in the mobile phone.
The operation of the mobile phone to obtain the identifier of the SIM card in each card slot in all card slots in the mobile phone is the same as the operation of the first device to obtain the identifier of the SIM card in each card slot in all card slots in the first device in step 1001, which is not described in detail in this embodiment of the present application.
Step B3: the mobile phone registers corresponding monitors for each SIM card according to the identification of each SIM card and starts the corresponding monitors, and each corresponding monitor of the SIM card is used for monitoring the call state of the corresponding SIM card.
The operation of registering the corresponding monitor for each SIM card according to the identifier of each SIM card by the mobile phone is the same as the operation of creating the corresponding monitor for each SIM card by the first device in step 1002 according to the identifier of each SIM card in all SIM cards, which is not described in detail in this embodiment of the present application.
The operation of the mobile phone to start the monitor corresponding to each SIM card registration is the same as the operation of the first device to start the monitor corresponding to each SIM card in all SIM cards in step 1003, which is not described in detail in this embodiment of the present application.
That is, in the case that the mobile phone has a main card slot and a sub card slot, the mobile phone registers a corresponding listener for the SIM card in the main card slot according to the identifier of the SIM card in the main card slot, and the listener corresponding to the SIM card in the main card slot is used for listening to the call state of the SIM card in the main card slot. And registering a corresponding monitor for the SIM card in the auxiliary card slot by the mobile phone according to the identification of the SIM card in the auxiliary card slot, wherein the monitor corresponding to the SIM card in the auxiliary card slot is used for monitoring the call state of the SIM card in the auxiliary card slot.
Step B4: if the mobile phone monitors that the call state is changed from idle to call through any monitor, cooperative call is carried out so as to switch call voice to the tablet personal computer.
When a mobile phone starts to make an operator call by using any one of the SIM cards (such as dialing or receiving an incoming call by using the SIM card), the call state of the SIM card is changed from idle to call, and the call state change is monitored by a monitor corresponding to the SIM card. Under the condition, the mobile phone can carry out cooperative conversation so as to collect and play conversation voice in the process of carrying out the conversation of the operator by the tablet personal computer.
Step B5: if the mobile phone monitors that the call state is changed from call to idle through any monitor, the cooperative call is ended.
When the mobile phone ends the call of the operator which is carried out by a certain SIM card (for example, when the call of the operator which is carried out by the SIM card is hung up), the call state of the SIM card is converted into idle call, and the change of the call state is monitored by a monitor corresponding to the SIM card. At this point the collaboration session may be ended. After the collaborative conversation is finished, the collection and the playing of the conversation voice restore the original state, namely, the conversation voice is switched back to the mobile phone for execution.
In the call state monitoring method provided by the embodiment of the invention, corresponding monitors are registered for each SIM card according to the identification of each SIM card in all the SIM cards in the mobile phone, and each monitor can monitor the call state of the corresponding SIM card. Therefore, the mobile phone can monitor the call state of the SIM card in the main card slot through the monitor corresponding to the SIM card in the main card slot, and can monitor the call state of the SIM card in the auxiliary card slot through the monitor corresponding to the SIM card in the auxiliary card slot, so that the mobile phone can monitor whether the mobile phone uses the main card slot or the SIM card in the auxiliary card slot to carry out operator call, and the cooperative call can be successfully realized accordingly. The service logic of the whole scheme is reasonable, the monitoring process is simple, convenient and accurate, and redundant processing and resource waste are avoided.
Fig. 13 is a schematic structural diagram of a call state monitoring apparatus provided in the embodiment of the present application, where the apparatus may be implemented by software, hardware, or a combination of both as part or all of a computer device, and the computer device may be a terminal as described in the embodiment of fig. 1-2. Referring to fig. 13, the apparatus includes: an acquisition module 1301, a creation module 1302 and a listening module 1303.
The obtaining module 1301 is configured to obtain, if multi-screen collaboration is performed with the second device, an identifier of each SIM card in all SIM cards installed by the second device, where the multi-screen collaboration is to display a screen of the second device on an interface of the second device;
the creating module 1302 is configured to create a monitor corresponding to each SIM card according to the identifier of each SIM card in all SIM cards, where the monitor corresponding to each SIM card is used to monitor a call state of the corresponding SIM card, and the call state is used to indicate that the call is changed from idle to call, or indicates that the call is changed from idle to idle;
the monitoring module 1303 is configured to start a monitor corresponding to each SIM card in all SIM cards, so as to monitor call states of all SIM cards respectively.
Optionally, the obtaining module 1301 is configured to:
the method comprises the steps of obtaining the identification of each card slot in all card slots used for installing SIM cards;
And respectively acquiring the identification of the SIM card installed in each card slot according to the identification of each card slot in the identifications of all card slots.
Optionally, the creation module 1302 is configured to:
for each of all the SIM cards, creating a call management object corresponding to the one SIM card according to the identification of the one SIM card, wherein the call management object corresponding to the one SIM card is used for managing the call state of the one SIM card;
and registering a monitor through the call management object corresponding to the one SIM card as the monitor corresponding to the one SIM card.
Optionally, the apparatus further comprises:
and the cooperative call module is used for carrying out cooperative call in the process of carrying out operator call by using the target SIM card if the call state of the target SIM card is changed from idle to call through the monitor corresponding to the target SIM card, so that the second equipment can collect and play the operator call voice, and the target SIM card is any one of all the SIM cards.
Optionally, the apparatus further comprises:
and the ending module is used for ending the collaborative call if the call state of the target SIM card is monitored to be changed from the call to idle by the monitor corresponding to the target SIM card, so as to stop the collection and playing of the call voice of the operator by the second equipment.
In the embodiment of the application, the identification of each SIM card in all the SIM cards installed by the user is acquired when multi-screen collaboration is performed, and the corresponding monitor is registered for each SIM card and started according to the identification of each SIM card in all the SIM cards. Therefore, each monitor can monitor the call state of the corresponding SIM card, so that no matter which SIM card is used for the operator to call, the monitor can monitor. The service logic of the whole scheme is reasonable, the monitoring process is simple, convenient and accurate, and redundant processing and resource waste are avoided.
It should be noted that: in the call state monitoring device provided in the above embodiment, only the division of the above functional modules is used for illustration, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
The functional units and modules in the above embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiments of the present application.
The call state monitoring device and the call state monitoring method provided in the foregoing embodiments belong to the same concept, and specific working processes and technical effects brought by units and modules in the foregoing embodiments may be referred to a method embodiment part, which is not repeated herein.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, data subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium such as a floppy Disk, a hard Disk, a magnetic tape, an optical medium such as a digital versatile Disk (Digital Versatile Disc, DVD), or a semiconductor medium such as a Solid State Disk (SSD), etc.
The above embodiments are not intended to limit the present application, and any modifications, equivalent substitutions, improvements, etc. within the technical scope of the present disclosure should be included in the protection scope of the present application.
Claims (10)
1. A method for monitoring call state, which is applied to a first device including a plurality of SIM cards, the method comprising:
when the first device and the second device are in communication through wired connection or wireless connection, the first device respectively creates a corresponding monitor for each of the plurality of SIM cards, wherein the corresponding monitor of each SIM card is used for monitoring the call state of the corresponding SIM card, and the call state is used for indicating that the call is converted from idle to call or from idle;
the first device starts a monitor corresponding to each of the plurality of SIM cards to monitor the call state of each of the plurality of SIM cards.
2. The method of claim 1, wherein before the first device creates a corresponding listener for each of the plurality of SIM cards, respectively, further comprising: the first device obtains the identification of each of the plurality of SIM cards installed by the first device.
3. The method of claim 2, wherein the first device obtaining an identification of each of the plurality of SIM cards installed by the first device comprises:
the first device obtains the identification of each card slot in a plurality of card slots for installing the SIM card in the first device;
the first device obtains the identification of the SIM card installed in each card slot according to the identification of each card slot in the plurality of card slots.
4. The method of claim 2, wherein the first device creates a corresponding listener for each of the plurality of SIM cards, respectively, comprising: the first device creates a corresponding monitor for the identity of each of the plurality of SIM cards.
5. The method of claim 4, wherein the first device creates a corresponding listener for each of the plurality of SIM cards, respectively, comprising:
for each of the plurality of SIM cards, the first device creates a call management object corresponding to each SIM card according to the identifier of each SIM card, where the call management object corresponding to each SIM card is used to manage a call state of each SIM card;
And the first equipment registers a monitor through the call management object corresponding to each SIM card as the monitor corresponding to each SIM card.
6. The method of claim 1, wherein the first device communicates with the second device over a wired connection or a wireless connection, comprising: the first device and the second device perform multi-screen cooperation through wired connection or wireless connection.
7. The method of claim 6, wherein after the first device activates a listener corresponding to each of the plurality of SIM cards to separately listen to a call state of each of the plurality of SIM cards, further comprising:
and if the first equipment monitors that the call state of the target SIM card is changed from idle to call through a monitor corresponding to the target SIM card, cooperative call is carried out in the process of carrying out operator call by using the target SIM card so as to collect and play the call voice of the operator by the second equipment, wherein the target SIM card is any one of the plurality of SIM cards.
8. The method of claim 7, wherein the first device, after making a collaboration session in the process of making an operator session using the target SIM card, further comprises:
And if the first equipment monitors that the call state of the target SIM card is changed from call to idle through a monitor corresponding to the target SIM card, ending the collaborative call so as to stop the second equipment from collecting and playing the call voice of the operator.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, which computer program, when executed by the processor, implements the method according to any of claims 1-8.
10. A computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310092186.7A CN116367214A (en) | 2021-12-28 | 2021-12-28 | Call state monitoring method, device and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310092186.7A CN116367214A (en) | 2021-12-28 | 2021-12-28 | Call state monitoring method, device and storage medium |
CN202111630631.8A CN115002820B (en) | 2021-12-28 | 2021-12-28 | Call state monitoring method, device, equipment and storage medium |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111630631.8A Division CN115002820B (en) | 2021-12-28 | 2021-12-28 | Call state monitoring method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116367214A true CN116367214A (en) | 2023-06-30 |
Family
ID=83018339
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310092186.7A Pending CN116367214A (en) | 2021-12-28 | 2021-12-28 | Call state monitoring method, device and storage medium |
CN202111630631.8A Active CN115002820B (en) | 2021-12-28 | 2021-12-28 | Call state monitoring method, device, equipment and storage medium |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111630631.8A Active CN115002820B (en) | 2021-12-28 | 2021-12-28 | Call state monitoring method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN116367214A (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103856570B (en) * | 2012-11-29 | 2018-11-13 | 海尔集团公司 | Multi-screen interactive call control method, main equipment and control system |
CN106254628B (en) * | 2016-07-20 | 2020-06-02 | 瑞安市智造科技有限公司 | Mobile terminal and multi-screen display method |
CN109246301A (en) * | 2018-09-04 | 2019-01-18 | 深圳市优克联新技术有限公司 | Plurality of SIM cards management method, device, computer installation and computer storage medium |
CN112995727A (en) * | 2019-12-17 | 2021-06-18 | 华为技术有限公司 | Multi-screen coordination method and system and electronic equipment |
US11140239B2 (en) * | 2019-12-30 | 2021-10-05 | Motorola Mobility Llc | End a shareable device interactive session based on user intent |
CN113687803A (en) * | 2020-05-19 | 2021-11-23 | 华为技术有限公司 | Screen projection method, screen projection source end, screen projection destination end, screen projection system and storage medium |
CN117008777A (en) * | 2020-10-30 | 2023-11-07 | 华为技术有限公司 | Cross-equipment content sharing method, electronic equipment and system |
-
2021
- 2021-12-28 CN CN202310092186.7A patent/CN116367214A/en active Pending
- 2021-12-28 CN CN202111630631.8A patent/CN115002820B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN115002820B (en) | 2023-02-14 |
CN115002820A (en) | 2022-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113170019B (en) | Incoming call display method and terminal equipment based on application | |
US20220159453A1 (en) | Method for Using Remote SIM Module and Electronic Device | |
WO2023130991A1 (en) | Collaborative calling method and apparatus, device, storage medium, and program product | |
CN110225176B (en) | Contact person recommendation method and electronic device | |
US20230054451A1 (en) | Communication Connection Method and Electronic Device | |
CN117014859A (en) | Address book-based device discovery method, audio and video communication method and electronic device | |
CN114679752B (en) | Method for sharing wireless communication capability by double systems and terminal equipment | |
CN111262870B (en) | Video call switching method and device, storage medium and terminal | |
CN116264598A (en) | Multi-screen collaborative communication method, system, terminal and storage medium | |
CN114816463A (en) | Upgrade prompting method, terminal device and computer readable storage medium | |
CN116301541A (en) | Method for sharing file, electronic device and computer readable storage medium | |
CN113709720B (en) | SIM dual-mode card abnormity optimization method and electronic equipment | |
CN115002820B (en) | Call state monitoring method, device, equipment and storage medium | |
CN113543366B (en) | Mobile terminal and call method, call server and call system thereof | |
CN115002821B (en) | Call state monitoring method, device, equipment and storage medium | |
CN114245060B (en) | Path processing method, device, equipment and storage medium | |
CN114666874B (en) | Terminal equipment, application program interaction method, device and medium thereof | |
CN115942253B (en) | Prompting method and related device | |
WO2023036001A1 (en) | Call method and electronic device | |
CN114501389B (en) | Mobile terminal, network sharing method and storage medium | |
WO2024221897A1 (en) | Incoming call alerting method and electronic device | |
WO2024067170A1 (en) | Device management method and electronic device | |
CN117255154A (en) | Incoming call display method and electronic equipment | |
CN116264600A (en) | Incoming call reminding method, electronic device and computer readable storage medium | |
CN117812548A (en) | Distributed communication method and electronic equipment |
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 |