CN105554259B - Multi-system-based method for preventing telephone conflict and intelligent terminal - Google Patents

Multi-system-based method for preventing telephone conflict and intelligent terminal Download PDF

Info

Publication number
CN105554259B
CN105554259B CN201510918343.0A CN201510918343A CN105554259B CN 105554259 B CN105554259 B CN 105554259B CN 201510918343 A CN201510918343 A CN 201510918343A CN 105554259 B CN105554259 B CN 105554259B
Authority
CN
China
Prior art keywords
operating system
foreground
call request
telephone
phone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510918343.0A
Other languages
Chinese (zh)
Other versions
CN105554259A (en
Inventor
王云乾
卜东超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yuanxin Information Technology Group Co ltd
Original Assignee
Yuanxin Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yuanxin Technology filed Critical Yuanxin Technology
Priority to CN201510918343.0A priority Critical patent/CN105554259B/en
Publication of CN105554259A publication Critical patent/CN105554259A/en
Application granted granted Critical
Publication of CN105554259B publication Critical patent/CN105554259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method for preventing telephone conflict based on multiple systems and an intelligent terminal, wherein the method comprises the following steps: after receiving the telephone call request, the kernel determines an operating system to which the opposite terminal number belongs, and forwards the telephone call request to the operating system; after receiving a telephone call request and inquiring that the operating system is in a background, a telephone subsystem in the operating system in a foreground inquires whether the telephone subsystem is in a conversation state; if yes, making an incoming call record and ignoring the telephone call request; otherwise, requesting the kernel to switch the operating system to the foreground, and switching on the corresponding telephone after determining that the operating system is switched to the foreground. By adopting the embodiment of the invention, more than two connected telephones can be prevented from appearing in the intelligent terminal, so that the conflict generated by the competition of more than two telephones for the communication equipment can be prevented.

Description

Phone collision method and intelligent terminal are prevented based on multisystem
Technical field
The present invention relates to fields of communication technology, specifically, preventing phone from rushing based on multisystem the present invention relates to a kind of Burst method and intelligent terminal.
Background technique
With society and expanding economy, the improvement of people's living standards, intelligent terminal is very universal.
Have dual operating systems and double SIM (Subscriber Identity Module, Ke Hushi currently, having already appeared Other module) card intelligent terminal.The double-card dual-standby call method of such intelligent terminal include: by two SIM cards respectively with two Operating system binding;When dual operating systems are run simultaneously, if the phone call request received, according to the communication of the request SIM card belonging to number is switched under corresponding operating system and receives calls.
However, it was found by the inventors of the present invention that existing call method, when user just answers electricity under an operating system When words, which monopolizes the call relevant device such as earpiece, microphone and loudspeaker.At this point, if intelligent terminal is again It is secondary to receive phone call request, and determine to need to connect phone under another operating system, then another operating system It is likely to fight for the access authority of call relevant device.It calls if another operating system successfully connects, it is current to grasp Making ongoing call under system will terminate, and sudden terminate of phone is likely to cause trouble or loss to user.Such as When user discusses business with superior or client, phone terminates suddenly, and consequence may be than more serious.
To sum up, the defect that there is the telephone receiving method of existing multiple operating system phone to be easy conflict.
Therefore, it is necessary to provide it is a kind of phone collision method and intelligent terminal are prevented based on multisystem, to avoid polyphyly It unites and clashes between respective phone.
Summary of the invention
The present invention is directed to the shortcomings that existing closing of the circuit mode, proposes a kind of to prevent phone conflict side based on multisystem Method and intelligent terminal, to solve the problems, such as the prior art, there are phones to be easy conflict.
For the embodiment of the present invention according on one side, providing one kind prevents phone collision method, comprising:
After kernel receives phone call request, operating system belonging to its opposite-terminal number is determined, the phone is exhaled Request is made to be forwarded to the operating system;
Telephone subsystems in the operating system inquire the operating system after receiving the phone call request Front and back state;
Telephone subsystems in the operating system are after inquiring this operating system and being in backstage, and inquiry is in foreground Whether the telephone subsystems in operating system are on call;If so, carrying out incoming calls record and ignoring the call Request;Otherwise, this operating system is switched to foreground by Xiang Suoshu kernel requests, and is determining that this operating system is switched to foreground After connect corresponding phone.
The embodiment of the present invention additionally provides a kind of intelligent terminal, comprising: kernel and multiple operations according on the other hand System;
After the kernel is used to receive phone call request, operating system belonging to its opposite-terminal number is determined, and will The phone call request is forwarded to the telephone subsystems of the operating system;And after receiving foreground switching request, it will send out The operating system of the foreground switching request is sent to be switched to foreground;
Telephone subsystems in the operating system are for after receiving the phone call request, inquiring the operation system The front and back state of system;After inquiring this operating system and being in backstage, phone of the inquiry in the operating system on foreground Whether system is on call;If so, carrying out incoming calls record and ignoring the phone call request;Otherwise, to described interior Core sends the foreground switching request, and corresponding phone is connected after determining that this operating system is switched to foreground.
In the embodiment of the present invention, after the telephone subsystems in operating system receive phone call request, inquiring When telephone subsystems in operating system of this operating system in backstage and in foreground are on call, ignore phone Call request prevents occurring more than two phones connected in intelligent terminal, so as to prevent more than two phones because competing It strives verbal system and generates conflict.
Moreover, after the telephone subsystems in operating system receive phone call request, being looked into the embodiment of the present invention Ask out this operating system be in backstage and in foreground operating system in telephone subsystems be not in talking state when, lead to It crosses after this operating system is switched to foreground by request kernel, connects corresponding phone.The embodiment of the present invention can be to being in The operating system on backstage receives phone call request and is responded and connected in the case of phone, keeps at most depositing in intelligent terminal In the phone that one has been turned on, to prevent more than two phones from generating conflict.
Further, in the embodiment of the present invention, after the telephone subsystems in operating system receive phone call request, if It inquires this operating system and is in foreground, then further asked according to this telephone subsystems is on call to ignore call It asks or is not in talking state according to this telephone subsystems to connect corresponding phone.The embodiment of the present invention can be right In the case of operating system reception phone call request in foreground is responded and connects phone, keep in intelligent terminal most There is a phone having been turned on, to prevent more than two phones from generating conflict more.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the block schematic illustration of the internal structure of the intelligent terminal of the embodiment of the present invention;
Fig. 2 is the flow diagram for preventing phone collision method based on multisystem of the embodiment of the present invention;
Fig. 3 is the block schematic illustration of the internal structure of the kernel of the embodiment of the present invention;
Fig. 4 is the block schematic illustration of the internal structure of the telephone subsystems of the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on bidirectional communication link, can carry out two-way communication reception and emit hardware equipment.This equipment It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
The present inventor is it is considered that can install kernel and multiple operating systems, in each operation in intelligent terminal The telephone subsystems of the operating system are set in system.The opposite end number of the phone call request received can be determined by kernel Operating system belonging to code, and phone call request is forwarded to the operating system.The phone having been turned in order to avoid two is competing The phenomenon that striving same verbal system and generating conflict, receives the telephone subsystems in the operating system of phone call request, first The front and back state for first inquiring this operating system, after inquiring as backstage, two incoming calls possibility can be connected by existing.Therefore the electricity Words subsystem continues inquiry in the operating system on foreground with the presence or absence of the phone connected;It is exhaled if so, abandoning connection phone Cry request corresponding phone;Otherwise, this operating system is switched to foreground to kernel requests, and connects and corresponds under the state of foreground Phone.It can guarantee at most to exist simultaneously the phone having been turned in intelligent terminal, come so as to avoid the occurrence of two Electricity causes resource contention.
The technical solution of the embodiment of the present invention is specifically introduced with reference to the accompanying drawing.
Intelligent terminal in the embodiment of the present invention can be the terminal devices such as smart phone, tablet computer, internal junction The block schematic illustration of structure is as shown in Figure 1, may include: kernel 101 and operating system.
Wherein, kernel 101 can be the extension kernel based on linux kernel (such as Kernel).
Operating system can there are two or it is multiple.Each operating system can be the operating system based on container.Specifically Ground, technical staff can use Linux container container virtualization technology, create multiple containers, pacify in each container It fills and runs an operating system.Each container is configured configured with independent hardware resource access authority, the operation system of the container System can be with independent access hardware resource, such as CPU, IO (InputOutput, input and output) equipment etc..
Respectively exclusive telephone subsystems can be respectively set in each operating system.It include independent in each telephone subsystems Address list etc..
Preferably, being provided at least one identification module in intelligent terminal in the embodiment of the present invention.Identification module can be with It is SIM (Subscriber Identity Module, client identification module) card, (User Identify Module is used UIM Family identification module) card or Micro-SIM (miniature client identification module) card.Communicating number is stored in identification module, this is logical Signal code can mutually be bound with the telephone subsystems at least one operating system.
After intelligent terminal booting in the embodiment of the present invention, kernel 101 initializes and starts first.The starting fortune of kernel 101 After row, each operating system is respectively started.The operating system 102 of usually first starting is in foreground, the operation system of subsequent starting System is all directly in backstage.
For each operating system having been turned on, the operating system is by the system banner of this operating system and current front and back Mesa-shaped state Information encapsulation into front and back status message, broadcasted by Xiang Suoyou operating system.
After one operating system receives the front and back status message of another operating system transmission, it is forwarded to this operation system Telephone subsystems in system;System is parsed from received front and back status message by the telephone subsystems in this operating system The front and back status information of mark, and by the corresponding storage of front and back status information for parsing system banner into this operating system System state data library in.
After the switching of front and back state occurs for operating system, each operating system in this intelligent terminal is according to switching front and back The front and back status message that the operating system of state is broadcasted updates respective system state data library.
Specifically, when the switching command that kernel 101 is inputted according to user, two operating systems being related to the switching command Carry out front and back switching after, two operating systems respectively by it is each it is adaptive switched after front and back status information and respective system mark Knowledge is encapsulated into front and back status message, the broadcast of Xiang Suoyou operating system.
Each operating system in the intelligent terminal of the embodiment of the present invention, the operating system disappear received front and back state Cease the telephone subsystems being forwarded in this operating system;By the telephone subsystems in this operating system from the front and back mesa-shaped received System banner and front and back status information are parsed in state message, and according to the system banner and front and back status information parsed System state data library in this operating system is updated.
After the talking state switching of the telephone subsystems of operating system, each operating system in this intelligent terminal is according to cutting The talking state message that the operating system of talking state is broadcasted is changed, respective system state data library is updated.
Specifically, when the telephone subsystems in the operating system in foreground are connected according to the phone call request received Phone, it is i.e. on call when, the operating system in foreground is by the system banner of this operating system and telephone subsystems Call status information carries in talking state message, broadcasts to operating systems all in this intelligent terminal.
Each operating system in the intelligent terminal of the embodiment of the present invention, the operating system is by received talking state message The telephone subsystems being forwarded in this operating system;Disappeared by the telephone subsystems in this operating system from the talking state received System banner and call status information are parsed in breath.Later, the system that the telephone subsystems in this operating system will parse Mark and call status information, corresponding storage is into the system state data library in this operating system;Alternatively, in this operating system Telephone subsystems according to the system banner and call status information parsed, to the system state data library in this operating system It is updated.
Based on the internal structure of the above-mentioned intelligent terminal including multiple operating systems, it is anti-that the embodiment of the invention provides one kind Only phone collision method, the flow diagram of this method is as shown in Fig. 2, include the following steps:
S201: after kernel 101 receives phone call request, determining operating system 102 belonging to its opposite-terminal number, will The phone call request is forwarded to the operating system 102 determined.
Specifically, therefrom parsing target number after the mobile communication module in intelligent terminal receives phone call request Code;If it is determined that the destination number parsed is consistent with the communicating number in the identification module of this intelligent terminal, then will receive Phone call request be sent to kernel 101.
After kernel 101 receives phone call request, the opposite end intelligence end for sending the phone call request is therefrom parsed The communicating number (abbreviation opposite-terminal number) at end.Kernel 101 divides in the telephone subsystems of multiple operating systems of this intelligent terminal The opposite-terminal number of the phone call request is not searched.
If kernel 101 finds opposite-terminal number in the telephone subsystems of the operating system of this intelligent terminal, it is determined that go out Telephone subsystems belonging to the opposite-terminal number found, and then determine operating system belonging to the telephone subsystems.For convenient for Description, is known as operating system 102 for operating system belonging to opposite-terminal number in phone call request herein;By the opposite-terminal number institute The telephone subsystems of category, the i.e. telephone subsystems of operating system 102 are known as telephone subsystems 121.
The phone call request received is forwarded to the operating system 102 determined by kernel 101.Preferably, kernel 101 The telephone subsystems 121 phone call request received being forwarded in the operating system 102 determined.
If preferably, kernel 101 in the telephone subsystems of each operating system of this intelligent terminal, is all searched less than opposite end Number then confirms that the opposite-terminal number of the phone call request is execution step S206 after strange number.
S202: the telephone subsystems 121 in operating system 102 inquire this operation system after receiving phone call request The front and back state of system;If inquiring this operating system is in backstage, S203 is thened follow the steps;If inquiring this operating system place In foreground, S206 is thened follow the steps.
Specifically, the phone call request that the kernel 101 received forwards is forwarded to this operating system by operating system 102 In telephone subsystems 121.
After telephone subsystems 121 in operating system 102 receive phone call request, according to pre-recorded, this behaviour Make the front and back status message that system is broadcasted in front and back switching, determines whether this operating system is in background state: if It is that then explanation inquires this operating system and is in backstage, executes step S203;If it is not, then explanation inquires this operating system place In foreground, step S206 is executed.
It include: the system banner and front and back status information of operating system in front and back status message.
Preferably, being according to this operation after the telephone subsystems 121 in operating system 102 receive phone call request The system banner of system finds out this operation that last time is stored or updated from the system state data library in this operating system The front and back status information of system;According to the front and back status information of this operating system found out, this operating system is determined Whether it is in background state: if so, explanation, which inquires this operating system, is in backstage, executes step S203;If it is not, then illustrating It inquires this operating system and is in foreground, execute step S206.
S203: the telephone subsystems 121 in operating system 102 are after inquiring this operating system and being in backstage, Directory Enquiries Whether the telephone subsystems in the operating system on foreground are on call;If so, thening follow the steps S204;Otherwise step is executed Rapid S205.
Specifically, the telephone subsystems 121 in operating system 102 are after inquiring this operating system and being in backstage, according to The talking state message of telephone subsystems broadcast in operating system pre-recorded, in foreground, is determined in foreground Operating system in telephone subsystems it is whether on call: if so, thening follow the steps S204;It is no to then follow the steps S205。
It include: the system banner of operating system and the call status information of telephone subsystems in talking state message.
Preferably, the telephone subsystems 121 in operating system 102 are in the system state data library in this operating system, Inquire the system banner for the operating system that front and back status information is foreground;And then inquire storage corresponding with the system banner Telephone subsystems call status information, further determine that out whether the call status information inquired is talking state: if It is to then follow the steps S204;It is no to then follow the steps S205.
S204: telephone subsystems 121 in operating system 102 carry out incoming calls record and ignore the call received asking It asks.
Specifically, the time of reception and opposite end number of the telephone subsystems 121 in operating system 102 according to call request Code generates missed call information and is recorded;Later, ignore the phone call request received.
It is appreciated that when the telephone subsystems 121 of operating system 102 in above-mentioned steps S203 inquire the behaviour in foreground Make system telephone subsystems it is on call when, the needs of telephone subsystems 121 of operating system 102 are abandoned pair in this step The response of the phone call request received, to prevent two phones because of competition microphone mic, loudspeaker speaker and listen Cylinder receier etc. verbal systems and generate conflict.
S205: the telephone subsystems 121 in operating system 102 request this operating system being switched to foreground to kernel 101, And corresponding phone is connected after determining that this operating system is switched to foreground.
Specifically, the telephone subsystems 121 in operating system 102 switch to the foreground that kernel 101 sends this operating system Request.
The operating system 102 for sending foreground switching request is switched to by kernel 101 according to the foreground switching request received Foreground, and return to front and back switching to operating system 102 and finish message.
After the front and back switching that telephone subsystems 121 in operating system 102 receive the return of kernel 101 finishes message, It determines that this operating system is switched to foreground, connects phone corresponding to phone call request.
Preferably, the front and back state of operating system involved in the switching request of foreground (including operating system 102) switches Afterwards, respectively by it is each it is adaptive switched after front and back status information and respective system banner be encapsulated into front and back status message, to All operating system broadcast.
Received front and back status message is forwarded to the telephone subsystems 121 in this operating system by operating system 102;By Telephone subsystems 121 in this operating system parse system banner and front and back mesa-shaped from the front and back status message received State information, and according to the system banner and front and back status information parsed to the system state data library in this operating system into Row updates.
Telephone subsystems 121 in operating system 102 inquire this behaviour from the system state data library of this operating system The front and back status information that the last time made the system banner of system, and then inquire storage corresponding with the system banner updates; If the front and back status information inquired is in foreground, it is determined that this operating system is switched to foreground;Later, phone is connected to exhale The phone for making request corresponding.
It is appreciated that when the telephone subsystems 121 of operating system 102 in above-mentioned steps S203 inquire the behaviour in foreground When making the telephone subsystems of system and being not in talking state, even if the telephone subsystems 121 of operating system 102 are connected in this step The corresponding phone of phone call request only exists the phone of a connection in this intelligent terminal, also so as to prevent two electricity Words generate conflict because competing verbal system.
S206: whether the telephone subsystems 121 in operating system 102 inquire this telephone subsystems on call;If It is, then carry out incoming calls record and ignores phone call request;Otherwise, corresponding phone is directly connected.
Specifically, the telephone subsystems 121 in operating system 102 can be from the system state data library of this operating system Inquire the system banner of this operating system, so inquire it is corresponding with the system banner storage, last time storage or The talking state of telephone subsystems 121 in this operating system updated;According to telephone subsystems in this operating system found out 121 talking state determines whether the telephone subsystems 121 are on call: if so, according to the reception of call request Moment and opposite-terminal number generate missed call information;This is recorded to ignore the call received and ask after fetching power information It asks;Otherwise, the corresponding phone of phone call request is directly connected.
Phone collision method, the internal structure of the kernel 101 of the embodiment of the present invention are prevented based on multisystem according to above-mentioned Block schematic illustration it is as shown in Figure 3, comprising: operating system searching module 301 and system front and back switching module 302.
Wherein, after operating system searching module 301 receives phone call request, behaviour belonging to its opposite-terminal number is determined Make system 102, and phone call request is forwarded to the telephone subsystems 121 of operating system 102.
Specifically, operating system searching module 301 is searched phone respectively in the telephone subsystems of multiple operating systems and is exhaled It is the opposite-terminal number of request;If finding opposite-terminal number, it is determined that telephone subsystems belonging to the opposite-terminal number found out and Operating system, and using telephone subsystems belonging to opposite-terminal number as telephone subsystems 121, it will be belonging to telephone subsystems 121 Operating system is as operating system 102.
System front and back switching module 302 is used to receive the foreground that the telephone subsystems 121 in operating system 102 are sent After switching request, operating system 102 belonging to the telephone subsystems 121 for sending foreground switching request is switched to foreground, and to Operating system 102 returns to front and back switching and finishes message.
The implementation method of 302 function of aforesaid operations system searching module 301 and system front and back switching module, is referred to Particular content in above-mentioned attached process step shown in Fig. 2, details are not described herein again.
Phone collision method is prevented based on multisystem according to above-mentioned, the electricity in the operating system 102 of the embodiment of the present invention The block schematic illustration for talking about the internal structure of subsystem 121 is as shown in Figure 4, comprising: operation system state determining module 401, phone Subsystem state determining module 402 and telephone receiving module 403.
Wherein, it after operation system state determining module 401 is used to receive the phone call request of the forwarding of kernel 101, looks into Ask the front and back state of this operating system;After inquiring this operating system and being in backstage, background state notice and phone are sent Call request.
Specifically, after operation system state determining module 401 receives the phone call request that kernel 101 forwards, according to Whether the front and back status message pre-recorded, this operating system is broadcasted when front and back switches, determine this operating system In background state: if so, explanation, which inquires this operating system, is in backstage, sending background state notice and call is asked It asks;If it is not, then illustrating that inquiring this operating system is in foreground, sends foreground state notifying and phone call request.Wherein, preceding It include: the system banner and front and back status information of operating system in background state message.
Preferably, system banner of the operation system state determining module 401 according to this operating system, from this operating system System state data library in find out last time store or update this operating system front and back status information;According to looking into The front and back status information of this operating system found out, determines whether this operating system is in background state: if so, explanation It inquires this operating system and is in backstage, send background state notice and phone call request.
Further, operation system state determining module 401 is also used to switch in the front and back for receiving the return of kernel 101 After finishing message, the front and back state of this operating system is inquired;After inquiring this operating system and being in foreground, foreground state is sent Notice and phone call request.
Telephone subsystems state determining module 402 is for receiving mesa-shaped after operation system state determining module 401 is sent After state notice and phone call request, whether telephone subsystems of the inquiry in the operating system on foreground are on call; If so, carrying out incoming calls record and ignoring the phone call request received;Otherwise, foreground switching request is sent to kernel 101, And after receiving operation system state determining module 401 and sending foreground state notifying, phone is sent to telephone receiving module 403 Call request.Wherein, this operating system is to be cut by kernel 101 according to the foreground that telephone subsystems state determining module 402 is sent It changes request and is switched to foreground.
Specifically, telephone subsystems state determining module 402 is receiving the transmission of operation system state determining module 401 After background state notice and phone call request, according to the telephone subsystems in operating system pre-recorded, in foreground The talking state message of broadcast determines whether the telephone subsystems in the operating system in foreground are on call: if It is, then carry out incoming calls record and ignores the phone call request received;Otherwise foreground switching request is sent to kernel 101.Its In, it include: the system banner of operating system and the call status information of telephone subsystems in talking state message.
Preferably, telephone subsystems state determining module 402 is receiving the transmission of operation system state determining module 401 After background state notice and phone call request, in the system state data library in this operating system, front and back mesa-shaped is inquired State information is the system banner of the operating system on foreground;And then inquire the telephone subsystems of storage corresponding with the system banner Call status information further determines that out whether the call status information inquired is talking state: if so, carrying out incoming call note It records and ignores the phone call request received;Otherwise foreground switching request is sent to kernel 101.
Also, telephone subsystems state determining module 402 is before receiving operation system state determining module 401 and sending After platform state notifying and phone call request, confirm that this operating system has been switched to foreground, by this operating system system banner and Front and back status information is encapsulated into front and back status message, is broadcasted to all operating systems of this intelligent terminal.Phone subsystem State determining module 402 unite according to the system banner and front and back state in the front and back status message of this operating system of broadcast Information is updated the system state data library of this operating system, and sends call to telephone receiving module 403 and ask It asks.
Further, telephone subsystems state determining module 402 is also used to receive foreground state notifying and call is asked After asking, whether on call this telephone subsystems is inquired;If so, carrying out incoming calls record and ignoring the phone received and exhale Cry request;Otherwise, phone call request is sent to telephone receiving module 403.
Telephone receiving module 403 is used to ask in the call for receiving the transmission of telephone subsystems state determining module 402 After asking, phone corresponding to the phone call request is connected.
Preferably, telephone receiving module 403 is in the call for receiving the transmission of telephone subsystems state determining module 402 After request, the system banner of this operating system is inquired from the system state data library of this operating system, and then is inquired and be somebody's turn to do The front and back status information that the last time of the corresponding storage of system banner updates;If the front and back status information inquired be in Foreground, it is determined that this operating system has been switched to foreground;Later, phone corresponding to phone call request is connected.
Aforesaid operations system mode determining module 401, telephone subsystems state determining module 402 and telephone receiving module The implementation method of 403 functions, the particular content being referred in above-mentioned attached process step shown in Fig. 2, details are not described herein again.
In the embodiment of the present invention, after the telephone subsystems in operating system receive phone call request, inquiring When telephone subsystems in operating system of this operating system in backstage and in foreground are on call, ignore phone Call request prevents occurring more than two phones connected in intelligent terminal, so as to prevent more than two phones because competing It strives verbal system and generates conflict.
Moreover, after the telephone subsystems in operating system receive phone call request, being looked into the embodiment of the present invention Ask out this operating system be in backstage and in foreground operating system in telephone subsystems be not in talking state when, lead to It crosses after this operating system is switched to foreground by request kernel, connects corresponding phone.The embodiment of the present invention can be to being in The operating system reception phone call request on backstage is responded and when connecting phone, is kept in intelligent terminal at most The phone being had been turned on there are one, to prevent more than two phones from generating conflict.
Further, in the embodiment of the present invention, after the telephone subsystems in operating system receive phone call request, if It inquires this operating system and is in foreground, then further asked according to this telephone subsystems is on call to ignore call It asks or is not in talking state according to this telephone subsystems to connect corresponding phone.The embodiment of the present invention can be right Operating system reception phone call request in foreground is responded and when connecting phone, is kept in intelligent terminal The phone at most being had been turned on there are one, to prevent more than two phones from generating conflict.
Those skilled in the art of the present technique are appreciated that the present invention includes being related to for executing in operation described herein One or more equipment.These equipment can specially design and manufacture for required purpose, or also may include general Known device in computer.These equipment have the computer program being stored in it, these computer programs are selectively Activation or reconstruct.Such computer program can be stored in equipment (for example, computer) readable medium or be stored in It e-command and is coupled in any kind of medium of bus respectively suitable for storage, the computer-readable medium includes but not Be limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, only Read memory), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card Piece.It is, readable medium includes by equipment (for example, computer) with any Jie for the form storage or transmission information that can be read Matter.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology neck Field technique personnel be appreciated that these computer program instructions can be supplied to general purpose computer, special purpose computer or other The processor of programmable data processing method is realized, to pass through the processing of computer or other programmable data processing methods The scheme specified in frame or multiple frames of the device to execute structure chart and/or block diagram and/or flow graph disclosed by the invention.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted. Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme It may also be alternated, changed, rearranged, decomposed, combined or deleted.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (9)

