CN108259439B - Video session establishing method and gateway equipment - Google Patents

Video session establishing method and gateway equipment Download PDF

Info

Publication number
CN108259439B
CN108259439B CN201611248838.8A CN201611248838A CN108259439B CN 108259439 B CN108259439 B CN 108259439B CN 201611248838 A CN201611248838 A CN 201611248838A CN 108259439 B CN108259439 B CN 108259439B
Authority
CN
China
Prior art keywords
video
function
voice
auxiliary
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611248838.8A
Other languages
Chinese (zh)
Other versions
CN108259439A (en
Inventor
吴鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201611248838.8A priority Critical patent/CN108259439B/en
Publication of CN108259439A publication Critical patent/CN108259439A/en
Application granted granted Critical
Publication of CN108259439B publication Critical patent/CN108259439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/10Architectures or entities
    • H04L65/102Gateways
    • 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/10Architectures or entities
    • H04L65/1059End-user terminal functionalities specially adapted for real-time communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a video session establishing method and gateway equipment, which are used for solving the problem that video session cannot be established between terminal equipment due to the fact that one end of equipment does not have a video function in the existing technical scheme for establishing session between terminal equipment. The method comprises the following steps: the gateway equipment receives a request message sent by first equipment, wherein the request message is used for indicating the first equipment to request to establish a video session with second equipment; when at least one end device has a voice function and does not have a video function in the first device and the second device, the gateway device determines an auxiliary device matched with the at least one end device in advance; the gateway device establishes a video session between the first device and the second device, and in the process of the video session between the first device and the second device, the auxiliary device is used for displaying video data from the opposite device for the end device matched with the auxiliary device, and/or the auxiliary device is used for acquiring the video data of the end device matched with the auxiliary device.

Description

Video session establishing method and gateway equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a video session establishment method and a gateway device.
Background
With the development of communication technology, a video session can be established between two or more terminal devices. The precondition for enabling a video session between terminal devices is that the terminal devices have a voice function and a video function.
When the terminal equipment needing to establish the session has the condition that one end equipment does not have the video function, only the voice session can be established, but not the video session. Taking a scheme of establishing a session between a terminal device in an existing Internet Protocol Multimedia Subsystem (IMS) network and a terminal device in a wired network as an example, since the terminal device in the IMS network has a voice function and a video function, while some terminal devices in the wired network only have a voice function, such as a program controlled telephone, an analog fixed telephone, and the like. Therefore, even if a terminal device in the IMS network initiates a request to establish a video session to a terminal device in the wired network, only a voice session can be established between the two terminal devices.
In summary, in the existing technical solution for establishing a session between terminal devices, if one end device does not have a video function, a video session cannot be established between the terminal devices.
Disclosure of Invention
The embodiment of the invention provides a video session establishing method and gateway equipment, which are used for solving the problem that video session cannot be established between terminal equipment due to the fact that one end of equipment does not have a video function in the existing technical scheme for establishing session between terminal equipment.
The embodiment of the invention is realized by the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for establishing a video session, where the method includes:
the gateway equipment receives a request message sent by first equipment, wherein the request message is used for indicating the first equipment to request to establish a video session with second equipment;
when at least one end device has a voice function and does not have a video function in the first device and the second device, the gateway device determines an auxiliary device matched with the at least one end device in advance;
the gateway device establishes a video session between the first device and the second device, and in the process of the video session between the first device and the second device, the auxiliary device is used for displaying video data from the opposite device for the end device matched with the auxiliary device, and/or the auxiliary device is used for acquiring the video data of the end device matched with the auxiliary device.
In one possible design, the gateway device determines that the auxiliary device pre-matched with the at least one end device is preceded by:
the gateway device determines that at least one end device in the first device and the second device has a voice function and does not have a video function;
and the gateway equipment matches the auxiliary equipment for the determined at least one end equipment and records the matching relation between the at least one end equipment and the auxiliary equipment matched for the at least one end equipment.
In one possible design, at least one of the first device and the second device has a voice function and no video function, specifically:
the first device has a voice function and does not have a video function, and the second device has a voice function and a video function; or,
the first device has a voice function and a video function, and the second device has a voice function and does not have a video function; or,
the first device and the second device each have a voice function and no video function.
In one possible design, in a case where the first device has a voice function and a video function, the second device has a voice function and does not have a video function, the gateway device establishes a video session between the first device and the second device, including:
the gateway equipment establishes a voice data transmission link between the first equipment and the second equipment, and establishes a video data transmission link between the first equipment and auxiliary equipment of the second equipment;
in the process of video session between the first device and the second device, the voice data transmission link is used for the gateway device to transmit the voice data acquired by one device of the first device and the second device to the opposite device through the voice data transmission link, and the video data transmission link is used for the gateway device to transmit the video data acquired by one device of the auxiliary devices of the first device and the second device to the opposite device through the video data transmission link.
In one possible design, the auxiliary device includes a video playback device and/or a video capture device.
In a second aspect, an embodiment of the present invention provides a gateway device, including:
the receiving and sending unit is used for receiving a request message sent by the first equipment, wherein the request message is used for indicating the first equipment to request to establish a video session with the second equipment;
a determining unit configured to determine an auxiliary device that is pre-matched for at least one end device when the at least one end device has a voice function and does not have a video function exists in the first device and the second device;
the establishing unit is used for establishing a video session between the first device and the second device according to the request message received by the receiving and sending unit, and in the process of the video session between the first device and the second device, the auxiliary device determined by the determining unit is used for displaying video data from the opposite device for the end device matched with the auxiliary device, and/or the auxiliary device determined by the determining unit is used for acquiring the video data of the end device matched with the auxiliary device.
In one possible design, the determination unit is further configured to:
determining that there is at least one of the first device and the second device that has voice functionality and no video functionality prior to determining the pre-matched auxiliary device for the at least one end device;
and matching the determined at least one end device with the auxiliary device, and recording the matching relationship between the at least one end device and the auxiliary device matched with the at least one end device.
In one possible design, at least one of the first device and the second device has a voice function and no video function, specifically:
the first device has a voice function and does not have a video function, and the second device has a voice function and a video function; or,
the first device has a voice function and a video function, and the second device has a voice function and does not have a video function; or,
the first device and the second device each have a voice function and no video function.
In one possible design, the establishing unit is specifically configured to:
under the condition that the first equipment has a voice function and a video function, and the second equipment has the voice function and does not have the video function, establishing a voice data transmission link between the first equipment and the second equipment, and establishing a video data transmission link between the first equipment and auxiliary equipment of the second equipment;
in the process of video session between the first device and the second device, the voice data transmission link is used for the gateway device to transmit the voice data acquired by one device of the first device and the second device to the opposite device through the voice data transmission link, and the video data transmission link is used for the gateway device to transmit the video data acquired by one device of the auxiliary devices of the first device and the second device to the opposite device through the video data transmission link.
In one possible design, the auxiliary device includes a video playback device and/or a video capture device.
In the technical solution provided in the embodiment of the present invention, a gateway device receives a request message sent by a first device, where the request message is used to instruct the first device to establish a video session with a second device. When at least one end device having a voice function and no video function exists in the first device and the second device, the gateway device determines an auxiliary device which is matched with the at least one end device in advance, and establishes a video session between the first device and the second device. In the process that the gateway device establishes the video session between the first device and the second device, the auxiliary device is used for displaying the video data from the opposite device for the end device matched with the auxiliary device, and/or the auxiliary device is used for collecting the video data of the end device matched with the auxiliary device. The technical scheme provided by the embodiment of the invention can realize that the gateway equipment establishes the video session between the terminal equipment of which at least one end equipment does not have the video function, and solves the problem that the video session cannot be established between the terminal equipment due to the fact that one end equipment does not have the video function in the existing technical scheme for establishing the session between the terminal equipment.
Drawings
Fig. 1 is a schematic flowchart illustrating a session between a terminal device in an IMS network and a terminal device in a wired network in the prior art;
fig. 2 is a flowchart illustrating a video session establishment method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a gateway device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another gateway device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme provided by the embodiment of the invention is used for solving the problem that the video session cannot be established between the terminal devices if one terminal device does not have the video function in the scene of establishing the session between the terminal devices. The scene of establishing the session between the terminal devices comprises the establishment of a voice session between the terminals and the establishment of a video session between the terminals, wherein the precondition that the terminal devices can carry out the voice session is that the terminal devices have a voice function, and the precondition that the terminal devices can carry out the video session between the terminal devices is that the terminal devices have the voice function and the video function. When one end device does not have a video function in the terminal devices needing to establish the session, the video session cannot be established between the terminal devices by adopting the prior art. Taking a scheme of establishing a session between a terminal device in an existing IMS network and a terminal device in a wired network as an example, as shown in fig. 1, a calling device is a terminal device in the IMS network, the terminal device in the IMS network has a voice function and a video function, a called device is a terminal device in the wired network, and the terminal device in the wired network only has the voice function. Therefore, even if a terminal device in the IMS network initiates a request for establishing a video session to a terminal device in the wired network, only a voice session can be established between the two terminal devices.
In order to solve the problem that in a scene of session establishment between terminal devices in the prior art, if one terminal device does not have a video function, a video session cannot be established between the terminal devices, embodiments of the present invention provide a video session establishment method and a gateway device. In the technical scheme provided by the embodiment of the invention, the first device and the second device are two-end devices which need to establish a video session, the gateway device matches auxiliary devices for at least one-end devices which have a voice function and do not have a video function in the first device and the second device, so that the video function of the at least one-end device which has the voice function and does not have the video function is realized, the gateway device can further establish the video session for the terminal devices of which at least one-end devices do not have the video function, and the problem that the video session cannot be established between the terminal devices due to the fact that one-end devices do not have the video function in the existing technical scheme for establishing the session between the terminal devices is solved. The method and the device are based on the same inventive concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
The gateway device according to the technical solution provided by the embodiments of the present invention may be an access point, or may be a network device in an access network that communicates with a wireless terminal device over an air interface through one or more sectors. The gateway device may be configured to interconvert received air frames and Internet Protocol (IP) packets as a router between the wireless terminal device and the rest of the access network, which may include an Internet Protocol (IP) network. The gateway device may also coordinate attribute management for the air interface. For example, the gateway device may be a Session Border Control network element (SBC), an Autonomous System (AP), and the like, which is not limited in the embodiment of the present invention.
The first device and the second device related to the technical scheme provided by the embodiment of the invention are both terminal devices. The first device and the second device may be the same type of terminal device or different types of terminal devices. Where a terminal device may refer to a device that provides voice and/or data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. Wireless end devices, which may be mobile end devices such as mobile telephones (or "cellular" telephones) and computers having mobile end devices, for example, portable, pocket, hand-held, computer-included, or vehicle-mounted mobile devices, may communicate with one or more core networks via a Radio Access Network (RAN). Examples of such devices include Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, and Personal Digital Assistants (PDAs). A wireless User Equipment may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), an Access Point (Access Point), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), a User Device (User Device), or a User Equipment (User Equipment).
The following detailed description of various embodiments of the invention refers to the accompanying drawings. It should be noted that the display sequence of the embodiment of the present invention only represents the sequence of the embodiment, and does not represent the merits of the technical solutions provided by the embodiments.
The first embodiment is as follows:
as shown in fig. 2, an embodiment of the present invention provides a video session establishment method, where the method includes:
s201, the gateway device receives a request message sent by the first device, wherein the request message is used for indicating the first device to request to establish a video session with the second device.
S202, when at least one end device in the first device and the second device has a voice function and does not have a video function, the gateway device determines as an auxiliary device matched with the at least one end device in advance.
S203, the gateway device establishes a video session between the first device and the second device, and in the process of the video session between the first device and the second device, the auxiliary device is used for displaying video data from the opposite device for the end device matched with the auxiliary device, and/or the auxiliary device is used for acquiring the video data of the end device matched with the auxiliary device.
The gateway device is at least one end device which has a voice function and does not have a video function and is matched with the auxiliary device in the first device and the second device, the video function of the at least one end device which has the voice function and does not have the video function in the first device and the second device is realized by the gateway device through the matched auxiliary device in the process of carrying out the video session between the first device and the second device, and then the gateway device can realize the establishment of the video session between the terminal devices which do not have the video function in the at least one end device.
In this embodiment, the auxiliary device includes a video playing device and/or a video capturing device. In the process of carrying out video session between the first device and the second device, the video playing device is used for displaying video data from the opposite device for the device at one end matched with the video playing device, and the video collecting device is used for collecting the video data of the device at one end matched with the video collecting device.
Optionally, before S202, the gateway device matches the auxiliary device for the at least one end device, and the method for the gateway device to match the auxiliary device for the at least one end device includes: the gateway device determines that at least one end device in the first device and the second device has a voice function and does not have a video function; and the gateway equipment matches the auxiliary equipment for the determined at least one end equipment and records the matching relation between the at least one end equipment and the auxiliary equipment matched for the at least one end equipment.
In this embodiment, the case where at least one of the first device and the second device has a voice function and does not have a video function includes the following three types:
in case one, the first device has a voice function and does not have a video function, and the second device has a voice function and a video function.
In case two, the first device has a voice function and a video function, and the second device has a voice function and does not have a video function.
Case three, the first device and the second device both have a voice function and no video function.
The establishment of a video session between the first device and the second device in any of the three situations can be realized by the video session establishment method shown in fig. 2.
The following describes the video session establishment method shown in fig. 2 in detail by taking as an example the case where the first device has a voice function and a video function, and the second device has a voice function and does not have a video function.
In S201, the gateway device receives a request message sent by the first device, where the request message is used to instruct the first device to request to establish a video session with the second device. The request message includes, but is not limited to, Session Description Protocol (SDP) information, which includes voice information and video information.
The video information is used for establishing a video data transmission link between the first device and the second device, and the voice information is used for establishing a voice data transmission link between the first device and the second device. The video information and the voice information include, but are not limited to, an Internet Protocol (IP) address of the first device, an IP address of the second device, a media type, a coding identification set, and the like. The IP address of the device may be a port number of the device; the media type refers to the type of data transmitted between the first device and the second device, that is, the media type in the video information is video data, and the media type in the voice information is voice data; the coding identifier set refers to a coding format of data transmitted between the first device and the second device, that is, the coding identifier set in the video information is a coding format of the video data, and the coding identifier set in the voice information is a coding format of the voice data.
Since the first device has a voice function and a video function, and the second device has a voice function and does not have a video function, the gateway device needs to determine an auxiliary device pre-matched to the second device in S202, so as to prepare for subsequently establishing a video session between the first device and the second device.
The auxiliary device is matched with the second device in advance by the gateway device, and comprises a video playing device and/or a video collecting device. The video playing device is used for displaying the video data from the first device for the second device in the process of video conversation between the first device and the second device. The video acquisition equipment is used for acquiring video data from the second equipment in the process of carrying out video conversation between the first equipment and the second equipment, and further transmitting the acquired video data to the first equipment for displaying.
Before the gateway device receives a request message sent by a first device and used for indicating the first device to request to establish a video session with a second device S201, or after the gateway device receives a request message sent by the first device and used for indicating the first device to request to establish a video session with the second device S201 and before the gateway device determines to be a pre-matched auxiliary device of the second device S202, the gateway device determines that the second device has a voice function and does not have a video function, the gateway device matches the auxiliary device for the second device, and records the matching relationship between the second device and the auxiliary device matched for the second device.
Therefore, the gateway device determines the auxiliary device pre-matched for the second device according to the recorded matching relationship in S202. The matching relationship recorded by the gateway device includes, but is not limited to, the identity of the second device, the identity of the auxiliary device matching the second device, and the matching relationship between the identity of the second device and the identity of the auxiliary device matching the second device. The identity of the secondary device matching the second device may be the IP address of the secondary device matching the second device.
In S202, the gateway device searches for an auxiliary device having a matching relationship with the second device in the recorded matching relationship of the second device, and detects whether the auxiliary device matching the second device is started. If the auxiliary equipment matched with the second equipment is started, the gateway equipment acquires the identifier of the auxiliary equipment matched with the second equipment from the recorded matching relation of the second equipment; if the auxiliary device matched with the second device is not started, the gateway device cannot acquire the identifier of the auxiliary device matched with the second device in the recorded matching relationship of the second device, which may cause that the video data transmission link between the first device and the auxiliary device matched with the second device cannot be established by the gateway device in the process of establishing the video session between the first device and the second device in S203, and further the video function of the second device cannot be realized by the auxiliary device matched with the second device by the gateway device in the process of performing the video session between the first device and the second device.
For example, if the video capture device matched with the second device is started, the gateway device obtains the IP address of the video capture device matched with the second device in the matching relationship of the second device; if the video acquisition device matched with the second device is not started, the IP address of the video acquisition device matched with the second device in the matching relationship of the second device is 0.0.0.0, and at this time, the gateway device cannot acquire the IP address of the video acquisition device matched with the second device.
Optionally, the gateway device may record a matching relationship between the second device and the auxiliary device matched for the second device by generating a matching relationship table. The matching relationship of the second device generated by the gateway device is shown in table 1.
TABLE 1
Identification of the second device
IP address of video playing device matched for second device
IP address of video capture device matched for second device
In this embodiment, the second device without the video function can be classified into the following three cases:
in the first case, the second device does not have a video capture function and a video playback function, and in this case, the gateway device includes a video capture device and a video playback device as an auxiliary device matched with the second device.
And in the second case, the second device has a video acquisition function but does not have a video playing function, and the gateway device is a video playing device which is an auxiliary device matched with the second device.
And in the third case, the second device does not have the video acquisition function but has the video playing function, and in this case, the gateway device is the video acquisition device as the auxiliary device matched with the second device.
In S203, in a case that the first device has a voice function and a video function, and the second device has the voice function and does not have the video function, the gateway device establishing the video session between the first device and the second device includes: the gateway device establishes a voice data transmission link between the first device and the second device, and the gateway device establishes a video data transmission link between the first device and an auxiliary device of the second device. In the process of performing a video session between the first device and the second device, the voice data transmission link is used for the gateway device to transmit the voice data acquired by one device of the first device and the second device to the opposite device through the voice data transmission link, the video data transmission link is used for the gateway device to transmit the video data acquired by the first device to the auxiliary device of the second device through the video data transmission link, and the gateway device transmits the video data acquired by the auxiliary device of the second device to the first device through the video data transmission link.
In the case that the first device has a voice function and a video function, and the second device has a voice function and does not have a video capture function and a video play function, the method for the gateway device to establish the video session between the first device and the second device in S203 includes the following steps:
the method comprises the following steps: because the first device has a voice function and a video function, the gateway device obtains that the video information a1 and the voice information B1 are carried in the SDP information of the request message sent by the first device.
The video information a1 includes the IP address of the first device, the IP address of the second device, the type of video data transmitted by the first device, and the encoding format of the video data transmitted by the first device. The voice information B1 includes the IP address of the first device, the IP address of the second device, the type of voice data transmitted by the first device, and the encoding format of the voice data transmitted by the first device.
Step two: the gateway device fills the IP address of the first device in the video information a1 into the transmission relationship of the second device, establishes a transmission link between the gateway device and the video playing device matched with the second device, and further establishes a video data transmission link between the first device and the video playing device matched with the second device.
If it is detected in S202 that the gateway device is not started for the video playing device matched with the second device, the gateway device will not establish a video data transmission link between the first device and the video playing device matched with the second device.
For example, a video data transmission link between the first device and the video playing device matched with the second device is established through a connection between the first device and a port number (Socket) in a User Datagram Protocol (UDP) in IP addresses of the video playing device matched with the second device. For another example, a video data Transmission link between the first device and the video playing device matched with the second device is established through Socket connection in a Transmission Control Protocol (CTP) in IP addresses of the first device and the video playing device matched with the second device.
Step three: the gateway device sends a voice data request message to the second device, where the SDP information of the voice data request message carries voice information B1. After receiving the voice data request message, the second device replies a voice data request response message to the gateway device, where the SDP information of the voice data request response message carries voice information B2.
Step four: the gateway device records the transmission relationship between the first device and the video acquisition device matched with the second device, and fills the IP address of the first device in the video information A1 into the transmission relationship of the second device. The gateway device establishes a transmission link between the gateway device and the video acquisition device matched with the second device, and then the gateway device establishes a second video data transmission link between the first device and the video acquisition device matched with the second device.
If the video acquisition equipment matched with the gateway equipment in advance for the second equipment is not started, the gateway equipment does not establish a video data transmission link between the first equipment and the video acquisition equipment matched with the second equipment.
Optionally, the gateway device may record the transmission relationship between the first device and the auxiliary device matched for the second device by generating a transmission relationship table. The transmission relationship of the second device generated by the gateway device is shown in table 2.
TABLE 2
Figure BDA0001197650960000121
Step five: after receiving the voice data request response message sent by the second device, the gateway device obtains the voice information B2 carried in the SDP information of the voice data request response message sent by the second device, and sends a request response message to the first device, where the SDP information of the request response message carries the voice information B2 and the video information a 2. And after receiving the request response message sent by the gateway equipment, the first equipment replies a response message to the gateway equipment. If the gateway device is not started for the video capture device matched with the second device, the SDP information of the request response message sent by the gateway device to the first device carries voice information B1.
The video information a2 includes the IP address of the video capture device of the matched second device, the type of the video data transmitted by the video capture device of the matched second device, and the encoding format of the video data transmitted by the video capture device of the matched second device. The voice information B2 includes the IP address of the second device, the type of voice data transmitted by the second device, and the encoding format of the voice data transmitted by the second device.
Step six: and the gateway equipment forwards the response message to the second equipment, and the gateway equipment successfully establishes the video session between the first equipment and the second equipment.
Optionally, if the gateway device has a function of forwarding the audio data, the IP addresses of the transmission media streams of the audio information in the SDP information of the message sent by the gateway device to the first device or the second device are all the IP addresses of the gateway device. And in the process of carrying out the video session between the first device and the second device, the audio data is forwarded through a media forwarding module of the gateway device. If the gateway device has the function of forwarding the video data, the IP addresses of the transmission media streams of the video information in the SDP information of the message sent by the gateway device to the first device or the second device are all the IP addresses of the gateway device. In the process of video session between the first device and the second device, the video data is forwarded through the media forwarding module of the gateway device.
To illustrate
The video session establishment method provided in fig. 2 in the case where the first device has a voice function and does not have a video function, and the second device has a voice function and a video function is similar to the video session establishment method provided in fig. 2 in the case where the first device has a voice function and a video function, and the second device has a voice function and does not have a video function, and the similarities are not repeated here. The two cases differ mainly in that: in the case that the first device has a voice function and does not have a video function, and the second device has a voice function and a video function, the gateway device determines an auxiliary device pre-matched with the first device in S202, and the gateway device establishes a video data transmission link between the auxiliary device of the first device and the second device in S203: in the second step, the gateway equipment fills the IP address of the video acquisition equipment matched with the first equipment, which is recorded in the matching relation of the first equipment, into the transmission relation of the second equipment; and step four, the gateway device fills the IP address recorded in the matching relationship of the first device, which is the matching of the first device and the video playing device, into the transmission relationship of the second device.
By way of example, 2
The video session establishment method provided in fig. 2 in the case where the first device and the second device both have a voice function and do not have a video function is similar to the video session establishment method provided in fig. 2 in the case where the first device has a voice function and a video function and the second device has a voice function and does not have a video function, and the similarities are not repeated here. The two cases differ mainly in that: in S202, the gateway device respectively determines that the auxiliary device pre-matched to the first device and the auxiliary device pre-matched to the second device are the auxiliary devices pre-matched to the first device, and in S203, the gateway device establishes a video data transmission link between the auxiliary device of the first device and the auxiliary device of the second device.
In the video session establishment method provided by the embodiment of the present invention, the gateway device receives a request message sent by the first device, where the request message is used to instruct the first device to establish a video session with the second device. When at least one end device of the first device and the second device has a voice function and does not have a video function, the gateway device determines an auxiliary device matched with the at least one end device in advance, and in the process of establishing a video session between the first device and the second device, the auxiliary device is used for displaying video data from an opposite end device for the end device matched with the auxiliary device and/or the auxiliary device is used for collecting the video data of the end device matched with the auxiliary device. The gateway device establishes a transmission link between at least one end device which has a voice function and does not have a video function and an opposite end device in the first device and the second device, so that the video session is established between the first device and the second device, and the problem that the video session cannot be established between the terminal devices due to the fact that the end device does not have the video function in the existing technical scheme for establishing the session between the terminal devices is solved.
With reference to the foregoing embodiment, an embodiment of the present invention further provides a gateway device, where the gateway device may use the method provided in the embodiment corresponding to fig. 2, and as shown in fig. 3, the gateway device 300 includes: a transceiving unit 301, a determining unit 302, and a establishing unit 303.
A transceiving unit 301, configured to receive a request message sent by a first device, where the request message is used to instruct the first device to request to establish a video session with a second device;
a determining unit 302, configured to determine an auxiliary device that is pre-matched for at least one end device when the at least one end device has a voice function and does not have a video function exists in the first device and the second device;
an establishing unit 303, configured to establish a video session between the first device and the second device according to the request message received by the transceiving unit 301, where in a process of the video session between the first device and the second device, the auxiliary device determined by the determining unit 302 is used to display video data from an opposite device for an end device matched with the auxiliary device, and/or the auxiliary device determined by the determining unit 302 is used to collect video data of the end device matched with the auxiliary device.
Optionally, the determining unit 302 is further configured to:
determining that there is at least one of the first device and the second device that has voice functionality and no video functionality prior to determining the pre-matched auxiliary device for the at least one end device;
and matching the determined at least one end device with the auxiliary device, and recording the matching relationship between the at least one end device and the auxiliary device matched with the at least one end device.
Optionally, at least one end device of the first device and the second device has a voice function and does not have a video function, specifically:
the first device has a voice function and does not have a video function, and the second device has a voice function and a video function; or,
the first device has a voice function and a video function, and the second device has a voice function and does not have a video function; or,
the first device and the second device each have a voice function and no video function.
Optionally, the establishing unit 303 is specifically configured to:
under the condition that the first equipment has a voice function and a video function, and the second equipment has the voice function and does not have the video function, establishing a voice data transmission link between the first equipment and the second equipment, and establishing a video data transmission link between the first equipment and auxiliary equipment of the second equipment;
in the process of video session between the first device and the second device, the voice data transmission link is used for the gateway device to transmit the voice data acquired by one device of the first device and the second device to the opposite device through the voice data transmission link, and the video data transmission link is used for the gateway device to transmit the video data acquired by one device of the auxiliary devices of the first device and the second device to the opposite device through the video data transmission link.
Optionally, the auxiliary device includes a video playing device and/or a video capturing device.
It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one establishing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Based on the above embodiments, an embodiment of the present invention further provides a gateway device, where the gateway device may implement the method provided in the embodiment corresponding to fig. 2, and may be the same device as the gateway device shown in fig. 3. Referring to fig. 4, the gateway apparatus 400 includes: a processor 401, a transceiver 402, a bus 403, and a memory 404, wherein:
a processor 401 for reading the program in the memory 404 and executing the following processes:
a processor 401 configured to determine an auxiliary device that is pre-matched to at least one end device when the at least one end device has a voice function and does not have a video function exists in the first device and the second device;
the processor 401 is configured to establish a video session between the first device and the second device according to the request message received by the transceiver 402, and during the video session between the first device and the second device, the auxiliary device determined by the processor 401 is used to display video data from the opposite device for the end device matched with the auxiliary device, and/or the auxiliary device determined by the processor 401 is used to collect video data of the end device matched with the auxiliary device.
Optionally, the processor 401 is further configured to:
determining that there is at least one of the first device and the second device that has voice functionality and no video functionality prior to determining the pre-matched auxiliary device for the at least one end device;
and matching the determined at least one end device with the auxiliary device, and recording the matching relationship between the at least one end device and the auxiliary device matched with the at least one end device.
Optionally, at least one end device of the first device and the second device has a voice function and does not have a video function, specifically:
the first device has a voice function and does not have a video function, and the second device has a voice function and a video function; or,
the first device has a voice function and a video function, and the second device has a voice function and does not have a video function; or,
the first device and the second device each have a voice function and no video function.
Optionally, when the processor 401 establishes the video session between the first device and the second device, it is specifically configured to:
under the condition that the first equipment has a voice function and a video function, and the second equipment has the voice function and does not have the video function, establishing a voice data transmission link between the first equipment and the second equipment, and establishing a video data transmission link between the first equipment and auxiliary equipment of the second equipment;
in the process of video session between the first device and the second device, the voice data transmission link is used for the gateway device to transmit the voice data acquired by one device of the first device and the second device to the opposite device through the voice data transmission link, and the video data transmission link is used for the gateway device to transmit the video data acquired by one device of the auxiliary devices of the first device and the second device to the opposite device through the video data transmission link.
Optionally, the auxiliary device includes a video playing device and/or a video capturing device.
A transceiver 402 for performing the following processes under the control of the processor 401:
a transceiver 402, configured to receive a request message sent by a first device, where the request message is used to instruct the first device to request to establish a video session with a second device.
The processor 401, transceiver 402, and memory 404 are interconnected by a bus 403; the bus 403 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
Where in fig. 4 the bus architecture may include any number of interconnected buses and bridges, in particular one or more processors represented by processor 401 and various circuits of memory represented by memory 404, linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 402 may be a number of elements, including a transmitter and a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 401 is responsible for managing the bus architecture and general processing, and the memory 404 may store data used by the processor 401 in performing operations.
Alternatively, the processor 401 may be a central processing unit, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD).
The gateway device provided in the embodiments of the present invention can establish a video session between the first device and the second device by establishing a transmission link between at least one end device that has a voice function and does not have a video function in the first device and the second device and the opposite end device, thereby solving a problem that the video session cannot be established between the terminal devices due to the fact that the one end device does not have the video function in the existing technical solution for establishing a session between the terminal devices.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (8)

