WO2017133698A1 - Wireless calling method and system - Google Patents

Wireless calling method and system Download PDF

Info

Publication number
WO2017133698A1
WO2017133698A1 PCT/CN2017/072950 CN2017072950W WO2017133698A1 WO 2017133698 A1 WO2017133698 A1 WO 2017133698A1 CN 2017072950 W CN2017072950 W CN 2017072950W WO 2017133698 A1 WO2017133698 A1 WO 2017133698A1
Authority
WO
WIPO (PCT)
Prior art keywords
target object
terminal device
calling
communication
call
Prior art date
Application number
PCT/CN2017/072950
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 WO2017133698A1 publication Critical patent/WO2017133698A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications, and more particularly to a method and system for wireless calling.
  • direct communication between the calling party and the called party can be realized under the premise of ensuring that the communication network signal is good, and the response and feedback are very timely.
  • the calling party needs to dial multiple number keys to input the called party's telephone number, and needs to wait for a certain time interval until the called party answers the call. If the other party is talking on the phone and does not know when it is possible to talk, the caller has nothing to do but wait.
  • this full-duplex communication mode can provide instant voice communication after the call is established, a relatively smooth instant communication is realized between the calling party and the called party, but establishing a call often requires a long waiting time, and Once it is not possible to connect, there is no way to communicate information through this communication mode.
  • the calling party can hold the call button to collect the voice.
  • the collected voice data will be sent to any receiver device with the same communication frequency through the set radio frequency.
  • the calling party can realize the collection and transmission of the calling data only by a simple operation, and does not need to wait for the called party to answer, which has better operation convenience.
  • the communication method is only applicable to the limited time period when both parties confirm the opening. This makes the communication method impossible to call at any time, and this communication mode is also limited by radio frequency resources and distance. In addition, this type of communication requires additional equipment, such as walkie-talkies, to increase the cost threshold for use.
  • Chinese Patent Application No. CN201410158859.5 entitled "Intercom Method, Apparatus, Apparatus and System” discloses a technical solution for transmitting and receiving intercom data through a wireless network.
  • the technical solution controls the microphone according to the operation of the intercom button detected in the user interface 3.
  • the wind records the intercom data, and then sends the intercom data and the receiver identifier to the intercom server 2 through the wireless network through the transmitter, and the companion server 2 forwards the intercom data to the at least one receiver pair corresponding to the receiver identifier through the wireless network.
  • the intercom data may be forwarded to the third party communication server 5 via the third party communication server 5 or via the interface server 4, and further transmitted to the receiver intercom device 6.
  • the intercom data needs to be recorded before being transmitted. Due to the limited size of the cache capacity, the recording duration of the intercom data is also limited, making the user experience of the intercom call poor.
  • the technical problem to be solved by the present invention is to provide a mobile call mechanism with small cache requirement, timely response, and simple operation.
  • the present invention provides a method for wireless calling, according to some aspects of the present invention, comprising: receiving a call request from a calling party when a call request is detected; and receiving a call Requesting analysis, extracting an identifier of the target object, searching for a communication port corresponding to the target object according to the identifier; forwarding the received call request to the target object through the communication port, and receiving a response of the target object;
  • the target object agrees to make a call, it searches for communication parameters corresponding to the calling object and the target object respectively, and establishes a media channel between the calling object and the target object according to the communication parameters, so that the calling party
  • the object and the target object transmit media data in real time at the set rate through the media channel.
  • a system for wireless calling comprising: one or more terminal devices adapted to transmit communication parameters describing communication capabilities to complete registration, to send a call request or to agree to a call The requested instruction, and real-time data interaction with another terminal device through the media channel; the intermediate device is adapted to communicate with at least two terminal devices, and establish the media channel between the at least two terminal devices of the connected device.
  • various embodiments of the present invention record and store the communication parameters of the terminal device connected thereto in the form of a registry at the S end of the intermediate device through the registration mechanism, each time the terminal device and the middle device When a device establishes a connection, it only needs to allocate a corresponding communication port and establish an association between its corresponding identifier and the communication port, thereby improving communication efficiency.
  • the terminal device before the terminal device is disconnected, the terminal device only needs to maintain the communication with the intermediate device by periodically transmitting the keep-alive signal of the minimum byte, thereby reducing the communication cost of maintaining communication for a long time.
  • a lightweight transmission signal as a request signal for establishing a media channel, effectively reducing the power consumption of maintaining the call, by establishing The media channel enables real-time conversation between one or more terminal devices in the form of a similar call, which changes the call transmission mode of recording and forwarding in the prior art, and provides a smooth and timely mobile call experience.
  • FIG. 1 is a schematic block diagram of a system for implementing intercom using network technology in the prior art.
  • FIG. 2 is a schematic block diagram of an embodiment of a system wireless calling system of the present invention.
  • FIG. 3 is a schematic flow chart of an embodiment of a wireless calling method according to the present invention.
  • FIG. 4 is a schematic diagram of signal transmission of a specific embodiment of the wireless calling method of the present invention.
  • FIG. 5 is a schematic diagram of a data structure of a registry in an embodiment of a wireless calling method according to the present invention.
  • FIG. 6 is a schematic diagram of signal transmission of another embodiment of the wireless calling method of the present invention.
  • FIG. 7 to 10 are schematic flowcharts of different embodiments of a wireless calling method according to the present invention.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code, the module, the program segment, or a portion of code comprising one or more Functional executable instructions.
  • the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • mobile terminal as used herein is intended to cover any suitable type of electronic device that supports initiating or receiving a call, including various mobile communication devices, various non-mobile communication devices, or combinations thereof.
  • Mobile communication devices such as mobile electronic communication terminals (such as mobile phones), mobile computers, mobile phones, portable data communication devices, portable web browsers, portable gaming devices, portable digital cameras/camcorders, portable audio/video players, portable radio reception Machine, portable digital video recorder, positioning device with communication function, wearable device with communication function, but not limited to this.
  • intermediate device is suitable for describing devices with certain processing, data storage, and network interconnection, and may include non-x86 servers such as mainframes, minicomputers, and UNIX servers, as well as other x86 servers.
  • system 100 can include one or more terminal devices 110 for transmitting communication parameters describing communication capabilities to intermediate device 120 And completing the registration, and completing the media data transmission by using the media channel established by the intermediate device 120 by sending the call request or the instruction for agreeing to the call request to the intermediate device 120; and the intermediate device 120, configured to respectively communicate with the at least two terminal devices 110, and transmit The call request between the terminal devices 110 establishes a media channel between the at least two terminal devices 110, so that the connected terminal devices 110 can perform data interaction through the media channel to implement media data transmission.
  • the terminal device 110 transmits a communication parameter for describing its communication capability to the intermediate device 120, performs registration on the intermediate device 120, acquires a communication port of the signaling channel, and through the assigned communication port, the terminal device 110 and the intermediate device 120 Signaling transmission, sending or responding to a call request.
  • the terminal device 110 periodically transmits a survival signal to the intermediate device 120 until the connection with the intermediate device 120 is disconnected.
  • the terminal device 120 can establish a connection with the intermediate device 110 via the TCP/IP protocol, or the SIP protocol.
  • the intermediate device 120 After receiving the communication parameters of the terminal device 110, the intermediate device 120 allocates a communication port of the signaling channel, and establishes and saves the association between the communication parameters of the terminal device 110 and the communication port, implements registration of the terminal device 110, and passes the The associated communication port performs signaling transmission with the terminal device 110.
  • the intermediate device 120 establishes a media channel for at least two terminal devices 110, enabling the terminal device 110 to implement real-time communication through the media channel.
  • the intermediate device 120 monitors whether the terminal device 110 is alive, and when it receives the survival signal from the terminal device 110, updates its corresponding registration information; when it detects that a terminal device is no longer alive, only the terminal device that is no longer alive is deleted.
  • the corresponding communication port and the associated information of the communication port and its identifier do not affect other terminal devices that are in a surviving state; and only when another terminal device detects that a call request is made to the terminal device that is no longer alive, The information that the terminal device is not currently online.
  • the intermediate device 120 can further include one or more processors 121 that perform data interactions, and one or more databases 122 that store data.
  • the one or more processors and one or more databases may be disposed on the mobile terminal, may be disposed in the cloud, or may be configured by a portion disposed in the mobile terminal and a portion disposed in the cloud.
  • the mobile terminal 110 can communicate with the processor and the database.
  • a wireless calling method including:
  • Step S110 when it is detected that there is a call request, receiving the call request from the terminal device.
  • a calling object such as terminal device A sends a call request to the intermediate device S.
  • the terminal device A can establish a connection with the intermediate device S by using the TCP/IP protocol; after the handshake is successful, a TCP channel is established between the terminal device A and the terminal device S.
  • establishing a TCP channel may include: The standby device S allocates a communication port aa for transmitting signaling for the terminal device A, and receives a call request from the terminal device A or transmits other signaling through the communication port aa, that is, the TCP channel is used as a signaling channel.
  • a registration mechanism may be employed to notify the intermediate device S of the communication parameters related to the communication capabilities of the terminal device in advance of the communication.
  • the terminal device A may describe communication parameters of its communication capability, for example, the device model, codec, operating system, communication network, version number, channel number, and other communication parameters of the terminal device A.
  • the intermediate device S allocates a corresponding communication port and marks the terminal device with the corresponding identification information, and completes the registration of the terminal device A.
  • the intermediate device S saves the communication parameters of the respective terminal devices connected thereto to form a registry.
  • Step S120 The intermediate device S analyzes the received call request, extracts an identifier of the target object, and searches for a communication port corresponding to the target object according to the identifier.
  • the call request may include identification information of the calling object, that is, identification information of the terminal device A, and a request signal.
  • the terminal device A When the terminal device A has been registered in the intermediate device S, the terminal device A sends its tag information and the request signal to the intermediate device S, and the intermediate device S obtains its corresponding communication from the registry according to the tag information of the terminal device A.
  • the parameter, and the identification information of the target object to be communicated for example, the terminal device B, is obtained from the request signal, and the communication parameter corresponding to the terminal device B is obtained from the registry according to the identification information of the target object.
  • Step S130 the intermediate device S forwards the received call request to the target object through the communication port corresponding to the target object, and receives a response from the target object.
  • the target object is busy or refuses to make a call, referring to FIG. 6, the target object returns a busy signal to the intermediate device S, and the intermediate device S rejects the call request of the calling object according to the busy signal.
  • step S140 referring to FIG. 4, after the intermediate device S receives the consent signal from the target object, the communication parameters corresponding to the calling object and the target object are searched in the registry, and the calling object is based on the communication parameters. Establishing a media channel with the target object, so that the calling object and the target object perform real-time interaction of media data through the media channel.
  • the intermediate device S sends an SSDP signal to the calling object and the target object through the signaling channel, and transmits the media data through the SSDP protocol.
  • the terminal device A issues a call request, it sends an "ssdp:discover" message to the SSDP port of the specific multicast address using the M-SEARCH method, and the intermediate device S listens to the reserved multicast address on the terminal device.
  • a sends a message requesting a call it analyzes the service requested by the terminal device A and responds to the request. For example, the media data from the terminal device A is delivered to the terminal device B.
  • a lightweight transmission signal in order to make the call as light as possible, reduce the data required for transmission and analysis, speed up the data transmission, and reduce the standby power consumption, a lightweight transmission signal can also be used as the Establish media
  • the request signal of the channel is sent by the intermediate device S to the terminal device A and the terminal device B, respectively.
  • the filtering of the lightweight transmission signal may include parameters such as an audio stream, an IP port, an encoding mode, and a sampling rate, so that the standby power consumption is reduced as much as possible, and the data transmission rate is accelerated. .
  • the media data sent via the terminal device A is transmitted to the terminal object B in real time through the media channel at a set rate, for example, 50 times/second, without being recorded and then uploaded to the server, and then via the terminal device.
  • B downloads and plays, thereby eliminating the limitation of the size or duration of the media data to be transmitted in the prior art, so that the two parties of the call, that is, the terminal device A and the terminal device B, can perform real-time communication in a form similar to a call. Greatly improved the call experience of mobile calls.
  • step S140 may further include, in step S141, the calling object or the target object performs processing on the media data.
  • the terminal device A as the calling party splits and compresses the voice data before transmitting the voice data at the set transmission rate to ensure the smoothness of the data transmission.
  • the target terminal device B receives the transmitted voice data, it decompresses and restores it.
  • the intermediate device S can obtain the communication parameters of the calling object and the target object according to the communication parameters of the calling object and the target object, for example, acquiring the operating system of the terminal device A as the calling object is ios8. And the G729 encoder, and the operating system Andriod L and iLBC encoder of the terminal device B as the called object.
  • step S140 further includes, in step S142, the intermediate device S transcodes the data communicated by the two parties according to the communication parameters of the calling object and the target object.
  • the method further includes step S150, and the intermediate device S detects whether the terminal device maintains the connected state.
  • the keepalive signal is periodically sent to the intermediate device S, and when the intermediate device S receives the keep-alive signal, the registration information for the terminal device A/B is received. Update.
  • step S150 may include: step S151, detecting whether a keep-alive signal is received within the set time T1; when receiving the keep-alive signal, the original timing is cleared and returns to step S151 to restart the detection; When the keep-alive signal is not received, step S160 is performed.
  • the terminal device A or the terminal device B when the terminal device A or the terminal device B performs data communication by using the SSDP protocol, it sends a "ssdp: alive" message to the SSDP port of the specific multicast address by using the NOTIFY method, and the intermediate device S listens to the message.
  • the "ssdp:alive” message must specify the timeout value in the HTTP protocol header CACHE-CONTROL, and the terminal device must arrive at the agreed timeout value.
  • the "ssdp:alive” message is retransmitted in the past. If the intermediate device S does not receive the "ssdp:alive” message sent by the terminal device A or the terminal device B within the specified timeout value, the intermediate device S will consider the terminal device A or Terminal device B has been disconnected.
  • step S160 when the terminal device A is disconnected, step S160 is performed, and the intermediate device S deletes its corresponding registration information from the registry, for example, deletes the corresponding communication port and deletes the used for marking. Identification information of the terminal device, and the like.
  • the intermediate device S does not notify the disconnection event of the terminal device A to other terminal devices that have communicated with the terminal device A, and still maintains a normal connection with other terminal devices.
  • another terminal device for example, the terminal device B or C
  • issues a call request and the target object of the call request is the terminal device A
  • the intermediate device S feeds back the reply information that cannot be delivered to the terminal device B or C.
  • the query-feedback mechanism is used for the disconnection event without broadcasting, which can improve the utilization of resources, reduce unnecessary interference to users, and improve the calling experience.
  • the terminal device A is used as the calling object of the communication and the terminal device B is the target of communication.
  • the terminal device A and the terminal device B can be interchanged, that is, the terminal.
  • Device B can serve as a calling object for communication, and terminal device A can also serve as a target for communication.
  • the terminal device A or the terminal device B may each include one or more electronic devices that support initiating or receiving the mobile call.
  • the communication parameter of the terminal device connected thereto is recorded and saved in the form of a registry in the form of a registry by the registration mechanism, and each time the terminal device establishes a connection with the intermediate device, only It can allocate the corresponding communication port and establish the association between its corresponding identifier and the communication port, which improves the communication efficiency.
  • the terminal device before the terminal device is disconnected, the terminal device only needs to maintain the communication with the intermediate device by periodically transmitting the keep-alive signal of the minimum byte, thereby reducing the communication cost of maintaining communication for a long time.
  • the use of the lightweight transmission signal as a request signal for establishing a media channel effectively reduces the power consumption of the call, and establishes a media channel, enabling one or more terminal devices to make a real-time call in a form similar to a call. It changes the call transmission mode of recording and forwarding in the prior art, and provides a smooth and timely mobile call experience.
  • the wireless calling method further includes a pre-processing step adapted to perform registration of the terminal device 110 at the intermediate device 120, in accordance with some embodiments of the present invention.
  • the terminal device 110 sends a communication parameter for describing its communication capability to the intermediate device 120, and after the intermediate device 120 saves it, it allocates a communication port of the corresponding signaling channel.
  • the pre-processing step may be triggered according to the network condition of the terminal device, for example, when the terminal device is connected to wifi or 3G/4G/LTE, the registration of the terminal device is triggered. In another specific implementation manner, it may also be triggered according to a specific operation of the user in the terminal device, for example, when the user activates the mobile calling software through the terminal device, triggering registration of the terminal device.
  • the teachings of the present invention may also be embodied as a computer program product of a computer readable storage medium, comprising computer program code which, when executed by a processor, enables a processor to be in accordance with a method of an embodiment of the present invention To achieve the push of service information.
  • the computer storage medium can be any tangible medium such as a floppy disk, CD-ROM, DVD, hard drive, or even network media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A wireless calling method and system, the method comprising: when a call request is detected, receiving the call request from a calling object; analyzing the received call request, extracting an identification of a target object, and according to the identification of the target object, looking up a communication port corresponding to the target object; transmitting the received call request to the target object by means of the communication port, and receiving a response from the target object; when the target object agrees to participate in a call, respectively looking up communication parameters corresponding to the calling object and the target object, establishing a media channel between the calling object and the target object on the basis of the communication parameters, such that the calling object and the target object may transmit media data in real time at a preset rate by means of the media channel. The present invention may effectively reduce power consumption for maintaining a call, and provide a smooth and timely mobile calling experience.