1. a kind of prevent phone collision method based on multisystem characterized by comprising
After kernel receives phone call request, the call is searched respectively in the telephone subsystems of multiple operating systems The opposite-terminal number of request;If finding the opposite-terminal number, it is determined that telephone subsystems belonging to the opposite-terminal number found out And operating system;The operating system is the operating system based on container;
The phone call request is forwarded to the operating system by the kernel;
Telephone subsystems in the operating system are after receiving the phone call request, before inquiring the operating system Background state;
For telephone subsystems in the operating system after inquiring this operating system and being in backstage, inquiry is in the operation on foreground Whether the telephone subsystems in system are on call;If so, carrying out incoming calls record and ignoring the phone call request; Otherwise, this operating system is switched to foreground by Xiang Suoshu kernel requests, and is determining that this operating system is switched to foreground and is followed by Lead to corresponding incoming call.
2. the method according to claim 1, wherein the front and back state of the inquiry operating system, tool Body includes:
Before telephone subsystems in the operating system are broadcasted according to pre-recorded, this operating system when front and back switches Background state message, determines whether this operating system is in background state.
3. the method according to claim 1, wherein phone of the inquiry in the operating system on foreground Whether system is on call, specifically includes:
Telephone subsystems in the operating system are after inquiring this operating system and being in backstage, according to pre-recorded, place The talking state message of telephone subsystems broadcast in the operating system on foreground, is determined in the operating system in foreground Whether telephone subsystems are on call.
4. the method according to claim 1, wherein further include:
If the telephone subsystems in the operating system inquire this operating system and are in foreground, this phone is further inquired Whether system is on call;If so, carrying out incoming calls record and ignoring the phone call request;Otherwise, it directly connects Corresponding phone.
5. a kind of intelligent terminal characterized by comprising kernel and multiple operating systems;
After the kernel is used to receive phone call request, operating system belonging to its opposite-terminal number is determined, and will be described Phone call request is forwarded to the telephone subsystems of the operating system;And after receiving foreground switching request, by sending The operating system for stating foreground switching request is switched to foreground;
Telephone subsystems in the operating system are for inquiring the operating system after receiving the phone call request Front and back state;After inquiring this operating system and being in backstage, telephone subsystems of the inquiry in the operating system on foreground It is whether on call;If so, carrying out incoming calls record and ignoring the phone call request;Otherwise, Xiang Suoshu kernel is sent out The foreground switching request is sent, and connects corresponding phone after determining that this operating system is switched to foreground;
The kernel is specifically used for searching the opposite end number of phone call request respectively in the telephone subsystems of multiple operating systems Code;If finding the opposite-terminal number, it is determined that telephone subsystems belonging to the opposite-terminal number found out and operating system;Institute Stating operating system is the operating system based on container.
6. intelligent terminal according to claim 5, which is characterized in that the kernel specifically includes:
Operating system searching module after receiving phone call request, determines operating system belonging to its opposite-terminal number, and will The phone call request is forwarded to the telephone subsystems of the operating system;
System front and back switching module will send the phone of the foreground switching request after receiving foreground switching request Operating system belonging to subsystem is switched to foreground, and returns to front and back switching and finish message.
7. intelligent terminal according to claim 5, which is characterized in that the telephone subsystems specifically include:
Operation system state determining module inquires the front and back of this operating system after receiving the phone call request State;After inquiring this operating system and being in backstage, background state notice and the phone call request are sent;And it is connecing It receives after the front and back switching that the kernel returns finishes message, inquires the front and back state of this operating system, inquiring this After operating system is in foreground, foreground state notifying and the phone call request are sent;
Telephone subsystems state determining module is looked into after receiving the background state notice and the phone call request Whether the telephone subsystems ask in the operating system in foreground are on call;If so, carrying out incoming calls record and ignoring The phone call request;Otherwise, Xiang Suoshu kernel send foreground switching request, and receive the foreground state notifying and After the phone call request, phone call request is sent;Wherein, this operating system is to be cut by the kernel according to the foreground It changes request and is switched to foreground;
Telephone receiving module connects corresponding phone after receiving the phone call request.
8. intelligent terminal according to claim 6, which is characterized in that
The operation system state determining module is specifically used for wide when front and back switches according to pre-recorded, this operating system The front and back status message broadcast, determines whether this operating system is in background state.
9. intelligent terminal according to claim 6, which is characterized in that
The telephone subsystems state determining module is specifically used for receiving the background state notice and the call is asked After asking, according to the talking state message of the telephone subsystems broadcast in operating system pre-recorded, in foreground, determine Whether the telephone subsystems in the operating system in foreground are on call.
CN201510918343.0A 2015-12-11 2015-12-11 Multi-system-based method for preventing telephone conflict and intelligent terminal Active CN105554259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510918343.0A CN105554259B (en) 2015-12-11 2015-12-11 Multi-system-based method for preventing telephone conflict and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510918343.0A CN105554259B (en) 2015-12-11 2015-12-11 Multi-system-based method for preventing telephone conflict and intelligent terminal