1. A method for establishing a video session, comprising:
the method comprises the steps that gateway equipment receives a request message sent by first equipment, wherein the request message is used for indicating the first equipment to request to establish a video session with second equipment;
when at least one end device has voice function and no video function in the first device and the second device, the gateway device determines an auxiliary device which is matched with the at least one end device in advance;
in the case where the first device has a voice function and a video function, and the second device has a voice function and does not have a video function, the gateway device establishing a voice data transmission link between the first device and the second device and establishing a video data transmission link between the first device and an auxiliary device of the second device; in a process of a video session between the first device and the second device, the voice data transmission link is used for the gateway device to transmit voice data acquired by one device of the first device and the second device to an opposite device through the voice data transmission link, and the video data transmission link is used for the gateway device to transmit video data acquired by one device of auxiliary devices of the first device and the second device to the opposite device through the video data transmission link;
in the process of performing a video session between the first device and the second device, the auxiliary device is configured to display video data from an opposite device for an end device matched with the auxiliary device, and/or the auxiliary device is configured to collect video data of the end device matched with the auxiliary device.
2. The method of claim 1, wherein the gateway device determines that the at least one end device is a pre-matched auxiliary device, and further comprising:
the gateway device determining that at least one end device of the first device and the second device has voice functionality and does not have video functionality;
and the gateway equipment matches auxiliary equipment for the determined at least one end equipment and records the matching relation between the at least one end equipment and the auxiliary equipment matched for the at least one end equipment.
3. The method according to claim 1, wherein at least one of the first device and the second device has a voice function and no video function, and specifically:
the first device has a voice function and no video function, and the second device has a voice function and a video function; or,
the first device has a voice function and a video function, and the second device has a voice function and does not have a video function; or,
the first device and the second device each have a voice function and no video function.
4. A method as claimed in any one of claims 1 to 3, wherein the auxiliary device comprises a video playback device and/or a video capture device.
5. A gateway device, comprising:
a receiving and sending unit, configured to receive a request message sent by a first device, where the request message is used to instruct the first device to request to establish a video session with a second device;
a determining unit configured to determine an auxiliary device that is pre-matched to at least one end device when the at least one end device has a voice function and does not have a video function is present in the first device and the second device;
a establishing unit, configured to establish a voice data transmission link between the first device and the second device and a video data transmission link between the first device and an auxiliary device of the second device, when the first device has a voice function and a video function and the second device has the voice function and does not have the video function, according to the request message received by the transceiving unit; in the process of the video session between the first device and the second device, the voice data transmission link is used for the gateway device to transmit the voice data collected by one device of the first device and the second device to the opposite device through the voice data transmission link, the video data transmission link is used for the gateway device to transmit the video data collected by one end device of the auxiliary devices of the first device and the second device to the opposite end device through the video data transmission link, the auxiliary device determined by the determining unit is used for displaying video data from an opposite device for an end device matched with the auxiliary device during a video session between the first device and the second device, and/or the auxiliary equipment determined by the determining unit is used for acquiring video data of the end equipment matched with the auxiliary equipment.
6. The gateway device of claim 5, wherein the determination unit is further to:
determining that there is at least one of the first device and the second device that has voice functionality and no video functionality prior to determining an auxiliary device that is pre-matched to the at least one end device;
and matching auxiliary equipment for the determined at least one end equipment, and recording the matching relation between the at least one end equipment and the auxiliary equipment matched for the at least one end equipment.
7. The gateway device according to claim 5, wherein at least one of the first device and the second device has a voice function and no video function, and specifically:
the first device has a voice function and no video function, and the second device has a voice function and a video function; or,
the first device has a voice function and a video function, and the second device has a voice function and does not have a video function; or,
the first device and the second device each have a voice function and no video function.
8. The gateway device according to any of claims 5 to 7, wherein said auxiliary device comprises a video playback device and/or a video capture device.
CN201611248838.8A 2016-12-29 2016-12-29 Video session establishing method and gateway equipment Active CN108259439B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611248838.8A CN108259439B (en) 2016-12-29 2016-12-29 Video session establishing method and gateway equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611248838.8A CN108259439B (en) 2016-12-29 2016-12-29 Video session establishing method and gateway equipment

Publications (2)

Publication Number Publication Date
CN108259439A CN108259439A (en) 2018-07-06
CN108259439B true CN108259439B (en) 2021-02-02

Family

ID=62721148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611248838.8A Active CN108259439B (en) 2016-12-29 2016-12-29 Video session establishing method and gateway equipment

Country Status (1)

Country Link
CN (1) CN108259439B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080040830A (en) * 2006-11-06 2008-05-09 (주) 엘지텔레콤 System and method for processing change to voice call in mobile communication network having 1x ev-do mode and 1x mode
CN101677388A (en) * 2008-09-17 2010-03-24 ***通信集团公司 Visual communication system, terminal gateway, video gateway and visual communication method
CN104350740A (en) * 2012-03-19 2015-02-11 索尼移动通讯有限公司 Video conferencing using wireless peripheral video conferencing device
CN105635625A (en) * 2014-10-31 2016-06-01 腾讯科技(深圳)有限公司 Video conversation method and device
CN106101600A (en) * 2016-07-27 2016-11-09 北京小米移动软件有限公司 The method of attachment of video calling and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100781707B1 (en) * 2006-09-08 2007-12-03 삼성전자주식회사 Method for auto connect of video telephony when emergency in mobile phone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080040830A (en) * 2006-11-06 2008-05-09 (주) 엘지텔레콤 System and method for processing change to voice call in mobile communication network having 1x ev-do mode and 1x mode
CN101677388A (en) * 2008-09-17 2010-03-24 ***通信集团公司 Visual communication system, terminal gateway, video gateway and visual communication method
CN103179373A (en) * 2008-09-17 2013-06-26 ***通信集团公司 Visual communication system, terminal gateway, video gateway and visual communication method
CN104350740A (en) * 2012-03-19 2015-02-11 索尼移动通讯有限公司 Video conferencing using wireless peripheral video conferencing device
CN105635625A (en) * 2014-10-31 2016-06-01 腾讯科技(深圳)有限公司 Video conversation method and device
CN106101600A (en) * 2016-07-27 2016-11-09 北京小米移动软件有限公司 The method of attachment of video calling and device