Description

无线呼叫的方法和系统Method and system for wireless calling 技术领域Technical field
本发明涉及通讯领域,特别是一种无线呼叫的方法和系统。The present invention relates to the field of communications, and more particularly to a method and system for wireless calling.
背景技术Background technique
交流作为人类基本需求之一,其及时性和信息的完整性始终是人们评估各种通讯模式优劣的标准。在此基础上,人们也希望通讯模式能够尽可能地便捷、易操作。As one of the basic needs of human beings, communication, its timeliness and the integrity of information are always the criteria for people to evaluate the advantages and disadvantages of various communication modes. On this basis, people also hope that the communication mode can be as convenient and easy as possible.
传统的通讯模式中,比如通过固定或移动电话进行通信,在保证通信网络信号良好的前提下,可以实现主叫方与被叫方之间的直接沟通,响应和反馈都非常及时。但是,在建立通话之前,主叫方需要先拨打多个数字键来输入被叫方的电话号码,而且需要等待一定的时间间隔直到被叫方接听之后才能进行通话。如果遇到对方正在通话还不知道何时可以通话,主叫方除了等待别无他法。这种全双工的通讯模式虽然能够在建立通话之后提供即时的语音通信,在主叫方和被叫方之间实现较为通畅的即时通讯,然而建立通话往往需要耗费较长的等待时间,且一旦无法接通,则没有任何方法通过该通讯模式传达信息。In the traditional communication mode, for example, communication through a fixed or mobile phone, direct communication between the calling party and the called party can be realized under the premise of ensuring that the communication network signal is good, and the response and feedback are very timely. However, before the call is established, the calling party needs to dial multiple number keys to input the called party's telephone number, and needs to wait for a certain time interval until the called party answers the call. If the other party is talking on the phone and does not know when it is possible to talk, the caller has nothing to do but wait. Although this full-duplex communication mode can provide instant voice communication after the call is established, a relatively smooth instant communication is realized between the calling party and the called party, but establishing a call often requires a long waiting time, and Once it is not possible to connect, there is no way to communicate information through this communication mode.
为了简化通讯的操作程序,缩短建立连接的等待时间,另一种半双工的通信方式,例如无线对讲机,同时也受到人们的青睐。其中,主叫方按住通话键,即可采集话音,当松开通话键时,所采集的话音数据将通过设定的无线电频率发送至具有相同通信频率的任一台接收方设备中。在这种通信方式中,主叫方仅需要简单的操作就可以实现主叫数据的采集和发送,且无需等待被叫方接听,具有较好的操作便捷性。然而,由于主被叫双方无从得知对方何时开始通信,而且常规对讲设备的有限待机时间使得其无法一直保持开机状态,因此这种通信方式仅适用于在双方确认开启的有限时间段,这就使得该通信方式无法实现随时呼叫,并且,该种通讯模式也受到无线电频率资源和距离的限制。此外,这种通信方式需要配备额外的设备,例如对讲机,提高了使用的成本门槛。In order to simplify the communication operation procedure and shorten the waiting time for establishing a connection, another half-duplex communication method, such as a wireless walkie-talkie, is also favored by people. Among them, the calling party can hold the call button to collect the voice. When the call button is released, the collected voice data will be sent to any receiver device with the same communication frequency through the set radio frequency. In this communication mode, the calling party can realize the collection and transmission of the calling data only by a simple operation, and does not need to wait for the called party to answer, which has better operation convenience. However, since the calling party and the called party have no way of knowing when the other party starts to communicate, and the limited standby time of the conventional intercom device makes it impossible to keep the power on state, the communication method is only applicable to the limited time period when both parties confirm the opening. This makes the communication method impossible to call at any time, and this communication mode is also limited by radio frequency resources and distance. In addition, this type of communication requires additional equipment, such as walkie-talkies, to increase the cost threshold for use.
随着计算机技术、网络技术和通信技术的蓬勃发展,网络的应用领域不断地扩宽。人们开始尝试利用网络资源和技术提供无线对讲的服务。申请号为CN201410158859.5,名称为“对讲方法、装置、设备及系统”的中国专利申请公开了一种通过无线网络实现对讲数据的收发的技术方案。参考图1,该技术方案根据在用户界面3中检测到的对对讲按钮的操作控制麦克 风录制对讲数据,接着通过发射机通过无线网络向对讲服务器2发送对讲数据以及接收方标识,对建服务器2将对讲数据通过无线网络转发给接收方标识对应的至少一个接收方对讲装置6。具体来说,对讲数据可通过第三方通信服务器5、或经由接口服务器4转发至第三方通信服务器5,并进而传输至接收方对讲装置6。With the rapid development of computer technology, network technology and communication technology, the application field of the network has been continuously expanded. People began to try to use the network resources and technology to provide wireless intercom services. Chinese Patent Application No. CN201410158859.5, entitled "Intercom Method, Apparatus, Apparatus and System" discloses a technical solution for transmitting and receiving intercom data through a wireless network. Referring to FIG. 1, the technical solution controls the microphone according to the operation of the intercom button detected in the user interface 3. The wind records the intercom data, and then sends the intercom data and the receiver identifier to the intercom server 2 through the wireless network through the transmitter, and the companion server 2 forwards the intercom data to the at least one receiver pair corresponding to the receiver identifier through the wireless network. Speaking device 6. Specifically, the intercom data may be forwarded to the third party communication server 5 via the third party communication server 5 or via the interface server 4, and further transmitted to the receiver intercom device 6.
然而,这种现有技术方案中,需要将对讲数据先行进行录制之后,再进行传输。由于受到缓存容量大小有限,对讲数据的录制时长也会受到限制,使得对讲通话的用户体验变得很差。However, in this prior art solution, the intercom data needs to be recorded before being transmitted. Due to the limited size of the cache capacity, the recording duration of the intercom data is also limited, making the user experience of the intercom call poor.
考虑到上述情况,有必要提供一种对缓存需求较小且响应及时、操作简便的移动呼叫机制。In view of the above situation, it is necessary to provide a mobile call mechanism that requires less buffering, is responsive, and is easy to operate.
发明内容Summary of the invention
本发明要解决的技术问题是:提供一种对缓存需求小且响应及时、操作简便的移动呼叫机制。The technical problem to be solved by the present invention is to provide a mobile call mechanism with small cache requirement, timely response, and simple operation.
为了实现上述目的,本发明提供了一种无线呼叫的方法,根据本发明的某些方式,包括:当检测到存在通话请求时,接收来自主叫对象的所述通话请求;对接收到的通话请求进行分析,提取目标对象的标识,根据所述标识查找该目标对象对应的通信端口;通过所述通信端口将所接收到的通话请求转发至目标对象,并接收所述目标对象的回应;当所述目标对象同意进行通话时,查找主叫对象和目标对象分别对应的通信参数,并根据这些通信参数,在所述主叫对象和所述目标对象之间建立媒体通道,使得所述主叫对象和目标对象通过所述媒体通道以设定速率实时传输媒体数据。In order to achieve the above object, the present invention provides a method for wireless calling, according to some aspects of the present invention, comprising: receiving a call request from a calling party when a call request is detected; and receiving a call Requesting analysis, extracting an identifier of the target object, searching for a communication port corresponding to the target object according to the identifier; forwarding the received call request to the target object through the communication port, and receiving a response of the target object; When the target object agrees to make a call, it searches for communication parameters corresponding to the calling object and the target object respectively, and establishes a media channel between the calling object and the target object according to the communication parameters, so that the calling party The object and the target object transmit media data in real time at the set rate through the media channel.
根据本发明的另一些方面,还提供了一种无线呼叫的系统,其特征在于,包括:一个或多个终端设备,适于发送描述通信能力的通信参数以完成注册,发送通话请求或同意通话请求的指令,以及通过媒体通道与另一个终端设备进行实时的数据交互;中间设备,适于联通至少两个终端设备,在所联通的至少两个终端设备之间建立所述媒体通道。According to still further aspects of the present invention, there is also provided a system for wireless calling, comprising: one or more terminal devices adapted to transmit communication parameters describing communication capabilities to complete registration, to send a call request or to agree to a call The requested instruction, and real-time data interaction with another terminal device through the media channel; the intermediate device is adapted to communicate with at least two terminal devices, and establish the media channel between the at least two terminal devices of the connected device.
与现有技术相比,本发明的各个实施方式,通过注册机制,在中间设备S端以注册表的形式,对与其进行连接的终端设备的通信参数进行记录和保存,每一次终端设备与中间设备建立连接时,仅需为其分配对应的通信端口以及建立其对应的标识与所述通信端口的关联即可,提高了通信的效率。此外,在终端设备断线之前,终端设备仅需通过定期发送极小字节的保活信号即可保持与中间设备的连通,从而降低长时间保持连通的通信成本。而且,采用轻量化的传输信号作为建立媒体通道的请求信号,有效地降低了维持通话的功耗,通过建立 媒体通道,使得一个或多个终端设备之间能够以类似打电话的形式进行实时通话,改变了现有技术中先录制再转发的呼叫传输模式,提供了流畅、及时的移动呼叫体验。Compared with the prior art, various embodiments of the present invention record and store the communication parameters of the terminal device connected thereto in the form of a registry at the S end of the intermediate device through the registration mechanism, each time the terminal device and the middle device When a device establishes a connection, it only needs to allocate a corresponding communication port and establish an association between its corresponding identifier and the communication port, thereby improving communication efficiency. In addition, before the terminal device is disconnected, the terminal device only needs to maintain the communication with the intermediate device by periodically transmitting the keep-alive signal of the minimum byte, thereby reducing the communication cost of maintaining communication for a long time. Moreover, using a lightweight transmission signal as a request signal for establishing a media channel, effectively reducing the power consumption of maintaining the call, by establishing The media channel enables real-time conversation between one or more terminal devices in the form of a similar call, which changes the call transmission mode of recording and forwarding in the prior art, and provides a smooth and timely mobile call experience.
附图说明DRAWINGS
图1是现有技术中一种利用网络技术实现对讲的系统框图示意图。FIG. 1 is a schematic block diagram of a system for implementing intercom using network technology in the prior art.
图2是本发明系统无线呼叫系统一种实施方式的框架示意图。2 is a schematic block diagram of an embodiment of a system wireless calling system of the present invention.
图3是本发明无线呼叫方法一种实施方式的流程示意图。3 is a schematic flow chart of an embodiment of a wireless calling method according to the present invention.
图4是本发明无线呼叫方法一种具体实施方式的信号传输示意图。4 is a schematic diagram of signal transmission of a specific embodiment of the wireless calling method of the present invention.
图5是本发明无线呼叫方法一种实施方式中注册表的数据结构示意图。FIG. 5 is a schematic diagram of a data structure of a registry in an embodiment of a wireless calling method according to the present invention.
图6是本发明无线呼叫方法另一种具体实施方式的信号传输示意图。6 is a schematic diagram of signal transmission of another embodiment of the wireless calling method of the present invention.
图7至图10是本发明无线呼叫方法不同实施方式的流程示意图。7 to 10 are schematic flowcharts of different embodiments of a wireless calling method according to the present invention.
具体实施方式detailed description
下文将参考附图更完整地描述本公开内容,其中在附图中显示了本公开内容的实施方式。但是这些实施方式可以用许多不同形式来实现并且不应该被解释为限于本文所述的实施方式。相反地,提供这些实例以使得本公开内容将是透彻和完整的,并且将全面地向本领域的熟练技术人员表达本公开内容的范围。The present disclosure will be described more fully hereinafter with reference to the accompanying drawings in which FIG. However, these embodiments can be implemented in many different forms and should not be construed as being limited to the embodiments described herein. Rather, the examples are provided so that this disclosure will be thorough and complete, and the scope of the disclosure will be apparent to those skilled in the art.
附图中的流程图和框图,图示了按照本发明各种实施例的装置、方法和计算机程序产品的可能实现的系统架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,所述模块、程序段、或代码的一部分包含一个或多个用于实现预定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the system architecture, functionality and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the invention. In this regard, each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code, the module, the program segment, or a portion of code comprising one or more Functional executable instructions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
本发明所使用术语“移动终端”旨在于覆盖支持发起或者接听呼叫的任何适当类型的电子设备,包括各种移动通信设备、各种非移动通信设备或者其组合形式。移动通信设备,例如移动电子通讯终端(比如手机)、移动计算机、移动电话、便携数据通信设备、便携web浏览器、便携游戏设备、便携数字相机/摄像机、便携音频/视频播放器、便携无线电接收机、便携数字视频记录器、具有通信功能的定位设备、具有通信功能的穿戴式设备,但不限于此。 The term "mobile terminal" as used herein is intended to cover any suitable type of electronic device that supports initiating or receiving a call, including various mobile communication devices, various non-mobile communication devices, or combinations thereof. Mobile communication devices, such as mobile electronic communication terminals (such as mobile phones), mobile computers, mobile phones, portable data communication devices, portable web browsers, portable gaming devices, portable digital cameras/camcorders, portable audio/video players, portable radio reception Machine, portable digital video recorder, positioning device with communication function, wearable device with communication function, but not limited to this.
术语“中间设备”适于描述具有一定的处理、数据存储以及网络互联的设备,可包括大型机、小型机和UNIX服务器等非x86服务器,也可包括其它x86服务器。The term "intermediate device" is suitable for describing devices with certain processing, data storage, and network interconnection, and may include non-x86 servers such as mainframes, minicomputers, and UNIX servers, as well as other x86 servers.
图2示出了根据本发明的某些方面所提供的一种无线呼叫系统100,其中,系统100可包括:一个或多个终端设备110,用于向中间设备120发送描述通信能力的通信参数,完成注册,并通过向中间设备120发送通话请求或同意通话请求的指令,通过中间设备120搭建的媒体通道完成媒体数据传输;以及中间设备120,用于分别连通至少两个终端设备110,传递终端设备110之间的通话请求并在至少两个终端设备110之间建立媒体通道,使得相连接的终端设备110能够通过媒体通道进行数据交互,以实现媒体数据传输。2 illustrates a wireless call system 100 provided in accordance with certain aspects of the present disclosure, wherein system 100 can include one or more terminal devices 110 for transmitting communication parameters describing communication capabilities to intermediate device 120 And completing the registration, and completing the media data transmission by using the media channel established by the intermediate device 120 by sending the call request or the instruction for agreeing to the call request to the intermediate device 120; and the intermediate device 120, configured to respectively communicate with the at least two terminal devices 110, and transmit The call request between the terminal devices 110 establishes a media channel between the at least two terminal devices 110, so that the connected terminal devices 110 can perform data interaction through the media channel to implement media data transmission.
终端设备110将用于描述其通信能力的通信参数传输至中间设备120,在中间设备120上进行注册,获取信令通道的通信端口;通过该所分配的通信端口,终端设备110与中间设备120进行信令传输,发送或回应通话请求。终端设备110周期性向中间设备120发送存活信号,直至断开与中间设备120的连接。根据某些实施方式,该终端设备120可通过TCP/IP协议,或者SIP协议,与中间设备110建立连接。The terminal device 110 transmits a communication parameter for describing its communication capability to the intermediate device 120, performs registration on the intermediate device 120, acquires a communication port of the signaling channel, and through the assigned communication port, the terminal device 110 and the intermediate device 120 Signaling transmission, sending or responding to a call request. The terminal device 110 periodically transmits a survival signal to the intermediate device 120 until the connection with the intermediate device 120 is disconnected. According to some embodiments, the terminal device 120 can establish a connection with the intermediate device 110 via the TCP/IP protocol, or the SIP protocol.
中间设备120接收到终端设备110的通信参数后,为其分配信令通道的通信端口,并建立和保存该终端设备110的通信参数与该通信端口的关联,实现终端设备110的注册,并通过该关联的通信端口与该终端设备110进行信令传输。中间设备120为至少两个终端设备110建立媒体通道,使终端设备110能够通过媒体通道实现实时通信。中间设备120监听终端设备110是否存活,当接收到来自终端设备110的存活信号时,更新其对应的注册信息;当检测到某个终端设备不再存活时,仅删除该不再存活的终端设备对应的通信端口及该通信端口与其标识的关联信息,并不影响其它正处于存活状态的终端设备;当且仅检测到有其它终端设备向该不再存活的终端设备发出通话请求时,才反馈该终端设备当前不在线的信息。After receiving the communication parameters of the terminal device 110, the intermediate device 120 allocates a communication port of the signaling channel, and establishes and saves the association between the communication parameters of the terminal device 110 and the communication port, implements registration of the terminal device 110, and passes the The associated communication port performs signaling transmission with the terminal device 110. The intermediate device 120 establishes a media channel for at least two terminal devices 110, enabling the terminal device 110 to implement real-time communication through the media channel. The intermediate device 120 monitors whether the terminal device 110 is alive, and when it receives the survival signal from the terminal device 110, updates its corresponding registration information; when it detects that a terminal device is no longer alive, only the terminal device that is no longer alive is deleted. The corresponding communication port and the associated information of the communication port and its identifier do not affect other terminal devices that are in a surviving state; and only when another terminal device detects that a call request is made to the terminal device that is no longer alive, The information that the terminal device is not currently online.
其中,中间设备120可进一步包括一个或多个执行数据交互的处理器121,以及一个或多个对数据进行存储的数据库122。优选地,所述一个或多个处理器和一个或多个数据库可设置于所述移动终端,可设置于云端,或者由设置于所述移动终端的部分与设置于云端的部分共同构成。其中,所述移动终端110与所述处理器及所述数据库之间能够相互通信。The intermediate device 120 can further include one or more processors 121 that perform data interactions, and one or more databases 122 that store data. Preferably, the one or more processors and one or more databases may be disposed on the mobile terminal, may be disposed in the cloud, or may be configured by a portion disposed in the mobile terminal and a portion disposed in the cloud. The mobile terminal 110 can communicate with the processor and the database.
参考图3至图10,按照本发明的某些实施方式,提供了一种无线呼叫方法,包括:Referring to FIG. 3 to FIG. 10, in accordance with some embodiments of the present invention, a wireless calling method is provided, including:
步骤S110,当检测到存在通话请求时,接收来自终端设备的所述通话请求。Step S110, when it is detected that there is a call request, receiving the call request from the terminal device.
在一种具体实施例中,参考图4,主叫对象,例如终端设备A,向中间设备S发送通话请求。例如,终端设备A可采用TCP/IP协议与中间设备S建立连接;当握手成功之后,终端设备A与终端设备S之间建立TCP通道。其中,具体来说,建立TCP通道可包括:中间设 备S为终端设备A分配用于传输信令的通信端口aa,并通过该通信端口aa接收来自终端设备A的通话请求或传输其它信令,也就是说,将该TCP通道作为信令通道。In a specific embodiment, referring to FIG. 4, a calling object, such as terminal device A, sends a call request to the intermediate device S. For example, the terminal device A can establish a connection with the intermediate device S by using the TCP/IP protocol; after the handshake is successful, a TCP channel is established between the terminal device A and the terminal device S. Specifically, establishing a TCP channel may include: The standby device S allocates a communication port aa for transmitting signaling for the terminal device A, and receives a call request from the terminal device A or transmits other signaling through the communication port aa, that is, the TCP channel is used as a signaling channel.
根据本发明的某些实施方式,为了降低对通信资源的占用以及提高通信效率,可采用注册机制,提前在通信初始就将与终端设备的通信能力相关的通信参数通知中间设备S。例如,随着TCP通道的建立,终端设备A可将描述其通信能力的通信参数,例如,终端设备A的设备型号、编解码器、操作系统、通信网络、版本号、渠道号等各通信参数,发送至中间设备S,中间设备S为其分配对应的通信端口并采用对应的标识信息标记该终端设备,完成终端设备A的注册。参考图5,中间设备S保存与其相连接的各个终端设备的通信参数,形成注册表。According to some embodiments of the present invention, in order to reduce the occupation of communication resources and improve communication efficiency, a registration mechanism may be employed to notify the intermediate device S of the communication parameters related to the communication capabilities of the terminal device in advance of the communication. For example, with the establishment of a TCP channel, the terminal device A may describe communication parameters of its communication capability, for example, the device model, codec, operating system, communication network, version number, channel number, and other communication parameters of the terminal device A. And sent to the intermediate device S, the intermediate device S allocates a corresponding communication port and marks the terminal device with the corresponding identification information, and completes the registration of the terminal device A. Referring to FIG. 5, the intermediate device S saves the communication parameters of the respective terminal devices connected thereto to form a registry.
步骤S120,中间设备S对接收到的通话请求进行分析,提取目标对象的标识,并根据所述标识查找该目标对象对应的通信端口。Step S120: The intermediate device S analyzes the received call request, extracts an identifier of the target object, and searches for a communication port corresponding to the target object according to the identifier.
其中,所述通话请求可包括主叫对象的标识信息,即终端设备A的标识信息,以及请求信号。当终端设备A已在中间设备S中注册过,则终端设备A将其标记信息以及请求信号发送至中间设备S时,中间设备S根据终端设备A的标记信息从注册表中获取其对应的通信参数,以及从所述请求信号中获取待通信的目标对象,例如终端设备B,的标识信息,并进一步根据目标对象的标识信息,从注册表中获取终端设备B对应的通信参数。The call request may include identification information of the calling object, that is, identification information of the terminal device A, and a request signal. When the terminal device A has been registered in the intermediate device S, the terminal device A sends its tag information and the request signal to the intermediate device S, and the intermediate device S obtains its corresponding communication from the registry according to the tag information of the terminal device A. The parameter, and the identification information of the target object to be communicated, for example, the terminal device B, is obtained from the request signal, and the communication parameter corresponding to the terminal device B is obtained from the registry according to the identification information of the target object.
步骤S130,中间设备S通过与目标对象对应的通信端口将所接收到的通话请求转发至目标对象,并接收来自该目标对象的回应。当目标对象忙碌或拒绝进行通话,参考图6,目标对象向中间设备S返回忙碌信号,中间设备S根据该忙碌信号,拒绝主叫对象的通话请求。Step S130, the intermediate device S forwards the received call request to the target object through the communication port corresponding to the target object, and receives a response from the target object. When the target object is busy or refuses to make a call, referring to FIG. 6, the target object returns a busy signal to the intermediate device S, and the intermediate device S rejects the call request of the calling object according to the busy signal.
当目标对象同意进行通话时,则进入步骤S140。在步骤S140中,参考图4,当中间设备S接收到来自目标对象的同意信号之后,在注册表中查找主叫对象和目标对象分别对应的通信参数,并根据这些通信参数,在主叫对象和目标对象之间建立媒体通道,使得该主叫对象和该目标对象通过所述媒体通道进行媒体数据的实时交互。When the target object agrees to make a call, it proceeds to step S140. In step S140, referring to FIG. 4, after the intermediate device S receives the consent signal from the target object, the communication parameters corresponding to the calling object and the target object are searched in the registry, and the calling object is based on the communication parameters. Establishing a media channel with the target object, so that the calling object and the target object perform real-time interaction of media data through the media channel.
在一种具体实施方式中,中间设备S通过信令通道向主叫对象和目标对象分别发送SSDP信号,通过SSDP协议传输媒体数据。例如,当终端设备A发出通话请求时,其向特定的多播地址的SSDP端口使用M-SEARCH方法发送“ssdp:discover”消息,当中间设备S监听到这个保留的多播地址上由终端设备A发送的请求通话的消息时,会分析终端设备A请求的服务并响应该请求。例如,将来自终端设备A的媒体数据传递至终端设备B。In a specific implementation, the intermediate device S sends an SSDP signal to the calling object and the target object through the signaling channel, and transmits the media data through the SSDP protocol. For example, when the terminal device A issues a call request, it sends an "ssdp:discover" message to the SSDP port of the specific multicast address using the M-SEARCH method, and the intermediate device S listens to the reserved multicast address on the terminal device. When A sends a message requesting a call, it analyzes the service requested by the terminal device A and responds to the request. For example, the media data from the terminal device A is delivered to the terminal device B.
在另一种实施方式中,为了使得通话尽可能的轻量化,减少所需传输和分析的数据,加快数据传输的速率,以及减少待机的功耗,还可以采用轻量化的传输信号作为用以建立媒体 通道的请求信号,并由中间设备S分别发送至终端设备A和终端设备B。其中,通过过滤该轻量化的传输信号可包括例如音频流、IP端口、编码方式、采样率等参数,使得在保证通话效果的前提下,尽可能地降低待机的功耗,加快数据传输的速率。In another embodiment, in order to make the call as light as possible, reduce the data required for transmission and analysis, speed up the data transmission, and reduce the standby power consumption, a lightweight transmission signal can also be used as the Establish media The request signal of the channel is sent by the intermediate device S to the terminal device A and the terminal device B, respectively. The filtering of the lightweight transmission signal may include parameters such as an audio stream, an IP port, an encoding mode, and a sampling rate, so that the standby power consumption is reduced as much as possible, and the data transmission rate is accelerated. .
其中,当建立媒体通道之后,经由终端设备A发出的媒体数据通过媒体通道,以设定速率,例如50次/秒,实时传输至终端对象B,而无需录制后再上传至服务器之后经由终端设备B下载并播放,从而消除了现有技术中对待传输的媒体数据大小或时长的限制,使得通话双方,即终端设备A和终端设备B,之间能够以类似打电话的形式进行实时的通信,大大提升了移动呼叫的通话体验。After the media channel is established, the media data sent via the terminal device A is transmitted to the terminal object B in real time through the media channel at a set rate, for example, 50 times/second, without being recorded and then uploaded to the server, and then via the terminal device. B downloads and plays, thereby eliminating the limitation of the size or duration of the media data to be transmitted in the prior art, so that the two parties of the call, that is, the terminal device A and the terminal device B, can perform real-time communication in a form similar to a call. Greatly improved the call experience of mobile calls.
其中,参考图7,步骤S140进一步可包括,步骤S141,主叫对象或目标对象对媒体数据进行加工处理。例如,作为主叫的终端设备A在采用设定传输速率发送语音数据之前,对语音数据进行拆分压缩,以保证数据传输的流畅性。又例如,作为目标的终端设备B接收到所传输的语音数据之后,对其进行解压缩还原。With reference to FIG. 7, step S140 may further include, in step S141, the calling object or the target object performs processing on the media data. For example, the terminal device A as the calling party splits and compresses the voice data before transmitting the voice data at the set transmission rate to ensure the smoothness of the data transmission. For another example, after the target terminal device B receives the transmitted voice data, it decompresses and restores it.
根据本发明的某些实施方式,中间设备S可根据主叫对象和目标对象的通信参数,获取主叫对象和目标对象的通信参数,例如获取作为主叫对象的终端设备A的操作系统为ios8和G729编码器,以及作为被叫对象的终端设备B的操作系统Andriod L和iLBC编码器。其中,参考图8,步骤S140进一步还包括,步骤S142,中间设备S根据主叫对象和目标对象的通信参数,对双方通信的数据进行转码。According to some embodiments of the present invention, the intermediate device S can obtain the communication parameters of the calling object and the target object according to the communication parameters of the calling object and the target object, for example, acquiring the operating system of the terminal device A as the calling object is ios8. And the G729 encoder, and the operating system Andriod L and iLBC encoder of the terminal device B as the called object. Referring to FIG. 8, step S140 further includes, in step S142, the intermediate device S transcodes the data communicated by the two parties according to the communication parameters of the calling object and the target object.
参考图9,当主叫对象和目标对象通过所述媒体通道进行媒体数据的实时交互时,进一步还可包括步骤S150,中间设备S检测终端设备是否保持连通状态。根据本发明的某些实施方式,当终端设备A/B保持连通状态时,定期向中间设备S发送保活信号,中间设备S接收到该保活信号时,对终端设备A/B的注册信息进行更新。具体来说,步骤S150可包括:步骤S151,在设定时间T1内,检测是否收到保活信号;当收到保活信号时,原有计时清零并返回步骤S151,重新开始检测;当没有收到保活信号时,执行步骤S160。Referring to FIG. 9, when the calling object and the target object perform real-time interaction of the media data through the media channel, the method further includes step S150, and the intermediate device S detects whether the terminal device maintains the connected state. According to some embodiments of the present invention, when the terminal device A/B maintains the connected state, the keepalive signal is periodically sent to the intermediate device S, and when the intermediate device S receives the keep-alive signal, the registration information for the terminal device A/B is received. Update. Specifically, step S150 may include: step S151, detecting whether a keep-alive signal is received within the set time T1; when receiving the keep-alive signal, the original timing is cleared and returns to step S151 to restart the detection; When the keep-alive signal is not received, step S160 is performed.
在一种具体实施方式中,当终端设备A或终端设备B采用SSDP协议进行数据通信时,其向特定的多播地址的SSDP端口使用NOTIFY方法发送“ssdp:alive”消息,中间设备S监听该消息;考虑到终端设备有可能在没有通知的情况下停止服务或者从网络上卸载,“ssdp:alive”消息必须在HTTP协议头CACHE-CONTROL里面指定超时值,终端设备必须在约定的超时值到达以前重发“ssdp:alive”消息,如果中间设备S在指定的超时值内没有再次收到终端设备A或终端设备B所发送的“ssdp:alive”消息,中间设备S将认为终端设备A或终端设备B已经断开连接。 In a specific implementation, when the terminal device A or the terminal device B performs data communication by using the SSDP protocol, it sends a "ssdp: alive" message to the SSDP port of the specific multicast address by using the NOTIFY method, and the intermediate device S listens to the message. Message; considering that the terminal device may stop the service or uninstall from the network without notification, the "ssdp:alive" message must specify the timeout value in the HTTP protocol header CACHE-CONTROL, and the terminal device must arrive at the agreed timeout value. The "ssdp:alive" message is retransmitted in the past. If the intermediate device S does not receive the "ssdp:alive" message sent by the terminal device A or the terminal device B within the specified timeout value, the intermediate device S will consider the terminal device A or Terminal device B has been disconnected.
根据本发明的某些实施方式,当终端设备A断开连接时,执行步骤S160,中间设备S从注册表中删除其对应的注册信息,例如删除为其分配对应的通信端口以及删除用于标记该终端设备的标识信息等。然而,不同于现有技术中,中间设备S并不将终端设备A的断线事件通知给与终端设备A进行过通信的其它终端设备,其与其它终端设备之间仍旧保持正常连接。当其它终端设备,例如终端设备B或C发出通话请求,且通话请求的目标对象为终端设备A时,中间设备S再向终端设备B或C,反馈无法送达的回复信息。对于断线事件采用查询-反馈的机制,而不进行广播,能够提高资源的利用率,减少对用户无谓的干扰,提升通话体验。According to some embodiments of the present invention, when the terminal device A is disconnected, step S160 is performed, and the intermediate device S deletes its corresponding registration information from the registry, for example, deletes the corresponding communication port and deletes the used for marking. Identification information of the terminal device, and the like. However, unlike the prior art, the intermediate device S does not notify the disconnection event of the terminal device A to other terminal devices that have communicated with the terminal device A, and still maintains a normal connection with other terminal devices. When another terminal device, for example, the terminal device B or C, issues a call request, and the target object of the call request is the terminal device A, the intermediate device S feeds back the reply information that cannot be delivered to the terminal device B or C. The query-feedback mechanism is used for the disconnection event without broadcasting, which can improve the utilization of resources, reduce unnecessary interference to users, and improve the calling experience.
以上仅为说明便利,以终端设备A作为通信的主叫对象以及终端设备B作为通信的目标对象,然而本领域技术人员应能理解,终端设备A与终端设备B的角色可以互换,即终端设备B可以作为通信的主叫对象,而终端设备A也可以作为通信的目标对象。其中,终端设备A或者终端设备B,均可包含一个或者多个支持发起或者接听所述移动呼叫的电子设备。The above is only for convenience of description. The terminal device A is used as the calling object of the communication and the terminal device B is the target of communication. However, those skilled in the art should understand that the roles of the terminal device A and the terminal device B can be interchanged, that is, the terminal. Device B can serve as a calling object for communication, and terminal device A can also serve as a target for communication. The terminal device A or the terminal device B may each include one or more electronic devices that support initiating or receiving the mobile call.
在上述实施方式中,通过注册机制,在中间设备S端以注册表的形式,对与其进行连接的终端设备的通信参数进行记录和保存,每一次终端设备与中间设备建立连接时,仅需为其分配对应的通信端口以及建立其对应的标识与所述通信端口的关联即可,提高了通信的效率。此外,在终端设备断线之前,终端设备仅需通过定期发送极小字节的保活信号即可保持与中间设备的连通,从而降低长时间保持连通的通信成本。而且,采用轻量化的传输信号作为建立媒体通道的请求信号,有效地降低了维持通话的功耗,通过建立媒体通道,使得一个或多个终端设备之间能够以类似打电话的形式进行实时通话,改变了现有技术中先录制再转发的呼叫传输模式,提供了流畅、及时的移动呼叫体验。In the foregoing embodiment, the communication parameter of the terminal device connected thereto is recorded and saved in the form of a registry in the form of a registry by the registration mechanism, and each time the terminal device establishes a connection with the intermediate device, only It can allocate the corresponding communication port and establish the association between its corresponding identifier and the communication port, which improves the communication efficiency. In addition, before the terminal device is disconnected, the terminal device only needs to maintain the communication with the intermediate device by periodically transmitting the keep-alive signal of the minimum byte, thereby reducing the communication cost of maintaining communication for a long time. Moreover, the use of the lightweight transmission signal as a request signal for establishing a media channel effectively reduces the power consumption of the call, and establishes a media channel, enabling one or more terminal devices to make a real-time call in a form similar to a call. It changes the call transmission mode of recording and forwarding in the prior art, and provides a smooth and timely mobile call experience.
参考图10,根据本发明某些实施方式,该无线呼叫方法进一步包括:预处理步骤,适于执行终端设备110在中间设备120的注册。其中,终端设备110将用于描述其通信能力的通信参数发送至中间设备120,中间设备120对其进行保存之后,为其分配对应的信令通道的通信端口。Referring to FIG. 10, the wireless calling method further includes a pre-processing step adapted to perform registration of the terminal device 110 at the intermediate device 120, in accordance with some embodiments of the present invention. The terminal device 110 sends a communication parameter for describing its communication capability to the intermediate device 120, and after the intermediate device 120 saves it, it allocates a communication port of the corresponding signaling channel.
在一种具体实施方式中,该预处理步骤可根据终端设备的网络情况而触发,例如当终端设备连接至wifi或者3G/4G/LTE时,则触发终端设备的注册。在另一种具体实施方式中,也可根据用户在终端设备的特定操作而触发,例如当用户通过终端设备启动该移动呼叫软件时,触发终端设备的注册。In a specific implementation, the pre-processing step may be triggered according to the network condition of the terminal device, for example, when the terminal device is connected to wifi or 3G/4G/LTE, the registration of the terminal device is triggered. In another specific implementation manner, it may also be triggered according to a specific operation of the user in the terminal device, for example, when the user activates the mobile calling software through the terminal device, triggering registration of the terminal device.
本发明的教导还可以实现为一种计算机可读存储介质的计算机程序产品,包括计算机程序代码,当计算机程序代码由处理器执行时,其使得处理器能够按照本发明实施方式的方法 来实现服务信息的推送。计算机存储介质可以为任何有形媒介,例如软盘、CD-ROM、DVD、硬盘驱动器、甚至网络介质等。The teachings of the present invention may also be embodied as a computer program product of a computer readable storage medium, comprising computer program code which, when executed by a processor, enables a processor to be in accordance with a method of an embodiment of the present invention To achieve the push of service information. The computer storage medium can be any tangible medium such as a floppy disk, CD-ROM, DVD, hard drive, or even network media.
已经出于示出和描述的目的给出了本发明的说明书,但是其并不意在是穷举的或者限制于所公开形式的发明。本领域技术人员在阅读了本公开内容后,还可以想到很多修改和变体。上文描述的各种实施方式可以单独使用或者在各种组合中使用,除非上下文明确指出。本领域技术人员应当理解,本发明实施方式中的方法和装置可以以软件、硬件、固件或其组合实现。The description of the present invention has been presented for purposes of illustration and description, and is not intended to Numerous modifications and variations will be apparent to those skilled in the art after reading this disclosure. The various embodiments described above can be used alone or in various combinations unless the context clearly dictates otherwise. Those skilled in the art will appreciate that the methods and apparatus in the embodiments of the present invention can be implemented in software, hardware, firmware, or a combination thereof.
因此,实施方式是为了更好地说明本发明的原理、实际应用以及使本领域技术人员中的其他人员能够理解以下内容而选择和描述的,即,在不脱离本发明精神的前提下,做出的所有修改和替换都将落入所附权利要求定义的本发明保护范围内。 Therefore, the embodiments are chosen and described in order to explain the principles of the invention, the invention, and the All modifications and substitutions are intended to fall within the scope of the invention as defined by the appended claims.

