CN104539871A - Multimedia call method and device - Google Patents

Multimedia call method and device Download PDF

Info

Publication number
CN104539871A
CN104539871A CN201410808667.4A CN201410808667A CN104539871A CN 104539871 A CN104539871 A CN 104539871A CN 201410808667 A CN201410808667 A CN 201410808667A CN 104539871 A CN104539871 A CN 104539871A
Authority
CN
China
Prior art keywords
electronic equipment
multimedia session
passage
recording
data
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.)
Granted
Application number
CN201410808667.4A
Other languages
Chinese (zh)
Other versions
CN104539871B (en
Inventor
刘小华
陈臻
尚进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410808667.4A priority Critical patent/CN104539871B/en
Publication of CN104539871A publication Critical patent/CN104539871A/en
Application granted granted Critical
Publication of CN104539871B publication Critical patent/CN104539871B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Telephonic Communication Services (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a multimedia call method and device, and belongs to the field of multimedia communication. The multimedia call method includes the steps that whether a multimedia call channel which is requested to be established between first electronic equipment and second electronic equipment is in an established state or not is detected; if the multimedia call channel which is requested to be established is in the established state, before the multimedia call channel is successfully established, a recording mode corresponding to the multimedia call channel is used for recording; recorded data are sent to the second electronic equipment. Before the multimedia call channel between the first electronic equipment and the second electronic equipment is successfully established, the recording mode corresponding to the multimedia call channel is used for recording, and the recorded data are sent to the second electronic equipment, so that the problem that usability is poor because an audio/video chat cannot be established successfully in related technologies is solved, and the effect of improving the usability of the audio/video chat is achieved.

Description

Multimedia session method and device
Technical field
The disclosure relates to field of multimedia communication, particularly a kind of multimedia session method and device.
Background technology
Along with the fast development of mobile Internet, live chat application program becomes the indispensable communication tool of people.Utilize this kind of application program, people can carry out video, voice or text chat by network.
When user utilizes the client at place to initiate video or voice-enabled chat connection to the other side, if the other side is not online, this video or the talking path corresponding to voice-enabled chat then cannot successfully be connected, now this client then ejects for pointing out the prompting frame forbidding connecting, and points out the other side good friend current not online simultaneously.
Summary of the invention
In order to solve the problem in correlation technique, the disclosure provides a kind of multimedia session method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of multimedia session method, be applied in the first electronic equipment, described method comprises:
Whether the multimedia session passage that the request of detection is set up between described first electronic equipment and the second electronic equipment is in is set up state;
If set up state described in the described multimedia session passage that request is set up between described first electronic equipment and the second electronic equipment is in, then when described multimedia session passage is not successfully established, the recording mode corresponding with described multimedia session passage is utilized to record;
The data of recording are sent to described second electronic equipment.
Optionally, described multimedia session passage is video calling passage, and described method also comprises:
If ask the described multimedia session passage set up between described first electronic equipment and the second electronic equipment to be in successfully set up state, then when the speech quality of described multimedia session passage is worse than predetermined speech quality, close the recording function of camera in described first electronic equipment, the data of microphone records in described first electronic equipment are sent to described second electronic equipment by described multimedia session passage.
Optionally, described method also comprises:
When the speech quality of described multimedia session passage is worse than described predetermined speech quality, audio frequency call mode pointed out by described first electronic equipment, and after described voice-frequency telephony pattern is selected, perform the recording function of camera in described first electronic equipment of described closedown, the data of microphone records in described first electronic equipment are sent to the step of described second electronic equipment by described multimedia session passage.
Optionally, the described data by recording send to described second electronic equipment, comprising:
Send communication information to described second electronic equipment, described communication information comprises the described data of recording.
Optionally, the described utilization recording mode corresponding with described multimedia session passage is recorded, and comprising:
When described multimedia session passage is voice-frequency telephony passage, then utilize audio recording pattern recording audio data;
When described multimedia session passage is video calling passage, then utilize video recording mode recorded video data;
Wherein, described voice-frequency telephony passage is for transmitting the voice data of microphone records, described video calling passage is for the front one in the video data of transmission camera recording and the voice data of microphone records or whole two kinds, described audio recording pattern is used to indicate and utilizes the microphone in described first electronic equipment to record, and described video recording mode is used to indicate and utilizes the camera in described first electronic equipment and the front one in microphone or whole two kinds to record.
According to the second aspect of disclosure embodiment, provide a kind of multimedia session device, be applied in the first electronic equipment, described device comprises:
Whether detection module, be configured to detect and ask the multimedia session passage set up between described first electronic equipment and the second electronic equipment to be in set up state;
Record module, be configured to described detection module detect ask the described multimedia session passage set up between described first electronic equipment and the second electronic equipment be in described in set up state, then when described multimedia session passage is not successfully established, the recording mode corresponding with described multimedia session passage is utilized to record;
First sending module, the data be configured to described recording module is recorded send to described second electronic equipment.
Optionally, described multimedia session passage is video calling passage, and described device also comprises:
Second sending module, be configured to ask the described multimedia session passage set up between described first electronic equipment and the second electronic equipment to be in and successfully set up state, then when the speech quality of described multimedia session passage is worse than predetermined speech quality, close the recording function of camera in described first electronic equipment, the data of microphone records in described first electronic equipment are sent to described second electronic equipment by described multimedia session passage.
Optionally, described device also comprises:
Reminding module, be configured to when the speech quality of described multimedia session passage is worse than described predetermined speech quality, audio frequency call mode pointed out by described first electronic equipment, and after described voice-frequency telephony pattern is selected, trigger the recording function that described second sending module performs camera in described first electronic equipment of described closedown, the data of microphone records in described first electronic equipment are sent to the step of described second electronic equipment by described multimedia session passage.
Optionally, described first sending module, is also configured to:
Send communication information to described second electronic equipment, described communication information comprises the described data of recording.
Optionally, described recording module, comprising:
First records submodule, is configured to when described multimedia session passage is voice-frequency telephony passage, then utilize audio recording pattern recording audio data;
Second records submodule, is configured to when described multimedia session passage is video calling passage, then utilize video recording mode recorded video data;
Wherein, described voice-frequency telephony passage is for transmitting the voice data of microphone records, described video calling passage is for the front one in the video data of transmission camera recording and the voice data of microphone records or whole two kinds, described audio recording pattern is used to indicate and utilizes the microphone in described first electronic equipment to record, and described video recording mode is used to indicate and utilizes the camera in described first electronic equipment and the front one in microphone or whole two kinds to record.
According to the third aspect of disclosure embodiment, provide a kind of multimedia session device, be applied in the first electronic equipment, described device comprises:
Processor;
For storing the memory of described processor executable;
Wherein, described processor is configured to:
Whether the multimedia session passage that the request of detection is set up between described first electronic equipment and the second electronic equipment is in is set up state;
If set up state described in the described multimedia session passage that request is set up between described first electronic equipment and the second electronic equipment is in, then when described multimedia session passage is not successfully established, the recording mode corresponding with described multimedia session passage is utilized to record;
The data of recording are sent to described second electronic equipment.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
When not being successfully established by the multimedia session passage set up in the first electronic equipment and the second electronic equipment, utilizing the recording module corresponding with multimedia session passage to record, and the data of recording are sent to the second electronic equipment; During owing to can not be successfully established at the multimedia session passage set up in the first electronic equipment and the second electronic equipment, preferentially record in the first electronic equipment, and the data preferentially recorded are sent to the second electronic equipment, therefore solve in correlation technique because audio frequency and video chat cannot successfully connect the problem of the poor availability caused; Reach the effect of the availability that improve audio frequency and video chat.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows and meets embodiment of the present disclosure, and is used from specification one and explains principle of the present disclosure.
Fig. 1 is the schematic diagram of the implementation environment involved by a kind of multimedia session method according to exemplary partial embodiment;
Fig. 2 is the flow chart of a kind of multimedia session method according to an exemplary embodiment;
Fig. 3 A is the flow chart of a kind of multimedia session method according to another exemplary embodiment;
Fig. 3 B is a kind of schematic diagram carrying out recording switching when the unsuccessful connection of multimedia session passage according to an exemplary embodiment;
Fig. 3 C switches to the schematic diagram of voice calling mode when being a kind of difference of the speech quality in video calling pattern according to an exemplary embodiment;
Fig. 4 is the block diagram of a kind of multimedia session device according to an exemplary embodiment;
Fig. 5 is the block diagram of a kind of multimedia session device according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of multimedia session device Gen Ju an exemplary embodiment again.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the schematic diagram of the implementation environment involved by a kind of multimedia session method according to exemplary partial embodiment, and as shown in Figure 1, this implementation environment can comprise the first electronic equipment 120 and the second electronic equipment 140.
The multimedia session passage 160 of foundation can be utilized to carry out the transmission of multi-medium data between first electronic equipment 120 and the second electronic equipment 140.
First electronic equipment 120 and the second electronic equipment 140 by cable network mode, also can pass through wireless network mode when setting up multimedia session passage 160.
First electronic equipment 120 and the second electronic equipment 140 all can for having the smart mobile phone, mobile phone, desktop computer, panel computer, multimedia player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet etc. of multimedia session function.
Fig. 2 is the flow chart of a kind of multimedia session method according to an exemplary embodiment, and as shown in Figure 2, this multimedia session method is applied in the first electronic equipment 120 in the implementation environment shown in Fig. 1, comprises the following steps.
In step 201, whether the multimedia session passage that the request that detects is set up between the first electronic equipment and the second electronic equipment is in is set up state.
In step 202., if ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in set up state, then when multimedia session passage is not successfully established, the recording mode corresponding with multimedia session passage is utilized to record.
In step 203, the data of recording are sent to the second electronic equipment.
In sum, the multimedia session method provided in disclosure embodiment, when not being successfully established by the multimedia session passage set up in the first electronic equipment and the second electronic equipment, utilize the recording module corresponding with multimedia session passage to record, and the data of recording are sent to the second electronic equipment; During owing to can not be successfully established at the multimedia session passage set up in the first electronic equipment and the second electronic equipment, preferentially record in the first electronic equipment, and the data preferentially recorded are sent to the second electronic equipment, therefore solve in correlation technique because audio frequency and video chat cannot successfully connect the problem of the poor availability caused; Reach the effect of the availability that improve audio frequency and video chat.
Fig. 3 A is the flow chart of a kind of multimedia session method according to another exemplary embodiment, and as shown in Figure 3, this multimedia session method is applied in the first electronic equipment 120 in the implementation environment shown in Fig. 1, comprises the following steps.
In step 301, whether the multimedia session passage that the request that detects is set up between the first electronic equipment and the second electronic equipment is in is set up state.
Multimedia session passage can be voice call passage or video calling passage, wherein voice call passage is used for the speech data of real-time Transmission microphone real-time recording, and video calling passage is for the front one in the video data of real-time Transmission camera real-time recording and the speech data of microphone real-time recording or whole two kinds.
That is, ask the voice call passage set up here after successfully setting up, may be used for the speech data of the microphone real-time recording at least one electronic equipment in transmission first electronic equipment and the second electronic equipment.Here ask the video calling passage set up after successfully setting up, may be used for the front one at least one electronic equipment in transmission first electronic equipment and the second electronic equipment in the video data of camera real-time recording and the speech data of microphone real-time recording or whole two kinds.
General, synchronization, only can ask between the first electronic device and the second electronic device or successfully set up a kind of multimedia session passage.Such as, synchronization, only can ask between the first electronic device and the second electronic device or successfully set up voice-frequency telephony passage; Also such as, synchronization, only can ask between the first electronic device and the second electronic device or successfully set up video calling passage.
Usually, when the user of the first electronic equipment end wants to carry out voice-enabled chat or Video chat with the user of the second electronic equipment end, then the first electronic equipment needs to send for asking the foundation request of setting up multimedia session passage between the first electronic equipment and the second electronic equipment to the second electronic equipment, when the second electronic equipment end does not also receive this foundation request, or when the second electronic equipment receives this foundation request but this foundation request is not also responded by the user of the second electronic equipment end, then this multimedia session passage is in and sets up state.Also namely, multimedia session passage now is not yet successfully established.
In step 302, if ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in set up state, then when multimedia session passage is not successfully established, the recording mode corresponding with multimedia session passage is utilized to record; The data of recording are sent to the second electronic equipment.
If ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in set up state, and this multimedia session passage follow-up is not successfully established in scheduled duration, then in order to ensure that the second electronic equipment end can receive speech data or the video data that the first electronic equipment end subscriber wants recording as far as possible, then the first electronic equipment can utilize the recording mode corresponding with this multimedia session passage to record.
Optionally, the reason that this multimedia session passage follow-up is not successfully established in scheduled duration can be: the first reason, second electronic equipment is when receiving this foundation request and show selection prompting (usually can comprise and turn off this foundation request and receive this foundation request) for user, user selects to hang up this foundation request, and now this multimedia session passage is not then successfully established; The second reason, second electronic equipment is when receiving this foundation request and show selection prompting for user, this selection of the non-summary responses of user is pointed out, and now system can select the foundation of this multimedia session passage of retry, until all unsuccessful foundation in scheduled duration.
Optionally, when multimedia session passage is not successfully established, recording prompting is carried out in the display of the first electronic equipment place, and such as speech play records prompting, or on interface, show recording prompting, or sends " drip " prompt tone etc. by the shape of putting outward.Like this, the user of the first electronic equipment end points out according to this recording, utilizes the recording arrangement corresponding with multimedia session passage to record.
Wherein, when multimedia session passage is voice call passage, the recording arrangement corresponding with this multimedia session passage is microphone; When multimedia session passage is video calling passage, the recording arrangement corresponding with this multimedia session passage comprises a kind of before in camera and microphone or whole two kinds.
Optionally, the first electronic equipment, when utilizing the recording mode corresponding with multimedia session passage to record, can comprise the following two kinds situation:
In the first situation, when multimedia session passage is voice-frequency telephony passage, then utilize audio recording pattern recording audio data;
In the second situation, when multimedia session passage is video calling passage, then utilize video recording mode recorded video data;
Wherein, voice-frequency telephony passage is used for the voice data of real-time Transmission microphone records, video calling passage is for the front one in the video data of real-time Transmission camera recording and the voice data of microphone records or whole two kinds, audio recording pattern is used to indicate and utilizes the microphone in the first electronic equipment to record, and video recording mode is used to indicate and utilizes the front one in the camera in the first electronic equipment and microphone or whole two kinds to record.
Optionally, when the data of recording are sent to the second electronic equipment by the first electronic equipment, can comprise: send communication information to the second electronic equipment, communication information comprises the data of recording.Also namely by the form of message, the data of recording are sent to opposite end.
In a kind of use scenes, if the first user of the first electronic equipment end is wanted to carry out voice-enabled chat with the second user of the second electronic equipment end, then first user utilizes the first electronic equipment to initiate voice-enabled chat request to the second electronic equipment, namely voice call passage is set up in request, if this voice call passage is not successfully established, then the first electronic device prompts first user carries out voice recording, open the recording function of microphone, microphone gathers the speech data that first user is recorded, this speech data (speech data being convenient to transmit normally processed) is sent to the second electronic equipment by the form of communication information by the first electronic equipment, second electronics arranges and can show this speech data, after user selects to play this speech data, second electronic equipment then utilizes this speech data of audio player plays.
In another kind of use scenes, if the first user of the first electronic equipment end is wanted to carry out Video chat with the second user of the second electronic equipment end, then first user utilizes the first electronic equipment to initiate Video chat request to the second electronic equipment, namely video calling passage is set up in request, if this video calling passage is not successfully established, then the first electronic device prompts first user carries out video record, open the recording function of camera and microphone, the view data that camera collection first user is recorded, microphone gathers the speech data that first user is recorded simultaneously, this view data and this speech data are carried out overlap-add procedure by the first electronic equipment, obtain video data, and by the form of communication information, this video data is sent to the second electronic equipment, second electronics arranges and can show this video data, after user selects to play this video data, second electronic equipment then utilizes video player to play this video data.
For example, refer to shown in Fig. 3 B, it is a kind of schematic diagram carrying out recording switching when the unsuccessful connection of multimedia session passage according to an exemplary embodiment.According to Fig. 3 B, first, the first electronic equipment sends voice-frequency telephony request, and namely voice-frequency telephony passage is set up in request; Then, when this voice-frequency telephony passage is not successfully established, then on the first electronic equipment, the reason be not successfully established is shown, such as " addressee refuses receives this call request " or " the other side is not online " etc.; Finally, the first electronic equipment carries out recording prompting, and the recording mode of user corresponding to multimedia session is recorded, corresponding, the first electronic equipment receives this data recording, and this data recording is sent to opposite end with the form of communication information.The communication information 32 shown in Fig. 3 B is the voice data that the first electronic equipment is recorded.
In step 303, if ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in successfully to set up state and multimedia session passage is video calling passage time, then when the speech quality of multimedia session passage is worse than predetermined speech quality, close the recording function of camera in the first electronic equipment, the data of microphone records in the first electronic equipment are sent to the second electronic equipment by multimedia session passage.
If ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in successfully set up state, show that this multimedia session passage may be used for transmitting the multi-medium data of real-time recording, but the speech quality due to this multimedia session passage is limited by the restriction of network quality, its speech quality is easily affected, and such as speech quality is worse than predetermined speech quality.
For example, when the speech quality of multimedia session passage is poor, may occur that sound card pauses, video frame-skipping, picture sound are asynchronous etc., the good predetermined speech quality of speech quality is then respectively speech play smoothness, video playback smoothness, picture synchronous sound etc.
Optionally, when the speech quality detecting multimedia session passage is worse than predetermined speech quality, the situation the such as whether speech quality that can detect multimedia session passage exists that sound card pauses, video frame-skipping, picture sound are asynchronous, if existed, then judge that the speech quality of this multimedia session passage is worse than predetermined speech quality.
Usually, when multimedia session is video calling, because the transmission data of video are many, easily taking network causes speech quality poor, therefore in order to ensure call as much as possible, video calling can be switched to voice-frequency telephony, but in order to avoid re-establishing talking path, therefore can directly the recording function of the camera involved by video calling be closed, and only retain the recording function of microphone records in video calling, and the data of microphone records are sent to the second electronic equipment by original video calling passage.
In sum, the multimedia session method provided in disclosure embodiment, when not being successfully established by the multimedia session passage set up in the first electronic equipment and the second electronic equipment, utilize the recording module corresponding with multimedia session passage to record, and the data of recording are sent to the second electronic equipment; During owing to can not be successfully established at the multimedia session passage set up in the first electronic equipment and the second electronic equipment, preferentially record in the first electronic equipment, and the data preferentially recorded are sent to the second electronic equipment, therefore solve in correlation technique because audio frequency and video chat cannot successfully connect the problem of the poor availability caused; Reach the effect of the availability that improve audio frequency and video chat.
The multimedia session method provided in disclosure embodiment, after being successfully established by the multimedia session passage set up in the first electronic equipment and the second electronic equipment, if multimedia session passage be video calling passage and the speech quality of multimedia session passage is worse than predetermined speech quality time, then close the recording function of camera in the first electronic equipment, the data of microphone records in first electronic equipment are sent to the second electronic equipment by multimedia session passage, voice call is changed to by video calling, to reduce taking network broadband, improve speech quality.
In the optional implementation of one, when multimedia session passage is video calling passage and the speech quality of multimedia session passage is worse than predetermined speech quality, pattern switch prompting can also be carried out, namely on the first electronic equipment, audio frequency call mode is pointed out, namely for pointing out user whether to select to switch to voice-frequency telephony pattern, and after voice-frequency telephony pattern is selected, perform the recording function of camera in closedown first electronic equipment, the data of microphone records in the first electronic equipment are sent to the step of the second electronic equipment by multimedia session passage.
For example, refer to shown in Fig. 3 C, when it is a kind of difference of the speech quality in video calling pattern according to an exemplary embodiment, switch to the schematic diagram of voice calling mode.According to Fig. 3 C, first, the first electronic equipment sends call request, and namely multimedia session passage is set up in request; Then, when this multimedia session passage is successfully established, detect the speech quality of this multimedia session passage, when speech quality is poor, such as unstable networks etc., display mode switch prompting 34 on the first electronic equipment, in such as Fig. 3 C " current network is unstable; click and be switched to audio mode ", " being switched to audio mode " wherein can be can by the control of user's touch-control; After user triggers " being switched to audio mode ", first electronic equipment switches to audio mode, i.e. voice-enabled chat pattern, now the first electronic equipment cuts out the recording function of camera in the first electronic equipment, and the data of microphone records are sent to opposite end by this multimedia session passage.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4 is the block diagram of a kind of multimedia session device according to an exemplary embodiment, as shown in Figure 4, in first electronic equipment 120 of this multimedia session application of installation in implementation environment shown in Fig. 1, this multimedia session device includes but not limited to: detection module 402, recording module 404 and the first sending module 406.
Whether this detection module 402, be configured to detect and ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in set up state;
This recording module 404, be configured to detect that asking the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in sets up state at detection module 402, then when multimedia session passage is not successfully established, the recording mode corresponding with multimedia session passage is utilized to record;
This first sending module 406, the data be configured to recording module 404 is recorded send to the second electronic equipment.
In sum, the multimedia session device provided in disclosure embodiment, when not being successfully established by the multimedia session passage set up in the first electronic equipment and the second electronic equipment, utilize the recording module corresponding with multimedia session passage to record, and the data of recording are sent to the second electronic equipment; During owing to can not be successfully established at the multimedia session passage set up in the first electronic equipment and the second electronic equipment, preferentially record in the first electronic equipment, and the data preferentially recorded are sent to the second electronic equipment, therefore solve in correlation technique because audio frequency and video chat cannot successfully connect the problem of the poor availability caused; Reach the effect of the availability that improve audio frequency and video chat.
Fig. 5 is the block diagram of a kind of multimedia session device according to another exemplary embodiment, as shown in Figure 5, in first electronic equipment 120 of this multimedia session application of installation in implementation environment shown in Fig. 1, this multimedia session device includes but not limited to: detection module 502, recording module 504 and the first sending module 506.
Whether this detection module 502, be configured to detect and ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in set up state;
This recording module 504, be configured to detect that asking the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in sets up state at detection module 502, then when multimedia session passage is not successfully established, the recording mode corresponding with multimedia session passage is utilized to record;
This first sending module 506, the data be configured to recording module 504 is recorded send to the second electronic equipment.
In the optional implementation of one, multimedia session passage is video calling passage, and this multimedia session device also comprises: the second sending module 508.
Second sending module 508, be configured to ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in and successfully set up state, then when the speech quality of multimedia session passage is worse than predetermined speech quality, close the recording function of camera in the first electronic equipment, the data of microphone records in the first electronic equipment are sent to the second electronic equipment by multimedia session passage.
In the optional implementation of one, this multimedia session device also comprises: reminding module 510.
Reminding module 510, be configured to when the speech quality of multimedia session passage is worse than predetermined speech quality, first electronic equipment is pointed out audio frequency call mode, and after voice-frequency telephony pattern is selected, trigger the recording function that the second sending module 508 performs camera in closedown first electronic equipment, the data of microphone records in the first electronic equipment are sent to the step of the second electronic equipment by multimedia session passage.
In the optional implementation of one, the first sending module 506, is also configured to:
Send communication information to the second electronic equipment, communication information comprises the data of recording.
In the optional implementation of one, record module 504, comprising: first records submodule 504a and second records submodule 504b.
First records submodule 504a, is configured to when multimedia session passage is voice-frequency telephony passage, then utilizes audio recording pattern recording audio data;
Second records submodule 504b, is configured to when multimedia session passage is video calling passage, then utilize video recording mode recorded video data;
Wherein, voice-frequency telephony passage is for transmitting the voice data of microphone records, video calling passage is for the front one in the video data of transmission camera recording and the voice data of microphone records or whole two kinds, audio recording pattern is used to indicate and utilizes the microphone in the first electronic equipment to record, and video recording mode is used to indicate and utilizes the front one in the camera in the first electronic equipment and microphone or whole two kinds to record.
In sum, the multimedia session device provided in disclosure embodiment, when not being successfully established by the multimedia session passage set up in the first electronic equipment and the second electronic equipment, utilize the recording module corresponding with multimedia session passage to record, and the data of recording are sent to the second electronic equipment; During owing to can not be successfully established at the multimedia session passage set up in the first electronic equipment and the second electronic equipment, preferentially record in the first electronic equipment, and the data preferentially recorded are sent to the second electronic equipment, therefore solve in correlation technique because audio frequency and video chat cannot successfully connect the problem of the poor availability caused; Reach the effect of the availability that improve audio frequency and video chat.
The multimedia session device provided in disclosure embodiment, after being successfully established by the multimedia session passage set up in the first electronic equipment and the second electronic equipment, if multimedia session passage be video calling passage and the speech quality of multimedia session passage is worse than predetermined speech quality time, then close the recording function of camera in the first electronic equipment, the data of microphone records in first electronic equipment are sent to the second electronic equipment by multimedia session passage, voice call is changed to by video calling, to reduce taking network broadband, improve speech quality.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure one exemplary embodiment provides a kind of multimedia session device, be applied in the first electronic equipment 120 in implementation environment shown in Fig. 1, can realize the multimedia session method that the disclosure provides, this multimedia session device comprises: processor, memory for storage of processor executable instruction;
Wherein, processor is configured to:
Whether the multimedia session passage that the request of detection is set up between the first electronic equipment and the second electronic equipment is in is set up state;
If ask the multimedia session passage set up between the first electronic equipment and the second electronic equipment to be in set up state, then when multimedia session passage is not successfully established, the recording mode corresponding with multimedia session passage is utilized to record;
The data of recording are sent to the second electronic equipment.
Fig. 6 is the block diagram of a kind of multimedia session device Gen Ju an exemplary embodiment again.Such as, device 600 can be have the smart mobile phone of multimedia session function, mobile phone, desktop computer, panel computer, multimedia player, messaging devices, game console, Medical Devices, body-building equipment and personal digital assistant etc.
With reference to Fig. 6, device 600 can comprise following one or more assembly: processing components 602, memory 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, I/O (I/O) interface 612, sensor cluster 614, and communications component 616.
The integrated operation of the usual control device 600 of processing components 602, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 602 can comprise one or more processor 618 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 602 can comprise one or more module, and what be convenient between processing components 602 and other assemblies is mutual.Such as, processing components 602 can comprise multi-media module, mutual with what facilitate between multimedia groupware 608 and processing components 602.
Memory 604 is configured to store various types of data to be supported in the operation of device 600.The example of these data comprises for any application program of operation on device 600 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 604 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 600 and be associated.
Multimedia groupware 608 is included in the screen providing an output interface between device 600 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 608 comprises a front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to export and/or input audio signal.Such as, audio-frequency assembly 610 comprises a microphone (MIC), and when device 600 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 604 further or be sent via communications component 616.In certain embodiments, audio-frequency assembly 610 also comprises a loud speaker, for output audio signal.
I/O interface 612 is for providing interface between processing components 602 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor cluster 614 comprises one or more transducer, for providing the state estimation of various aspects for device 600.Such as, sensor cluster 614 can detect the opening/closing state of device 600, the relative positioning of assembly, such as assembly is display and the keypad of device 600, the position of all right checkout gear 600 of sensor cluster 614 or device 600 1 assemblies changes, the presence or absence that user contacts with device 600, the variations in temperature of device 600 orientation or acceleration/deceleration and device 600.Sensor cluster 614 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 614 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 614 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communications component 616 is configured to the communication being convenient to wired or wireless mode between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, as Wi-Fi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 616 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 616 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be realized, for performing above-mentioned multimedia session method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the memory 604 of instruction, above-mentioned instruction can perform above-mentioned multimedia session method by the processor 618 of device 600.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a multimedia session method, is characterized in that, be applied in the first electronic equipment, described method comprises:
Whether the multimedia session passage that the request of detection is set up between described first electronic equipment and the second electronic equipment is in is set up state;
If set up state described in the described multimedia session passage that request is set up between described first electronic equipment and the second electronic equipment is in, then when described multimedia session passage is not successfully established, the recording mode corresponding with described multimedia session passage is utilized to record;
The data of recording are sent to described second electronic equipment.
2. method according to claim 1, is characterized in that, described multimedia session passage is video calling passage, and described method also comprises:
If ask the described multimedia session passage set up between described first electronic equipment and the second electronic equipment to be in successfully set up state, then when the speech quality of described multimedia session passage is worse than predetermined speech quality, close the recording function of camera in described first electronic equipment, the data of microphone records in described first electronic equipment are sent to described second electronic equipment by described multimedia session passage.
3. method according to claim 1, is characterized in that, described method also comprises:
When the speech quality of described multimedia session passage is worse than described predetermined speech quality, audio frequency call mode pointed out by described first electronic equipment, and after described voice-frequency telephony pattern is selected, perform the recording function of camera in described first electronic equipment of described closedown, the data of microphone records in described first electronic equipment are sent to the step of described second electronic equipment by described multimedia session passage.
4. method according to claim 1, is characterized in that, the described data by recording send to described second electronic equipment, comprising:
Send communication information to described second electronic equipment, described communication information comprises the described data of recording.
5. according to described method arbitrary in Claims 1-4, it is characterized in that, the described utilization recording mode corresponding with described multimedia session passage is recorded, and comprising:
When described multimedia session passage is voice-frequency telephony passage, then utilize audio recording pattern recording audio data;
When described multimedia session passage is video calling passage, then utilize video recording mode recorded video data;
Wherein, described voice-frequency telephony passage is for transmitting the voice data of microphone records, described video calling passage is for the front one in the video data of transmission camera recording and the voice data of microphone records or whole two kinds, described audio recording pattern is used to indicate and utilizes the microphone in described first electronic equipment to record, and described video recording mode is used to indicate and utilizes the camera in described first electronic equipment and the front one in microphone or whole two kinds to record.
6. a multimedia session device, is characterized in that, be applied in the first electronic equipment, described device comprises:
Whether detection module, be configured to detect and ask the multimedia session passage set up between described first electronic equipment and the second electronic equipment to be in set up state;
Record module, be configured to described detection module detect ask the described multimedia session passage set up between described first electronic equipment and the second electronic equipment be in described in set up state, then when described multimedia session passage is not successfully established, the recording mode corresponding with described multimedia session passage is utilized to record;
First sending module, the data be configured to described recording module is recorded send to described second electronic equipment.
7. device according to claim 6, is characterized in that, described multimedia session passage is video calling passage, and described device also comprises:
Second sending module, be configured to ask the described multimedia session passage set up between described first electronic equipment and the second electronic equipment to be in and successfully set up state, then when the speech quality of described multimedia session passage is worse than predetermined speech quality, close the recording function of camera in described first electronic equipment, the data of microphone records in described first electronic equipment are sent to described second electronic equipment by described multimedia session passage.
8. device according to claim 6, is characterized in that, described device also comprises:
Reminding module, be configured to when the speech quality of described multimedia session passage is worse than described predetermined speech quality, audio frequency call mode pointed out by described first electronic equipment, and after described voice-frequency telephony pattern is selected, trigger the recording function that described second sending module performs camera in described first electronic equipment of described closedown, the data of microphone records in described first electronic equipment are sent to the step of described second electronic equipment by described multimedia session passage.
9. device according to claim 6, is characterized in that, described first sending module, is also configured to:
Send communication information to described second electronic equipment, described communication information comprises the described data of recording.
10., according to described device arbitrary in claim 6 to 9, it is characterized in that, described recording module, comprising:
First records submodule, is configured to when described multimedia session passage is voice-frequency telephony passage, then utilize audio recording pattern recording audio data;
Second records submodule, is configured to when described multimedia session passage is video calling passage, then utilize video recording mode recorded video data;
Wherein, described voice-frequency telephony passage is for transmitting the voice data of microphone records, described video calling passage is for the front one in the video data of transmission camera recording and the voice data of microphone records or whole two kinds, described audio recording pattern is used to indicate and utilizes the microphone in described first electronic equipment to record, and described video recording mode is used to indicate and utilizes the camera in described first electronic equipment and the front one in microphone or whole two kinds to record.
11. 1 kinds of multimedia session devices, is characterized in that, be applied in the first electronic equipment, described device comprises:
Processor;
For storing the memory of described processor executable;
Wherein, described processor is configured to:
Whether the multimedia session passage that the request of detection is set up between described first electronic equipment and the second electronic equipment is in is set up state;
If set up state described in the described multimedia session passage that request is set up between described first electronic equipment and the second electronic equipment is in, then when described multimedia session passage is not successfully established, the recording mode corresponding with described multimedia session passage is utilized to record;
The data of recording are sent to described second electronic equipment.
CN201410808667.4A 2014-12-22 2014-12-22 Multimedia session method and device Active CN104539871B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410808667.4A CN104539871B (en) 2014-12-22 2014-12-22 Multimedia session method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410808667.4A CN104539871B (en) 2014-12-22 2014-12-22 Multimedia session method and device

Publications (2)

Publication Number Publication Date
CN104539871A true CN104539871A (en) 2015-04-22
CN104539871B CN104539871B (en) 2019-03-15

Family

ID=52855330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410808667.4A Active CN104539871B (en) 2014-12-22 2014-12-22 Multimedia session method and device

Country Status (1)

Country Link
CN (1) CN104539871B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141880A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Call answering method and call answering device
CN105187758A (en) * 2015-08-05 2015-12-23 腾讯科技(深圳)有限公司 Communication processing method and electronic equipment
CN105577653B (en) * 2015-12-17 2019-05-21 小米科技有限责任公司 Establish the method and device of video calling
CN111386693A (en) * 2017-09-22 2020-07-07 深圳传音通讯有限公司 Adjusting system and method for automatically switching audio modes in call
CN112203151A (en) * 2020-10-09 2021-01-08 北京字跳网络技术有限公司 Video processing method and device
CN113347391A (en) * 2021-05-31 2021-09-03 北京字跳网络技术有限公司 Data transmission method, data transmission interruption method and device
CN114584842A (en) * 2020-11-30 2022-06-03 荣耀终端有限公司 Business pushing method and electronic equipment

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09214561A (en) * 1996-01-31 1997-08-15 Canon Inc Multimedia communication system, inter-work equipment and multimedia communication terminal equipment used for the system
CN1960254A (en) * 2006-11-22 2007-05-09 北京邮电大学 Method and system for implementing pass check service of videophone based on IP multimedia subsystem
CN101052116A (en) * 2007-05-10 2007-10-10 中兴通讯股份有限公司 Method and system for giving prompt information while recording opposite party image
CN101123790A (en) * 2006-08-09 2008-02-13 英华达(南京)科技有限公司 Switching method for improving call quality in weak signal area of PHS mobile phone
CN101340730A (en) * 2008-08-14 2009-01-07 华为技术有限公司 Method, device and system for falling video call to audio call
US20090051752A1 (en) * 2007-07-31 2009-02-26 Tandberg Telecom As Video call management apparatus and associated methodology of controlling voice and video response
CN201374730Y (en) * 2008-12-19 2009-12-30 康佳集团股份有限公司 Television set
CN101990084A (en) * 2010-11-16 2011-03-23 中兴通讯股份有限公司 Method and system for realizing conference control in interactive voice and video response mode
CN102083030A (en) * 2011-02-10 2011-06-01 中兴通讯股份有限公司 Telephone service executing method and device of double-network double-standby terminal
CN102143350A (en) * 2011-04-29 2011-08-03 珠海市东耀企业有限公司 Video phone conference system
CN102655631A (en) * 2011-03-01 2012-09-05 联想(北京)有限公司 Information notifying method, device and first electronic equipment
CN102984579A (en) * 2012-12-13 2013-03-20 青岛海信宽带多媒体技术有限公司 Realizing method for key sound effect of set-top box and set-top box
CN102984374A (en) * 2012-11-22 2013-03-20 东莞宇龙通信科技有限公司 Communication terminal and communication manner switching method thereof
CN103237128A (en) * 2013-04-12 2013-08-07 北京小米科技有限责任公司 Call hangup message-forwarding method and terminal
CN203399141U (en) * 2013-09-06 2014-01-15 中国工商银行股份有限公司 Information channel security certificate device
CN103647867A (en) * 2013-12-06 2014-03-19 北京奇虎科技有限公司 Message leaving method and system
CN103856596A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Conversation method, device and terminal

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09214561A (en) * 1996-01-31 1997-08-15 Canon Inc Multimedia communication system, inter-work equipment and multimedia communication terminal equipment used for the system
CN101123790A (en) * 2006-08-09 2008-02-13 英华达(南京)科技有限公司 Switching method for improving call quality in weak signal area of PHS mobile phone
CN1960254A (en) * 2006-11-22 2007-05-09 北京邮电大学 Method and system for implementing pass check service of videophone based on IP multimedia subsystem
CN101052116A (en) * 2007-05-10 2007-10-10 中兴通讯股份有限公司 Method and system for giving prompt information while recording opposite party image
US20090051752A1 (en) * 2007-07-31 2009-02-26 Tandberg Telecom As Video call management apparatus and associated methodology of controlling voice and video response
CN101340730A (en) * 2008-08-14 2009-01-07 华为技术有限公司 Method, device and system for falling video call to audio call
CN201374730Y (en) * 2008-12-19 2009-12-30 康佳集团股份有限公司 Television set
CN101990084A (en) * 2010-11-16 2011-03-23 中兴通讯股份有限公司 Method and system for realizing conference control in interactive voice and video response mode
CN102083030A (en) * 2011-02-10 2011-06-01 中兴通讯股份有限公司 Telephone service executing method and device of double-network double-standby terminal
CN102655631A (en) * 2011-03-01 2012-09-05 联想(北京)有限公司 Information notifying method, device and first electronic equipment
CN102143350A (en) * 2011-04-29 2011-08-03 珠海市东耀企业有限公司 Video phone conference system
CN102984374A (en) * 2012-11-22 2013-03-20 东莞宇龙通信科技有限公司 Communication terminal and communication manner switching method thereof
CN103856596A (en) * 2012-11-28 2014-06-11 腾讯科技(深圳)有限公司 Conversation method, device and terminal
CN102984579A (en) * 2012-12-13 2013-03-20 青岛海信宽带多媒体技术有限公司 Realizing method for key sound effect of set-top box and set-top box
CN103237128A (en) * 2013-04-12 2013-08-07 北京小米科技有限责任公司 Call hangup message-forwarding method and terminal
CN203399141U (en) * 2013-09-06 2014-01-15 中国工商银行股份有限公司 Information channel security certificate device
CN103647867A (en) * 2013-12-06 2014-03-19 北京奇虎科技有限公司 Message leaving method and system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141880A (en) * 2015-07-31 2015-12-09 小米科技有限责任公司 Call answering method and call answering device
CN105141880B (en) * 2015-07-31 2018-10-02 小米科技有限责任公司 Call answering method and device
CN105187758A (en) * 2015-08-05 2015-12-23 腾讯科技(深圳)有限公司 Communication processing method and electronic equipment
CN105187758B (en) * 2015-08-05 2019-01-29 腾讯科技(深圳)有限公司 A kind of communication processing method and electronic equipment
CN105577653B (en) * 2015-12-17 2019-05-21 小米科技有限责任公司 Establish the method and device of video calling
CN111386693A (en) * 2017-09-22 2020-07-07 深圳传音通讯有限公司 Adjusting system and method for automatically switching audio modes in call
CN112203151A (en) * 2020-10-09 2021-01-08 北京字跳网络技术有限公司 Video processing method and device
WO2022073428A1 (en) * 2020-10-09 2022-04-14 北京字跳网络技术有限公司 Video processing method and apparatus
CN112203151B (en) * 2020-10-09 2022-05-17 北京字跳网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
US12069111B2 (en) 2020-10-09 2024-08-20 Beijing Zitiao Network Technology Co., Ltd. Video processing method and apparatus
CN114584842A (en) * 2020-11-30 2022-06-03 荣耀终端有限公司 Business pushing method and electronic equipment
CN114584842B (en) * 2020-11-30 2023-04-14 荣耀终端有限公司 Business pushing method, electronic equipment and computer readable storage medium
CN113347391A (en) * 2021-05-31 2021-09-03 北京字跳网络技术有限公司 Data transmission method, data transmission interruption method and device
CN113347391B (en) * 2021-05-31 2022-12-06 北京字跳网络技术有限公司 Data transmission method, data transmission interruption method and device

Also Published As

Publication number Publication date
CN104539871B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN104539871A (en) Multimedia call method and device
CN104836897A (en) Method and device for controlling terminal communication through wearable device
CN104378501A (en) Phone number naming method and device
CN104717554A (en) Smart television control method and device and electronic equipment
CN105704766A (en) Control method and device of double-card mobile terminal
CN105138319A (en) Event reminding method and apparatus
CN104601815A (en) Answer device determining method and device
CN105430161A (en) Message processing method and device
CN105426218A (en) Method and device for controlling audio playing
CN105451056A (en) Audio and video synchronization method and device
CN104636110A (en) Method and device for controlling volume
CN105530381A (en) Call hanging-up method and device
CN105100484A (en) Method, device and system for ending voice call
CN105391477A (en) A communication method and device between bluetooth devices
CN105468236A (en) Message prompting method and apparatus and terminal
CN105138564A (en) Data file reading method and apparatus
CN105511307A (en) Control method and apparatus of electronic device
CN104506703A (en) Voice message leaving method, voice message leaving device, voice message playing method and voice message playing device
CN104796875A (en) Call mode selection method and device
CN104702756A (en) Detecting method and detecting device for soundless call
CN105554811A (en) Method and device for conversation processing
CN104881342A (en) Terminal testing method and device
CN104486295A (en) Audio playing method and device
CN105141880A (en) Call answering method and call answering device
CN104780574A (en) Method and device for network switchover

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant