WO2011137723A1 - Method for recording video and method for sending video data for terminal call and visual terminal - Google Patents

Method for recording video and method for sending video data for terminal call and visual terminal Download PDF

Info

Publication number
WO2011137723A1
WO2011137723A1 PCT/CN2011/073312 CN2011073312W WO2011137723A1 WO 2011137723 A1 WO2011137723 A1 WO 2011137723A1 CN 2011073312 W CN2011073312 W CN 2011073312W WO 2011137723 A1 WO2011137723 A1 WO 2011137723A1
Authority
WO
WIPO (PCT)
Prior art keywords
videophone terminal
video data
video
terminal
audio
Prior art date
Application number
PCT/CN2011/073312
Other languages
French (fr)
Chinese (zh)
Inventor
魏东
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2011137723A1 publication Critical patent/WO2011137723A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/59Providing operational support to end devices by off-loading in the network or by emulation, e.g. when they are unavailable
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/53Centralised arrangements for recording incoming messages, i.e. mailbox systems
    • H04M3/5307Centralised arrangements for recording incoming messages, i.e. mailbox systems for recording messages comprising any combination of audio and non-audio components
    • H04M3/5315Centralised arrangements for recording incoming messages, i.e. mailbox systems for recording messages comprising any combination of audio and non-audio components where the non-audio components are still images or video
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera
    • H04N5/772Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera the recording apparatus and the television camera being placed in the same enclosure

Definitions

  • Video recording method for terminal call video data transmitting method and visual terminal
  • the application is submitted to the Chinese Patent Office on May 4, 2010, and the application number is
  • the present invention relates to the field of multimedia communication technologies, and in particular, to a video recording method for videophone terminal calling, a method for transmitting video data, and a videophone terminal. Background technique
  • the basic call flow for a user to conduct a session through a videophone is:
  • an invitation (INVITE) request with a Session Description Protocol (SDP) is sent to the server on the network side (ie, soft).
  • SDP Session Description Protocol
  • the server identifies that the user A wants to call is user B, the request is forwarded to user B, and user A is fed back with a number 100 response, indicating that the invitation request has been processed, and user B receives After the INVITE request, it also sends a 100 response to the server, and then sends a number 180 response, indicating that user B is in the ringing state.
  • the server directly forwards the received number to 180 response, and user A receives the number.
  • the response is 180, the ringback tone of the peer is heard; after that, the user B sends a response with the SDP number 200 OK to the server, and the server forwards the 200 OK response with the SDP to the user A, and the user A receives
  • the related device is initialized according to the information such as the capability set information and the port number, and is connected to the designated port at the beginning.
  • Data and then replies with a response ACK to the server, indicating that the 200 OK response has been received, the server forwards the ACK in response to the user B, user B receives the ACK response, the start of the port negotiated Accept audio and video data.
  • a basic call is established.
  • the embodiment of the invention provides a video recording method for a videophone terminal call, a method for transmitting video data, and a videophone terminal, so as to record the video data and the caller number of the opposite end when the incoming call is not connected, conveniently Play related videos when you check for missed calls.
  • an embodiment of the present invention provides a video recording method for a videophone terminal call, where the method includes:
  • the first videophone terminal After receiving the call request message sent by the second videophone terminal, the first videophone terminal sends a request response message of the ringing state to the second videophone terminal;
  • the first videophone terminal After the first videophone terminal receives the video data sent by the second videophone terminal, if the ringing time of the first videophone terminal exceeds a preset time, and the call is not connected, Recording the video data and the identifier of the second videophone terminal, and saving the recorded video data to the video file.
  • the embodiment of the invention further provides a method for transmitting video data, the method comprising: after the second videophone terminal sends a call request message to the first videophone terminal, receiving the first videophone terminal to send a ringing status request response message, the request response message including capability set information negotiated with the first videophone terminal;
  • the second videophone terminal transmits video data to the first videophone terminal.
  • an embodiment of the present invention provides a videophone terminal, including:
  • a sending unit configured to: after receiving the call request message sent by the second videophone terminal, a request response message that the second videophone terminal sends a ringing state;
  • a first determining unit configured to determine, after receiving the video data sent by the second videophone terminal, whether the ringing time of the videophone terminal exceeds a preset time
  • a first recording unit configured to record the video data and the identifier of the second videophone terminal when the ringing time determined by the first determining unit exceeds a preset time, and the call is not connected, and the recorded
  • the video data is saved to a video file.
  • the embodiment of the invention further provides a videophone terminal, including:
  • a receiving unit configured to receive a request response message of a ringing state sent by the first videophone terminal after sending a call request message to the first videophone terminal, where the request response message includes the first videophone
  • the capability set information negotiated by the terminal
  • a sending unit configured to send video data to the first videophone terminal.
  • the first videophone terminal can record the video image of the second videophone terminal and the missed phone number without answering the incoming call, so that when the missed call is viewed, the related video is played. That is, the telephone of the received call is recorded, and the audio and video data corresponding to the received call is recorded in the audio and video file, and the received call is recorded. The number is associated with the corresponding video file, so that when the user queries and browses the called number, the related video is played. It can be seen that the embodiment of the present invention enriches the function of video call recording in video communication, and brings a new experience to the user, thereby improving user experience.
  • FIG. 1 is a schematic diagram of a method for video recording of a videophone terminal call according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for transmitting video data according to an embodiment of the present invention
  • FIG. 3 is a flowchart of an application of a video recording method for a videophone terminal call according to a first embodiment of the present invention
  • FIG. 4 is a flowchart of a video recording method for a videophone terminal call according to a second embodiment of the present invention.
  • FIG. 5 is a flowchart of an application of a video recording method for a videophone terminal call according to a third embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a videophone terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another videophone terminal according to an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a video recording method for a videophone terminal call according to an embodiment of the present invention, where the method includes:
  • Step 101 After receiving the call request message sent by the second videophone terminal, the first videophone terminal sends a request response message of a ringing state to the second videophone terminal; wherein the request response message Include capability set information negotiated with the first videophone terminal;
  • the capability set information is description information of the capability that the terminal has to implement the corresponding function.
  • the call request message may be an invite message including a Session Description Protocol (SDP), and the capability set of the second videophone terminal (ie, the sender) may be included in the SDP.
  • SDP Session Description Protocol
  • the request response message may be a 180 response message including an SDP
  • the SDP in the 180 response message includes: and the first videophone terminal
  • the negotiated capability set information that is, the intersection of the capability set information of the first videophone terminal and the second videophone terminal, of course, if there is no intersection between the two, the negotiation fails; when the second videophone terminal receives Includes 180 or 100 for SDP
  • the port number of the video data sent by the terminal may be determined according to the capability set information in the message, and the related device is initialized.
  • the request response message in the present invention may also be another response message carrying the SDP, etc., which is not limited in this embodiment.
  • the call request message may also be a connection setup request message including a fast start parameter, where the quick start parameter includes: capability set information of the second videophone terminal; the request response message
  • the method includes: a Call Proceeding response message or an Alerting message, where the quick start parameter or the ringing message includes: capability set information negotiated with the first videophone terminal.
  • Step 102 After receiving the video data sent by the second videophone terminal, the first videophone terminal does not connect if the ringing time of the first videophone terminal exceeds a preset time.
  • the call records the video data and the identifier of the second videophone terminal, and saves the recorded video data into the video file.
  • the preset time may be 10 seconds, 20 seconds, or immediate recording, etc., which is not limited in this embodiment.
  • the method may further include: the first videophone terminal associating a video file that saves the video data with an identifier of the second videophone terminal.
  • the request response message for sending a ringing state to the second videophone terminal in step 101 may be: sending, by the server on the network side, a request response message of a ringing state to the second videophone terminal,
  • the server is a server that supports 180 response messages with SDP. That is, when the server receives the 180 or 100 response message carrying the SDP, the server can correctly parse and correctly forward it to the destination.
  • the request response message for transmitting the ringing state to the second videophone terminal may also be: sending a request response message of the ringing state to the second videophone terminal through the private network.
  • the method may further include: if the ringing time of the first videophone terminal does not exceed a preset time, the first videophone terminal and the second videophone are connected The terminal performs audio and video communication; If the first videophone terminal determines that recording is required, the first videophone terminal records audio and video data of the audio and video communication, and when the audio and video data is output, saves the recorded audio and video data to the video file, and ends the communication. The identity of the second videophone terminal is recorded.
  • the method may further include: the first videophone terminal associating the video file storing the audio and video data with the identifier of the second videophone terminal.
  • FIG. 2 is a flowchart of a method for sending video data according to an embodiment of the present invention, where the method includes:
  • Step 201 After the second videophone terminal sends a call request message to the first videophone terminal, receiving a request response message of the ringing state sent by the first videophone terminal, where the request response message may be A 180 or 100 response message including the Session Description Protocol SDP; but is not limited thereto.
  • call request message and the request response message are specifically described above, and are not described herein again.
  • the second videophone terminal may send a call request message to the first videophone terminal through a server of the network, where the call request includes an SDP.
  • the server is a server that supports 180 or 100 response messages.
  • Step 202 The second videophone terminal sends video data to the first videophone terminal. If the first videophone terminal answers within a set time, the method may further include: the second videophone terminal performs audio and video communication with the first videophone terminal;
  • the second videophone terminal records the audio and video data of the audio and video communication, and saves the audio and video data to the video file when the audio and video data is output.
  • the method may further include: the second videophone terminal associating the video file storing the audio and video data with the identifier of the first videophone terminal.
  • the first videophone terminal can record the video image of the second videophone terminal and the missed phone number without answering the incoming call, so that when the missed call is viewed, the related video is played, that is, Clearly know who is coming from the phone, and in addition, the embodiment of the present invention can also record The audio and video data corresponding to the incoming call is stored, and the corresponding audio and video data is stored in the audio and video file, and the telephone number of the received call is associated with the corresponding video file, so that the user can query and browse the called number. Play related videos. It can be seen that the embodiment of the present invention enriches the function of video call recording in video communication, and brings a new experience to the user, thereby improving user experience.
  • the first videophone terminal receives the call request message initiated by the second videophone terminal
  • the call request message carries the invitation message of the SDP
  • the second videophone terminal receives the 180 or 100 response message carrying the SDP
  • the basic capability set information of the two parties has been negotiated; if the request message is a connection establishment request message carrying the quick start parameter, a request response message sent by the second videophone terminal, the request response message being a call processing response message or a ringing message including a quick start parameter, and the basic capabilities of both parties when the second videophone terminal receives the request response message
  • the set information has been negotiated.
  • the capability set information of the local end is used to negotiate a capability set information supported by both parties (ie, the intersection of the capability set information of the two parties). And knowing, according to the capability set information, an audio and video protocol supported by the dual transmission, a port number for transmitting or receiving the video data, and the like.
  • the second videophone terminal can transmit video data through a designated port.
  • the received Video data transmitted by the second videophone terminal, and an identifier of the second videophone terminal. In other words, when there is a missed call, the video recording of the opposite end is automatically recorded, so that the user can clearly know who is calling when viewing the missed call.
  • FIG. 3 is a flowchart of an application of a video recording method for a videophone terminal call according to a first embodiment of the present invention.
  • user A passes a softswitch (such as a server, etc.) on the network side.
  • the call is made to the user B, and the user A and the user B are the videophone terminals.
  • the specific implementation process includes:
  • Step 301 User A sends an invite message carrying an SDP to the softswitch, where the SDP is
  • the user A's capability set information is included: generally includes supported audio and video protocols, port numbers for receiving data, and the like;
  • Step 302 The softswitch forwards the invitation message carrying the SDP to the user B.
  • the softswitch identifies the invite message, and if the user A wants to call the user B, the invitation message is forwarded to the user B;
  • Step 303 The softswitch replies to user A with a 100 response message indicating that the invitation request has been processed;
  • Step 304 After receiving the invitation message, user B replies with a 100 response message to the softswitch, indicating that the request message has been received.
  • Step 305 After replying to the softswitch with a 100 response message, the user B feeds back a 180 response message carrying the SDP to the softswitch (in this embodiment, the SDP is carried in the 180 response message as an example, but let The 100 response message carries the SDP.
  • the SDP of the 180 response message includes the intersection of the capability set information of the user B and the user A: generally includes the audio and video protocols supported by the two, the port number of the video data to be sent or received, and the like. Wait;
  • Step 306 The softswitch receives the 180 response message carrying the SDP, and after identifying the response message, forwards the 180 response message carrying the SDP to the user A;
  • Step 307 After receiving the 180 response message carrying the SDP, the user A identifies the response message, and determines basic capability set information and port number of the video data sent by the two parties.
  • Step 308 User A sends video data to user B.
  • user A forwards the video data to user B through the port corresponding to the port number
  • Step 309 If the user B times out and does not answer, the video recording function can be automatically started, the video data received on the port and the phone number of the user A are recorded, and the video data is saved in the video file; User A's phone number (ie, the phone number of the missed call) is associated with the video file that holds the video data.
  • the SDP is carried in the 200 OK in the basic call flow of the prior art, the calling user can only complete the basic capability set information and the port number after receiving the 200 OK carrying the SDP.
  • the SDP is carried in the 180 response that is sent by the called user to the calling user.
  • the calling user After receiving the 180 response of the SDP, the calling user completes the negotiation of the basic capability set information and the port number in advance. Therefore, the called user can receive the video data sent by the calling user when the timeout is not answered, and start the recording function, and record the video data sent by the calling user and the identity of the calling user (such as a phone number, etc.) In order to facilitate the called user to view the video image of the calling user while subsequently viewing the missed call.
  • the softswitch on the network side is required to support the 180 response with the SDP, that is, when the softswitch receives the 180 response with the SDP, it can be correctly identified and forwarded to the destination;
  • the calling terminal After receiving the 180 response with the SDP, the calling terminal obtains the basic capability set information of the session and the port number of the transmitted video data, and does not wait for subsequent signaling, and the calling terminal directly sends the local data to The designated port corresponding to the port number; after the called terminal sends the 180 response carrying the SDP, it initializes the local resource, receives the data sent by the calling end, and directly encodes and decodes the data.
  • the network side can start timing after receiving the 180 response with the SDP, and the call starts. After the call times out, it is considered that the call ends and the time is stopped.
  • This scheme is similar to the existing strategy for the called terminal to receive the call, and there is no big difference because the signaling interaction time is short and can completely ignore this. Time difference.
  • the audio call can be used, so that when the called terminal receives the call request without the video capability, the video described in the present invention is not activated.
  • the calling terminal wants to let the called terminal know who is calling, it can call the called terminal by video. Of course, this situation will bear the possible call charges.
  • a configuration option can be set on the called terminal. The function of the configuration option is to enable the recording function of the missed call. If the called terminal is free, This configuration item can remain normally open.
  • FIG. 4 is a flowchart of a video recording method for a videophone terminal call according to a second embodiment of the present invention.
  • user A can make a call to user B through a private network.
  • a and user B are videophone terminals, and the implementation process of the method includes:
  • Step 401 The user A sends a connection establishment request message carrying the quick start parameter to the user B.
  • the quick start parameter includes the capability set information of the user A: generally includes the supported audio and video protocol, the port number of the received data, and the like. Wait;
  • Step 402 User B sends a call processing message carrying the quick start parameter to user A.
  • user B identifies the received connection establishment request message, and then sends a call processing message carrying the quick start parameter to user B.
  • the quick start parameter includes: capability set information negotiated with the user A.
  • Step 403 After receiving the call processing message carrying the quick start parameter, the user A identifies the call processing, and confirms the negotiation of the basic capability set information and the port number of the dual-channel video communication.
  • Step 404 User A and user B perform video data interaction
  • Step 405 If the user B times out and does not answer, the video recording function can be automatically started, the video data received on the port and the phone number of the user A are recorded, and the video data is saved to the video file.
  • the user B may also send a ringing message carrying the quick start parameter to the user A, that is, replacing the call processing message with the ringing message.
  • the present invention can mutually transmit and receive media streams before the call is established.
  • the calling party such as User A
  • the called party User B
  • the Setup message carrying the fastStart parameter can be sent in the public interlaced channel (OpenLogicalChannel, including codec, rate, RTP/RTCP address) of the H.245 protocol.
  • the called party feeds back the call processing with fastStart (including similar information) (Call Proceeding), Alerting message, after which the called party establishes a connection with the calling party (Connect).
  • fastStart including similar information
  • Connect the called party can respond to the fastStart information in any other message prior to the Connect message.
  • the called party should return the RTP/RTCP transport address and the H.245 Control Channel transport address it wants the caller to use. In this way, the called party and the calling party can send and receive media streams to each other. This allows a fast, earlier media channel to be established quickly.
  • the association between the primary and the called party receiving channels must be matched by the logical channel number in the fastStart message carried by both parties. If the called party does not want to use the fast connect (fastConnect) process, it can simply respond to a Connect message without fastStart. This will force the calling party to complete the normal sequence of capability exchanges, and the primary and the called parties will determine the process of opening the logical channel. In addition, as long as the fastStrat mode is used, the calling party should provide h245Address.
  • the calling party can provide some optional features it supports in the capability set information (fastCap) parameter.
  • fastCap capability set information
  • the called party uses Call Proceeding, Alerting, and the message response Setup to provide its capabilities in the fastCap parameter.
  • the called party can then return a fastStart that includes the value of the fastCap channel from the calling party.
  • the calling party can choose whether to send a Set-up with fastStart as needed, the called party can also decide whether to allow the request according to the setting of the terminal.
  • FIG. 5 is a flowchart of an application of a video recording method for a videophone terminal call according to a third embodiment of the present invention.
  • a process of automatically recording a video of a calling terminal by not receiving an incoming call timeout is
  • the calling terminal and the called terminal are videophone terminals, and the called terminal sends the 180 response carrying the SDP as an example, but is not limited thereto.
  • the calling terminal and the called terminal are videophone terminals, and the called terminal sends the 180 response carrying the SDP as an example, but is not limited thereto.
  • the calling terminal and the called terminal are videophone terminals, and the called terminal sends the 180 response carrying the SDP as an example, but is not limited thereto.
  • the called terminal sends the 180 response carrying the SDP as an example, but is not limited thereto.
  • the called terminal sends the 180 response carrying the SDP as an example, but is not limited thereto.
  • the called terminal sends the 180 response carrying the SDP as an example, but is not limited thereto.
  • Step 501 The called terminal receives a call request initiated by the calling terminal; that is, the called terminal receives the incoming call;
  • Step 502 The called terminal actively sends a 180 response carrying the SDP.
  • the called terminal may also send a call processing response message or a ringing message including a quick start parameter, but is not limited thereto, that is, in this step, the called terminal sends a quick start.
  • the parameter can also be carried in any message before sending a Connect message. Therefore, this embodiment is not limited.
  • Step 503 After the called terminal sends the 180 response carrying the SDP, it starts ringing;
  • Step 505 If the ringing time of the called terminal exceeds the set time and no one answers, the called terminal starts a video recording function, and records the video data (such as video images, etc.) sent by the calling terminal and the calling terminal. Number (ie the phone number of the missed call);
  • Step 506 The called terminal saves the recorded video data into a video file, where the video file is a supported video format file.
  • Step 507 The called terminal associates the recorded telephone number of the calling terminal with the video file of the saved video data, that is, the corresponding video file can be found by the telephone number of the missed call, and the process ends.
  • Step 508 If the ringing time of the called terminal does not exceed the set time, and someone answers, the called terminal encodes and decodes the received large audio and video data;
  • Step 509 The called terminal determines whether to enable the recording function, and if yes, go to step 510; otherwise, go to step 513;
  • Step 510 The called terminal records the audio and video data, and saves the audio and video data into a video file when the audio and video data is output.
  • Step 511 The called terminal records the telephone number of the calling terminal (ie, the received call) at the end of the call;
  • Step 512 The called terminal associates with the video file storing the audio and video data while recording the telephone number of the received call, that is, the corresponding video file can be found through the missed call record, and the process ends.
  • Step 513 The called terminal directly outputs audio and video data.
  • the called terminal can record the video image of the calling terminal without answering the incoming call, so that the called user can view the missed call and play the related video, that is, clearly understand
  • the embodiment of the present invention can also record corresponding audio and video data for the received call, and save the corresponding audio and video data in the audio and video file, and correspondingly the phone number of the received call.
  • the video files are related to each other, so that the user can play related videos when the user subsequently queries and browses the calling number. It can be seen that the embodiment of the present invention enriches the function of video call recording in video communication, and brings a new experience to the user.
  • the call record when the call record is associated with the video of the call, if the call record is transferred to the address book, the attached video can be dumped together to realize the visualization of the address book. ; When you view the address book, you can also play the video clips related to it, making the browsing of the address book more intuitive.
  • the embodiment of the present invention further provides a videophone terminal, which is shown in FIG. 6.
  • the videophone terminal includes: a sending unit 61, a first determining unit 62, and a first recording unit. 63.
  • the sending unit 61 is configured to receive a call request message sent by the second videophone terminal, where the call request message is an invite message including an SDP, or another message, where the SDP includes: a capability set information of the second videophone terminal;), sending a request response message of a ringing state to the second videophone terminal; wherein the request response message includes a capability set negotiated with the first videophone terminal
  • the information, where the request response message may be a 180 response message including an SDP, or may include another SDP response message, where the SDP included in the SDP response message includes: capability set information negotiated with the first videophone terminal
  • the embodiment does not limit, for example, if the call request message received by the sending unit is: including a quick start parameter
  • the setup request message, the quick start parameter includes: the
  • the videophone terminal may further include: a first association unit, configured to associate the video file that saves the video data by the first recording unit with the identifier of the second videophone terminal.
  • a first association unit configured to associate the video file that saves the video data by the first recording unit with the identifier of the second videophone terminal.
  • the videophone may further include: a turn-on unit, a second determining unit, and a second recording unit, wherein the switch-on unit is configured to: the ringing time determined by the first determining unit does not exceed the preset When the time is connected to the call, the videophone terminal performs audio and video communication with the second videophone terminal; the second determining unit is configured to determine whether video recording is required; and the second recording unit is configured to be in the second When the judging unit judges that the video recording is needed, the audio and video data of the audio and video communication is recorded, and the audio and video data is saved into the video file when the audio and video data is output, and the identifier of the second videophone terminal is recorded when the communication ends. .
  • the videophone terminal may further include: a second association unit, configured to associate a video file that saves the audio and video data by the second recording unit with an identifier of the second videophone terminal .
  • a second association unit configured to associate a video file that saves the audio and video data by the second recording unit with an identifier of the second videophone terminal .
  • the embodiment of the present invention may further provide another videophone terminal, which is shown in FIG. 7.
  • the videophone terminal includes: a receiving unit 71 and a sending unit 72, and may further include a turning-on unit 73. a determining unit 74 and a recording unit 75, wherein the receiving unit 71 is configured to receive a request response message of a ringing state sent by the first videophone terminal after sending a call request message to the first videophone terminal, where
  • the request response message includes capability set information negotiated with the first videophone terminal, and may specifically be a 180 response message including a session description protocol SDP; or a call processing response message or a ringing message including a quick start parameter, the SDP
  • the quick start parameter or the ringing message includes: capability set information negotiated with the first videophone terminal; a sending unit 72, configured to send video data to the first videophone terminal; and an on unit 73, configured to After the sending unit sends the video data, the videophone terminal performs audio and video communication with the first videophone terminal
  • the videophone terminal may further include: an association unit, wherein the audio and video files used by the recording unit to save the audio and video data and the identifier of the first videophone terminal are associated with each other.
  • the called terminal can record the video image of the calling terminal without answering the incoming call, so that the called user can view the missed call and play the related video, that is, clearly understand who is coming.
  • the embodiment of the present invention may also record corresponding audio and video data for the received call, and save the corresponding audio and video data in the audio and video file, and the telephone number of the received call and the corresponding video file. Correlation, which is convenient for the user to play related videos when browsing and browsing the calling number. It can be seen that the embodiment of the present invention enriches the function of video call recording in video communication, and brings a new experience to the user, thereby improving user experience.
  • the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.