Claims (15)

  1. 一种移动呼叫的方法,其特征在于,包括:A method for mobile calling, comprising:
    当检测到存在通话请求时,接收来自主叫对象的所述通话请求;Receiving the call request from the calling party when detecting that there is a call request;
    对接收到的通话请求进行分析,提取目标对象的标识,根据所述标识查找该目标对象对应的通信端口;The received call request is analyzed, the identifier of the target object is extracted, and the communication port corresponding to the target object is searched according to the identifier;
    通过所述通信端口将所接收到的通话请求转发至目标对象,并接收所述目标对象的回应;当所述目标对象同意进行通话时,查找主叫对象和目标对象分别对应的通信参数,并根据这些通信参数,在所述主叫对象和所述目标对象之间建立媒体通道,使得所述主叫对象和目标对象通过所述媒体通道以设定速率实时传输媒体数据。Transmitting the received call request to the target object through the communication port, and receiving a response of the target object; when the target object agrees to make a call, searching for communication parameters corresponding to the calling object and the target object respectively, and According to the communication parameters, a media channel is established between the calling object and the target object, so that the calling object and the target object transmit media data in real time through the media channel at a set rate.
  2. 如权利要求1所述的方法,其特征在于,进一步包括:建立与所述主叫对象或被叫对象之间的TCP通道,并接收来自所述主叫对象或所述被叫对象的通信参数。The method of claim 1 further comprising: establishing a TCP channel with said calling or called object and receiving communication parameters from said calling object or said called object .
  3. 如权利要求2所述的方法,其特征在于,进一步包括:保存所连接的各个终端设备的通信参数,建立注册表。The method of claim 2, further comprising: saving communication parameters of the connected respective terminal devices to establish a registry.
  4. 如权利要求3所述的方法,其特征在于,进一步包括:当终端设备断开连接时,从所述注册表中删除其对应的注册信息,并且当且仅当接收到目标对象为该终端设备的通话请求时,才向发出该通话请求的主叫对象反馈无法送达的回复信息。The method of claim 3, further comprising: deleting the corresponding registration information from the registry when the terminal device is disconnected, and if and only if the target object is received as the terminal device When the call is requested, the caller who sent the call request is fed back the undeliverable reply message.
  5. 如权利要求2所述的方法,其特征在于,进一步包括:根据网络情况触发终端设备发送所述通信参数,以实现注册。The method of claim 2, further comprising: triggering the terminal device to transmit the communication parameter according to a network condition to implement registration.
  6. 如权利要求2所述的方法,其特征在于,所述通信参数包括终端设备的设备型号、编解码器、操作系统、通信网络。The method of claim 2 wherein said communication parameters comprise a device model of the terminal device, a codec, an operating system, a communication network.
  7. 如权利要求1所述的方法,其特征在于,所述根据通信参数在主叫对象和目标对象之间建立媒体通道包括:分别向所述主叫对象和所述目标对象发送轻量化的传输信号,以请求建立媒体通道。The method of claim 1, wherein the establishing a media channel between the calling object and the target object according to the communication parameter comprises: transmitting a lightweight transmission signal to the calling object and the target object, respectively To request to establish a media channel.
  8. 如权利要求1所述的方法,其特征在于,进一步包括:根据所述目标对象的通信参数,对来自主叫对象的媒体数据进行转码,并将转码后的数 据发送至目标对象。The method of claim 1 further comprising: transcoding the media data from the calling object based on the communication parameters of the target object, and transcoding the number It is sent to the target object.
  9. 一种移动呼叫的系统,其特征在于,包括:A system for mobile calling, comprising:
    一个或多个终端设备,适于发送描述通信能力的通信参数以完成注册,One or more terminal devices adapted to transmit communication parameters describing communication capabilities to complete registration,
    发送通话请求或同意通话请求的指令,以及通过媒体通道与另一个终端设备进行实时的数据交互;An instruction to send a call request or agree to a call request, and perform real-time data interaction with another terminal device through a media channel;
    中间设备,适于联通至少两个终端设备,在所联通的至少两个终端设备之间建立所述媒体通道。And an intermediate device, configured to connect at least two terminal devices, and establish the media channel between the at least two terminal devices that are connected.
  10. 如权利要求9所述的系统,其特征在于,所述中间设备进一步包括:建立与作为主叫对象或被叫对象的终端设备之间的TCP通道,接收来自所述主叫对象或所述被叫对象的通信参数。The system according to claim 9, wherein said intermediate device further comprises: establishing a TCP channel with a terminal device as a calling or called object, receiving from said calling object or said Call the communication parameters of the object.
  11. 如权利要求9所述的系统,其特征在于,所述中间设备进一步包括:保存所连接的各个终端设备的通信参数,形成注册表。The system of claim 9, wherein the intermediate device further comprises: saving communication parameters of the connected respective terminal devices to form a registry.
  12. 如权利要求11所述的系统,其特征在于,根据网络情况触发所述终端设备向所述中间设备发送所述通信参数。The system according to claim 11, wherein said terminal device is triggered to transmit said communication parameter to said intermediate device according to a network condition.
  13. 如权利要求9所述的系统,其特征在于,当第一终端设备断开连接时,所述中间设备从所述注册表中删除其对应的注册信息,并且当且仅当接收到目标对象为所述第一终端设备的通话请求时,所述中间设备才向发出该通话请求的第二终端设备反馈无法送达的回复信息。The system according to claim 9, wherein when the first terminal device disconnects, the intermediate device deletes its corresponding registration information from the registry, and if and only if the target object is received When the first terminal device requests a call, the intermediate device feeds back the reply information that cannot be delivered to the second terminal device that sends the call request.
  14. 如权利要求9所述的系统,其特征在于,所述中间设备进一步包括:分别向作为主叫对象和目标对象的终端设备发送轻量化的传输信号,以请求建立媒体通道。The system of claim 9, wherein the intermediate device further comprises: transmitting a lightweight transmission signal to the terminal device as the calling object and the target object, respectively, to request to establish a media channel.
  15. 如权利要求9所述的系统,其特征在于,所述中间设备进一步包括:建立所述媒体通道之后,接收其中一端终端设备的数据,根据所述另一端终端设备的解码器对所接收的数据进行转码,并将转码后的数据发送至另一端的终端设备。 The system according to claim 9, wherein the intermediate device further comprises: after establishing the media channel, receiving data of one of the terminal devices, according to the received data of the decoder of the other end terminal device Transcode and transcode the data to the terminal device at the other end.
