CN105471704B - A kind of method, apparatus and system for realizing more people's calls - Google Patents
A kind of method, apparatus and system for realizing more people's calls Download PDFInfo
- Publication number
- CN105471704B CN105471704B CN201410431492.XA CN201410431492A CN105471704B CN 105471704 B CN105471704 B CN 105471704B CN 201410431492 A CN201410431492 A CN 201410431492A CN 105471704 B CN105471704 B CN 105471704B
- Authority
- CN
- China
- Prior art keywords
- room
- call
- server
- session
- request
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 238000012790 confirmation Methods 0.000 claims abstract description 86
- 230000005540 biological transmission Effects 0.000 claims abstract description 72
- 230000008901 benefit Effects 0.000 claims description 3
- 230000008859 change Effects 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000009434 installation Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 13
- 238000012545 processing Methods 0.000 description 11
- 230000006854 communication Effects 0.000 description 9
- 230000003993 interaction Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000000977 initiatory effect Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Abstract
The invention discloses a kind of method, apparatus and system for realizing more people's calls, for the session in more people call to be scheduled and is handled, this method comprises: creating session after receiving more people's call requests that user triggers, creation call room is sent to server to request, and is in session status in call request;In the creation call room confirmation message for receiving server transmission, and current sessions state be call request in when, according to creation room confirmation message trigger the server creation call room, it will speech phase is changed to call and has requested that, creation room confirmation message includes the interface IP address of server;In the creation call room successful information for receiving server transmission, and current sessions state is when conversing to have requested that, into call room and to open audio engine, sends more people's call message requests to other users, it will speech phase is changed to enter room of conversing.
Description
Technical field
The present invention relates to Internet technical fields, and in particular to a kind of method, apparatus and system for realizing more people's calls.
Background technique
With the development of internet technology, the types of applications in internet extensively and profoundly daily life and
In work.Currently, for more convenient and quicker carrying out communication exchange, user is existed during using some network applications
Carry out the demand of multi-person speech call.For example, when user uses discussion group's function in immediate communication application, it is desirable to not only limit to
In being exchanged by way of text, there are also the demands that more people's calls are carried out using voice.
But the multiple interaction that more people's communication process are related between server is carried out in the application, it is easy to happen for example
The sessions logic abnormal conditions such as out-of-order, repeating transmission in the prior art converse to more people there is no a kind of realization of mature technology
Session logic is scheduled and handles.
Summary of the invention
In view of this, the present invention provides a kind of method, apparatus and system for realizing more people's calls, to solve in the prior art
The technical issues of session logic abnormal conditions easily occur during multi-conference.
To solve the above problems, technical solution provided by the invention is as follows:
A method of realizing more people's calls, which comprises
Session is created after receiving more people's call requests of user's triggering, creation call room is sent to server and requests,
It is in session status in call request;
In the creation call room confirmation message for receiving the server transmission, and presently described session status is call
When in request, the server creation call room is triggered according to the creation room confirmation message, the session status is become
More call has requested that, the creation room confirmation message includes the interface IP address of the server;
In the creation call room successful information for receiving the server transmission, and presently described session status is call
When having requested that, into the call room and audio engine is opened, sends more people's call message requests to other users, it will be described
Session status is changed to enter call room.
A method of realizing more people's calls, which comprises
Session is created after receiving more people's call message requests, session status is in and receives invitation;
In the message request that receives for receiving user's triggering, and presently described session status is when receiving to invite, to service
Device is transmitted into the request of call room, and the session status is changed to enter in room request;
In the room confirmation message of conversing that enters for receiving the server transmission, and presently described session status is to enter
When in room request, the call room in server is entered according to the call room confirmation message that enters, by the session shape
State is changed to have requested that into room, described to enter the interface IP address and call room that call room confirmation message includes server
Between number;
In the room successful information of conversing that enters for receiving the server transmission, and presently described session status is to enter
Room has requested that, opens audio engine, and the session status is changed to enter call room.
A method of realizing more people's calls, which comprises
The creation call room request that client is sent is received, the session status of the client is in call request;
Creation call room confirmation message is sent to the client, creation room confirmation message includes the service
The interface IP address of device, and call room is created according to the triggering of the client, make the session status of the client by conversing
Call is changed in request to have requested that;
Creation call room successful information is sent to the client, the client is made to enter the call room, institute
The session status of client is stated to be had requested that by conversing and be changed to enter call room;
When the session status of the client is in and receives invitation, receive the client transmission enters call room
Request makes the session status of the client be changed to enter in room request by receiving to invite;
It is transmitted into call room confirmation message to the client, the call room confirmation message that enters includes service
The interface IP address and call room number of device, make the client enter the call room, the session status of the client
It is changed to have requested that into room by entering in room request;
It is transmitted into call room successful information to the client, makes the session status of the client by entering room
It has requested that and is changed to enter call room.
A kind of device for realizing more people's calls, described device include:
First state unit is sent for creating session after receiving more people's call requests that user triggers to server
Creation call room request, is in session status in call request;
Second state cell, for room confirmation message of conversing in the creation for receiving the server transmission, and currently
When the session status is in call request, call room is created according to creation room confirmation message trigger the server, it will
The session status is changed to call and has requested that, the creation room confirmation message includes the interface IP address of server;
Third state unit, for room successful information of conversing in the creation for receiving the server transmission, and currently
When the session status is that call has requested that, into the call room and audio engine is opened, sends more people to other users
The session status is changed to enter call room by call message request.
A kind of device for realizing more people's calls, described device include:
First state unit is in session status and receives for creating session after receiving more people's call message requests
It invites;
Second state cell, for receiving message request receive user's triggering, and presently described session status is
When receiving invitation, call room being transmitted into server and is requested, the session status is changed to enter in room request;
Third state unit, for room confirmation message of conversing in the entrance for receiving the server transmission, and currently
When the session status is into room request, the call in server is entered according to the call room confirmation message that enters
The session status is changed to have requested that into room by room, and the call room confirmation message that enters includes server
Interface IP address and call room number;
4th state cell, for room successful information of conversing in the entrance for receiving the server transmission, and currently
The session status is to have requested that into room, opens audio engine, and the session status is changed to enter call room.
A kind of device for realizing more people's calls, described device include:
First receiving unit, for receiving the creation call room request of client transmission, the session shape of the client
State is in call request;
First transmission unit, for sending creation call room confirmation message to the client, the creation room is true
Recognize the interface IP address that information includes the server, and call room is created according to the triggering of the client, makes the client
The session status at end is had requested that by being changed to call in call request;
Second transmission unit, for the client send creation call room successful information, make the client into
Enter the call room, the session status of the client is had requested that by conversing and is changed to enter call room;
Second receiving unit receives the client when being in reception invitation for the session status in the client
Transmission enters the request of call room, and the session status of the client is made to be changed to enter in room request by receiving to invite;
Third transmission unit, it is described to enter call room for being transmitted into call room confirmation message to the client
Between confirmation message include server interface IP address and call room number, make the client enter the call room, institute
The session status for stating client is changed to have requested that into room by entering in room request;
4th transmission unit makes the client for being transmitted into call room successful information to the client
Session status is changed to enter call room by having requested that into room.
A kind of system for realizing more people's calls, the system comprises:
First terminal, second terminal and server;
The first terminal is the device of the more people's calls of above-mentioned realization described in the first;
The second terminal is the device of the more people's calls of realization described in above-mentioned second;
The server is the device of the more people's calls of above-mentioned realization described in the third.
It can be seen that the embodiment of the present invention has the following beneficial effects:
The embodiment of the present invention is after receiving user using more people's call requests of applications trigger or to receive more people logical
Session, and recording conversation state are created after words message request, according to the interaction results and state machine record between server
Session status, determine the currently operation that should execute, thus realize using state machine to more people converse involved in creation
Session, into session, exiting session etc., all kinds of session logics are scheduled and handle, it is ensured that more people's conversation sessions logics
It is normally carried out.
Detailed description of the invention
Fig. 1 is the hardware environment schematic diagram of the embodiment of the present invention;
Fig. 2 is the schematic diagram of the terminal embodiment provided in the embodiment of the present invention;
Fig. 3 is the schematic diagram of the server example provided in the embodiment of the present invention;
Fig. 4 is the flow chart of the embodiment of the method one of the more people's calls of realization provided in the embodiment of the present invention;
Fig. 5 is the status diagram of the embodiment of the method two of the more people's calls of realization provided in the embodiment of the present invention;
Fig. 6 is the flow chart of the embodiment of the method three of the more people's calls of realization provided in the embodiment of the present invention;
Fig. 7 is the status diagram of the embodiment of the method four of the more people's calls of realization provided in the embodiment of the present invention;
Fig. 8 is the status diagram of the embodiment of the method five of the more people's calls of realization provided in the embodiment of the present invention;
Fig. 9 is the schematic diagram of the Installation practice one of the more people's calls of realization provided in the embodiment of the present invention;
Figure 10 is the schematic diagram of the Installation practice two of the more people's calls of realization provided in the embodiment of the present invention;
Figure 11 is the schematic diagram of the Installation practice three of the more people's calls of realization provided in the embodiment of the present invention;
Figure 12 is the schematic diagram of the Installation practice four of the more people's calls of realization provided in the embodiment of the present invention;
Figure 13 is the schematic diagram of the Installation practice five of the more people's calls of realization provided in the embodiment of the present invention;
Figure 14 is the schematic diagram of the system embodiment of the more people's calls of realization provided in the embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Mode is applied to be described in further detail the embodiment of the present invention.
The method, apparatus and system of the realization more people call provided in the embodiment of the present invention, be in the prior art without
Method realizes the technical issues of carrying out multi-person speech call in the application, proposes that the state machine in dialogue-based is realized to the more people of creation
Call, invite other users be added call, receive more people converse invite, more people's calls be added, exit more people's calls etc. it is all kinds of more
Session logic involved in people's call is scheduled and handles, and carries out multi-person speech call in the application to realize.
It is shown in Figure 1, it is the hardware adaptations environment provided in the embodiment of the present invention, wherein first terminal, second terminal
Data connection, first terminal and second terminal are established by network with server respectively, more people's calls are established by the server.
First terminal can be understood as initiating the terminal of more people's calls, and second terminal can be understood as receiving the terminal of more people's calls, clothes
Business device can be used for responding more people's call requests of first terminal or second terminal.The realization provided in subsequent embodiment of the present invention
The embodiment of the method for more people's calls will be illustrated respectively from the angle of first terminal and second terminal and server.
It is shown in Figure 2, it is the schematic diagram of the first terminal provided in the embodiment of the present invention or second terminal embodiment, it should
Terminal may include radio frequency (RF, Radio Frequency) circuit 201, include one or more computer-readable deposit
Memory 202, input unit 203, display unit 204, sensor 205, the voicefrequency circuit 206, Wireless Fidelity of storage media
(WiFi, Wireless Fidelity) module 207, the processor 208 for including one or more than one processing core, with
And the equal components of power supply 209.It will be understood by those skilled in the art that the limit of terminal structure shown in Figure 2 not structure paired terminal
It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.Wherein:
RF circuit 201 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 208 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 201 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses
Family identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier
(LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuit 201 can also by wireless communication with network and its
He communicates equipment.Any communication standard or agreement, including but not limited to global system for mobile telecommunications system can be used in the wireless communication
Unite (GSM, Global System of Mobile communication), general packet radio service (GPRS, General
Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more
Location (WCDMA, Wideband Code Division Multiple Access), long term evolution (LTE, Long Term
Evolution), Email, short message service (SMS, Short Messaging Service) etc..
Memory 202 can be used for storing software program and module, and processor 208 is stored in memory 202 by operation
Software program and module, thereby executing various function application and data processing.Memory 202 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created data according to terminal
(such as audio data, phone directory etc.) etc..In addition, memory 202 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Phase
Ying Di, memory 202 can also include Memory Controller, to provide processor 208 and input unit 203 to memory 202
Access.
Input unit 203 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in a specific embodiment
In, input unit 203 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touching
Control plate, collect user on it or nearby touch operation (such as user using any suitable object such as finger, stylus or
Operation of the attachment on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 208, and can reception processing
Order that device 208 is sent simultaneously is executed.Furthermore, it is possible to a variety of using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Type realizes touch sensitive surface.In addition to touch sensitive surface, input unit 203 can also include other input equipments.Specifically, other are defeated
Entering equipment can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One of mark, operating stick etc. are a variety of.
Display unit 204 can be used for showing information input by user or be supplied to user information and terminal it is various
Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display
Unit 204 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display),
The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further
, touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to
Device 208 is followed by subsequent processing device 208 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event
Visual output.Although touch sensitive surface and display panel are to realize input and input as two independent components in Fig. 2
Function, but in some embodiments it is possible to touch sensitive surface and display panel are integrated and realizes and outputs and inputs function.
Terminal may also include at least one sensor 205, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear
Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions
Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal
The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 206, loudspeaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 206 can
By the electric signal after the audio data received conversion, it is transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another
The voice signal of collection is converted to electric signal by aspect, microphone, is converted to audio data after being received by voicefrequency circuit 206, then
After the processing of audio data output processor 208, it is sent to such as another terminal through RF circuit 201, or by audio data
Output is further processed to memory 202.Voicefrequency circuit 206 is also possible that earphone jack, with provide peripheral hardware earphone with
The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 207
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 2 shows
WiFi module 207, but it is understood that, and it is not belonging to must be configured into for terminal, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 208 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 202, and call and be stored in memory 202
Data execute the various functions and processing data of terminal, to carry out integral monitoring to mobile phone.Optionally, processor 208 can wrap
Include one or more processing cores;Preferably, processor 208 can integrate application processor and modem processor, wherein answer
With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.
It is understood that above-mentioned modem processor can not also be integrated into processor 208.
Terminal further includes the power supply 209 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe
Reason system and processor 208 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system
Etc. functions.Power supply 209 can also include one or more direct current or AC power source, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal can also include camera, bluetooth module etc., and details are not described herein.Specifically in this implementation
In example, the processor 208 in terminal can be corresponding by the process of one or more application program according to following instruction
Executable file is loaded into memory 202, and the application program being stored in memory 202 is run by processor 208, from
And realize various functions.
Shown in Figure 3, the embodiment of the present invention also provides a kind of server example, may include:
Processor 301, memory 302, input unit 303 and output device 304.The number of processor 301 in server
Amount can be one or more, take a processor as an example in Fig. 3.In some embodiments of the invention, processor 301, storage
Device 302, input unit 303 and output device 304 can be connected by bus or other means, wherein to be connected by bus in Fig. 3
It is connected in example.
Memory 302 can be used for storing software program and module, and processor 301 is stored in memory 302 by operation
Software program and module, thereby executing the various function application and data processing of server.Memory 302 can be wrapped mainly
Include storing program area and storage data area, wherein storing program area can application needed for storage program area, at least one function
Program etc..In addition, memory 302 may include high-speed random access memory, it can also include nonvolatile memory, such as
At least one disk memory, flush memory device or other volatile solid-state parts.Input unit 303 can be used for receiving
The number or character information of input, and generate key signals input related with the user setting of server and function control.
Specifically in the present embodiment, processor 301 can be according to following instruction, by one or more application program
The corresponding executable file of process be loaded into memory 302, and run by processor 301 storage in the memory 302
Application program, to realize various functions.
Following present invention embodiment will be described from the design factors for realizing that more people converse, the dress of the more people's calls of the realization
Setting specifically can integrate in the client, which can load in the terminal, which is specifically as follows smart phone, puts down
Plate computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image
Expert's compression standard audio level 3) player, MP4 (Moving Picture Experts Group Audio Layer IV,
Dynamic image expert's compression standard audio level 3) player, pocket computer on knee and desktop computer etc..
It is shown in Figure 4, it is the embodiment of the method one of the more people's calls of realization provided in the embodiment of the present invention, may include
Following steps:
Step 401: creating session after receiving more people's call requests of user's triggering, send creation call room to server
Between request, make session status change in the call request.
The embodiment of the present invention can be executed by the user client for initiating more people's calls, and user is needing to initiate more people's calls
When can click more people's push-to-talk buttons in applications client, client is first after the more people's call requests for receiving user's triggering
A session for more people call is first created, there can be a state machine in each session, the meeting of the session is saved by state machine
Speech phase, the session status for creating session is sky.
Server may include strategic server and interface message processor (IMP) server in practical applications, and strategic server can be managed
Solution is the server of management interface machine server, and the interface message processor (IMP) used needed for more people's calls can be distributed for the client in terminal
Server establishes more people's calls room in interface message processor (IMP) server.
Creation call room then can be sent to strategic server after client creates session to request, to policy service
After device sends creation call room request, by current sessions state by space-variant more call request, representing more people's calls at this time
It is requesting, is needing the response of waiting strategy server.
In some embodiments of the invention, after the more people's call requests for receiving user's triggering, before creating session, also
It may determine that and currently whether have existed session, have existed session if so, deleting, then execute creation session step, if
It is no, directly execute creation session step.
After exiting primary more people's calls, more people's calls can be initiated or be added again, but due to originals such as network errors
Cause, the used session request of more people call before may not deleted normally, therefore after initiating more people's call requests, be needed
The session anomaly existed is first judged whether there is, after deleting abnormal session, new session is re-established, is equivalent to session
The process initialized, it is ensured that the correctness of subsequent session state.
Step 402: in the creation call room confirmation message for receiving server transmission, and current sessions state is call
When in request, according to creation room confirmation message trigger the server creation call room, it will speech phase, which is changed to call, has asked
It asks, creation room confirmation message includes the interface IP address of server.
Specifically, the interface IP address of server includes interface message processor (IMP) server address, client is receiving strategic server
The creation call room confirmation message returned according to creation call room request, and session status is in call request, explanation can
To create call room in corresponding interface message processor (IMP) server according to the interface message processor (IMP) server address in creation room confirmation message,
It needs to have requested that session status by being changed to call in call request at this time.
In some embodiments of the invention, creation room confirmation message may include interface message processor (IMP) server address and room
Between password;Corresponding interface message processor (IMP) server, triggering interface message processor (IMP) server benefit can be then connected to according to interface message processor (IMP) server address
The call room encrypted with the creation of room password, to guarantee the safety of more people's calls.
Step 403: in the creation call room successful information for receiving server transmission, and current sessions state is call
When having requested that, into call room and audio engine is opened, sends more people's call message requests to other users, it will speech phase
It is changed to enter call room.
In practical applications, client receive interface message processor (IMP) server return creation converse room successful information, and
Session status is that call has requested that, then specification interface machine server creation call room success, can notify user to come into
The call room simultaneously invites other users that this more people call is added, into call room after can open audio engine, carry out
The acquisition and broadcasting of audio, need at this time by session status by converse have requested that be changed to enter call room, complete initiate it is more
The user client of people's call creates call room in the server and connects the process into the call room.
In some embodiments of the invention, the method for the more people's calls of the realization provided in the embodiment of the present invention can also wrap
It includes:
In the signal that exits for receiving user's triggering, and current sessions state is when entering call room, to send out to server
It send and exits the request of call room, it will speech phase is changed to exit in room request;
In the room successful information of conversing that exits for receiving server transmission, and current sessions state is to exit room request
When middle, audio engine is closed, deletes session.
Namely user can click exit button in the application, client in the signal that exits for receiving user's triggering, and
Session status is then to need to request to exit from call room to interface message processor (IMP) server, and by session shape when entering call room
State is changed to exit in room request from call room is entered.When client receive interface message processor (IMP) server return exit call
Room successful information, and session status is to exit in room request, then represents and exit the success of call room, then need to close audio
Engine, while session is deleted, in order to initiate or be added again more people's calls next time.
In some embodiments of the invention, the method for the more people's calls of the realization provided in the embodiment of the present invention can also wrap
It includes:
In the signal that exits for receiving user's triggering, and current sessions state is in call request or call has requested that
When, delete session.
And when session status is in call request or call has requested that, client is receiving exiting for user's triggering
Signal then can directly delete dialogue and be exited due to not entering call room also, in order to initiate next time or add again
Enter more people's calls.
It is shown in Figure 5, it is the embodiment of the method two of the more people's calls of realization provided in the embodiment of the present invention, to state machine
Session state transfer be illustrated, initiating more people's call request clients, the session status packet in the state machine for being included
Include following several: in call request, call have requested that, into call room, exit room request in and exit.
Specifically, in call request: creating session, Xiang Ce after more people's call requests that client receives user's triggering
Slightly server sends creation call room request, then session status is in call request.
Call has requested that: previous session status is to receive strategic server transmission in client in call request
Creation call room confirmation message, and session status be call request in when, can according to creation room confirmation message triggering connect
Mouth machine server creation call room, then session status is changed to converse and have requested that.
Into call room: previous session status is that call has requested that, receives interface message processor (IMP) server hair in client
The creation call room successful information sent, and session status is that can enter call room when conversing to have requested that, can protect simultaneously
Call room number is deposited, and notifies user that can send more people's call message requests to other users, audio engine is opened, carries out sound
The acquisition and broadcasting of frequency, then session status is changed to enter call room.
Exit in room request: previous session status receives user's triggering to enter call room, in client
Signal is exited, and session status is that can exit call room to the transmission of interface message processor (IMP) server when entering call room and request, then
Session status is changed to exit in room request.
Exit: previous session status be exit room request in or call request in or call have requested that, in visitor
Family termination receives the room successful information of conversing that exits of interface message processor (IMP) server transmission, and session status is to exit in room request
When, audio engine can be closed, session is deleted and is exited;Client receive user triggering exit signal, and session
State is in call request or call is when having requested that, can delete session and be exited.
In this way, the embodiment of the present invention creates session after receiving user using more people's call requests of applications trigger, and
Using the state machine record session status in session, according to the session of interaction results and state machine record between server
State determines the currently operation that should execute, thus realize using state machine to more people converse involved in creation session, into
All kinds of session logics such as enter session, exit session to be scheduled and handle, ensure that being normally carried out for more people's conversation sessions logics.
It is shown in Figure 6, it is the embodiment of the method three of the more people's calls of realization provided in the embodiment of the present invention, may include
Following steps:
Step 601: creating session after receiving more people's call message requests, be in session status and receive invitation.
The embodiment of the present invention can be executed by receiving the user client that more people's calls are invited, and user receives more people's calls
A session for more people call is created after message request, there can be a state machine in each session, and being saved by state machine should
The session status of session, the session status for creating session is sky.It can make session status after the session has been created in the present embodiment
It is invited in receiving, and notifies user converses there are people more than one to invite.
More people message requests of conversing can be sent by strategic server, that is, initiate the user clients of more people's calls to other
User sends more people's call message requests and can be forwarded by strategic server, may include in more people's call message requests
The call room number created.
In some embodiments of the invention, after receiving more people's call message requests, before creating session, can also sentence
It is disconnected currently whether to have existed session, session is had existed if so, deleting, then execute creation session step, if not, directly
Execute creation session step.
After exiting primary more people's calls, more people's calls can be initiated or be added again, but due to originals such as network errors
Cause, the used session request of more people call before may not deleted normally, therefore receive more people's call invitation letters
It after breath, needs first to judge whether there is the session anomaly existed, after deleting abnormal session, re-establishes new session, quite
In the process initialized to session, it is ensured that the correctness of subsequent session state.
Step 602: receive message request receive user's triggering, and current sessions state is when receiving to invite, to
Server is transmitted into the request of call room, it will speech phase is changed to enter in room request.
User can click receiving when receiving more people and conversing and invite in the application and invite button, and client is receiving use
Family triggering receives message request, and preceding session status is when receiving to invite, and explanation can further be sent to strategic server
It is requested into call room, is changed to enter in room request by receiving to invite by session status at this time.
Step 603: in the room confirmation message of conversing that enters for receiving server transmission, and current sessions state is to enter
When in room request, enter the call room in server according to call room confirmation message is entered, it will speech phase is changed to
It is had requested that into room, includes the interface IP address and call room number of server into call room confirmation message.
The interface IP address of server includes interface message processor (IMP) server address, and client is receiving strategic server according to entrance
What room request of conversing returned enters call room confirmation message, and session status is into room request, and explanation can be into
Session status is changed to enter room by the call room created in incoming interface machine server by entering in room request at this time
Request.
In some embodiments of the invention, creation room confirmation message may include interface message processor (IMP) server address, call
Room number and room password;Then interface message processor (IMP) server can be connected to according to interface message processor (IMP) server address and call room number
In call room, enter the call room of encryption, using room password to guarantee the safety of more people call.
Step 604: in the room successful information of conversing that enters for receiving server transmission, and current sessions state is to enter
Room has requested that, opens audio engine, it will speech phase is changed to enter call room.
Specifically, client enters call room successful information, and session shape receive the return of interface message processor (IMP) server
State is to have requested that into room, then explanation has been acknowledged into call room, opens audio engine and carries out the acquisition of audio and broadcast
It puts, needs to be changed to enter call room by having requested that into room for session status at this time, the more people of completion receiving, which converse, to be invited
User client enter the process in call room, realize more people call.
In some embodiments of the invention, the method for the more people's calls of the realization provided in the embodiment of the present invention can also wrap
It includes:
In the signal that exits for receiving user's triggering, and current sessions state is when entering call room, to send out to server
It send and exits the request of call room, it will speech phase is changed to exit in room request;
In the room successful information of conversing that exits for receiving server transmission, and current sessions state is to exit room request
When middle, audio engine is closed, deletes session.
Namely user can click exit button in the application, client in the signal that exits for receiving user's triggering, and
Session status is then to need to request to exit from call room to interface message processor (IMP) server, and by session shape when entering call room
State is changed to exit in room request from call room is entered.When client receive interface message processor (IMP) server return exit call
Room successful information, and session status is to exit in room request, then represents and exit the success of call room, then need to close audio
Engine, while session is deleted, in order to initiate or be added again more people's calls next time.
It is shown in Figure 7, it is the embodiment of the method four of the more people's calls of realization provided in the embodiment of the present invention, to state machine
Session state transfer be illustrated, invite clients receiving more people and conversing, the session status packet in the state machine for being included
Include following several: receive invite, into room request, have requested that into room, into call room, exit in room request
And it exits.
Invite specifically, receiving: client creates session after receiving more people's call message requests, then at session status
It is invited in receiving.
Into in room request: previous session status is to receive to invite, and receives the receiving of user's triggering in client
Message request, and session status is when receiving to invite, the request of call room can be transmitted into strategic server, then session shape
State is changed to enter in room request.
Have requested that into room: previous session status is to receive policy service in client into room request
Device send enter call room confirmation message, and session status be into room request in when, can according to enter converse room
Between confirmation message enter the call room in interface message processor (IMP) server, then session status is changed to have requested that into room.
Into call room: previous session status is to have requested that into room, receives interface message processor (IMP) service in client
What device was sent enters call room successful information, and session status is to have requested that into room, can open audio engine, then can
Speech phase is changed to enter call room.
Exit in room request: previous session status receives user's triggering to enter call room, in client
Signal is exited, and session status is that can exit call room to the transmission of interface message processor (IMP) server when entering call room and request, then
Session status is changed to exit in room request.
Exit: previous session status is to exit in room request, receives the transmission of interface message processor (IMP) server in client
Exit call room successful information, and session status is that when exiting in room request, can close audio engine, delete session into
Row exits.
In this way, the embodiment of the present invention creates session after receiving more people's call message requests, and utilize the shape in session
State machine recording conversation state determines current according to the session status of interaction results and state machine record between server
The operation that should be executed, to realize that session, to exit session etc. all kinds of to entering involved in more people call using state machine
Session logic is scheduled and handles, and ensure that being normally carried out for more people's conversation sessions logics.
It is understood that same terminal may act as the originating end of more people's calls, it can also be used as more people's calls and invite
Receiving end please can initiate primary more people's calls in discussion group, can also add for example, user uses instant messaging application
Enter already existing more people's calls.
Following present invention embodiment will be described from the design factors for realizing that more people converse, the dress of the more people's calls of the realization
Setting specifically can integrate in the server.
It is shown in Figure 8, it is the embodiment of the method five of the more people's calls of realization provided in the embodiment of the present invention, it is logical to more people
Complete each session state transfer situation of state machine is illustrated in words session, the state machine of more people's conversation sessions may include with
Under several session status: in call request, call have requested that, receive invitation, being requested into room in, have requested that into room,
Into call room, exits in room request and exit.
In call request: session is created after more people's call requests that client receives user's triggering, to server packet
After the strategic server included sends creation call room request, the strategic server that server includes receives the wound that client is sent
The request of call room is built, then the session status of client is in call request.
Call has requested that: previous session status is in call request, and strategic server that server includes is to client
Creation call room confirmation message is sent, with creating the interface IP address i.e. interface message processor (IMP) server that room confirmation message includes server
Location, so that client receives the creation call room confirmation message of strategic server transmission, and session status is call request
, can be according to creation room confirmation message triggering interface message processor (IMP) server creation call room when middle, the interface message processor (IMP) that server includes
Server creates call room according to the triggering of the client, then the session status of client is led to by being changed in call request
Words have requested that.
It receives and invites: creating session after client receives more people's call message requests, then the session status of client
It is invited in receiving.
Into in room request: previous session status is to receive to invite, and receives the receiving of user's triggering in client
Message request, and session status is that when receiving to invite, the request of call room, server packet can be transmitted into strategic server
The strategic server included receives the call room that enters that client is sent and requests, then the session status of client is become by receiving to invite
More enter in room request.
Have requested that into room: previous session status is the strategic server that server includes into room request
To client be transmitted into call room confirmation message, into call room confirmation message include the interface IP address of server (i.e.
Interface message processor (IMP) server address) and call room number, client receive strategic server transmission enter call room confirmation
Information, and session status be into room request in when, can according to enter call room confirmation message enter interface message processor (IMP) service
Call room in device, then the session status of client is changed to have requested that into room by entering in room request.
Into call room: previous session status is that call has requested that or have requested that into room that server includes
Interface message processor (IMP) server to the client send creation call room successful information, client receive interface message processor (IMP) server hair
The creation call room successful information sent, and session status is that can enter call room when conversing to have requested that, can protect simultaneously
Call room number is deposited, and notifies user that can send more people's call message requests to other users, opens audio engine, then client
The session status at end by converse have requested that be changed to enter call room;The interface message processor (IMP) server that server includes is to the client
End sends creation call room successful information, and the call room that enters that client receives the transmission of interface message processor (IMP) server is successfully believed
Breath, and session status is to have requested that into room, can open audio engine, then session status is by having requested that change into room
To enter room of conversing.
Exit in room request: for previous session status to enter call room, client is receiving user's triggering
Signal is exited, and session status is to exit call room when entering call room to the transmission of interface message processor (IMP) server and request, server
Including interface message processor (IMP) server receive that client sends exit the request of call room, then the session status of client is logical by entering
Words room is changed to exit in room request.
Exit: previous session status be exit room request in or call request in or call have requested that, service
The interface message processor (IMP) server that device includes exits call room successful information to client transmission, and client receives interface message processor (IMP) server
What is sent exits call room successful information, and session status is that when exiting in room request, can close audio engine, delete
Session is exited;The signal that exits of user's triggering is received in client, and session status is in call request or to converse
When having requested that, session can be deleted and exited.
In this way, the embodiment of the present invention is after receiving user using more people's call requests of applications trigger or receives more
Session is created after people's call message request, and using the state machine record session status in session, according between server
The session status of interaction results and state machine record determines the operation that should currently execute, utilizes state machine to realize
To creation session involved in more people call, into session, exiting session etc., all kinds of session logics are scheduled and handle, guarantee
Being normally carried out of more people's conversation sessions logics.
Correspondingly, it is shown in Figure 9, it is the Installation practice one of the more people's calls of realization provided in the embodiment of the present invention,
May include:
First state unit 901 creates session after can be used for receiving more people's call requests of user's triggering, to service
Device sends creation call room request, is in session status in call request.
In some embodiments of the invention, first state unit 901 can be specifically used for: receive the more of user's triggering
Whether judgement currently has existed session after people's call request, has existed session if so, deleting, creates session, if not,
Directly create session;Creation call room is sent to server to request, and is in session status in call request.
Second state cell 902 can be used in the creation call room confirmation message for receiving server transmission, and work as
When preceding session status is in call request, according to creation room confirmation message trigger the server creation call room, it will words shape
State is changed to call and has requested that, creation room confirmation message includes the interface IP address of server.
In some embodiments of the invention, server may include interface message processor (IMP) server, then the interface IP address of server
Including interface message processor (IMP) server address, creating room confirmation message can also include room password;Then the second state cell 902 can be with
Be specifically used for: in the creation call room confirmation message for receiving server transmission, and current sessions state is in call request
When, corresponding interface message processor (IMP) server, triggering interface message processor (IMP) server by utilizing room password creation are connected to according to machine server address
The call room of encryption, it will speech phase is changed to call and has requested that.
Third state unit 903 can be used in the creation call room successful information for receiving server transmission, and work as
When preceding session status is that call has requested that, into call room and audio engine is opened, more people's calls is sent to other users and invites
It please information, it will speech phase is changed to enter call room.
It is shown in Figure 10, it is the Installation practice two of the more people's calls of realization provided in the embodiment of the present invention, above-mentioned
On the basis of the Installation practice one for realizing more people's calls, can also include:
4th state cell 1001 can be used for exiting signal receive user's triggering, and current sessions state is
When into call room, call room is exited to server transmission and is requested, it will speech phase is changed to exit in room request.
First deletes unit 1002, can be used in the room successful information of conversing that exits for receiving server transmission, and
Current sessions state is when exiting in room request, to close audio engine, delete session.
Second deletes unit 1003, can be used for exiting signal receive user's triggering, and current sessions state is
In call request or when call has requested that, session is deleted.
In this way, the embodiment of the present invention creates session after receiving user using more people's call requests of applications trigger, and
Using the state machine record session status in session, according to the session of interaction results and state machine record between server
State determines the currently operation that should execute, thus realize using state machine to more people converse involved in creation session, into
All kinds of session logics such as enter session, exit session to be scheduled and handle, guarantees being normally carried out for more people's conversation sessions logics.
Shown in Figure 11, the Installation practice three of the more people's calls of the realization provided in the embodiment of the present invention may include:
First state unit 1101 creates session after can be used for receiving more people's call message requests, makes session status
It is invited in receiving.
In some embodiments of the invention, first state unit 1101 can be specifically used for: receiving more people's calls and invite
Please judge currently whether have existed session after information, have existed session if so, deleting, session is created, if not, directly
Session is created, session status is in and receives invitation.
Second state cell 1102, can be used for receive user triggering receive message request, and current sessions shape
State is to be transmitted into call room when receiving to invite to server and request, it will speech phase is changed to enter in room request.
Third state unit 1103 can be used in the room confirmation message of conversing that enters for receiving server transmission, and
When current sessions state is into room request, enter the call room in server according to call room confirmation message is entered
Between, it will speech phase is changed to have requested that into room, into call room confirmation message include the interface IP address of server with
And call room number.
In some embodiments of the invention, server may include interface message processor (IMP) server, and the interface IP address of server can
To include interface message processor (IMP) server address;Creating room confirmation message can also include room password;Then third state unit 1103
Can be specifically used for: in the room confirmation message of conversing that enters for receiving server transmission, and current sessions state is into room
Between request in when, according to interface message processor (IMP) server address and call room number be connected to the call room in interface message processor (IMP) server,
The call room for entering encryption using room password, session status is changed to have requested that into room.
4th state cell 1104 can be used in the room successful information of conversing that enters for receiving server transmission, and
Current sessions state is to have requested that into room, opens audio engine, it will speech phase is changed to enter call room.
It is shown in Figure 12, it is the Installation practice four of the more people's calls of realization provided in the embodiment of the present invention, above-mentioned
On the basis of the Installation practice three for realizing more people's calls, can also include:
5th state cell 1201 can be used for exiting signal receive user's triggering, and current sessions state is
When into call room, call room is exited to server transmission and is requested, it will speech phase is changed to exit in room request.
Unit 1202 is deleted, can be used in the room successful information of conversing that exits for receiving server transmission, and currently
Session status is when exiting in room request, to close audio engine, delete session.
In this way, the embodiment of the present invention creates session after receiving more people's call message requests, and utilize the shape in session
State machine recording conversation state determines current according to the session status of interaction results and state machine record between server
The operation that should be executed, to realize that session, to exit session etc. all kinds of to entering involved in more people call using state machine
Session logic is scheduled and handles, and guarantees being normally carried out for more people's conversation sessions logics.
Shown in Figure 13, the Installation practice five of the more people's calls of the realization provided in the embodiment of the present invention may include:
First receiving unit 1301, for receiving the creation call room request of client transmission, the meeting of the client
Speech phase is in call request.
First transmission unit 1302, for sending creation call room confirmation message, the creation room to the client
Between confirmation message include the interface IP address of the server, and call room is created according to the triggering of the client, made described
The session status of client is had requested that by being changed to call in call request.
Second transmission unit 1303 makes the client for sending creation call room successful information to the client
End enters the call room, and the session status of the client is had requested that by conversing and is changed to enter call room.
Second receiving unit 1304 receives the visitor when being in reception invitation for the session status in the client
What family end was sent enters room request of conversing, and the session status of the client is made to be changed to enter room request by receiving to invite
In.
Third transmission unit 1305, it is described into logical for being transmitted into call room confirmation message to the client
Words room confirmation message includes the interface IP address and call room number of server, and the client is made to enter the call room
Between, the session status of the client is changed to have requested that into room by entering in room request.
4th transmission unit 1306 makes the client for being transmitted into call room successful information to the client
The session status at end is changed to enter call room by having requested that into room.
In some embodiments of the invention, the Installation practice five of the more people's calls of the realization provided in the embodiment of the present invention
Can also include:
Third receiving unit requests for receiving the call room that exits that the client is sent, makes the client
Session status is changed to exit in room request by entering call room;
5th transmission unit deletes the client for exiting call room successful information to client transmission
Except session.
In this way, the embodiment of the present invention creates session after receiving more people's call message requests, and utilize the shape in session
State machine recording conversation state determines current according to the session status of interaction results and state machine record between server
The operation that should be executed, to realize that session, to exit session etc. all kinds of to entering involved in more people call using state machine
Session logic is scheduled and handles, and guarantees being normally carried out for more people's conversation sessions logics.
Correspondingly, it is shown in Figure 14, it is the system embodiment of the more people's calls of realization provided in the embodiment of the present invention, it can
To include:
First terminal 1401, second terminal 1402 and server 1403.
First terminal 1401 can be the Installation practice one of the more people's calls of the realization provided in above-described embodiment or realize
The Installation practice two of more people's calls.
Second terminal 1402 can be the Installation practice three of the more people's calls of the realization provided in above-described embodiment or realize
The Installation practice four of more people's calls.
Server 1403 can be the Installation practice five of the more people's calls of the realization provided in above-described embodiment.
In this way, the embodiment of the present invention is after receiving user using more people's call requests of applications trigger or receives more
Session is created after people's call message request, and using the state machine record session status in session, according between server
The session status of interaction results and state machine record determines the operation that should currently execute, utilizes state machine to realize
To creation session involved in more people call, into session, exiting session etc., all kinds of session logics are scheduled and handle, guarantee
More people's conversation sessions logics are normally carried out.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment emphasis is said
Bright is the difference from other embodiments, and the same or similar parts in each embodiment may refer to each other.For reality
For applying system or device disclosed in example, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, phase
Place is closed referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (23)
1. a kind of method for realizing more people's calls, which is characterized in that the described method includes:
Session is created after receiving more people's call requests of user's triggering, creation call room is sent to server and requests, make meeting
Speech phase is in call request;
In the creation call room confirmation message for receiving the server transmission, and presently described session status is call request
When middle, the server creation call room is triggered according to the creation room confirmation message, the session status is changed to
Call has requested that the creation room confirmation message includes the interface IP address of the server;
In the creation call room successful information for receiving the server transmission, and presently described session status is that call has been asked
When asking, into the call room and audio engine is opened, more people's call message requests are sent to other users, by the session
Status Change is to enter call room.
2. the method according to claim 1, wherein being created after the more people's call requests for receiving user's triggering
Before session, the method also includes:
Whether judgement currently has existed session, has existed session if so, deleting, then executes creation session step, if
It is no, directly execute creation session step.
3. the method according to claim 1, wherein creation room confirmation message further includes room password;
The server includes interface message processor (IMP) server, and the interface IP address of the server includes the interface message processor (IMP) server address;
It is described that the server creation call room is triggered according to the creation room confirmation message, comprising:
It is connected to corresponding interface message processor (IMP) server according to the interface message processor (IMP) server address, triggers the interface message processor (IMP) server by utilizing
The call room of the room password creation encryption.
4. the method according to claim 1, wherein the method also includes:
In the signal that exits for receiving user's triggering, and presently described session status is when entering call room, to the service
The request of call room is exited in device transmission, and the session status is changed to exit in room request;
In the room successful information of conversing that exits for receiving the server transmission, and presently described session status is to exit room
When in request, the audio engine is closed, deletes the session.
5. the method according to claim 1, wherein the method also includes:
In the signal that exits for receiving user's triggering, and presently described session status is in call request or call has requested that
When, delete the session.
6. a kind of method for realizing more people's calls, which is characterized in that the described method includes:
Session is created after receiving more people's call message requests, session status is in and receives invitation;
In the message request that receives for receiving user's triggering, and presently described session status is when receiving to invite, to send out to server
It is fed into the request of call room, the session status is changed to enter in room request;
In the room confirmation message of conversing that enters for receiving the server transmission, and presently described session status is into room
When in request, the call room in server is entered according to the call room confirmation message that enters, the session status is become
More had requested that into room, it is described to enter the interface IP address and call room that call room confirmation message includes server
Number;
In the room successful information of conversing that enters for receiving the server transmission, and presently described session status is into room
It has requested that, opens audio engine, the session status is changed to enter call room.
7. according to the method described in claim 6, converse after message requests it is characterized in that, receiving more people, creation session it
Before, the method also includes:
Whether judgement currently has existed session, has existed session if so, deleting, then executes creation session step, if
It is no, directly execute creation session step.
8. according to the method described in claim 6, it is characterized in that, creation room confirmation message further includes room password;
The server includes interface message processor (IMP) server, and the interface IP address of the server includes the interface message processor (IMP) server address;
It is described that call room in server is entered according to the call room confirmation message that enters, comprising:
It is connected to the call room in interface message processor (IMP) server according to the interface message processor (IMP) server address and the call room number,
Enter the call room of encryption using the room password.
9. according to the method described in claim 6, it is characterized in that, the method also includes:
In the signal that exits for receiving user's triggering, and presently described session status is when entering call room, to the service
The request of call room is exited in device transmission, and the session status is changed to exit in room request;
In the room successful information of conversing that exits for receiving the server transmission, and presently described session status is to exit room
When in request, the audio engine is closed, deletes the session.
10. a kind of method for realizing more people's calls, which is characterized in that the described method includes:
The creation call room request that client is sent is received, the session status of the client is in call request;
Creation call room confirmation message is sent to the client, the creation room confirmation message includes the interface of server
Address, and call room is created according to the triggering of the client, make the session status of the client by becoming in call request
More call has requested that;
Creation call room successful information is sent to the client, the client is made to enter the call room, the visitor
The session status at family end by converse have requested that be changed to enter call room;
When the session status of the client is in and receives invitation, receives the call room that enters that the client is sent and ask
It asks, the session status of the client is made to be changed to enter in room request by receiving to invite;
It is transmitted into call room confirmation message to the client, the call room confirmation message that enters includes server
Interface IP address and call room number make the client enter the call room, the session status of the client by into
Enter and is changed to have requested that into room in room request;
It is transmitted into call room successful information to the client, makes the session status of the client by having asked into room
It asks and is changed to enter call room.
11. according to the method described in claim 10, it is characterized in that, the method also includes:
It receives the call room that exits that the client is sent to request, makes the session status of the client by entering room of conversing
It is changed to exit in room request;
Call room successful information is exited to client transmission, the client is made to delete session.
12. a kind of device for realizing more people call, which is characterized in that described device includes:
First state unit sends to server and creates for creating session after receiving more people's call requests that user triggers
The request of call room, is in session status in call request;
Second state cell, for conversing room confirmation message receiving the creation that the server is sent, and it is presently described
When session status is in call request, call room is created according to creation room confirmation message trigger the server, it will be described
Session status is changed to call and has requested that, the creation room confirmation message includes the interface IP address of server;
Third state unit, for conversing room successful information receiving the creation that the server is sent, and it is presently described
When session status is that call has requested that, into the call room and audio engine is opened, sends more people's calls to other users
The session status is changed to enter call room by message request.
13. device according to claim 12, which is characterized in that the first state unit is specifically used for:
Whether judgement currently has existed session after receiving more people's call requests of user's triggering, has deposited if so, deleting
In session, session is created, if not, directly creating session;Creation call room is sent to server to request, and is made at session status
In call request.
14. device according to claim 12, which is characterized in that creation room confirmation message further includes that room is close
Code;The server includes interface message processor (IMP) server, and the interface IP address of the server includes the interface message processor (IMP) server address;
Second state cell is specifically used for:
In the creation call room confirmation message for receiving the server transmission, and presently described session status is call request
When middle, corresponding interface message processor (IMP) server is connected to according to the interface message processor (IMP) server address, triggers the interface message processor (IMP) server benefit
With the call room of room password creation encryption, the session status is changed to call and is had requested that.
15. device according to claim 12, which is characterized in that described device further include:
4th state cell, for exiting signal receive user's triggering, and presently described session status is to enter call
When room, the request of call room is exited in the transmission of Xiang Suoshu server, and the session status is changed to exit in room request;
First deletes unit, for exiting call room successful information receive that the server sends, and it is presently described
Session status is when exiting in room request, to close the audio engine, delete the session.
16. device according to claim 12, which is characterized in that described device further include:
Second deletes unit, and for exiting signal receive user's triggering, and presently described session status is call request
In or call when having requested that, delete the session.
17. a kind of device for realizing more people call, which is characterized in that described device includes:
First state unit is in session status and receives invitation for creating session after receiving more people's call message requests;
Second state cell, for receiving message request receive user's triggering, and presently described session status is to receive
When invitation, call room being transmitted into server and is requested, the session status is changed to enter in room request;
Third state unit, for entering call room confirmation message receive that the server sends, and it is presently described
When session status is into room request, the call room in server is entered according to the call room confirmation message that enters
Between, the session status is changed to have requested that into room, the call room confirmation message that enters includes connecing for server
Port address and call room number;
4th state cell, for entering call room successful information receive that the server sends, and it is presently described
Session status is to have requested that into room, opens audio engine, and the session status is changed to enter call room.
18. device according to claim 17, which is characterized in that the first state unit is specifically used for:
Whether judgement currently has existed session after receiving more people's call message requests, has existed session if so, deleting,
Session is created, if not, directly creating session, session status is in and receives invitation.
19. device according to claim 17, which is characterized in that creation room confirmation message further includes that room is close
Code;The server includes interface message processor (IMP) server, and the interface IP address of the server includes the interface message processor (IMP) server address;
The third state unit is specifically used for:
In the room confirmation message of conversing that enters for receiving the server transmission, and presently described session status is into room
When in request, the call in interface message processor (IMP) server is connected to according to the interface message processor (IMP) server address and the call room number
Room enters the call room of encryption using the room password, it will speech phase is changed to have requested that into room.
20. device according to claim 17, which is characterized in that described device further include:
5th state cell, for exiting signal receive user's triggering, and presently described session status is to enter call
When room, the request of call room is exited in the transmission of Xiang Suoshu server, and the session status is changed to exit in room request;
Unit is deleted, for exiting call room successful information, and presently described session receive that the server sends
State is when exiting in room request, to close the audio engine, delete the session.
21. a kind of device for realizing more people call, which is characterized in that described device includes:
First receiving unit makes the session status of the client for receiving the creation call room request of client transmission
In call request;
First transmission unit, for sending creation call room confirmation message, creation room confirmation letter to the client
Breath includes the interface IP address of server, and creates call room according to the triggering of the client, makes the session of the client
State is had requested that by being changed to call in call request;
Second transmission unit makes the client enter institute for sending creation call room successful information to the client
State call room, the session status of the client is had requested that by conversing and is changed to enter call room;
Second receiving unit when being in reception invitation for the session status in the client, receives the client and sends
Enter call room request, make the session status of the client by receive invite be changed to enter room request in;
Third transmission unit, it is described true into call room for being transmitted into call room confirmation message to the client
Recognize the interface IP address and call room number that information includes server, the client is made to enter the call room, the visitor
The session status at family end is changed to have requested that into room by entering in room request;
4th transmission unit makes the session of the client for being transmitted into call room successful information to the client
State is changed to enter call room by having requested that into room.
22. device according to claim 21, which is characterized in that described device further include:
Third receiving unit requests for receiving the call room that exits that the client is sent, makes the session of the client
State is changed to exit in room request by entering call room;
5th transmission unit makes the client delete meeting for exiting call room successful information to client transmission
Words.
23. a kind of system for realizing more people's calls, which is characterized in that the system comprises:
First terminal, second terminal and server;
The first terminal is the described in any item devices for realizing more people's calls of claim 12-16;
The second terminal is the described in any item devices for realizing more people's calls of claim 17-20;
The server is the device of the more people's calls of realization described in claim 21 or 22.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410431492.XA CN105471704B (en) | 2014-08-28 | 2014-08-28 | A kind of method, apparatus and system for realizing more people's calls |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410431492.XA CN105471704B (en) | 2014-08-28 | 2014-08-28 | A kind of method, apparatus and system for realizing more people's calls |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105471704A CN105471704A (en) | 2016-04-06 |
CN105471704B true CN105471704B (en) | 2019-05-31 |
Family
ID=55609009
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410431492.XA Active CN105471704B (en) | 2014-08-28 | 2014-08-28 | A kind of method, apparatus and system for realizing more people's calls |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105471704B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105610950B (en) * | 2015-12-30 | 2020-07-24 | 腾讯科技(深圳)有限公司 | Conversation processing method and system in motorcade trip |
CN108616486B (en) * | 2016-12-09 | 2020-09-01 | 展讯通信(上海)有限公司 | Method and device for providing user state in multi-party call and mobile terminal |
CN107104976B (en) * | 2017-05-22 | 2024-02-27 | 咪咕音乐有限公司 | Method and device for realizing music interaction between music rooms |
CN107302745A (en) * | 2017-06-27 | 2017-10-27 | 捷开通讯(深圳)有限公司 | A kind of multi-person speech control method, handheld terminal and the device with store function |
CN108092868A (en) * | 2017-12-13 | 2018-05-29 | 上海曼恒数字技术股份有限公司 | One kind is based on remote-operated network-building method, device, equipment and storage medium |
CN110620672B (en) * | 2018-06-19 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Multi-person session data processing method and device, computer equipment and storage medium |
CN109771955B (en) * | 2019-01-17 | 2022-03-18 | 腾讯科技(深圳)有限公司 | Invitation request processing method, device, terminal and storage medium |
CN110740161B (en) * | 2019-08-30 | 2022-05-13 | 武汉烽火众智数字技术有限责任公司 | System and method for adapting converged communication |
CN111343079B (en) * | 2020-02-24 | 2022-05-17 | 北京字节跳动网络技术有限公司 | Method and device for carrying out voice call |
CN111371993A (en) * | 2020-03-13 | 2020-07-03 | 腾讯科技(深圳)有限公司 | Image shooting method and device, computer equipment and storage medium |
CN112153056A (en) * | 2020-09-25 | 2020-12-29 | 五八到家有限公司 | Data processing method and server side equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1976322A (en) * | 2006-12-08 | 2007-06-06 | 王先来 | Method and system for realizing multimedia immediate communicating and control flow |
CN102177507A (en) * | 2008-10-09 | 2011-09-07 | 夏普株式会社 | Communication terminal that communicates via a communication network |
CN103023913A (en) * | 2012-12-26 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Voice communication establishment method, device and system |
CN103347003A (en) * | 2013-06-19 | 2013-10-09 | 腾讯科技(深圳)有限公司 | Voice interconnection method, device and system |
CN103888792A (en) * | 2014-02-24 | 2014-06-25 | 四川长虹电器股份有限公司 | Method and system for quickly establishing groups or discussion groups |
-
2014
- 2014-08-28 CN CN201410431492.XA patent/CN105471704B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1976322A (en) * | 2006-12-08 | 2007-06-06 | 王先来 | Method and system for realizing multimedia immediate communicating and control flow |
CN102177507A (en) * | 2008-10-09 | 2011-09-07 | 夏普株式会社 | Communication terminal that communicates via a communication network |
CN103023913A (en) * | 2012-12-26 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Voice communication establishment method, device and system |
CN103347003A (en) * | 2013-06-19 | 2013-10-09 | 腾讯科技(深圳)有限公司 | Voice interconnection method, device and system |
CN103888792A (en) * | 2014-02-24 | 2014-06-25 | 四川长虹电器股份有限公司 | Method and system for quickly establishing groups or discussion groups |
Also Published As
Publication number | Publication date |
---|---|
CN105471704A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105471704B (en) | A kind of method, apparatus and system for realizing more people's calls | |
US10635449B2 (en) | Method and apparatus for running game client | |
US10304461B2 (en) | Remote electronic service requesting and processing method, server, and terminal | |
CN104519485B (en) | Communication means, device and system between a kind of terminal | |
CN104978176B (en) | Application programming interfaces call method, device and computer readable storage medium | |
CN105024984B (en) | Authority setting method, apparatus and system | |
CN104618217B (en) | Share method, terminal, server and the system of resource | |
CN104427074B (en) | A kind of methods, devices and systems for showing incoming information | |
CN106371689B (en) | Picture joining method, apparatus and system | |
CN104954233B (en) | Information-pushing method, device and system | |
US9363300B2 (en) | Systems and methods for voice communication | |
CN105207896A (en) | Internet calling method and device | |
CN109309614A (en) | A kind of message modification method, mobile terminal, server and storage medium | |
CN107786424A (en) | Audio/video communication method, terminal and server | |
CN106775262A (en) | A kind of method and system of mark display management of not interpreting blueprints | |
CN106303605B (en) | A kind of methods, devices and systems to send a notification message | |
CN108829444A (en) | A kind of method that background application is automatically closed, terminal and computer storage medium | |
CN104917905B (en) | Processing method, terminal and the server of Stranger Calls | |
CN109669662A (en) | A kind of pronunciation inputting method, device, storage medium and mobile terminal | |
CN104573437A (en) | Information authentication method, device and terminal | |
CN104753672B (en) | The method, apparatus and terminal of account authorization | |
CN105721282B (en) | Message display method and device | |
CN105553718B (en) | Guidance information display methods and device | |
CN105991405B (en) | A kind of method for building up and device of instant messaging | |
CN109086595A (en) | A kind of business account switching method, system, device and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240104 Address after: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TR01 | Transfer of patent right |