Also Published As

Publication number Publication date
CN108259439A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
US9781579B2 (en) Method and device for realizing terminal WIFI talkback
CN104584490B (en) Data transmission method for uplink and device
CN104767679B (en) A kind of method and device for transmitting data in network system
US10462735B2 (en) Method, terminal and computer storage medium for realizing network access in non-local network
CN113824642A (en) Method for sending message, network equipment and computer readable storage medium
US20150133052A1 (en) Device selection
US11438942B2 (en) Method for establishing tunnel between local gateways, and gateway
CN103647764A (en) A method for implementing LTE system voice business and a single-chip terminal
CN108235823A (en) Agency is without roaming cellular
TW201308953A (en) Method of processing device discovery
WO2018040621A1 (en) Hotspot sharing method, terminal, system and computer storage medium
CN103973648B (en) Application data method for pushing, apparatus and system
CN109087096B (en) Block chain account checking method, device, equipment and storage medium
CN110324291B (en) Communication method and related product
WO2015070377A1 (en) Multiparty call method and apparatus
CN109417470B (en) Key agreement method and device
CN108259439B (en) Video session establishing method and gateway equipment
US10021250B1 (en) Location information control for session initiation protocol messages
CN106686542B (en) Call processing method and device
JP2018515031A (en) Downlink information receiving method and downlink information transmitting method, user equipment, and network device
WO2018006525A1 (en) Emergency service method and apparatus, and storage medium
JP2023520291A (en) Information interaction method, device and storage medium
JP6807952B2 (en) Methods and devices for determining the communication network that provides communication services to terminal communication devices
CN108401228B (en) Communication method and device
CN107786836B (en) Method and device for realizing audio and video session service

Legal Events

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