PCT/CN2017/072950 2016-02-06 2017-02-06 Wireless calling method and system WO2017133698A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610083842.7A CN107046673B (en) 2016-02-06 2016-02-06 Method and system for wireless calling
CN201610083842.7 2016-02-06

Publications (1)

Publication Number Publication Date
WO2017133698A1 true WO2017133698A1 (en) 2017-08-10

Family

ID=59499387

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/072950 WO2017133698A1 (en) 2016-02-06 2017-02-06 Wireless calling method and system

Country Status (2)

Country Link
CN (1) CN107046673B (en)
WO (1) WO2017133698A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259322B (en) * 2018-03-08 2021-08-17 北京元心科技有限公司 Intercom instant access method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038304A (en) * 1997-09-17 2000-03-14 Northern Telecom Limited Telecommunications switch incorporating automatic conferencing service
CN101009574A (en) * 2006-12-27 2007-08-01 华为技术有限公司 A method, terminal and system for multi-media information transfer
CN102843784A (en) * 2012-08-13 2012-12-26 北京小米科技有限责任公司 Call access method, equipment and system
CN102883258A (en) * 2012-06-18 2013-01-16 中国联合网络通信集团有限公司 Call processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668229A (en) * 2008-09-03 2010-03-10 华为技术有限公司 Method, device and system for calling and controlling multimedia ringtone service
CN103916823B (en) * 2012-12-31 2017-06-20 中国移动通信集团公司 The creation method and device of mobile phone meeting
CN104935758B (en) * 2014-12-31 2017-11-10 天地融科技股份有限公司 Method of calling, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038304A (en) * 1997-09-17 2000-03-14 Northern Telecom Limited Telecommunications switch incorporating automatic conferencing service
CN101009574A (en) * 2006-12-27 2007-08-01 华为技术有限公司 A method, terminal and system for multi-media information transfer
CN102883258A (en) * 2012-06-18 2013-01-16 中国联合网络通信集团有限公司 Call processing method and device
CN102843784A (en) * 2012-08-13 2012-12-26 北京小米科技有限责任公司 Call access method, equipment and system

