CN105530376A - Method and device for carrying out call during multi-system switching - Google Patents
Method and device for carrying out call during multi-system switching Download PDFInfo
- Publication number
- CN105530376A CN105530376A CN201510924065.XA CN201510924065A CN105530376A CN 105530376 A CN105530376 A CN 105530376A CN 201510924065 A CN201510924065 A CN 201510924065A CN 105530376 A CN105530376 A CN 105530376A
- Authority
- CN
- China
- Prior art keywords
- call
- control port
- relevant information
- conversed
- multisystem
- 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 80
- 238000012545 processing Methods 0.000 claims abstract description 10
- 230000008569 process Effects 0.000 claims description 52
- 238000013507 mapping Methods 0.000 claims description 38
- 239000000284 extract Substances 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 4
- 230000006854 communication Effects 0.000 abstract description 21
- 238000004891 communication Methods 0.000 abstract description 21
- 238000004590 computer program Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000007726 management method Methods 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000009499 grossing Methods 0.000 description 3
- 238000011017 operating method Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000009432 framing Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002045 lasting effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000026676 system process Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
- H04M1/72502—Cordless telephones with one base station connected to a single line
- H04M1/72505—Radio link set-up procedures
- H04M1/72513—On hold, intercom or transfer communication modes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a method for carrying out communication during multi-system switching, which comprises the following steps: when detecting the switching trigger operation of the foreground and the background of two systems in the multi-system, extracting the call related information of the current call in the first system of the foreground; then the related information of the call is transmitted from the first system to a second system in the background; then, performing system foreground and background switching processing on the first system and the second system, wherein the system foreground and background switching processing comprises control switching processing on a control port related to the call; and finally, based on the received call related information, the second system carries out call through the call related control port. The invention can ensure that when the multi-system is switched between systems, the current call controlled and processed by the first system before switching can be correspondingly switched to be controlled and processed by the second system when the foreground system is switched from the first system to the second system, and the current call keeps a continuous processing state without being influenced by the multi-system switching.
Description
Technical field
The present invention relates to wireless mobile telecommunication technology field, specifically, the present invention relates to the method and apparatus carrying out when a kind of multisystem switches conversing.
Background technology
Along with the high speed development of technology, intelligent terminal has become requisite communication products, and the intelligent terminal that powerful, Consumer's Experience enriches is that the life of people brings great convenience.But, because conventional terminal equipment only allows single operating system to run, even if there is multiple operating system support to be also static support, namely need to reboot new operating system when device start, operating system exclusively enjoys the control to Modern communication module, therefore, in prior art not for the control and management solution switched current talking when intersystem handover in multisystem.
Summary of the invention
For overcoming above-mentioned technical problem or solving the problems of the technologies described above at least in part, the following technical scheme of special proposition:
The invention provides a kind of method carrying out when multisystem switches conversing, comprising:
When the AM/BAM handover trigger operation to two systems in described multisystem being detected, extract the call relevant information being in current talking in the first system on foreground;
Described call relevant information is passed to the second system being in backstage from described the first system;
Carry out system AM/BAM hand-off process to described the first system and described second system, described system AM/BAM hand-off process comprises the control hand-off process to call associated control port;
Based on the described call relevant information received, described second system is conversed by described call associated control port.
Wherein, described call relevant information specifically comprises following at least any one:
Talking state identification information;
Duration of call information;
Voice configuration parameter.
Preferably, described call relevant information is passed to the second system being in backstage from described the first system, specifically comprises:
Described call relevant information is communicated to connect mode by Socket and is passed to the second system being in backstage from described the first system.
Wherein, described call associated control port specifically comprises following at least any one:
Talking state control port;
Audio frequency control port.
Preferably, carry out system AM/BAM hand-off process to described the first system and described second system, described system AM/BAM hand-off process comprises the control hand-off process to call associated control port, specifically comprises:
The mapping control planning of described the first system and talking state control port is switched to the mapping control planning of described second system and talking state control port;
The mapping control planning of described the first system and audio frequency control port is switched to the mapping control planning of described second system and audio frequency control port.
Preferably, based on the described call relevant information received, described second system is conversed by described call associated control port, specifically comprises:
Based on the described call relevant information received, described second system is conversed and voice configuration process, and conversed by described call associated control port.
Present invention also offers the device carrying out when a kind of multisystem switches conversing, comprising:
Call-information extraction module, during for the AM/BAM handover trigger operation to two systems in described multisystem being detected, extracts the call relevant information being in current talking in the first system on foreground;
Transmit module, for described call relevant information is passed to the second system being in backstage from described the first system;
Handover module, for carrying out system AM/BAM hand-off process to described the first system and described second system, described system AM/BAM hand-off process comprises the control hand-off process to call associated control port;
Call processing module, for based on the described call relevant information received, described second system is conversed by described call associated control port.
Wherein, described call relevant information specifically comprises following at least any one:
Talking state identification information;
Duration of call information;
Voice configuration parameter.
Preferably, described transmission module is passed to specifically for described call relevant information is communicated to connect mode by Socket the second system being in backstage from described the first system.
Wherein, described call associated control port specifically comprises following at least any one:
Talking state control port;
Audio frequency control port.
Preferably, described handover module specifically comprises:
Call port switch unit, for switching to the mapping control planning of described second system and talking state control port by the mapping control planning of described the first system and talking state control port;
Audio port switch unit, for switching to the mapping control planning of described second system and audio frequency control port by the mapping control planning of described the first system and audio frequency control port.
Preferably, described call processing module specifically for conversing and voice configuration process to described second system based on the described call relevant information received, and is conversed by described call associated control port.
In technical scheme of the present invention, propose the scheme carrying out when multisystem switches conversing, when the AM/BAM handover trigger operation of two systems in multisystem being detected, the call relevant information of current talking in the first system being in foreground is passed to the second system being in backstage from the first system, system AM/BAM hand-off process is carried out to the first system and described second system, wherein, the control hand-off process to call associated control port is comprised; Subsequently, based on the call relevant information received, second system is conversed by call associated control port.The present invention has filled up the blank to the solution of the smoothing switching of current talking when prior art does not switch for multisystem.Can guarantee when multisystem carries out intersystem handover by the present invention, can carry out control treatment along with also correspondingly switching to when foreground system switches to second system from the first system by second system by the current talking of the first system control treatment before switching, and current talking keeps continuation treatment state and is not subject to the impact that multisystem switches.In an embody rule scene, when the first system on foreground is in incoming call sound state, along with the switching of back-fore ground system, incoming call sound switchable state carrys out control treatment to second system, both call sides is hung up without the need to hanging up current talking, considerably reduce the operating procedure of terminal use, and save air time cost and the Financial cost of both call sides, thus improve the call experience of terminal use.
The aspect that the present invention adds and advantage will part provide in the following description, and these will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 carries out the schematic flow sheet of the method conversed when being the multisystem switching of the embodiment of the present invention;
Fig. 2 carries out the structural framing schematic diagram of the device conversed when being the multisystem switching of another embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in specification of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.Should be appreciated that, when we claim element to be " connected " or " coupling " to another element time, it can be directly connected or coupled to other elements, or also can there is intermediary element.In addition, " connection " used herein or " coupling " can comprise wireless connections or wirelessly to couple.Wording "and/or" used herein comprises one or more whole or arbitrary unit listing item be associated and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.It should also be understood that, those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions as here, otherwise can not explain by idealized or too formal implication.
Those skilled in the art of the present technique are appreciated that, here used " terminal ", " terminal equipment " had both comprised the equipment of wireless signal receiver, it only possesses the equipment of the wireless signal receiver without emissivities, comprise again the equipment receiving and launch hardware, it has and on bidirectional communication link, can carry out the reception of two-way communication and launch the equipment of hardware.This equipment can comprise: honeycomb or other communication equipments, its honeycomb or other communication equipment of having single line display or multi-line display or not having multi-line display; PCS (PersonalCommunicationsService, PCS Personal Communications System), it can combine voice, data processing, fax and/or its communication ability; PDA (PersonalDigitalAssistant, personal digital assistant), it can comprise radio frequency receiver, beep-pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (GlobalPositioningSystem, global positioning system) receiver; Conventional laptop and/or palmtop computer or other equipment, it has and/or comprises the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment.Here used " terminal ", " terminal equipment " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run.Here used " terminal ", " terminal equipment " can also be communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (MobileInternetDevice, mobile internet device) and/or there is the mobile phone of music/video playing function, also can be the equipment such as intelligent television, Set Top Box.
Multisystem in embodiments of the invention comprises at least two systems, and wherein, system can comprise the intelligent terminal operation system such as Android, Windows and first heart.Multisystem in embodiments of the invention can realize based on multiple virtual technology, hereafter carries out the detailed description of embodiment for the container technique under linux system.Wherein, the multisystem using linux container technology to realize, loads independently system in each container, separate between multiple system, and multiple system cloud gray model is on same physical terminal device.
Linux container instrument, can provide the virtual of lightweight, so that isolated process and resource.Use the advantage of container to be exactly do not need to install too many software kit, use procedure also can not take too many resource.Container effectively by the resource division that managed by single operating in isolated group, with better between isolated group balance have the resource user demand of conflict.Compared with virtual machine technique, container technique neither needs instruction level simulation, does not also need Just-In-Time.Container can in the instruction of core CPU local runtime, and without any need for special explanation facility.In addition, it also avoid the complexity in accurate virtual and system call replacement.Container, while providing isolation, also being pared down expenses by sharing these resources, be this means that container is more much smaller than real virtualized expense.By providing a kind of mode creating and enter container, operating system allows application program just as running on independently machine, but can share system and the physical resource of bottom.Therefore, the multisystem in this programme independently can realize call process, can share a set of Modern communication module simultaneously.
Fig. 1 carries out the schematic flow sheet of the method conversed when being the multisystem switching of the embodiment of the present invention.
Step S110: when the AM/BAM handover trigger operation to two systems in multisystem being detected, extract the call relevant information being in current talking in the first system on foreground.
Wherein, AM/BAM handover trigger is operating as user and performs predefined touch control operation by the mode of man-machine interaction on the screen of terminal equipment, as the click to virtual key, dragging and the slip etc. to screen, or the operations such as click are carried out to predetermined physical button, this embodiment of the present invention is not limited.
Wherein, relevant information of conversing specifically includes but not limited to:
Talking state identification information; Wherein, talking state identification information can be the unique identification information CALLID distributed for the call of each road.In different application scenarioss, when foreground system processes multi-way call simultaneously, can be the unique identification information distributed for the call of each road, namely talking state identification information comprises multiple CALLID.
Duration of call information;
Voice configuration parameter; Voice configuration parameter can comprise the audio frequency way of output; Audio output apparatus; Audio types; Volume gain calibration parameter; Sound effect control parameter.
The audio frequency way of output comprises: hardware device exports, short-range wireless device exports and hardware device and short-range wireless device export in three kinds of modes simultaneously one or more.
Output equipment comprises: loud speaker, receiver and wired earphone and/or wireless headset, as bluetooth earphone;
Audio types comprises: one or more in bell sound, music and prompt tone;
Audio comprises: digital audio, Environmental Audio Extension etc.
At this, talking state identification information or voice configuration parameter can also comprise other information or parameter, do not limit this embodiment of the present invention.
Such as, this terminal equipment comprises two system OS
1and OS
2, wherein, be in the OS on foreground
1for android system, be in the OS on backstage
2for unit feels concerned about system; When terminal equipment detects that user triggers the AM/BAM handover trigger operation of two systems by human-computer interaction interface, first determine the OS being in foreground
1comprise two-way current talking, a road is in the state of answering, and a road is in hang-up wait state, extracts this two-way current talking CALLID separately, duration of call information and voice configuration parameter.
Step S120: call relevant information is passed to the second system being in backstage from the first system.
Preferably, call relevant information is communicated to connect mode by Socket and be passed to the second system being in backstage from the first system.
Particularly, first, the first system and second system are set up Socket and are communicated to connect, and encapsulate call relevant information using as the data in POST order, subsequently, POST order is communicated to connect mode by Socket and is sent to second system from the first system.
Such as, for be switched to from the android system being in foreground the unit being in backstage feel concerned about system illustrate, the client that android system connects as Socket, unit feel concerned about system as Socket connection service end; Create Socket object in client, the network address of specified services end and port numbers, create ServerSocket object in service end, this ServerSocket object such as to be at the state to be connected, real-time monitor network connection status; When client proposes connection request to service end, service end listens to the connection request from client, by calling the accept () method of ServerSocket, accept request that client sends and feel concerned about in android system and unit to set up Socket between system and be connected; Subsequently, in android system, call relevant information can be carried out encapsulating using as the data in POST order, by the Socket connection of having set up, POST order is sent to unit and feels concerned about system, unit as service end feels concerned about system and receives POST order in the mode of lasting monitoring Socket passage transmitting data, subsequently, parsing is carried out to obtain call relevant information to POST order.
Alternatively, a service processes independent of multisystem is set up by linux kernel, for the transfer of data between multisystem, call relevant information is passed to second system by this service processes from the first system, wherein, corresponding adjustment the data format of data can be sent to complete the transmission of call relevant information between system according to adopted interprocess communication formula.
Certainly can also adopt other communication connection modes that call relevant information is passed to second system from the first system in embodiments of the present invention, can corresponding adjustment sends data according to adopted different communication connected mode data format to complete logical between system of call relevant information, this embodiment of the present invention is not limited.
Step S130: carry out system AM/BAM hand-off process to the first system and second system, system AM/BAM hand-off process comprises the control hand-off process to call associated control port.
Particularly, associated control port of conversing includes but not limited to:
Talking state control port; Wherein, the port for talking state carry out control and management of talking state control port for being provided by the Modern communication module of terminal equipment, such as, Modern controls the connection of current call, the hanging up and the signal strength signal intensity etc. of current talking of current talking by talking state control port.
Audio frequency control port; Wherein, the port for to call relevant audio frequency relevant treatment carry out control and management of audio frequency control port for being provided by the Modern communication module of terminal equipment, such as, Modern is controlled the audio frequency way of output, audio output apparatus, audio types, volume gain size etc. by audio frequency control port.
Such as, the first system OS
1for android system, and second system is OS
2for unit feels concerned about system, OS
1with OS
2share with linux system kernel, in linux system kernel, set up a process controlling AM/BAM and switch, and in linux system, record comprises OS
1container and comprise OS
2the AM/BAM state information of container; When detect from user to multisystem in the AM/BAM handover trigger operation of two systems time, first from comprise each container AM/BAM state information data record read and comprise OS
1container be in foreground state, comprise OS
2container be in background state; Subsequently, the interface that the process calling the switching of control AM/BAM provides will comprise OS
1container switch to background state, will OS be comprised
2container switch to foreground state, revise to upgrade the data record of the AM/BAM state information comprising each container simultaneously; Subsequently, release is in the OS on backstage after switching
1the audio frequency control port provide Modern and the control of audio frequency control port, be in the OS on foreground after audio frequency control port and audio frequency control port are provided to switching
2, OS
2call is controlled, to realize current talking from OS by this audio frequency control port and this audio frequency control port
1switch to OS
2.
Wherein, the first system and second system carry out the conversing control hand-off process of associated control port is specifically comprised:
The mapping control planning of the first system and talking state control port is switched to the mapping control planning of second system and talking state control port, and the mapping control planning of the first system and audio frequency control port is switched to the mapping control planning of second system and audio frequency control port.
Such as, connect example, the process that the control AM/BAM run in linux system kernel switches is responsible for intersystem handover, and wherein, the port mapping comprised between system and Modem switches; Wherein, the audio frequency control port that Modern provides is tty, audio frequency control port is pipe, OS
1comprise in system the control port tty1 that sets up with Modern and map and control for conversing and for relevant voice-operated pipe1, the OS of conversing
2comprise in system the control port tty2 that sets up with Modern and map and control for conversing and for the relevant voice-operated control port pipe2 that converses; By tty and pipe that process is responsible for control tty1 or tty2, pipe1 or pipe2 is connected to Modern controlling AM/BAM switching in kernel.Before switching, the first system being in foreground is OS
1, the second system being in backstage is OS
2, OS
1in the talking state control port tty that provides of control port tty1 and Modern that controls for conversing set up the mapping control planning of port, OS
1in for setting up the mapping control planning of port to the audio frequency control port pipe that pipe1 and the Modern of the relevant audio frequency relevant treatment of call provides; When detect from user to multisystem in two systems AM/BAM handover trigger operation time, by control AM/BAM switch process to OS
1with OS
2while carrying out the switching of system AM/BAM, by the mapping control planning of release tty1 and tty, and set up OS
2in for the mapping control planning of control port tty2 and tty controlled of conversing, and discharge the mapping control planning of pipe1 and pipe, and set up OS
2in to the mapping control planning of relevant voice-operated control port pipe2 and the pipe of call.
It should be noted that, in this enforcement, the execution sequence of step S110 and step S120 and step S130 can exchange, and namely first performs step S130 and performs step S110 and step S120 again, or perform step S130 while execution step S110.
Step S140: based on the call relevant information received, second system is conversed by call associated control port.
Particularly, connect example, first, extract talking state identification information, air time length and voice configuration parameter that the call relevant information that receives comprises, and the application layer of second system is conversed and the configuration process of speech related parameters; Subsequently, second system controls to converse by tty and pipe2 of tty2 and pipe2 to Modern.
The present invention has filled up the blank to the solution of the smoothing switching of current talking when prior art does not switch for multisystem.Can guarantee when multisystem carries out intersystem handover by the present invention, can carry out control treatment along with also correspondingly switching to when foreground system switches to second system from the first system by second system by the current talking of the first system control treatment before switching, and current talking keeps continuation treatment state and is not subject to the impact that multisystem switches.In an embody rule scene, when the first system on foreground is in incoming call sound state, along with the switching of back-fore ground system, incoming call sound switchable state carrys out control treatment to second system, both call sides is hung up without the need to hanging up current talking, considerably reduce the operating procedure of terminal use, and save air time cost and the Financial cost of both call sides, thus improve the call experience of terminal use.
Fig. 2 carries out the structural framing schematic diagram of the device conversed when being the multisystem switching of another embodiment of the present invention.
When call-information extraction module 210 detects the AM/BAM handover trigger operation to two systems in multisystem, extract the call relevant information being in current talking in the first system on foreground.
Wherein, AM/BAM handover trigger is operating as user and performs predefined touch control operation by the mode of man-machine interaction on the screen of terminal equipment, as the click to virtual key, dragging and the slip etc. to screen, or the operations such as click are carried out to predetermined physical button, this embodiment of the present invention is not limited.
Wherein, relevant information of conversing specifically includes but not limited to:
Talking state identification information; Wherein, talking state identification information can be the unique identification information CALLID distributed for the call of each road.In different application scenarioss, when foreground system processes multi-way call simultaneously, can be the unique identification information distributed for the call of each road, namely talking state identification information comprises multiple CALLID.
Duration of call information;
Voice configuration parameter; Voice configuration parameter can comprise the audio frequency way of output; Audio output apparatus; Audio types; Volume gain calibration parameter; Sound effect control parameter.
The audio frequency way of output comprises: hardware device exports, short-range wireless device exports and hardware device and short-range wireless device export in three kinds of modes simultaneously one or more.
Output equipment comprises: loud speaker, receiver and wired earphone and/or wireless headset, as bluetooth earphone;
Audio types comprises: one or more in bell sound, music and prompt tone;
Audio comprises: digital audio, Environmental Audio Extension etc.
At this, talking state identification information or voice configuration parameter can also comprise other information or parameter, do not limit this embodiment of the present invention.
Such as, this terminal equipment comprises two system OS
1and OS
2, wherein, be in the OS on foreground
1for android system, be in the OS on backstage
2for unit feels concerned about system; When call-information extraction module 210 detects that user triggers the AM/BAM handover trigger operation of two systems by human-computer interaction interface, first determine the OS being in foreground
1comprise two-way current talking, a road is in the state of answering, and a road is in hang-up wait state, extracts this two-way current talking CALLID separately, duration of call information and voice configuration parameter.
Transmit module 220 call relevant information is passed to the second system being in backstage from the first system.
Preferably, transmit module 220 call relevant information is passed to by Socket communication connection mode the second system being in backstage from the first system.
Particularly, first, the first system and second system are set up Socket and are communicated to connect, and encapsulate call relevant information using as the data in POST order, subsequently, POST order is communicated to connect mode by Socket and is sent to second system from the first system.
Such as, for be switched to from the android system being in foreground the unit being in backstage feel concerned about system illustrate, the client that android system connects as Socket, unit feel concerned about system as Socket connection service end; Transmit module 220 and create Socket object in client, the network address of specified services end and port numbers, create ServerSocket object in service end, this ServerSocket object such as to be at the state to be connected, real-time monitor network connection status; When client proposes connection request to service end, service end listens to the connection request from client, by calling the accept () method of ServerSocket, accept request that client sends and feel concerned about in android system and unit to set up Socket between system and be connected; Subsequently, in android system, call relevant information can be carried out encapsulating using as the data in POST order, by the Socket connection of having set up, POST order is sent to unit and feels concerned about system, unit as service end feels concerned about system and receives POST order in the mode of lasting monitoring Socket passage transmitting data, subsequently, parsing is carried out to obtain call relevant information to POST order.
Alternatively, a service processes independent of multisystem is set up by linux kernel, for the transfer of data between multisystem, call relevant information is passed to second system by this service processes from the first system, wherein, corresponding adjustment the data format of data can be sent to complete the transmission of call relevant information between system according to adopted interprocess communication formula.
Certainly can also adopt other communication connection modes that call relevant information is passed to second system from the first system in embodiments of the present invention, can corresponding adjustment sends data according to adopted different communication connected mode data format to complete logical between system of call relevant information, this embodiment of the present invention is not limited.
Handover module 230 pairs of the first systems and second system carry out system AM/BAM hand-off process, and system AM/BAM hand-off process comprises the control hand-off process to call associated control port.
Particularly, associated control port of conversing includes but not limited to:
Talking state control port; Wherein, the port for talking state carry out control and management of talking state control port for being provided by the Modern communication module of terminal equipment, such as, Modern controls the connection of current call, the hanging up and the signal strength signal intensity etc. of current talking of current talking by talking state control port.
Audio frequency control port; Wherein, the port for to call relevant audio frequency relevant treatment carry out control and management of audio frequency control port for being provided by the Modern communication module of terminal equipment, such as, Modern is controlled the audio frequency way of output, audio output apparatus, audio types, volume gain size etc. by audio frequency control port.
Such as, the first system OS
1for android system, and second system is OS
2for unit feels concerned about system, OS
1with OS
2share with linux system kernel, in linux system kernel, set up a process controlling AM/BAM and switch, and in linux system, record comprises OS
1container and comprise OS
2the AM/BAM state information of container; When detect from user to multisystem in the AM/BAM handover trigger operation of two systems time, first from comprise each container AM/BAM state information data record read and comprise OS
1container be in foreground state, comprise OS
2container be in background state; Subsequently, the interface that the process calling the switching of control AM/BAM provides will comprise OS
1container switch to background state, will OS be comprised
2container switch to foreground state, revise to upgrade the data record of the AM/BAM state information comprising each container simultaneously; Subsequently, release is in the OS on backstage after switching
1the audio frequency control port provide Modern and the control of audio frequency control port, be in the OS on foreground after audio frequency control port and audio frequency control port are provided to switching
2, OS
2call is controlled, to realize current talking from OS by this audio frequency control port and this audio frequency control port
1switch to OS
2.
Wherein, handover module 230 specifically comprises:
Call port switch unit, for switching to the mapping control planning of described second system and talking state control port by the mapping control planning of described the first system and talking state control port.
Audio port switch unit, for switching to the mapping control planning of described second system and audio frequency control port by the mapping control planning of described the first system and audio frequency control port.
Such as, connect example, the process that the control AM/BAM run in linux system kernel switches is responsible for intersystem handover, and wherein, the port mapping comprised between system and Modem switches; Wherein, the audio frequency control port that Modern provides is tty, audio frequency control port is pipe, OS
1comprise in system the control port tty1 that sets up with Modern and map and control for conversing and for relevant voice-operated pipe1, the OS of conversing
2comprise in system the control port tty2 that sets up with Modern and map and control for conversing and for the relevant voice-operated control port pipe2 that converses; By tty and pipe that process is responsible for control tty1 or tty2, pipe1 or pipe2 is connected to Modern controlling AM/BAM switching in kernel.Before switching, the first system being in foreground is OS
1, the second system being in backstage is OS
2, OS
1in the talking state control port tty that provides of control port tty1 and Modern that controls for conversing set up the mapping control planning of port, OS
1in for setting up the mapping control planning of port to the audio frequency control port pipe that pipe1 and the Modern of the relevant audio frequency relevant treatment of call provides; When detect from user to multisystem in two systems AM/BAM handover trigger operation time, by control AM/BAM switch process to OS
1with OS
2while carrying out the switching of system AM/BAM, by the mapping control planning of release tty1 and tty, and set up OS
2in for the mapping control planning of control port tty2 and tty controlled of conversing, and discharge the mapping control planning of pipe1 and pipe, and set up OS
2in to the mapping control planning of relevant voice-operated control port pipe2 and the pipe of call.
Call processing module 240 is based on the call relevant information received, and second system is conversed by call associated control port.
Particularly, connect example, first, extract talking state identification information, air time length and voice configuration parameter that the call relevant information that receives comprises, and the application layer of second system is conversed and the configuration process of speech related parameters; Subsequently, second system controls to converse by tty and pipe2 of tty2 and pipe2 to Modern.
The present invention has filled up the blank to the solution of the smoothing switching of current talking when prior art does not switch for multisystem.Can guarantee when multisystem carries out intersystem handover by the present invention, can carry out control treatment along with also correspondingly switching to when foreground system switches to second system from the first system by second system by the current talking of the first system control treatment before switching, and current talking keeps continuation treatment state and is not subject to the impact that multisystem switches.In an embody rule scene, when the first system on foreground is in incoming call sound state, along with the switching of back-fore ground system, incoming call sound switchable state carrys out control treatment to second system, both call sides is hung up without the need to hanging up current talking, considerably reduce the operating procedure of terminal use, and save air time cost and the Financial cost of both call sides, thus improve the call experience of terminal use.
Those skilled in the art of the present technique are appreciated that the one or more equipment that the present invention includes and relate to for performing in operation described in the application.These equipment for required object and specialized designs and manufacture, or also can comprise the known device in all-purpose computer.These equipment have storage computer program within it, and these computer programs optionally activate or reconstruct.Such computer program can be stored in equipment (such as, computer) in computer-readable recording medium or be stored in and be suitable for store electrons instruction and be coupled in the medium of any type of bus respectively, described computer-readable medium includes but not limited to that the dish of any type (comprises floppy disk, hard disk, CD, CD-ROM, and magneto optical disk), ROM (Read-OnlyMemory, read-only memory), RAM (RandomAccessMemory, memory immediately), EPROM (ErasableProgrammableRead-OnlyMemory, Erarable Programmable Read only Memory), EEPROM (ElectricallyErasableProgrammableRead-OnlyMemory, EEPROM (Electrically Erasable Programmable Read Only Memo)), flash memory, magnetic card or light card.Namely, computer-readable recording medium comprises and being stored or any medium of transmission information with the form that can read by equipment (such as, computer).
Those skilled in the art of the present technique are appreciated that the combination that can realize the frame in each frame in these structure charts and/or block diagram and/or flow graph and these structure charts and/or block diagram and/or flow graph with computer program instructions.Those skilled in the art of the present technique are appreciated that, the processor that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other programmable data processing methods realizes, thus is performed the scheme of specifying in the frame of structure chart disclosed by the invention and/or block diagram and/or flow graph or multiple frame by the processor of computer or other programmable data processing methods.
Those skilled in the art of the present technique are appreciated that various operations, method, the step in flow process, measure, the scheme discussed in the present invention can be replaced, changes, combines or delete.Further, there is various operations, method, other steps in flow process, measure, the scheme discussed in the present invention also can be replaced, change, reset, decompose, combine or delete.Further, of the prior art have also can be replaced with the step in operation various disclosed in the present invention, method, flow process, measure, scheme, changed, reset, decomposed, combined or deleted.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (10)
1. carry out the method conversed when multisystem switches, it is characterized in that, comprising:
When the AM/BAM handover trigger operation to two systems in described multisystem being detected, extract the call relevant information being in current talking in the first system on foreground;
Described call relevant information is passed to the second system being in backstage from described the first system;
Carry out system AM/BAM hand-off process to described the first system and described second system, described system AM/BAM hand-off process comprises the control hand-off process to call associated control port;
Based on the described call relevant information received, described second system is conversed by described call associated control port.
2. carry out the method conversed when multisystem according to claim 1 switches, it is characterized in that, described call relevant information specifically comprises following at least any one:
Talking state identification information;
Duration of call information;
Voice configuration parameter.
3. carry out the method conversed when multisystem according to claim 1 and 2 switches, it is characterized in that, described call relevant information is passed to the second system being in backstage from described the first system, specifically comprises:
Described call relevant information is communicated to connect mode by Socket and is passed to the second system being in backstage from described the first system.
4. carry out the method conversed when multisystem according to claim 1 and 2 switches, it is characterized in that, described call associated control port specifically comprises following at least any one:
Talking state control port;
Audio frequency control port;
Wherein, carry out system AM/BAM hand-off process to described the first system and described second system, described system AM/BAM hand-off process comprises the control hand-off process to call associated control port, specifically comprises:
The mapping control planning of described the first system and talking state control port is switched to the mapping control planning of described second system and talking state control port;
The mapping control planning of described the first system and audio frequency control port is switched to the mapping control planning of described second system and audio frequency control port.
5. carry out the method conversed when multisystem according to claim 1 and 2 switches, it is characterized in that, based on the described call relevant information received, described second system is conversed by described call associated control port, specifically comprises:
Based on the described call relevant information received, described second system is conversed and voice configuration process, and conversed by described call associated control port.
6. carry out the device conversed when multisystem switches, it is characterized in that, comprising:
Call-information extraction module, during for the AM/BAM handover trigger operation to two systems in described multisystem being detected, extracts the call relevant information being in current talking in the first system on foreground;
Transmit module, for described call relevant information is passed to the second system being in backstage from described the first system;
Handover module, for carrying out system AM/BAM hand-off process to described the first system and described second system, described system AM/BAM hand-off process comprises the control hand-off process to call associated control port;
Call processing module, for based on the described call relevant information received, described second system is conversed by described call associated control port.
7. carry out the device conversed when multisystem according to claim 6 switches, it is characterized in that, described call relevant information specifically comprises following at least any one:
Talking state identification information;
Duration of call information;
Voice configuration parameter.
8. when the multisystem according to claim 6 or 7 switches, carry out the device conversed, it is characterized in that, described transmission module is passed to specifically for described call relevant information is communicated to connect mode by Socket the second system being in backstage from described the first system.
9. carry out the device conversed when the multisystem according to claim 6 or 7 switches, it is characterized in that, described call associated control port specifically comprises following at least any one:
Talking state control port;
Audio frequency control port;
Wherein, described handover module specifically comprises:
Call port switch unit, for switching to the mapping control planning of described second system and talking state control port by the mapping control planning of described the first system and talking state control port;
Audio port switch unit, for switching to the mapping control planning of described second system and audio frequency control port by the mapping control planning of described the first system and audio frequency control port.
10. when the multisystem according to claim 6 or 7 switches, carry out the device conversed, it is characterized in that, described call processing module specifically for conversing and voice configuration process to described second system based on the described call relevant information received, and is conversed by described call associated control port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510924065.XA CN105530376A (en) | 2015-12-11 | 2015-12-11 | Method and device for carrying out call during multi-system switching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510924065.XA CN105530376A (en) | 2015-12-11 | 2015-12-11 | Method and device for carrying out call during multi-system switching |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105530376A true CN105530376A (en) | 2016-04-27 |
Family
ID=55772341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510924065.XA Pending CN105530376A (en) | 2015-12-11 | 2015-12-11 | Method and device for carrying out call during multi-system switching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105530376A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452517A (en) * | 2016-10-28 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Bluetooth communication method and device and terminal |
CN106506228A (en) * | 2016-11-29 | 2017-03-15 | 北京元心科技有限公司 | Method for sharing mobile network in multiple systems and terminal system |
CN106528133A (en) * | 2016-11-03 | 2017-03-22 | 四川安嵌科技有限公司 | Equipment request processing method and device applied to multiple systems |
CN108712765A (en) * | 2018-09-07 | 2018-10-26 | 深圳市万普拉斯科技有限公司 | A kind of switching method of network formats, device and mobile terminal |
WO2020125395A1 (en) * | 2018-12-21 | 2020-06-25 | 中兴通讯股份有限公司 | Method and device for mobile terminal multi-system switching |
CN111447692A (en) * | 2019-01-16 | 2020-07-24 | 成都鼎桥通信技术有限公司 | Call method and device for multi-system terminal, electronic equipment and storage medium |
CN113099152A (en) * | 2021-03-31 | 2021-07-09 | 北京奇艺世纪科技有限公司 | Method and device for call among multiple systems |
CN115334197A (en) * | 2022-08-09 | 2022-11-11 | 青岛海信移动通信技术股份有限公司 | Communication function changing method, multi-system terminal and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413246A (en) * | 2011-11-29 | 2012-04-11 | 宇龙计算机通信科技(深圳)有限公司 | Method for switching sharing application between multiple systems and mobile terminal |
CN103391374A (en) * | 2013-08-08 | 2013-11-13 | 北京邮电大学 | Dual system terminal supporting seamless switching |
CN104601818A (en) * | 2015-01-26 | 2015-05-06 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for switching operating systems in communication process |
CN104794014A (en) * | 2015-04-08 | 2015-07-22 | 华为技术有限公司 | System operation method and intelligent terminal |
CN105049630A (en) * | 2015-08-07 | 2015-11-11 | 北京元心科技有限公司 | Intelligent terminal and multi-system telephone answering method thereof |
-
2015
- 2015-12-11 CN CN201510924065.XA patent/CN105530376A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102413246A (en) * | 2011-11-29 | 2012-04-11 | 宇龙计算机通信科技(深圳)有限公司 | Method for switching sharing application between multiple systems and mobile terminal |
CN103391374A (en) * | 2013-08-08 | 2013-11-13 | 北京邮电大学 | Dual system terminal supporting seamless switching |
CN104601818A (en) * | 2015-01-26 | 2015-05-06 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for switching operating systems in communication process |
CN104794014A (en) * | 2015-04-08 | 2015-07-22 | 华为技术有限公司 | System operation method and intelligent terminal |
CN105049630A (en) * | 2015-08-07 | 2015-11-11 | 北京元心科技有限公司 | Intelligent terminal and multi-system telephone answering method thereof |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452517A (en) * | 2016-10-28 | 2017-02-22 | 宇龙计算机通信科技(深圳)有限公司 | Bluetooth communication method and device and terminal |
CN106528133A (en) * | 2016-11-03 | 2017-03-22 | 四川安嵌科技有限公司 | Equipment request processing method and device applied to multiple systems |
CN106528133B (en) * | 2016-11-03 | 2021-04-02 | 成都凛冬科技有限公司 | Equipment request processing method and device applied to multiple systems |
CN106506228A (en) * | 2016-11-29 | 2017-03-15 | 北京元心科技有限公司 | Method for sharing mobile network in multiple systems and terminal system |
CN108712765A (en) * | 2018-09-07 | 2018-10-26 | 深圳市万普拉斯科技有限公司 | A kind of switching method of network formats, device and mobile terminal |
WO2020125395A1 (en) * | 2018-12-21 | 2020-06-25 | 中兴通讯股份有限公司 | Method and device for mobile terminal multi-system switching |
CN111447692A (en) * | 2019-01-16 | 2020-07-24 | 成都鼎桥通信技术有限公司 | Call method and device for multi-system terminal, electronic equipment and storage medium |
CN113099152A (en) * | 2021-03-31 | 2021-07-09 | 北京奇艺世纪科技有限公司 | Method and device for call among multiple systems |
CN113099152B (en) * | 2021-03-31 | 2022-11-29 | 北京奇艺世纪科技有限公司 | Method and device for call among multiple systems |
CN115334197A (en) * | 2022-08-09 | 2022-11-11 | 青岛海信移动通信技术股份有限公司 | Communication function changing method, multi-system terminal and medium |
CN115334197B (en) * | 2022-08-09 | 2024-05-10 | 青岛海信移动通信技术有限公司 | Communication function changing method, multi-system terminal and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105530376A (en) | Method and device for carrying out call during multi-system switching | |
CN113613238B (en) | SIM module management method and electronic equipment | |
EP3873004B1 (en) | Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device | |
CN111724775B (en) | Voice interaction method and electronic equipment | |
CN109644216A (en) | A kind of method and terminal of Bluetooth communication | |
CN107438243B (en) | Network registration method, vehicle device and computer readable storage medium | |
CN103152244B (en) | A kind of method, device and communication system controlling immediate communication platform and communicate | |
CN105204816A (en) | Method and device for controlling audios in multisystem | |
CN109274831A (en) | A kind of audio communication method, device, equipment and readable storage medium storing program for executing | |
CN111666075B (en) | Multi-device interaction method and system | |
CN109165004A (en) | Double screen terminal audio frequency output method, terminal and computer readable storage medium | |
CN110113728A (en) | Audio data transmission method, vehicle device platform, vehicle device and readable storage medium storing program for executing | |
CN109684025A (en) | A kind of remote communication method and relevant apparatus | |
CN108538289A (en) | The method, apparatus and terminal device of voice remote control are realized based on bluetooth | |
KR20200090260A (en) | Service processing method and mobile communication terminal | |
CN115019418B (en) | Bluetooth car key car control method, device and storage medium | |
WO2024179103A1 (en) | Data transmission method and related device | |
CN102354278A (en) | Method and equipment for processing audio data | |
CN116709226B (en) | Communication relay method, electronic device, communication system, and storage medium | |
CN106357786A (en) | DTMF (dual tone multi frequency)-based vehicle-mounted wireless interaction method and system for same | |
CN109889660B (en) | Temporary information recording method, storage medium and mobile terminal | |
CN106878284A (en) | Method and device for controlling media playing function in multiple systems | |
CN107197482A (en) | Data transmission method, terminal, the network equipment and computer-readable recording medium | |
CN204190795U (en) | A kind of Automobile networked system and vehicle | |
CN113179307B (en) | Audio delay control method, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160427 |
|
RJ01 | Rejection of invention patent application after publication |