Publications (2)

Publication Number Publication Date
CN105554259A CN105554259A (en) 2016-05-04
CN105554259B true CN105554259B (en) 2019-07-19

Family

ID=55833190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510918343.0A Active CN105554259B (en) 2015-12-11 2015-12-11 Multi-system-based method for preventing telephone conflict and intelligent terminal

Country Status (1)

Country Link
CN (1) CN105554259B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912954A (en) * 2016-05-16 2016-08-31 北京珠穆朗玛移动通信有限公司 Privacy information protection method and system suitable for mobile terminal
CN106528133B (en) * 2016-11-03 2021-04-02 成都凛冬科技有限公司 Equipment request processing method and device applied to multiple systems
CN107070921B (en) * 2017-04-17 2020-05-19 深圳市万普拉斯科技有限公司 Call control method and device and mobile terminal
CN107741877A (en) * 2017-11-06 2018-02-27 湖南红手指信息技术有限公司 A kind of method, storage medium and the processor of cloud handset starting virtual opetrating system
CN113170015B (en) * 2018-11-20 2022-07-12 深圳市欢太科技有限公司 Call processing method, call processing device, computer-readable storage medium, and electronic apparatus
CN111356170B (en) * 2018-12-21 2022-11-15 中兴通讯股份有限公司 Method and device for switching multiple systems of mobile terminal
CN111726453B (en) * 2019-03-21 2022-06-03 中兴通讯股份有限公司 System switching method, device, terminal and readable storage medium
CN114615454B (en) * 2020-12-09 2023-08-15 成都鼎桥通信技术有限公司 Message prompting method, device, terminal and storage medium
CN114679752B (en) * 2022-03-29 2024-04-19 青岛海信移动通信技术有限公司 Method for sharing wireless communication capability by double systems and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011011362A2 (en) * 2009-07-20 2011-01-27 Motorola Mobility, Inc. System and method for switching between environments in a multi-environment operating system
CN104066067A (en) * 2013-03-21 2014-09-24 腾讯科技(深圳)有限公司 Anti-disturbance method and apparatus
CN104507181A (en) * 2014-12-12 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Dual-card dual-standby conversation method, dual-card dual-standby conversation device and dual-card dual-standby conversation terminal
CN104602216A (en) * 2015-02-02 2015-05-06 西安酷派软件科技有限公司 Call management method of multi-system terminal and multi-system terminal
CN105049630A (en) * 2015-08-07 2015-11-11 北京元心科技有限公司 Intelligent terminal and multi-system telephone answering method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011011362A2 (en) * 2009-07-20 2011-01-27 Motorola Mobility, Inc. System and method for switching between environments in a multi-environment operating system
CN104066067A (en) * 2013-03-21 2014-09-24 腾讯科技(深圳)有限公司 Anti-disturbance method and apparatus
CN104507181A (en) * 2014-12-12 2015-04-08 宇龙计算机通信科技(深圳)有限公司 Dual-card dual-standby conversation method, dual-card dual-standby conversation device and dual-card dual-standby conversation terminal
CN104602216A (en) * 2015-02-02 2015-05-06 西安酷派软件科技有限公司 Call management method of multi-system terminal and multi-system terminal
CN105049630A (en) * 2015-08-07 2015-11-11 北京元心科技有限公司 Intelligent terminal and multi-system telephone answering method thereof