Abstract

The embodiments of the present invention relate to a method for recording video for a call of a visual phone terminal and a visual phone terminal, wherein the method includes that: a first visual phone terminal sends a request response message of the ringing state to a second visual phone terminal after receiving a call request message sent by the second visual phone terminal; after the first visual phone terminal receives video data sent by the second visual phone terminal, if the ringing time of the first visual phone terminal exceeds a preset time, and the call does not make connection, the video data and an identifier of the second visual phone terminal are recorded, and the recorded video data is stored in a video file. By the present invention, in the case of not making connection the call, the video data and the call number of the correspondent end can be recorded, thus facilitating to play correlative video at the time of acquiring missing calls and improving user's experience.

Description

终端呼叫的视频录像方法、 视频数据发送方法及可视终端 本申请要求于 2010年 5月 4日提交中国专利局、 申请号为  Video recording method for terminal call, video data transmitting method and visual terminal The application is submitted to the Chinese Patent Office on May 4, 2010, and the application number is
201010163223.1 , 发明名称为"终端呼叫的视频录像方法、 视频数据发送方法 及可视终端"的中国专利申请的优先权, 其全部内容通过引用结合在本申请 中。 技术领域 201010163223.1, the entire disclosure of which is hereby incorporated by reference in its entirety in its entirety in the the the the the the the the the the the Technical field
本发明涉及多媒体通信技术领域, 特别涉及一种可视电话终端呼叫的视 频录像方法、 视频数据发送的方法及可视电话终端。 背景技术  The present invention relates to the field of multimedia communication technologies, and in particular, to a video recording method for videophone terminal calling, a method for transmitting video data, and a videophone terminal. Background technique
随着多媒体通信技术的发展, 以及宽带因特网接入的普及, 可视电话已 经达到大众化产品所需的关键成本点, 加上需求的推动, 使可视电话的普及 化成为一种趋势。  With the development of multimedia communication technologies and the popularity of broadband Internet access, videophones have reached the critical cost points required for popular products, and the demand has driven the popularization of videophones.
目前, 用户通过可视电话进行会话的基本呼叫流程为: 用户 A想呼叫用 户 B时, 就发送一个带会话描述协议 SDP(Session Description Protocol)的邀请 ( INVITE )请求给网络侧的服务器 (即软交换 ), 如果该服务器识别出用户 A 想要呼叫的用户为用户 B, 则将该请求转发给用户 B, 同时给用户 A反馈一 个编号为 100响应, 表示该邀请请求已被处理, 用户 B收到 INVITE请求后 也先发送一个 100响应给该服务器, 之后再发送一个编号为 180响应, 表示 用户 B正处于振铃状态, 该服务器直接转发接收到的该编号为 180响应, 用 户 A收到编号为 180响应时, 就听到了对端的回铃音; 之后, 用户 B向该服 务器发送一个带 SDP的编号为 200 OK响应,该服务器将带 SDP的该 200 OK 响应转发给用户 A, 用户 A收到带 SDP的该 200 OK响应时, 根据其中的能 力集信息和端口号等信息初始化相关设备, 并在开始指定端口上接收数据, 然后回复一个 ACK响应给该服务器, 表示该 200 OK响应已经收到, 该服务 器转发 ACK响应给用户 B, 用户 B收到 ACK响应后, 开始在协商好的端口 上接受音视频数据。 至此, 在用户 B收到 ACK响应时, 一个基本的呼叫就建 立起来了。 At present, the basic call flow for a user to conduct a session through a videophone is: When user A wants to call user B, an invitation (INVITE) request with a Session Description Protocol (SDP) is sent to the server on the network side (ie, soft). If the server identifies that the user A wants to call is user B, the request is forwarded to user B, and user A is fed back with a number 100 response, indicating that the invitation request has been processed, and user B receives After the INVITE request, it also sends a 100 response to the server, and then sends a number 180 response, indicating that user B is in the ringing state. The server directly forwards the received number to 180 response, and user A receives the number. When the response is 180, the ringback tone of the peer is heard; after that, the user B sends a response with the SDP number 200 OK to the server, and the server forwards the 200 OK response with the SDP to the user A, and the user A receives When the 200 OK response with the SDP is performed, the related device is initialized according to the information such as the capability set information and the port number, and is connected to the designated port at the beginning. Data, and then replies with a response ACK to the server, indicating that the 200 OK response has been received, the server forwards the ACK in response to the user B, user B receives the ACK response, the start of the port negotiated Accept audio and video data. At this point, when User B receives the ACK response, a basic call is established.
在对现有技术的研究和实践过程中, 本发明人发现, 现有的实现方式中, 只有当可视化呼叫建立起来后, 才能接收到对端的音视频数据, 也就是说, 对于目前的可视化呼叫, 只有在该呼叫接通的情况下才能接收到对端的视频 数据, 如果该呼叫没有接通, 则不能获得对端的音视频数据。 发明内容  In the research and practice of the prior art, the inventors have found that in the existing implementation, only when the visual call is established, the audio and video data of the opposite end can be received, that is, for the current visual call. The video data of the opposite end can be received only when the call is connected. If the call is not connected, the audio and video data of the opposite end cannot be obtained. Summary of the invention
本发明实施例提供一种可视电话终端呼叫的视频录像方法、 视频数据发 送的方法及可视电话终端, 以实现在没有接通来电的情况下, 记录对端的视 频数据及来电号码, 方便在查询未接来电时播放相关的视频。  The embodiment of the invention provides a video recording method for a videophone terminal call, a method for transmitting video data, and a videophone terminal, so as to record the video data and the caller number of the opposite end when the incoming call is not connected, conveniently Play related videos when you check for missed calls.
为解决上述技术问题, 本发明实施例提供一种可视电话终端呼叫的视频 录像方法, 所述方法包括:  In order to solve the above technical problem, an embodiment of the present invention provides a video recording method for a videophone terminal call, where the method includes:
第一可视电话终端在接收到第二可视电话终端发送的呼叫请求消息后, 向所述第二可视电话终端发送振铃状态的请求响应消息;  After receiving the call request message sent by the second videophone terminal, the first videophone terminal sends a request response message of the ringing state to the second videophone terminal;
所述第一可视电话终端在接收到所述第二可视电话终端发送的视频数据 后, 若所述第一可视电话终端的振铃时间超过预设时间, 且没有接通呼叫, 则记录所述视频数据及第二可视电话终端的标识, 并将记录的所述视频数据 保存到视频文件中。  After the first videophone terminal receives the video data sent by the second videophone terminal, if the ringing time of the first videophone terminal exceeds a preset time, and the call is not connected, Recording the video data and the identifier of the second videophone terminal, and saving the recorded video data to the video file.
本发明实施例还提供一种视频数据的发送方法, 所述方法包括: 在第二可视电话终端向第一可视电话终端发送呼叫请求消息后, 接收到 所述第一可视电话终端发送的振铃状态的请求响应消息, 所述请求响应消息 包括与第一可视电话终端协商的能力集信息;  The embodiment of the invention further provides a method for transmitting video data, the method comprising: after the second videophone terminal sends a call request message to the first videophone terminal, receiving the first videophone terminal to send a ringing status request response message, the request response message including capability set information negotiated with the first videophone terminal;
所述第二可视电话终端向第一可视电话终端发送视频数据。  The second videophone terminal transmits video data to the first videophone terminal.
相应地, 本发明实施例提供一种可视电话终端, 包括:  Correspondingly, an embodiment of the present invention provides a videophone terminal, including:
发送单元, 用于在接收第二可视电话终端发送的呼叫请求消息后, 向所 述第二可视电话终端发送振铃状态的请求响应消息; a sending unit, configured to: after receiving the call request message sent by the second videophone terminal, a request response message that the second videophone terminal sends a ringing state;
第一判断单元, 用于在接收到所述第二可视电话终端发送的视频数据后, 判断所述可视电话终端的振铃时间是否超过预设时间;  a first determining unit, configured to determine, after receiving the video data sent by the second videophone terminal, whether the ringing time of the videophone terminal exceeds a preset time;
第一记录单元, 用于在所述第一判断单元判断的振铃时间超过预设时间, 且没有接通呼叫时, 记录所述视频数据及第二可视电话终端的标识, 并将记 录的所述视频数据保存到视频文件中。  a first recording unit, configured to record the video data and the identifier of the second videophone terminal when the ringing time determined by the first determining unit exceeds a preset time, and the call is not connected, and the recorded The video data is saved to a video file.
本发明实施例还提供一种可视电话终端, 包括:  The embodiment of the invention further provides a videophone terminal, including:
接收单元, 用于在向第一可视电话终端发送呼叫请求消息后, 接收所述 第一可视电话终端发送的振铃状态的请求响应消息, 所述请求响应消息包括 与第一可视电话终端协商的能力集信息;  a receiving unit, configured to receive a request response message of a ringing state sent by the first videophone terminal after sending a call request message to the first videophone terminal, where the request response message includes the first videophone The capability set information negotiated by the terminal;
发送单元, 用于向所述第一可视电话终端发送视频数据。  And a sending unit, configured to send video data to the first videophone terminal.
由上述技术方案可知, 第一可视电话终端可以在不接听来电的情况下, 记录第二可视电话终端的视频图像及未接电话号码, 方便在查看未接来电时, 播放相关的视频, 即清楚地了解到是谁来的电话, 此外, 本发明实施例还可 以记录已接来电对应的音视频数据, 并在记录对应音视频数据保存在音视频 文件中, 以及将已接来电的电话号码与对应的视频文件相互关联, 便于用户 查询与浏览该被叫号码时, 播放相关的视频。 由此可见, 本发明实施例丰富 了视频通信中对视频通话记录的功能, 带给用户全新的体验, 从而提高用户 体验度。 附图说明  It can be known from the above technical solution that the first videophone terminal can record the video image of the second videophone terminal and the missed phone number without answering the incoming call, so that when the missed call is viewed, the related video is played. That is, the telephone of the received call is recorded, and the audio and video data corresponding to the received call is recorded in the audio and video file, and the received call is recorded. The number is associated with the corresponding video file, so that when the user queries and browses the called number, the related video is played. It can be seen that the embodiment of the present invention enriches the function of video call recording in video communication, and brings a new experience to the user, thereby improving user experience. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其它的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and those skilled in the art can obtain other drawings according to these drawings without any creative work.
图 1 为本发明实施例提供的一种可视电话终端呼叫的视频录像的方法的 流程图; FIG. 1 is a schematic diagram of a method for video recording of a videophone terminal call according to an embodiment of the present invention; Flow chart
图 2为本发明实施例提供的一种视频数据的发送方法的流程图; 图 3 为本发明第一实施例提供的一种可视电话终端呼叫的视频录像方法 的应用流程图;  2 is a flowchart of a method for transmitting video data according to an embodiment of the present invention; FIG. 3 is a flowchart of an application of a video recording method for a videophone terminal call according to a first embodiment of the present invention;
图 4 为本发明第二实施例提供的一种可视电话终端呼叫的视频录像方法 的流程图;  4 is a flowchart of a video recording method for a videophone terminal call according to a second embodiment of the present invention;
图 5 为本发明第三实施例提供的一种可视电话终端呼叫的视频录像方法 的应用流程图;  FIG. 5 is a flowchart of an application of a video recording method for a videophone terminal call according to a third embodiment of the present invention; FIG.
图 6为本发明实施例提供的一种可视电话终端的结构示意图;  FIG. 6 is a schematic structural diagram of a videophone terminal according to an embodiment of the present disclosure;
图 7为本发明实施例提供的另一种可视电话终端的结构示意图。 具体实施方式  FIG. 7 is a schematic structural diagram of another videophone terminal according to an embodiment of the present invention. detailed description
下面将结合附图, 对本发明的实施方案进行详细描述。  Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
请参阅图 1 ,为本发明实施例提供的一种可视电话终端呼叫的视频录像方 法的流程图, 所述方法包括:  FIG. 1 is a flowchart of a video recording method for a videophone terminal call according to an embodiment of the present invention, where the method includes:
步骤 101 :第一可视电话终端在接收到第二可视电话终端发送的呼叫请求 消息后, 向所述第二可视电话终端发送振铃状态的请求响应消息; 其中, 所 述请求响应消息包括与第一可视电话终端协商的能力集信息;  Step 101: After receiving the call request message sent by the second videophone terminal, the first videophone terminal sends a request response message of a ringing state to the second videophone terminal; wherein the request response message Include capability set information negotiated with the first videophone terminal;
其中, 能力集信息为终端具有的实现相应功能的能力的描述信息。 在该 实施例中, 所述呼叫请求消息, 可以是包括会话描述协议 ( SDP , Session Description Protocol)的邀请消息, 在该 SDP中可以包括了第二可视电话终端 (即发送端) 的能力集信息: 一般包括所支持的音视频协议、 接收数据的端 口号等等, 所述请求响应消息可以为包括 SDP的 180响应消息, 且该 180响 应消息中的 SDP包括: 与第一可视电话终端协商的能力集信息, 也即包括第 一可视电话终端与第二可视电话终端的能力集信息的交集, 当然, 如果二者 没有交集, 则协商失败; 当第二可视电话终端接收到包括 SDP的 180或 100 响应消息时, 可以根据该消息中的能力集信息确定该端发送视频数据的端口 号, 并初始化相关设备。 对于本发明中所述请求响应消息, 也可以为其他携 带 SDP的响应消息等, 本实施例不作限制。 The capability set information is description information of the capability that the terminal has to implement the corresponding function. In this embodiment, the call request message may be an invite message including a Session Description Protocol (SDP), and the capability set of the second videophone terminal (ie, the sender) may be included in the SDP. Information: generally includes a supported audio and video protocol, a port number for receiving data, and the like, the request response message may be a 180 response message including an SDP, and the SDP in the 180 response message includes: and the first videophone terminal The negotiated capability set information, that is, the intersection of the capability set information of the first videophone terminal and the second videophone terminal, of course, if there is no intersection between the two, the negotiation fails; when the second videophone terminal receives Includes 180 or 100 for SDP When responding to the message, the port number of the video data sent by the terminal may be determined according to the capability set information in the message, and the related device is initialized. The request response message in the present invention may also be another response message carrying the SDP, etc., which is not limited in this embodiment.
所述呼叫请求消息,也可以是包括快启参数( fastStart )的连接建立( Setup ) 请求消息, 所述快启参数包括: 所述第二可视电话终端的能力集信息; 所述 请求响应消息为: 包括快启参数的呼叫处理( Call Proceeding ) 响应消息或振 铃(Alerting ) 消息, 所述快启参数或振铃消息包括: 与第一可视电话终端协 商的能力集信息。  The call request message may also be a connection setup request message including a fast start parameter, where the quick start parameter includes: capability set information of the second videophone terminal; the request response message The method includes: a Call Proceeding response message or an Alerting message, where the quick start parameter or the ringing message includes: capability set information negotiated with the first videophone terminal.
步骤 102:所述第一可视电话终端在接收到所述第二可视电话终端发送的 视频数据后, 若所述第一可视电话终端的振铃时间超过预设时间, 且没有接 通呼叫, 则记录所述视频数据及第二可视电话终端的标识, 并将记录的所述 视频数据保存到视频文件中。  Step 102: After receiving the video data sent by the second videophone terminal, the first videophone terminal does not connect if the ringing time of the first videophone terminal exceeds a preset time. The call records the video data and the identifier of the second videophone terminal, and saves the recorded video data into the video file.
其中, 预设的时间可以是 10秒、 20秒或者立即录像等, 本实施例不作限 制。  The preset time may be 10 seconds, 20 seconds, or immediate recording, etc., which is not limited in this embodiment.
可选的, 所述方法还可以包括: 所述第一可视电话终端将保存所述视频 数据的视频文件与所述第二可视电话终端的标识相互关联。  Optionally, the method may further include: the first videophone terminal associating a video file that saves the video data with an identifier of the second videophone terminal.
其中, 在步骤 101 中, 向第二可视电话终端发送振铃状态的请求响应消 息可以为: 通过网络侧的服务器向所述第二可视电话终端发送振铃状态的请 求响应消息, 所述服务器为支持带 SDP的 180响应消息的服务器。 即该服务 器在接收携带 SDP的 180或 100响应消息时, 能够正确的解析, 并能正确的 转发给目地端。  The request response message for sending a ringing state to the second videophone terminal in step 101 may be: sending, by the server on the network side, a request response message of a ringing state to the second videophone terminal, The server is a server that supports 180 response messages with SDP. That is, when the server receives the 180 or 100 response message carrying the SDP, the server can correctly parse and correctly forward it to the destination.
当然, 在该步骤中, 向第二可视电话终端发送振铃状态的请求响应消息 也可以为: 通过专网向所述第二可视电话终端发送振铃状态的请求响应消息。  Of course, in this step, the request response message for transmitting the ringing state to the second videophone terminal may also be: sending a request response message of the ringing state to the second videophone terminal through the private network.
可选的, 所述方法还可以包括: 若所述第一可视电话终端的振铃时间没 有超过预设时间时接通该呼叫, 则所述第一可视电话终端与第二可视电话终 端进行音视频通信; 若第一可视电话终端判断需要录像, 则第一可视电话终端记录音视频通 信的音视频数据, 并在输出音视频数据时, 将记录音视频数据保存到视频文 件中, 以及在通信结束时记录第二可视电话终端的标识。 Optionally, the method may further include: if the ringing time of the first videophone terminal does not exceed a preset time, the first videophone terminal and the second videophone are connected The terminal performs audio and video communication; If the first videophone terminal determines that recording is required, the first videophone terminal records audio and video data of the audio and video communication, and when the audio and video data is output, saves the recorded audio and video data to the video file, and ends the communication. The identity of the second videophone terminal is recorded.
可选的, 所述方法还可以包括: 所述第一可视电话终端将保存所述音视 频数据的视频文件与所述第二可视电话终端的标识相互关联。  Optionally, the method may further include: the first videophone terminal associating the video file storing the audio and video data with the identifier of the second videophone terminal.
一并参阅图 2 , 为本发明实施例提供的一种视频数据发送的方法的流程 图, 所述方法包括:  FIG. 2 is a flowchart of a method for sending video data according to an embodiment of the present invention, where the method includes:
步骤 201 : 在第二可视电话终端向第一可视电话终端发送呼叫请求消息 后, 接收到所述第一可视电话终端发送的振铃状态的请求响应消息, 所述请 求响应消息可以为包括会话描述协议 SDP的 180或 100响应消息; 但并不限 于此。  Step 201: After the second videophone terminal sends a call request message to the first videophone terminal, receiving a request response message of the ringing state sent by the first videophone terminal, where the request response message may be A 180 or 100 response message including the Session Description Protocol SDP; but is not limited thereto.
其中, 所述呼叫请求消息和请求响应消息的描述具体详见上述, 在此不 再赘述。  The descriptions of the call request message and the request response message are specifically described above, and are not described herein again.
可选的, 第二可视电话终端可以通过网络的服务器向第一可视电话终端 发送呼叫请求消息, 该呼叫请求中包括 SDP。 所述服务器为支持 180或 100 响应消息的服务器。  Optionally, the second videophone terminal may send a call request message to the first videophone terminal through a server of the network, where the call request includes an SDP. The server is a server that supports 180 or 100 response messages.
步骤 202: 所述第二可视电话终端向第一可视电话终端发送视频数据。 若第一可视电话终端在设定的时间内接听, 则所述方法还可以包括: 所述第二可视电话终端与第一可视电话终端进行音视频通信;  Step 202: The second videophone terminal sends video data to the first videophone terminal. If the first videophone terminal answers within a set time, the method may further include: the second videophone terminal performs audio and video communication with the first videophone terminal;
若需要录像时, 则第二可视电话终端记录音视频通信的音视频数据, 并 在输出音视频数据时, 将音视频数据保存到视频文件中。  If recording is required, the second videophone terminal records the audio and video data of the audio and video communication, and saves the audio and video data to the video file when the audio and video data is output.
可选的, 所述方法还可以包括: 所述第二可视电话终端将保存所述音视 频数据的视频文件与所述第一可视电话终端的标识相互关联。  Optionally, the method may further include: the second videophone terminal associating the video file storing the audio and video data with the identifier of the first videophone terminal.
该实施例中, 第一可视电话终端可以在不接听来电的情况下, 记录第二 可视电话终端的视频图像及未接电话号码, 方便在查看未接来电时, 播放相 关的视频, 即清楚地了解到是谁来的电话, 此外, 本发明实施例还可以记录 已接来电对应的音视频数据, 并在记录对应音视频数据保存在音视频文件中, 以及将已接来电的电话号码与对应的视频文件相互关联, 便于用户查询与浏 览该被叫号码时, 播放相关的视频。 由此可见, 本发明实施例丰富了视频通 信中对视频通话记录的功能, 带给用户全新的体验, 从而提高用户体验度。 In this embodiment, the first videophone terminal can record the video image of the second videophone terminal and the missed phone number without answering the incoming call, so that when the missed call is viewed, the related video is played, that is, Clearly know who is coming from the phone, and in addition, the embodiment of the present invention can also record The audio and video data corresponding to the incoming call is stored, and the corresponding audio and video data is stored in the audio and video file, and the telephone number of the received call is associated with the corresponding video file, so that the user can query and browse the called number. Play related videos. It can be seen that the embodiment of the present invention enriches the function of video call recording in video communication, and brings a new experience to the user, thereby improving user experience.
进一步, 当第一可视电话终端接收到第二可视电话终端发起的呼叫请求 消息, 如果该呼叫请求消息携带 SDP的邀请消息, 在向第二可视电话终端发 送的 180或 100响应消息中携带 SDP, 在第二可视电话终端接收到携带 SDP 的 180或 100响应消息时, 双方的基本能力集信息已协商好; 如果该请求消 息为携带快启参数的连接建立请求消息时, 在向第二可视电话终端发送的请 求响应消息, 该请求响应消息为包括快启参数的呼叫处理响应消息或振铃消 息, 当第二可视电话终端收到该请求响应消息时, 双方的基本能力集信息已 协商好。 也就是说, 在第二可视电话终端接收到第一可视电话终端发送请求 响应消息之后, 根据本端的能力集信息协商出双方都支持的一个能力集信息 来(即双方能力集信息的交集), 根据所述能力集信息知道双发所支持的音视 频协议、 发送或接收视频数据的端口号等。 所述第二可视电话终端可以通过 指定的端口发送视频数据。 以便于在第一可视电话终端在接收到所述视频数 据后, 判断自身的振铃时间是否超过预设时间, 若超过预设时间, 还没有接 通呼叫, 则自动记录接收到的所述第二可视电话终端发送的视频数据, 以及 所述第二可视电话终端的标识。 也就是说, 在有未接来电的时候自动记录下 对端的视频录像, 方便用户在查看未接来电时可以清楚的了解到是谁的来电。  Further, when the first videophone terminal receives the call request message initiated by the second videophone terminal, if the call request message carries the invitation message of the SDP, in the 180 or 100 response message sent to the second videophone terminal Carrying the SDP, when the second videophone terminal receives the 180 or 100 response message carrying the SDP, the basic capability set information of the two parties has been negotiated; if the request message is a connection establishment request message carrying the quick start parameter, a request response message sent by the second videophone terminal, the request response message being a call processing response message or a ringing message including a quick start parameter, and the basic capabilities of both parties when the second videophone terminal receives the request response message The set information has been negotiated. That is, after the second videophone terminal receives the first videophone terminal to send the request response message, the capability set information of the local end is used to negotiate a capability set information supported by both parties (ie, the intersection of the capability set information of the two parties). And knowing, according to the capability set information, an audio and video protocol supported by the dual transmission, a port number for transmitting or receiving the video data, and the like. The second videophone terminal can transmit video data through a designated port. In order to determine whether the ringing time of the first videophone terminal exceeds the preset time after receiving the video data, if the call is not connected after the preset time is exceeded, the received Video data transmitted by the second videophone terminal, and an identifier of the second videophone terminal. In other words, when there is a missed call, the video recording of the opposite end is automatically recorded, so that the user can clearly know who is calling when viewing the missed call.
为了便于本领域技术人员的理解, 下面以具体的实施例来说明。  In order to facilitate the understanding of those skilled in the art, the following describes the specific embodiments.
还请参阅图 3 ,为本发明第一实施例提供的一种可视电话终端呼叫的视频 录像方法的应用流程图, 在该实施例中, 用户 A通过网络侧的软交换(比如 服务器等)向用户 B进行呼叫, 其用户 A和用户 B为可视电话终端, 具体的 实现过程包括:  FIG. 3 is a flowchart of an application of a video recording method for a videophone terminal call according to a first embodiment of the present invention. In this embodiment, user A passes a softswitch (such as a server, etc.) on the network side. The call is made to the user B, and the user A and the user B are the videophone terminals. The specific implementation process includes:
步骤 301 : 用户 A向软交换发送携带 SDP的邀请消息; 其中, 该 SDP中 包括了用户 A的能力集信息: 一般包括所支持的音视频协议、 接收数据的端 口号等等; Step 301: User A sends an invite message carrying an SDP to the softswitch, where the SDP is The user A's capability set information is included: generally includes supported audio and video protocols, port numbers for receiving data, and the like;
步骤 302: 软交换将该携带 SDP的邀请消息转发给用户 B;  Step 302: The softswitch forwards the invitation message carrying the SDP to the user B.
也就是说, 软交换对该邀请消息进行识别, 得到用户 A想要呼叫用户 B, 则将该邀请消息转发给用户 B;  That is, the softswitch identifies the invite message, and if the user A wants to call the user B, the invitation message is forwarded to the user B;
步骤 303: 软交换向用户 A回复一个 100响应消息, 表示该邀请请求已 被处理;  Step 303: The softswitch replies to user A with a 100 response message indicating that the invitation request has been processed;
步骤 304: 用户 B在收到该邀请消息后, 向软交换回复一个 100响应消 息, 表示已收到该要求消息;  Step 304: After receiving the invitation message, user B replies with a 100 response message to the softswitch, indicating that the request message has been received.
步骤 305: 用户 B在向软交换回复一个 100响应消息后, 向软交换反馈 一个携带 SDP的 180响应消息(本实施例中以在 180响应消息携带 SDP为例, 但让, 还可以在上述的 100响应消息中携带 SDP ); 该 180响应消息的 SDP 中, 包括了用户 B与用户 A的能力集信息的交集: 一般包括二者所支持的音 视频协议、 发送或接收视频数据的端口号等等;  Step 305: After replying to the softswitch with a 100 response message, the user B feeds back a 180 response message carrying the SDP to the softswitch (in this embodiment, the SDP is carried in the 180 response message as an example, but let The 100 response message carries the SDP. The SDP of the 180 response message includes the intersection of the capability set information of the user B and the user A: generally includes the audio and video protocols supported by the two, the port number of the video data to be sent or received, and the like. Wait;
步骤 306: 软交换在接收到携带 SDP的 180响应消息, 对该响应消息进 行识别后, 将该携带 SDP的 180响应消息转发给用户 A;  Step 306: The softswitch receives the 180 response message carrying the SDP, and after identifying the response message, forwards the 180 response message carrying the SDP to the user A;
步骤 307: 用户 A在接收携带 SDP的 180响应消息后, 对该响应消息进 行识别, 并确定双方发送视频数据的基本能力集信息和端口号;  Step 307: After receiving the 180 response message carrying the SDP, the user A identifies the response message, and determines basic capability set information and port number of the video data sent by the two parties.
步骤 308: 用户 A向用户 B发送视频数据;  Step 308: User A sends video data to user B.
也就是说, 用户 A通过该端口号对应的端口向将该视频数据转发送给用 户 B;  That is, user A forwards the video data to user B through the port corresponding to the port number;
步骤 309: 如果用户 B超时不接听, 则可以自动启动视频录像功能, 记 录该端口上接收到的视频数据及用户 A的电话号码, 并将所述视频数据保存 到视频文件中; 还可以将该用户 A的电话号码(即未接电话的电话号码)与 保存所述视频数据的视频文件相互关联。 以便于用户 B后续查看未接来电的 时浏览来电者(即用户 A ) 的视频图像。 在该实施例中, 由于现有技术的基本呼叫流程中, 通常是在 200 OK中携 带 SDP, 主叫用户只能在接听该携带 SDP的 200 OK之后, 才能完成基本能 力集信息和端口号的协商; 而本发明实施例中, 在被叫用户向主叫用户反馈 的 180响应中携带了 SDP, 主叫用户在接收携带 SDP的 180响应后, 提前完 成基本能力集信息和端口号的协商, 从而实现了被叫用户在超时不接听的情 况下, 也可以接收主叫用户发送的视频数据, 并启动录像功能, 记录主叫用 户发送的视频数据以及主叫用户的标识(比如电话号码等), 以方便被叫用户 后续查看未接来电的时候同时浏览主叫用户的视频图像。 Step 309: If the user B times out and does not answer, the video recording function can be automatically started, the video data received on the port and the phone number of the user A are recorded, and the video data is saved in the video file; User A's phone number (ie, the phone number of the missed call) is associated with the video file that holds the video data. In order to browse the video image of the caller (ie, user A) when user B subsequently views the missed call. In this embodiment, since the SDP is carried in the 200 OK in the basic call flow of the prior art, the calling user can only complete the basic capability set information and the port number after receiving the 200 OK carrying the SDP. In the embodiment of the present invention, the SDP is carried in the 180 response that is sent by the called user to the calling user. After receiving the 180 response of the SDP, the calling user completes the negotiation of the basic capability set information and the port number in advance. Therefore, the called user can receive the video data sent by the calling user when the timeout is not answered, and start the recording function, and record the video data sent by the calling user and the identity of the calling user (such as a phone number, etc.) In order to facilitate the called user to view the video image of the calling user while subsequently viewing the missed call.
在该实施例中, 要求网络侧的软交换支持这种带 SDP的 180响应, 也就 是说, 当该软交换收到带携带 SDP的 180响应时能够正确识别, 并转发给目 地端; 而对于主叫终端, 在接收到带 SDP的 180响应后, 即得到了会话的基 本能力集信息和发送视频数据的端口号, 就不会再等待后续的信令, 主叫终 端直接将本地数据发送到端口号对应的指定端口; 而被叫终端在发送携带 SDP的 180响应后, 就初始化本地资源, 接收主叫端发送的数据, 并对此直 接进行编解码。  In this embodiment, the softswitch on the network side is required to support the 180 response with the SDP, that is, when the softswitch receives the 180 response with the SDP, it can be correctly identified and forwarded to the destination; After receiving the 180 response with the SDP, the calling terminal obtains the basic capability set information of the session and the port number of the transmitted video data, and does not wait for subsequent signaling, and the calling terminal directly sends the local data to The designated port corresponding to the port number; after the called terminal sends the 180 response carrying the SDP, it initializes the local resource, receives the data sent by the calling end, and directly encodes and decodes the data.
在该实施例中, 由于在被叫终端不接听的情况下, 主叫终端也发送了数 据, 即进行了数据交互, 因此网络侧可以在收到带 SDP的 180响应后开始计 时, 认为通话开始, 当呼叫超时之后认为通话结束, 停止计时; 这种方案对 于被叫终端接听的情况和现有的策略类似, 不会有大的差别, 因为, 信令的 交互时间 艮短, 完全可以忽略这个时间差别。  In this embodiment, since the calling terminal also transmits data when the called terminal does not answer, that is, data interaction is performed, the network side can start timing after receiving the 180 response with the SDP, and the call starts. After the call times out, it is considered that the call ends and the time is stopped. This scheme is similar to the existing strategy for the called terminal to receive the call, and there is no big difference because the signaling interaction time is short and can completely ignore this. Time difference.
如果主叫终端想要避免在被叫终端不接听的情况下产生话费, 可以釆用 音频呼叫, 这样当被叫终端收到不带视频能力的呼叫请求时, 就不启动本发 明所述的录像功能。 如果主叫终端希望让被叫终端了解到是谁打的电话, 可 以釆用视频方式呼叫被叫终端, 当然这种情况就要承担可能产生的话费。 对 于被叫终端, 出于灵活的考虑, 可以在被叫终端设置一个配置选项, 该配置 选项的功能就是是否启用未接来电的录像功能。 如果是被叫终端免费的话, 此配置项可以保持常开。 If the calling terminal wants to avoid generating a call charge if the called terminal does not answer the call, the audio call can be used, so that when the called terminal receives the call request without the video capability, the video described in the present invention is not activated. Features. If the calling terminal wants to let the called terminal know who is calling, it can call the called terminal by video. Of course, this situation will bear the possible call charges. For the called terminal, for flexibility, a configuration option can be set on the called terminal. The function of the configuration option is to enable the recording function of the missed call. If the called terminal is free, This configuration item can remain normally open.
还请参阅图 4,为本发明第二实施例提供的一种可视电话终端呼叫的视频 录像方法的流程图,在该实施例中,用户 A可以通过专网向用户 B进行呼叫, 其用户 A和用户 B为可视电话终端, 所述方法的实现过程包括:  4 is a flowchart of a video recording method for a videophone terminal call according to a second embodiment of the present invention. In this embodiment, user A can make a call to user B through a private network. A and user B are videophone terminals, and the implementation process of the method includes:
步骤 401 : 用户 A向用户 B发送携带快启参数的建立连接请求消息; 其 中, 所述快启参数包括了用户 A的能力集信息: 一般包括所支持的音视频协 议、 接收数据的端口号等等;  Step 401: The user A sends a connection establishment request message carrying the quick start parameter to the user B. The quick start parameter includes the capability set information of the user A: generally includes the supported audio and video protocol, the port number of the received data, and the like. Wait;
步骤 402: 用户 B向用户 A发送携带快启参数的呼叫处理消息; 在该步骤中, 用户 B对接收到的建立连接请求消息进行识别, 再向用户 B发送携带快启参数的呼叫处理消息; 其中, 所述快启参数包括: 与用户 A 协商的能力集信息。  Step 402: User B sends a call processing message carrying the quick start parameter to user A. In this step, user B identifies the received connection establishment request message, and then sends a call processing message carrying the quick start parameter to user B. The quick start parameter includes: capability set information negotiated with the user A.
步骤 403: 用户 A在接收携带快启参数的呼叫处理消息后, 对该呼叫处 理进行识别, 确认双发视频通信的基本能力集信息和端口号的协商  Step 403: After receiving the call processing message carrying the quick start parameter, the user A identifies the call processing, and confirms the negotiation of the basic capability set information and the port number of the dual-channel video communication.
步骤 404: 用户 A与用户 B进行视频数据交互;  Step 404: User A and user B perform video data interaction;
步骤 405: 如果用户 B超时不接听, 则可以自动启动视频录像功能, 记 录该端口上接收到的视频数据及用户 A的电话号码, 并将所述视频数据保存 到视频文件中。  Step 405: If the user B times out and does not answer, the video recording function can be automatically started, the video data received on the port and the phone number of the user A are recorded, and the video data is saved to the video file.
可选的, 在该实施例的步骤 402中, 用户 B也可以向用户 A发送携带快 启参数的振铃消息, 即用振铃消息替换呼叫处理消息。  Optionally, in step 402 of the embodiment, the user B may also send a ringing message carrying the quick start parameter to the user A, that is, replacing the call processing message with the ringing message.
在该实施例中, 由于 H.323 协议具有快速连接流程, 即允许在通话连接 建立之前完成通信初始化和能力交换, 因此, 本发明可以在呼叫建立之前相 互发送和接受媒体流。 为了激发这个过程, 主叫方 (比如用户 A )发送带有 fastStart参数的 Setup消息给被叫方(用户 B ), 用于提供音频模式的信息。 正 常情况下, 携带 fastStart参数的 Setup消息可以在 H.245协议的公开交错信道 ( OpenLogicalChannel, 包含 codec,rate,RTP/RTCP地址)中发送。被叫方收到 此消息后, 被叫方反馈含有 fastStart (包括类似信息) 的呼叫处理 (Call Proceeding )、振铃( Alerting )消息 ,之后 ,被叫方和主叫方建立连接( Connect )。 需要说明的是, 被叫方在先于 Connect 消息的其它任何消息中都可以响应 fastStart信息。被叫方应当返回它想让主叫使用的 RTP/RTCP传输地址和 H.245 控制信道传输地址。 这样, 被叫方和主叫方之间就可以相互发送和接收媒体 流了。 这允许快速建立一个直通的, 更早的媒体信道。 In this embodiment, since the H.323 protocol has a fast connection procedure, that is, communication initialization and capability exchange are allowed to be completed before the call connection is established, the present invention can mutually transmit and receive media streams before the call is established. To trigger this process, the calling party (such as User A) sends a Setup message with the fastStart parameter to the called party (User B) for providing information on the audio mode. Normally, the Setup message carrying the fastStart parameter can be sent in the public interlaced channel (OpenLogicalChannel, including codec, rate, RTP/RTCP address) of the H.245 protocol. After the called party receives this message, the called party feeds back the call processing with fastStart (including similar information) (Call Proceeding), Alerting message, after which the called party establishes a connection with the calling party (Connect). It should be noted that the called party can respond to the fastStart information in any other message prior to the Connect message. The called party should return the RTP/RTCP transport address and the H.245 Control Channel transport address it wants the caller to use. In this way, the called party and the calling party can send and receive media streams to each other. This allows a fast, earlier media channel to be established quickly.
主交方和被叫方接收信道的关联必须通过双方携带的 fastStart 消息中的 逻辑信道号来匹配。 如果被叫方不想使用快速连接(fastConnect )流程, 它可 以简单响应一个不含 fastStart的 Connect消息。这将强制主叫方去完成正常次 序的能力交换, 主交方和被叫方确定打开逻辑信道流程。 另外, 只要 fastStrat 的模式被釆用了, 主叫方应提供 h245Address。  The association between the primary and the called party receiving channels must be matched by the logical channel number in the fastStart message carried by both parties. If the called party does not want to use the fast connect (fastConnect) process, it can simply respond to a Connect message without fastStart. This will force the calling party to complete the normal sequence of capability exchanges, and the primary and the called parties will determine the process of opening the logical channel. In addition, as long as the fastStrat mode is used, the calling party should provide h245Address.
主叫方可以在能力集信息(fastCap )参数中提供一些它支持的可选功能, 这时, 被叫方用 Call Proceeding, Alerting,消息响应 Setup时, 在 fastCap参数 中提供它的能力。 被叫方然后可以返回包括来自主叫方 fastCap 信道值的 fastStart„  The calling party can provide some optional features it supports in the capability set information (fastCap) parameter. In this case, the called party uses Call Proceeding, Alerting, and the message response Setup to provide its capabilities in the fastCap parameter. The called party can then return a fastStart that includes the value of the fastCap channel from the calling party.
由此可见,如果主叫方可以根据需要选择是否发送带有 fastStart的 Set-up, 而被叫方也可以根据终端的设置决定是否允许该请求。  It can be seen that if the calling party can choose whether to send a Set-up with fastStart as needed, the called party can also decide whether to allow the request according to the setting of the terminal.
还请参阅图 5 ,为本发明第三实施例提供的一种可视电话终端呼叫的视频 录像的方法的应用流程图, 该实施例, 以来电超时不接听自动记录主叫终端 视频的过程为例, 主叫终端和被叫终端为可视电话终端, 被叫终端以发送携 带 SDP的 180响应为例, 但并不限于此。 具体包括:  5 is a flowchart of an application of a video recording method for a videophone terminal call according to a third embodiment of the present invention. In this embodiment, a process of automatically recording a video of a calling terminal by not receiving an incoming call timeout is For example, the calling terminal and the called terminal are videophone terminals, and the called terminal sends the 180 response carrying the SDP as an example, but is not limited thereto. Specifically include:
步骤 501 : 被叫终端接收到主叫终端发起的呼叫请求; 即被叫终端接收到 来电;  Step 501: The called terminal receives a call request initiated by the calling terminal; that is, the called terminal receives the incoming call;
步骤 502: 被叫终端主动发送携带 SDP的 180响应;  Step 502: The called terminal actively sends a 180 response carrying the SDP.
当然, 在该实施例中, 被叫终端也可以发送包括快启参数的呼叫处理响 应消息或振铃消息, 但并不限于此, 也就是说, 在该步骤中, 被叫终端发送 的快启参数, 也可以是在发送连接 Connect 消息之前的任何消息中携带都可 以, 本实施例不作限制。 Certainly, in this embodiment, the called terminal may also send a call processing response message or a ringing message including a quick start parameter, but is not limited thereto, that is, in this step, the called terminal sends a quick start. The parameter can also be carried in any message before sending a Connect message. Therefore, this embodiment is not limited.
步骤 503 : 被叫终端在发送完携带 SDP的 180响应后, 开始振铃; 步骤 504: 被叫终端判断振铃时间是否超过设定的时间, 如果是, 执行步 骤 505; 否则, 执行步骤 508;  Step 503: After the called terminal sends the 180 response carrying the SDP, it starts ringing; Step 504: The called terminal determines whether the ringing time exceeds the set time, and if yes, step 505 is performed; otherwise, step 508 is performed;
步骤 505: 如果被叫终端的振铃时间超过设定的时间, 没人接听, 则被叫 终端启动视频录制功能, 记录主叫终端发送的视频数据(比如视频图像等) 及主叫终端的电话号码(即未接来电的电话号码);  Step 505: If the ringing time of the called terminal exceeds the set time and no one answers, the called terminal starts a video recording function, and records the video data (such as video images, etc.) sent by the calling terminal and the calling terminal. Number (ie the phone number of the missed call);
步骤 506: 被叫终端将记录的所述视频数据保存到视频文件中, 该视频文 件为所支持的视频格式文件;  Step 506: The called terminal saves the recorded video data into a video file, where the video file is a supported video format file.
步骤 507:被叫终端将记录的主叫终端的电话号码与所保存所述视频数据 的视频文件相互关联, 即通过该未接来电的电话号码能够找到相应的视频文 件, 结束。  Step 507: The called terminal associates the recorded telephone number of the calling terminal with the video file of the saved video data, that is, the corresponding video file can be found by the telephone number of the missed call, and the process ends.
步骤 508: 如果被叫终端的振铃时间没有超过设定的时间, 有人接听, 则 被叫终端对接收大的音视频数据进行编解码;  Step 508: If the ringing time of the called terminal does not exceed the set time, and someone answers, the called terminal encodes and decodes the received large audio and video data;
步骤 509: 被叫终端判断是否启动录像功能, 若是, 执行步骤 510; 否则, 执行步骤 513 ;  Step 509: The called terminal determines whether to enable the recording function, and if yes, go to step 510; otherwise, go to step 513;
步骤 510: 被叫终端记录所述音视频数据, 并在输出所述音视频数据时, 将所述音视频数据保存到视频文件中;  Step 510: The called terminal records the audio and video data, and saves the audio and video data into a video file when the audio and video data is output.
步骤 511 : 被叫终端在通话结束时记录该主叫终端 (即已接来电)的电话 号码;  Step 511: The called terminal records the telephone number of the calling terminal (ie, the received call) at the end of the call;
步骤 512: 被叫终端在记录已接来电的电话号码的同时, 与保存所述音视 频数据的视频文件相互关联, 即通过该未接来电记录能够找到相应的视频文 件, 结束。  Step 512: The called terminal associates with the video file storing the audio and video data while recording the telephone number of the received call, that is, the corresponding video file can be found through the missed call record, and the process ends.
步骤 513 : 被叫终端直接输出音视频数据。  Step 513: The called terminal directly outputs audio and video data.
在该实施例中, 被叫终端可以在不接听来电的情况下, 记录主叫终端的 视频图像, 方便被叫用户在查看未接来电, 播放相关的视频, 即清楚地了解 到是谁来的电话, 此外, 本发明实施例还可以对于已接来电也记录对应音视 频数据, 并在记录对应音视频数据保存在音视频文件中, 以及将已接来电的 电话号码与对应的视频文件相互关联, 便于用户后续查询与浏览该主叫号码 时, 播放相关的视频。 由此可见, 本发明实施例丰富了视频通信中对视频通 话记录的功能, 带给用户全新的体验。 In this embodiment, the called terminal can record the video image of the calling terminal without answering the incoming call, so that the called user can view the missed call and play the related video, that is, clearly understand In addition, the embodiment of the present invention can also record corresponding audio and video data for the received call, and save the corresponding audio and video data in the audio and video file, and correspondingly the phone number of the received call. The video files are related to each other, so that the user can play related videos when the user subsequently queries and browses the calling number. It can be seen that the embodiment of the present invention enriches the function of video call recording in video communication, and brings a new experience to the user.
需要说明的是, 本发明实施例中, 在通话记录与该通话的视频关联的同 时, 如果将该通话记录转存为通讯录时, 也能将附带的视频一起转存, 实现 通讯录的可视化; 在查看通讯录的时候也能播放与之相关的视频片段, 使通 讯录的浏览更加直观。  It should be noted that, in the embodiment of the present invention, when the call record is associated with the video of the call, if the call record is transferred to the address book, the attached video can be dumped together to realize the visualization of the address book. ; When you view the address book, you can also play the video clips related to it, making the browsing of the address book more intuitive.
基于上述方法的实现过程, 本发明实施例还提供一种可视电话终端, 其 结构示意图详见图 6 , 所述可视电话终端包括: 发送单元 61 , 第一判断单元 62和第一记录单元 63 , 其中, 发送单元 61 , 用于在接收第二可视电话终端发 送的呼叫请求消息 (其中, 所述呼叫请求消息为包括 SDP的邀请消息, 或者 其他消息, 所述 SDP包括: 所述第二可视电话终端的能力集信息;)后, 向所 述第二可视电话终端发送振铃状态的请求响应消息; 其中, 所述请求响应消 息包括与第一可视电话终端协商的能力集信息, 其中, 所述请求响应消息可 以为包括 SDP的 180响应消息, 也可以是其他包括 SDP响应消息, 所述包括 SDP响应消息中的 SDP包括: 与第一可视电话终端协商的能力集信息, 本实 施例不作限制, 比如, 如果所述发送单元接收到的所述呼叫请求消息为: 包 括快启参数的连接建立请求消息, 所述快启参数包括: 所述第二可视电话终 端的能力集信息; 以及发送的所述请求响应消息为: 包括快启参数的呼叫处 理响应消息或振铃消息, 所述快启参数或振铃消息包括: 与第一可视电话终 端协商的能力集信息; 第一判断单元 62 , 用于在接收到所述第二可视电话终 端发送的视频数据后, 判断所述可视电话终端的振铃时间是否超过预设时间; 第一记录单元 63 , 用于在所述第一判断单元判断的振铃时间超过预设时间, 且没有接通呼叫时, 记录所述视频数据及第二可视电话终端的标识, 并将记 录的所述视频数据保存到视频文件中。 The embodiment of the present invention further provides a videophone terminal, which is shown in FIG. 6. The videophone terminal includes: a sending unit 61, a first determining unit 62, and a first recording unit. 63. The sending unit 61 is configured to receive a call request message sent by the second videophone terminal, where the call request message is an invite message including an SDP, or another message, where the SDP includes: a capability set information of the second videophone terminal;), sending a request response message of a ringing state to the second videophone terminal; wherein the request response message includes a capability set negotiated with the first videophone terminal The information, where the request response message may be a 180 response message including an SDP, or may include another SDP response message, where the SDP included in the SDP response message includes: capability set information negotiated with the first videophone terminal The embodiment does not limit, for example, if the call request message received by the sending unit is: including a quick start parameter The setup request message, the quick start parameter includes: the capability set information of the second videophone terminal; and the sent request response message is: a call processing response message or a ringing message including a quick start parameter, The quick start parameter or the ringing message includes: capability set information negotiated with the first videophone terminal; the first determining unit 62 is configured to: after receiving the video data sent by the second videophone terminal, determine the location Whether the ringing time of the videophone terminal exceeds a preset time; the first recording unit 63 is configured to: when the ringing time determined by the first determining unit exceeds a preset time, and the call is not connected, Video data and the identity of the second videophone terminal, and will record The recorded video data is saved to a video file.
可选的, 所述可视电话终端还可以包括: 第一关联单元, 用于将所述第 一记录单元保存所述视频数据的视频文件与所述第二可视电话终端的标识相 互关联。  Optionally, the videophone terminal may further include: a first association unit, configured to associate the video file that saves the video data by the first recording unit with the identifier of the second videophone terminal.
可选的, 所述可视电话还可以包括: 接通单元, 第二判断单元, 第二记 录单元, 其中, 接通单元, 用于在所述第一判断单元判断的振铃时间没有超 过预设时间接通该呼叫时, 所述可视电话终端与第二可视电话终端进行音视 频通信; 第二判断单元, 用于判断是否需要录像; 第二记录单元, 用于在所 述第二判断单元判断需要录像时, 记录所述音视频通信的音视频数据, 并在 输出音视频数据时将所述音视频数据保存到视频文件中, 在通信结束时记录 第二可视电话终端的标识。  Optionally, the videophone may further include: a turn-on unit, a second determining unit, and a second recording unit, wherein the switch-on unit is configured to: the ringing time determined by the first determining unit does not exceed the preset When the time is connected to the call, the videophone terminal performs audio and video communication with the second videophone terminal; the second determining unit is configured to determine whether video recording is required; and the second recording unit is configured to be in the second When the judging unit judges that the video recording is needed, the audio and video data of the audio and video communication is recorded, and the audio and video data is saved into the video file when the audio and video data is output, and the identifier of the second videophone terminal is recorded when the communication ends. .
可选的, 所述可视电话终端还可以包括: 第二关联单元, 用于将所述第 二记录单元保存所述音视频数据的视频文件与所述第二可视电话终端的标识 相互关联。  Optionally, the videophone terminal may further include: a second association unit, configured to associate a video file that saves the audio and video data by the second recording unit with an identifier of the second videophone terminal .
相应的, 本发明实施例还可以提供另一种可视电话终端, 其结构示意图 详见图 7 , 所述可视电话终端包括: 接收单元 71和发送单元 72 , 还可以包括 接通单元 73 , 判断单元 74和记录单元 75 , 其中, 接收单元 71 , 用于在向第 一可视电话终端发送呼叫请求消息后, 接收所述第一可视电话终端发送的振 铃状态的请求响应消息, 所述请求响应消息包括与第一可视电话终端协商的 能力集信息, 具体可以是包括会话描述协议 SDP的 180响应消息; 或者为包 括快启参数的呼叫处理响应消息或振铃消息, 所述 SDP、 快启参数或振铃消 息包括: 与第一可视电话终端协商的能力集信息; 发送单元 72 , 用于向所述 第一可视电话终端发送视频数据; 接通单元 73 , 用于在发送单元发送所述视 频数据后, 该可视电话终端与第一可视电话终端进行音视频通信; 判断单元 74, 用于判断是否需要录像; 记录单元 75 , 用于在判断单元判断需要录像时, 记录所述音视频通信的音视频数据, 并在输出所述音视频数据时, 将音视频 数据保存到视频文件中。 Correspondingly, the embodiment of the present invention may further provide another videophone terminal, which is shown in FIG. 7. The videophone terminal includes: a receiving unit 71 and a sending unit 72, and may further include a turning-on unit 73. a determining unit 74 and a recording unit 75, wherein the receiving unit 71 is configured to receive a request response message of a ringing state sent by the first videophone terminal after sending a call request message to the first videophone terminal, where The request response message includes capability set information negotiated with the first videophone terminal, and may specifically be a 180 response message including a session description protocol SDP; or a call processing response message or a ringing message including a quick start parameter, the SDP The quick start parameter or the ringing message includes: capability set information negotiated with the first videophone terminal; a sending unit 72, configured to send video data to the first videophone terminal; and an on unit 73, configured to After the sending unit sends the video data, the videophone terminal performs audio and video communication with the first videophone terminal; the determining unit 74 is configured to determine whether To record; a recording unit 75, when the determination unit determines a required video, record audio and video data of the audio-video communication, and when the output of the audio and video data, the audio and video The data is saved to a video file.
可选的, 所述可视电话终端还可以包括: 关联单元, 用于所述记录单元 保存所述音视频数据的音视频文件与所述第一可视电话终端的标识相互关 联。  Optionally, the videophone terminal may further include: an association unit, wherein the audio and video files used by the recording unit to save the audio and video data and the identifier of the first videophone terminal are associated with each other.
所述可视电话终端中各个单元的功能和作用的实现过程详见上述方法中 对应的实现过程, 在此不再赘述。  For the implementation process of the function and the function of each unit in the videophone terminal, refer to the corresponding implementation process in the foregoing method, and details are not described herein again.
在本发明实施例中, 被叫终端可以在不接听来电的情况下, 记录主叫终 端的视频图像, 方便被叫用户在查看未接来电, 播放相关的视频, 即清楚地 了解到是谁来的电话, 此外, 本发明实施例还可以对于已接来电也记录对应 音视频数据, 并在记录对应音视频数据保存在音视频文件中, 以及将已接来 电的电话号码与对应的视频文件相互关联, 便于用户后续查询与浏览该主叫 号码时, 播放相关的视频。 由此可见, 本发明实施例丰富了视频通信中对视 频通话记录的功能, 带给用户全新的体验, 从而提高用户体验度。  In the embodiment of the present invention, the called terminal can record the video image of the calling terminal without answering the incoming call, so that the called user can view the missed call and play the related video, that is, clearly understand who is coming. In addition, the embodiment of the present invention may also record corresponding audio and video data for the received call, and save the corresponding audio and video data in the audio and video file, and the telephone number of the received call and the corresponding video file. Correlation, which is convenient for the user to play related videos when browsing and browsing the calling number. It can be seen that the embodiment of the present invention enriches the function of video call recording in video communication, and brings a new experience to the user, thereby improving user experience.
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本发 明可借助软件加必需的通用硬件平台的方式来实现, 当然也可以通过硬件, 但很多情况下前者是更佳的实施方式。 基于这样的理解, 本发明的技术方案 本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来, 该计算机软件产品可以存储在存储介质中, 如 ROM/RAM、 磁碟、 光盘等, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者 网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。  Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is a better implementation. the way. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM or a disk. , an optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的普 通技术人员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进和润 饰, 这些改进和润饰也应视为本发明的保护范围。  The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It is considered as the scope of protection of the present invention.

Claims

权 利 要求 书 Claim
1、 一种可视电话终端呼叫的视频录像的方法, 其特征在于, 包括: 第一可视电话终端在接收到第二可视电话终端发送的呼叫请求消息后, 向所述第二可视电话终端发送振铃状态的请求响应消息; A video recording method for a videophone terminal call, comprising: after receiving a call request message sent by a second videophone terminal, the first videophone terminal The telephone terminal sends a request response message of a ringing state;
所述第一可视电话终端在接收到所述第二可视电话终端发送的视频数据 后, 若所述第一可视电话终端的振铃时间超过预设时间, 且没有接通呼叫, 则记录所述视频数据及第二可视电话终端的标识, 并将记录的所述视频数据 保存到视频文件中。  After the first videophone terminal receives the video data sent by the second videophone terminal, if the ringing time of the first videophone terminal exceeds a preset time, and the call is not connected, Recording the video data and the identifier of the second videophone terminal, and saving the recorded video data to the video file.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 所述第一可视电话终端将保存所述视频数据的视频文件与所述第二可视 电话终端的标识相互关联。  2. The method according to claim 1, wherein the method further comprises: the first videophone terminal mutually storing a video file of the video data and an identifier of the second videophone terminal Association.
3、 根据权利要求 1或 2所述的方法, 其特征在于,  3. A method according to claim 1 or 2, characterized in that
所述呼叫请求消息包括: 所述第二可视电话终端的能力集信息; 所述请 求响应消息包括: 与第一可视电话终端协商的能力集信息。  The call request message includes: capability set information of the second videophone terminal; and the request response message includes: capability set information negotiated with the first videophone terminal.
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述向第二可视电话 终端发送振铃状态的请求响应消息具体为:  The method according to claim 1 or 2, wherein the request response message for transmitting a ringing state to the second videophone terminal is specifically:
通过网络侧的服务器或者专网向所述第二可视电话终端发送振铃状态的 请求响应消息。  A request response message of a ringing state is transmitted to the second videophone terminal through a server on the network side or a private network.
5、 根据权利要求 1或 2所述的方法, 其特征在于, 所述方法还包括: 若所述第一可视电话终端的振铃时间没有超过预设时间时接通该呼叫, 则所述第一可视电话终端与第二可视电话终端进行音视频通信;  The method according to claim 1 or 2, wherein the method further comprises: if the ringing time of the first videophone terminal does not exceed a preset time, the call is turned on, The first videophone terminal performs audio and video communication with the second videophone terminal;
若需要录像, 则第一可视电话终端记录的音视频通信的音视频数据, 并 在输出音视频数据时, 将记录音视频数据保存到视频文件中, 以及在通信结 束时记录第二可视电话终端的标识。  If recording is required, the audio and video data of the audio and video communication recorded by the first videophone terminal, and when the audio and video data is output, the recorded audio and video data is saved into the video file, and the second visible is recorded at the end of the communication. The identity of the telephone terminal.
6、 一种视频数据的发送方法, 其特征在于, 包括:  6. A method for transmitting video data, comprising:
在第二可视电话终端向第一可视电话终端发送呼叫请求消息后, 接收到 所述第一可视电话终端发送的振铃状态的请求响应消息, 所述请求响应消息 包括与第一可视电话终端协商的能力集信息; 所述第二可视电话终端向第一可视电话终端发送视频数据。 After the second videophone terminal sends a call request message to the first videophone terminal, receiving a request response message of the ringing state sent by the first videophone terminal, where the request response message includes the first The capability set information negotiated by the telephone terminal; The second videophone terminal transmits video data to the first videophone terminal.
7、 根据权利要求 6所述的方法, 其特征在于, 若第一可视电话终端在设 定的时间内接听, 则所述方法还包括:  The method according to claim 6, wherein if the first videophone terminal answers within a set time, the method further includes:
所述第二可视电话终端与第一可视电话终端进行音视频通信;  The second videophone terminal performs audio and video communication with the first videophone terminal;
若需要录像时, 则第二可视电话终端记录音视频通信的音视频数据及第 一可视电话终端的标识, 并在输出音视频数据时, 将音视频数据保存到视频 文件中。  If recording is required, the second videophone terminal records the audio and video data of the audio and video communication and the identifier of the first videophone terminal, and saves the audio and video data to the video file when the audio and video data is output.
8、 一种可视电话终端, 其特征在于, 包括:  8. A videophone terminal, comprising:
发送单元, 用于在接收第二可视电话终端发送的呼叫请求消息后, 向所 述第二可视电话终端发送振铃状态的请求响应消息;  a sending unit, configured to send a request response message of a ringing state to the second videophone terminal after receiving the call request message sent by the second videophone terminal;
第一判断单元, 用于在接收到所述第二可视电话终端发送的视频数据后, 判断所述可视电话终端的振铃时间是否超过预设时间;  a first determining unit, configured to determine, after receiving the video data sent by the second videophone terminal, whether the ringing time of the videophone terminal exceeds a preset time;
第一记录单元, 用于在所述第一判断单元判断的振铃时间超过预设时间, 且没有接通呼叫时, 记录所述视频数据及第二可视电话终端的标识, 并将记 录的所述视频数据保存到视频文件中。  a first recording unit, configured to record the video data and the identifier of the second videophone terminal when the ringing time determined by the first determining unit exceeds a preset time, and the call is not connected, and the recorded The video data is saved to a video file.
9、 根据权利要求 8所述的可视电话终端, 其特征在于, 还包括: 第一关联单元, 用于将所述第一记录单元保存所述视频数据的视频文件 据与所述第二可视电话终端的标识相互关联。  The videophone terminal according to claim 8, further comprising: a first association unit, configured to save the video file data of the video data and the second The identifiers of the telephone terminals are associated with each other.
10、 根据权利要求 8或 9所述的可视电话终端, 其特征在于,  10. A videophone terminal according to claim 8 or 9, wherein
所述发送单元接收到的所述呼叫请求消息包括所述第二可视电话终端的 能力集信息; 发送的所述请求响应消息包括: 与第一可视电话终端协商的能 力集信息。  The call request message received by the sending unit includes capability set information of the second videophone terminal; and the sent request response message includes: capability set information negotiated with the first videophone terminal.
11、 根据权利要求 8或 9所述的可视电话终端, 其特征在于, 还包括: 接通单元, 用于在所述第一判断单元判断的振铃时间没有超过预设时间 接通该呼叫时, 所述可视电话终端与第二可视电话终端进行音视频通信; 第二判断单元, 用于判断是否需要录像;  The videophone terminal according to claim 8 or 9, further comprising: a turning-on unit, configured to turn on the call when the ringing time determined by the first determining unit does not exceed a preset time The videophone terminal performs audio and video communication with the second videophone terminal; the second determining unit is configured to determine whether video recording is required;
第二记录单元, 用于在所述第二判断单元判断需要录像时, 记录所述音 视频通信的音视频数据, 并在输出音视频数据时将所述音视频数据保存到视 频文件中, 在通信结束时记录第二可视电话终端的标识。 a second recording unit, configured to record audio and video data of the audio and video communication when the second determining unit determines that recording is required, and save the audio and video data to the video when outputting the audio and video data In the frequency file, the identity of the second videophone terminal is recorded at the end of the communication.
12、 一种可视电话终端, 其特征在于, 包括:  12. A videophone terminal, comprising:
接收单元, 用于在向第一可视电话终端发送呼叫请求消息后, 接收所述 第一可视电话终端发送的振铃状态的请求响应消息, 所述请求响应消息包括 与第一可视电话终端协商的能力集信息;  a receiving unit, configured to receive a request response message of a ringing state sent by the first videophone terminal after sending a call request message to the first videophone terminal, where the request response message includes the first videophone The capability set information negotiated by the terminal;
发送单元, 用于在所述接收单元接收到请求响应消息后, 向所述第一可 视电话终端发送视频数据。  And a sending unit, configured to send video data to the first videophone terminal after the receiving unit receives the request response message.
13、 根据权利要求 12所述的可视电话终端, 其特征在于, 若第一可视电 话终端在设定的时间内接听, 所述可视电话终端还包括:  The videophone terminal according to claim 12, wherein, if the first videophone terminal answers within a set time, the videophone terminal further includes:
接通单元, 用于在发送单元发送所述视频数据后, 该可视电话终端与第 一可视电话终端进行音视频通信;  a turn-on unit, configured to perform audio-video communication with the first videophone terminal after the sending unit sends the video data;
判断单元, 用于判断是否需要录像;  a determining unit, configured to determine whether a video is needed;
记录单元, 用于在判断单元判断需要录像时, 记录所述音视频通信的音 视频数据, 并在输出所述音视频数据时, 将音视频数据保存到视频文件中。  And a recording unit, configured to record audio and video data of the audio and video communication when the determining unit determines that recording is required, and save the audio and video data into the video file when the audio and video data is output.
PCT/CN2011/073312 2010-05-04 2011-04-26 Method for recording video and method for sending video data for terminal call and visual terminal WO2011137723A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010163223.1 2010-05-04
CN201010163223A CN101854356A (en) 2010-05-04 2010-05-04 Video recording method for terminal call, video data transmission method, and video terminal

Publications (1)

Publication Number Publication Date
WO2011137723A1 true WO2011137723A1 (en) 2011-11-10

Family

ID=42805623

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/073312 WO2011137723A1 (en) 2010-05-04 2011-04-26 Method for recording video and method for sending video data for terminal call and visual terminal

Country Status (2)

Country Link
CN (1) CN101854356A (en)
WO (1) WO2011137723A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854356A (en) * 2010-05-04 2010-10-06 华为终端有限公司 Video recording method for terminal call, video data transmission method, and video terminal
CN106503182A (en) 2011-08-15 2017-03-15 联想(北京)有限公司 Recording method, recording equipment and electronic equipment
CN104954114B (en) * 2015-03-13 2019-01-08 天地融科技股份有限公司 Route jump method, communication device and communication system in a kind of communication process
CN108781217B (en) * 2017-01-16 2020-11-27 华为技术有限公司 Multimedia data transmission method, server and terminal
CN106878655B (en) * 2017-03-31 2020-10-16 宇龙计算机通信科技(深圳)有限公司 Video call method and device
CN108989733A (en) * 2018-07-25 2018-12-11 成都鼎桥通信技术有限公司 Video point exhales the generation method and device of video file

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960254A (en) * 2006-11-22 2007-05-09 北京邮电大学 Method and system for implementing pass check service of videophone based on IP multimedia subsystem
CN101035161A (en) * 2006-03-09 2007-09-12 中兴通讯股份有限公司 Method for using the intelligent visual terminal to realize the image color ring
CN101552826A (en) * 2009-05-04 2009-10-07 中兴通讯股份有限公司 Videophone service automatic answering machine and device
CN101610378A (en) * 2008-06-18 2009-12-23 联想移动通信科技有限公司 The method of a kind of automatic-answering back device and recording video telephone and video telephone
CN101854356A (en) * 2010-05-04 2010-10-06 华为终端有限公司 Video recording method for terminal call, video data transmission method, and video terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787569A (en) * 2004-12-09 2006-06-14 华为技术有限公司 Method for auto recording incoming telephone signal at user turminal
KR100921005B1 (en) * 2008-02-15 2009-10-09 주식회사 케이티 Method and System for Storing Video Call Record at WCDMA Network
CN101360213B (en) * 2008-09-02 2010-07-14 中兴通讯股份有限公司 Method and apparatus for caller audio and video transmission before incoming call answering for visual telephone service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035161A (en) * 2006-03-09 2007-09-12 中兴通讯股份有限公司 Method for using the intelligent visual terminal to realize the image color ring
CN1960254A (en) * 2006-11-22 2007-05-09 北京邮电大学 Method and system for implementing pass check service of videophone based on IP multimedia subsystem
CN101610378A (en) * 2008-06-18 2009-12-23 联想移动通信科技有限公司 The method of a kind of automatic-answering back device and recording video telephone and video telephone
CN101552826A (en) * 2009-05-04 2009-10-07 中兴通讯股份有限公司 Videophone service automatic answering machine and device
CN101854356A (en) * 2010-05-04 2010-10-06 华为终端有限公司 Video recording method for terminal call, video data transmission method, and video terminal

Also Published As

Publication number Publication date
CN101854356A (en) 2010-10-06

Similar Documents

Publication Publication Date Title
JP4653173B2 (en) Method and apparatus for multimedia communication
US8195147B2 (en) Method of enabling a combinational service and communication network implementing the service
US8244229B2 (en) Mobile video call response
WO2008110089A1 (en) Method and system for realizing multimedia color ring service and multimedia color inspire service
WO2011137723A1 (en) Method for recording video and method for sending video data for terminal call and visual terminal
WO2010075696A1 (en) System and method for supporting the share of mobile phone tv programs
US8737968B2 (en) Method and system for handling a multi-media call setup request
WO2014101209A1 (en) Method, device, and system for implementing conference access
JP5684386B2 (en) Web-based access to video content associated with voicemail
WO2009033401A1 (en) A communication method, system and service controlling function entity
WO2010066139A1 (en) Terminal and method for prompting service failure in the video telephone service
WO2012055317A1 (en) Method and device for displaying information
WO2013086840A1 (en) Method and device for realizing seamless switch from two-party call to conference
US20100083333A1 (en) Receiver Apparatus and Method
WO2008052458A1 (en) A method, system and terminal device for acquiring media character information
US20070047699A1 (en) Separation of session and session control
US7688763B2 (en) Method for establishing a communication connection in a direct communication network
KR100695393B1 (en) System and method for providing the additional multimedia contents during communication in SIP
KR100695388B1 (en) System and method for providing the alternative multimedia contents during communication in SIP
KR100682374B1 (en) System and method for providing the alternative multimedia contents during communication in SIP
KR20060097948A (en) Method for providing multimedia contents using the display of caller information
WO2011120283A1 (en) Color ring back tone service processing method, device and terminal in internet protocol multimedia subsystem domain
KR100695391B1 (en) System and method for providing the additional multimedia contents during communication in SIP
JP4548346B2 (en) Information provision system
KR20060089795A (en) Method for providing multimedia contents using ringback tone

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11777144

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11777144

Country of ref document: EP

Kind code of ref document: A1