Also Published As

Publication number Publication date
CN107046673B (en) 2020-11-17
CN107046673A (en) 2017-08-15

Similar Documents

Publication Publication Date Title
US20200333924A1 (en) Reduced latency server-mediated audio-video communication
US9602553B2 (en) Method, apparatus, and system for implementing VOIP call in cloud computing environment
US10798138B2 (en) Instant calling method, apparatus and system
US20200015105A1 (en) Interactions among mobile devices in a wireless network
CA2748199A1 (en) Method and system for making video calls
CN112565234B (en) Cross-network transmission system and method based on WebRTC
WO2015032306A1 (en) Position sharing method, instant messaging client, server, and system
EP2884750A1 (en) Monitoring method and internet protocol television set top box
WO2019184262A1 (en) Multi-type media data network address translation traversing method, terminal and system
US11290685B2 (en) Call processing method and gateway
WO2018006678A1 (en) Voice call method and apparatus
CN104580983A (en) Method for achieving video communication PTT
CN105122761B (en) The local control of the additional media session of packet-based calling
WO2013170812A1 (en) Transmission method for media data stream and thin client
WO2017133698A1 (en) Wireless calling method and system
CN110943910A (en) WebSocket-based interphone implementation method
US20200186636A1 (en) Enabling call transfer using headset
US20160036864A1 (en) Providing external application services with an existing private branch exchange media server
WO2014154039A2 (en) Method and system for implementing proxy call, and computer storage medium
CN113612759A (en) High-performance high-concurrency intelligent broadcasting system based on SIP protocol and implementation method
KR101975507B1 (en) Method and system for forwarding push-based video call to another user in same group
WO2023185648A1 (en) Communication method, device and system
WO2023185650A1 (en) Communication method, apparatus and system
CN117834374A (en) Distributed camera implementation method, device, equipment and storage medium
WO2020063462A1 (en) Control method for media display and related products

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: 17747018

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.01.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17747018

Country of ref document: EP

Kind code of ref document: A1