Also Published As

Publication number Publication date
CN105554259A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105554259B (en) Multi-system-based method for preventing telephone conflict and intelligent terminal
US7469138B2 (en) Method and system for providing location information for mobile internet calling devices
US20170127249A1 (en) Method and On-Vehicle Terminal for Communication with Vehicles in Vehicle Fleet
JP4451893B2 (en) Mobile communication terminal, radio communication method, and mobile communication system
CN104717186B (en) A kind of method, apparatus and data transmission system for transmitting data in network system
CN105049630B (en) The telephone receiving method of intelligent terminal and its multisystem
CN111435338A (en) Multi-intelligent hardware unified management and control method, platform, system, equipment and storage medium
US9693206B2 (en) System for providing high-efficiency push-to-talk communication service to large groups over large areas
CN101459885B (en) Method, system and device for customer state automatic playing
CN101568060A (en) Method, system and device for urgent communication
CN108271096A (en) A kind of task executing method, device, intelligent sound box and storage medium
CN101984683A (en) Telephone number storage method and mobile terminal
US20060229883A1 (en) Methods and apparatus for providing push to talk text data
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN103024687A (en) Method and equipment for establishing instant messaging
CN104410648A (en) LAN (local area network) based VoIP (Voice over Internet Protocol) communication method, system and communication terminal
CN105163297B (en) Cross operating system receives the method and system of multimedia message
US11159675B2 (en) Method for telephonic linking of a communication terminal with multiple numbers
CN204190795U (en) A kind of Automobile networked system and vehicle
CN105049638B (en) The method and device conversed in the terminal device of multiple operating system
CN110045378B (en) Method and device for searching terminal equipment and related equipment
CN106776062A (en) Multi-system contact person attribute information synchronization method and device
KR20110108503A (en) Apparatus and method for transmitting message in wireless communication system
KR20200125326A (en) How to provide keyword information
CN110300229A (en) Call answering method, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210203

Address after: 101300 room 153, 1 / F, building 17, 16 Caixiang East Road, Nancai Town, Shunyi District, Beijing

Patentee after: Yuanxin Information Technology Group Co.,Ltd.

Address before: 100176 room 2222, building D, building 33, 99 Kechuang 14th Street, Beijing Economic and Technological Development Zone, Beijing

Patentee before: BEIJING YUANXIN SCIENCE & TECHNOLOGY Co.,Ltd.

EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20160504

Assignee: Beijing Yuanxin Junsheng Technology Co.,Ltd.

Assignor: Yuanxin Information Technology Group Co.,Ltd.

Contract record no.: X2021110000018

Denomination of invention: Multi system based method of preventing telephone collision and intelligent terminal

Granted publication date: 20190719

License type: Common License

Record date: 20210531