CN111194098B - Link establishment method, device, communication system and computer readable medium - Google Patents

Link establishment method, device, communication system and computer readable medium Download PDF

Info

Publication number
CN111194098B
CN111194098B CN202010102600.4A CN202010102600A CN111194098B CN 111194098 B CN111194098 B CN 111194098B CN 202010102600 A CN202010102600 A CN 202010102600A CN 111194098 B CN111194098 B CN 111194098B
Authority
CN
China
Prior art keywords
network
information
terminal
server
link
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
CN202010102600.4A
Other languages
Chinese (zh)
Other versions
CN111194098A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010102600.4A priority Critical patent/CN111194098B/en
Publication of CN111194098A publication Critical patent/CN111194098A/en
Application granted granted Critical
Publication of CN111194098B publication Critical patent/CN111194098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • H04W76/16Involving different core network technologies, e.g. a packet-switched [PS] bearer in combination with a circuit-switched [CS] bearer

Abstract

The application discloses a link establishing method, a link establishing device, a communication system and a computer readable medium, and relates to the technical field of communication. The method comprises the following steps: acquiring a first network type identifier and a second network type identifier sent by a first terminal; determining information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the second network type identifier; and sending the information of the first transfer server and the information of the second transfer server to the first terminal so that the first terminal establishes a first network link with the second terminal according to the information of the first transfer server and establishes a second network link with the second terminal according to the information of the second transfer server. Therefore, the first terminal can interact with the second terminal through the wireless network link and the cellular data network link at the same time, and data is transmitted through the established multiple links, so that the stability of data transmission is higher, and the user experience degree can be improved.

Description

Link establishment method, device, communication system and computer readable medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a link establishment method, an apparatus, a communication system, and a computer readable medium.
Background
At present, data can be transmitted between different terminals through a pre-established data link, but the link quality can change along with the quality of an access network and the change of the congestion state of a network node, so that the link quality generates jitter, and the jitter of the link quality can cause unstable data transmission between different terminals.
Disclosure of Invention
The present application provides a link establishing method, apparatus, communication system and computer readable medium to improve the above-mentioned drawbacks.
In a first aspect, an embodiment of the present application provides a link establishment method, where the method includes: acquiring a first network type identifier and a first network type identifier sent by the first terminal; determining information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the first network type identifier; and sending the information of the first transfer server and the information of the second transfer server to the first terminal, so that the first terminal establishes a first network link with the second terminal according to the information of the first transfer server and establishes a second network link with the second terminal according to the information of the second transfer server.
In a second aspect, an embodiment of the present application further provides a link establishment method, where the method includes: sending a first network type identifier and a first network type identifier to the signaling server; acquiring information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the first network type identifier, which are sent by the signaling server; and establishing a first network link with the second terminal through the first relay server according to the information of the first relay server, and establishing a second network link with the second terminal through the second relay server according to the information of the second relay server.
In a third aspect, an embodiment of the present application further provides a link establishment method, which is applied to a communication system, where the system includes a first terminal, a second terminal, and a signaling server, and the method includes: the first terminal sends a first network type identifier and a first network type identifier to the signaling server; the signaling server determines information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the first network type identifier, and sends the information of the first transit server and the information of the second transit server to the first terminal; and the first terminal establishes a first network link with the second terminal through the first transfer server according to the information of the first transfer server, and establishes a second network link with the second terminal through the second transfer server according to the information of the second transfer server.
In a fourth aspect, an embodiment of the present application further provides a link establishment apparatus, where the apparatus includes: the device comprises an acquisition unit, a determination unit and a sending unit. And the obtaining unit is used for obtaining the first network type identifier and the first network type identifier sent by the first terminal. And the determining unit is used for determining the information of the first transit server corresponding to the first network type identifier and the information of the second transit server corresponding to the first network type identifier. A sending unit, configured to send the information of the first relay server and the information of the second relay server to the first terminal, so that the first terminal establishes a first network link with the second terminal according to the information of the first relay server, and establishes a second network link with the second terminal according to the information of the second relay server.
In a fifth aspect, an embodiment of the present application further provides a link establishment apparatus, where the apparatus includes: the device comprises a sending unit, an acquisition unit and a connection unit. And the sending unit is used for sending the first network type identifier and the first network type identifier to the signaling server. An obtaining unit, configured to obtain information of a first relay server corresponding to the first network type identifier and information of a second relay server corresponding to the first network type identifier, where the information is sent by the signaling server. And the connection unit is used for establishing a first network link between the first relay server and the second terminal through the first relay server according to the information of the first relay server, and establishing a second network link between the second relay server and the second terminal through the second relay server according to the information of the second relay server.
In a sixth aspect, an embodiment of the present application further provides a communication system, which includes a first terminal, a second terminal, and a signaling server, where the first terminal is connected to the signaling server. The first terminal is configured to send a connection request to the signaling server, where the connection request includes an identifier of an access network scanned by the first terminal, and the identifier of the access network includes a first network type identifier and a first network type identifier. The signaling server is configured to determine information of a first relay server corresponding to the first network type identifier and information of a second relay server corresponding to the first network type identifier, and send the information of the first relay server and the information of the second relay server to the first terminal. The first terminal is further configured to establish a first network link with the second terminal through the first relay server according to the information of the first relay server, and establish a second network link with the second terminal through the second relay server according to the information of the second relay server.
In a seventh aspect, this application embodiment further provides a computer-readable storage medium, where the readable storage medium stores program code executable by a processor, and the program code, when executed by the processor, causes the processor to execute the above method.
According to the link establishment method, the link establishment device, the communication system and the computer readable medium, the first terminal sends the first network type identifier and the first network type identifier to the signaling server, and the signaling server determines the information of the first transfer server according to the first network type identifier and determines the information of the second transfer server according to the first network type identifier. Then, the signaling server sends the information of the first relay server and the information of the second relay server to the first terminal, and the first terminal establishes a first network link between the first terminal and the second terminal according to the information of the first relay server, that is, the first terminal, the first relay server and the second terminal form a relay link based on the first network. In addition, the first terminal can establish a second network link between the first terminal and the second terminal according to the information of the second relay server, that is, the first terminal, the second relay server and the second terminal form a relay link based on the second network. Therefore, the first terminal can interact with the second terminal through the first network link and the second network link simultaneously, and data transmission stability is higher through the data transmission of the multiple established links, so that user experience can be improved, and the stability of data transmission is further improved by adopting a transfer transmission mode for the multiple links of the first terminal and the second terminal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic diagram of a transit link based data transmission system;
fig. 2 is a schematic diagram of a communication system provided by an embodiment of the present application;
fig. 3 is a flowchart illustrating a link establishment method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a video call request interface provided by an embodiment of the present application;
fig. 5 is a flowchart illustrating a link establishment method according to another embodiment of the present application;
fig. 6 is a schematic diagram of a communication system provided by another embodiment of the present application;
fig. 7 is a flowchart illustrating a link establishment method according to another embodiment of the present application;
fig. 8 is a flowchart illustrating a link establishment method according to still another embodiment of the present application;
fig. 9 is a flowchart illustrating a link establishment method according to yet another embodiment of the present application;
fig. 10 is a flowchart illustrating a link establishment method according to yet another embodiment of the present application;
fig. 11 is a flowchart illustrating a link establishment method at a first terminal side according to an embodiment of the present application;
fig. 12 is a flowchart illustrating a link establishment method corresponding to the communication system according to an embodiment of the present application;
FIG. 13 illustrates a timing diagram of interactions between devices within a communication system provided by an embodiment of the present application;
FIG. 14 illustrates a timing diagram of interactions between devices in a communication system provided by another embodiment of the present application;
fig. 15 is a block diagram illustrating a link establishment apparatus according to an embodiment of the present application;
fig. 16 shows a block diagram of a link establishment apparatus according to another embodiment of the present application;
fig. 17 shows a block diagram of a link establishment apparatus according to another embodiment of the present application;
fig. 18 shows a block diagram of an electronic device provided in an embodiment of the present application for executing a method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
At present, different terminals can communicate with each other through a pre-established data link to realize information sharing, social networking activities and the like.
The data link refers to a network path through which data is transmitted to the opposite-end client. According to different data transmission ways, data links are divided into two modes of direct connection transmission and transit transmission. The direct connection transmission mode is that the user equipment and the user equipment directly perform point-to-point (P2P) data transmission, and no server node exists in the transmission path. The transfer transmission mode is that a transfer server is added between two user devices, and data streams need to be transmitted to an opposite terminal through the server. The direct link has limited success rate of creation and transmission stability, and the stability of the transit link is more reliable, so that the transmission quality of the transit link is improved to the utmost extent. In the embodiment of the application, the two terminals establish the transfer link through the transfer server, and realize data interaction according to the transfer link.
As an embodiment, as mobile terminal technology develops and network bandwidth increases, more and more users choose to use voice and video over internet protocol (VVoIP) for remote communication. The vvolp is a communication method for transmitting voice and images in real time between different terminals (such as a PC, a smart phone, and the like) based on an IP Network (IP Network). In vvolp, voice and video are transmitted over a data link between users in the form of a data stream, and the data stream needs to have low latency, high stability, and the like to provide a high-quality vvolp service.
As shown in fig. 1, a schematic diagram of a transit link-based data transmission system is shown. The system comprises a first terminal 101 and a second terminal 102, a relay link is established between the first terminal 101 and the second terminal 102 through a relay server 300, and data transmission between the first terminal 101 and the second terminal 102 can be realized by the relay server 300. For example, the first terminal 101 may transmit data to the relay server 300, and the relay server 300 transmits the data to the second terminal 102, so that the first terminal 101 transmits the data to the second terminal 102.
The first terminal 101 and the second terminal 102 may be mobile terminal devices, such as smart phones, tablet computers, e-book readers, laptop portable computers, car computers, wearable mobile terminals, and the like. In some embodiments, the first terminal 101 and the second terminal 102 are both installed with clients, and a first user operating the client of the first terminal 101 and a second user operating the client of the second terminal 102 implement data interaction such as a video call or a voice call.
It is possible for either the first terminal 101 or the second terminal 102 to have two access networks, respectively a wireless network access and a cellular data network access. The wireless network access means that the terminal performs data interaction with other terminals through a wireless network card and a near-end wireless router; the cellular data network access means that the terminal performs data interaction with other terminals through a wireless baseband and a base station.
Among them, a Cellular data network (Cellular network), also called mobile network (mobile network), is a mobile communication hardware architecture. Specifically, the network service area is divided into a plurality of cells (i.e., "cells"), each of which is provided with a base station that is responsible for the contact and control of each mobile station in the cell.
The cellular data network may be a 5G (5th Generation, 5G) communication System (or referred to as a New Radio (NR) System), a Long Term Evolution (LTE) network, a General Packet Radio Service (GPRS) System, a Global System for Mobile communications (GSM) network, or a Universal Mobile Telecommunications network (UMTS), but may also be other cellular networks.
The Wireless network may be a Wireless Local Area Network (WLAN), and specifically may be Wi-Fi (Wireless fidelity).
With the development of hardware devices and audio and video encoding and decoding technologies, the quality of a data link becomes a key factor affecting the quality of vvolp service. However, the quality of the current data link is always less satisfactory for the user. Some reasons are that, in the current VVoIP service, a terminal generally adopts a single access point data link to transmit audio and video streams. For example, in the case where the terminal simultaneously starts a Wi-Fi network and a cellular data network, the terminal may only transmit data using the Wi-Fi network. With the changes of Wi-Fi signal strength, signal interference and network node congestion state, the link quality of the transmission data may be subject to packet loss, delay and other conditions. However, since the VVoIP traffic uses a User Datagram Protocol (UDP) rather than a Transmission Control Protocol (TCP), the packet loss retransmission mechanism and the congestion control strategy of the TCP protocol are not applicable to the VVoIP traffic. Therefore, the occurrence of conditions such as packet loss and delay may cause the link quality to be degraded, and the quality of experience (QoE) of the user is greatly reduced.
Therefore, in order to overcome the above-mentioned drawbacks, embodiments of the present application provide a link establishment method, an apparatus, a communication system, and a computer readable medium, so that a first terminal and a second terminal can simultaneously use multiple transit links to implement data interaction, which can improve stability of data transmission and improve QoE of a user. It should be noted that, in the embodiment of the present application, "first" and "second" in the first terminal and the second terminal are not specifically referred to, but refer to two user equipments.
The following first describes an application environment of the link creation process provided in some embodiments of the present application. As shown in fig. 2, the first terminal 101, the second terminal 102 and the signaling server 200 form a communication system, both the first terminal 101 and the second terminal 102 may be connected to the signaling server 200, and the signaling server 200 can configure a relay server for the first terminal 101 or the second terminal 102 based on an access network identifier sent to the signaling server 200 when the first terminal 101 or the second terminal 102 requests to connect to an opposite terminal, so that the first terminal 101 and the second terminal 102 connect to a relay link through the configured relay server, thereby implementing data interaction according to the relay link.
As shown in fig. 2, there may be two transit links between the first terminal 101 and the second terminal 102, which are a first transit link connected through a first transit server 301 and a second transit link connected through a second transit server 302. For the process of establishing a link between the first terminal 101 and the second terminal 102, reference may be made to the following embodiments.
Referring to fig. 3, fig. 3 shows a link establishment method provided in an embodiment of the present application, where the method is applied to the communication system in fig. 2, and in the embodiment of the present application, an execution subject of the method may be a signaling server 200 in the communication system shown in fig. 2. The method can comprise the following steps: s301 to S303.
S301: and acquiring a first network type identifier and a second network type identifier sent by the first terminal.
The first network type identifier is used for representing that the first terminal requests to interact with other equipment through a first network, and the second network type identifier is used for representing that the first terminal requests to interact with other equipment through a second network.
As an embodiment, the first network type identifier may be a full name or name abbreviation or other customized identifier of a first network to which the first terminal is to access, and the second network type identifier may be a full name or name abbreviation or other customized identifier of a second network to which the first terminal is to access.
The signaling server can determine whether the access network belongs to the first network or the second network through the name of the access network, and further can determine whether the first terminal requests to interact with other equipment in the mode of the first network or the second network.
In some embodiments, the first network and the second network may be two networks of the same type. For example, the first network and the second network are both wireless networks, or both cellular data networks, and the first network and the second network represent two different network access points, taking the first network and the second network as wireless networks as an example, the first network is a wireless network with an access point of wifi1, and the second network is a wireless network with an access point of wifi 2.
In other embodiments, the first network and the second network may be two different types of networks. In this embodiment, the first network is a wireless network, the first network type identifier is a wireless network identifier, the second network is a cellular data network, and the second network type identifier is a cellular data network identifier.
The attribute information such as the format or naming mode of the name of the cellular data network is fixed, so that the name can be distinguished from the name of the wireless access point more obviously. For example, the access network name for china mobile is CMNET and the access network name for china telecommunications is CNNET. Therefore, when the wireless network identifier and the cellular data network identifier are obtained, the identifier belonging to the cellular data network is firstly identified, and the rest identifiers are the wireless network identifiers.
In another embodiment, a wireless network card for accessing a wireless network and a wireless baseband for accessing a cellular data network, also referred to as an accessory network card, are provided in the first terminal. The wireless network identification may be the identification of the wireless network card and the cellular data network identification may be the identification of the secondary network card. The first terminal may send the identifier of the wireless network card and the identifier of the secondary network card to the signaling server in advance and store the identifiers, and in some embodiments, after the signaling server obtains the wireless network identifier and the cellular data network identifier sent by the first terminal, the wireless network identifier and the cellular data network identifier are compared with the pre-stored identifier of the wireless network card and the pre-stored identifier of the secondary network card, so as to identify the wireless network identifier and the cellular data network identifier currently sent by the first terminal.
In some embodiments, the first terminal may send the wireless network identification and the cellular data network identification to the signaling server via a connection request. The first terminal may send a connection request to the signaling server when acquiring the data transmission instruction, where the connection request may include at least one of a radio network identifier and a cellular data network identifier. Wherein the data transmission instruction may be generated based on an operation of the first terminal by the user.
Taking a video call between a first terminal and a second terminal as an example, a social application program with a video call function is installed in both the first terminal and the second terminal, assuming that a user ID of the social application program logged in the first terminal is a first user and a user ID of the social application program logged in the second terminal is a second user, the first user clicks a video call button in a chat interface between the social application program of the first terminal and the second user, and then enters a video call request interface, such as the interface shown in fig. 4. And when the first terminal detects that the video call button in the interface is triggered, judging to acquire the data transmission instruction. For example, when the interface shown in fig. 4 is displayed by the first terminal, it is determined that the data transmission instruction is acquired, and then, a connection request is sent to the signaling server. Of course, when the second user connects the video call request sent by the first user, the second terminal may return an appointed message to the first terminal, where the appointed message is used to inform the first terminal, and the second terminal agrees to the video call, and when the appointed message is obtained, the first terminal determines to obtain the data transmission instruction.
As an embodiment, the first terminal may send the wireless network identity and the cellular data network identity to the signaling server at the same time. The first terminal may package the wireless network identifier and the cellular data network identifier in the connection request when acquiring the data transmission instruction, and send the connection request to the signaling server.
As another embodiment, the first terminal may send the wireless network identifier and the cellular data network identifier to the signaling server through two connection requests, respectively.
In some embodiments, the two connection requests are named a wireless connection request and a cellular connection request, and the wireless network identifier may be first sent to the signaling server through the wireless connection request, and then the cellular data network identifier may be sent to the signaling server through the wireless connection request. For example, when the first terminal acquires the data transmission instruction, only the wireless network is enabled, but the cellular data network is not enabled, the first terminal first sends the wireless connection request, and then sends the cellular connection request when the cellular data network is detected to be enabled.
In other embodiments, the cellular data network identifier may be sent to the signaling server via the cellular connection request, and then the radio network identifier may be sent to the signaling server via the wireless connection request. For example, when the first terminal acquires the data transmission instruction, only the cellular data network is enabled, but the wireless network is not enabled, the first terminal first sends the cellular connection request, and then sends the wireless connection request when the wireless network is detected to be enabled.
S302: and determining the information of a first transfer server corresponding to the wireless network identification and the information of a second transfer server corresponding to the cellular data network identification.
The information of the first relay server is used for establishing links between the first terminal and the first relay server and between the second terminal and the first relay server. As an embodiment, the information of the first relay server may include an external network address of the first relay server, so that the first terminal transmits the data to the first relay server through the external network address of the first relay server. In addition, the information of the first transit server may further include a data transmission parameter, and the data transmission parameter may be a supported encryption algorithm, and the first terminal may encrypt data to be transmitted according to the encryption algorithm to ensure security of data transmission. Similarly, the information of the second relay server may be an external network address and data transmission parameters of the second relay server, and may not be described in detail herein with reference to the description of the information of the first relay server.
The signaling server can allocate a transit server to the first terminal. As an embodiment, the allocation policy may be to select a relatively idle transit server from the plurality of transit servers as the first transit server and the second transit server. Specifically, each relay server is provided with an idle state, which may be set according to information such as the number of connected links of the relay server and the data transmission amount. For example, the idle state may be represented by a value, the larger the value of the idle state is, the more busy the corresponding transit server is, and the smaller the value of the idle state is, the more idle the corresponding transit server is. Accordingly, the relay servers in the idle state having a value smaller than a specified value may be selected as the first relay server and the second relay server.
As another embodiment, the signaling server can configure a first relay server for the wireless network according to the external network address corresponding to the wireless network identifier, so as to determine the information of the first relay server corresponding to the wireless network identifier. Similarly, the signaling server can configure a second transit server for the cellular data network according to the external network address corresponding to the cellular data network identifier, thereby determining the information of the second transit server corresponding to the cellular data network identifier. For specific implementation, reference may be made to the following embodiments, which are not described herein in detail.
S303: and sending the information of the first transit server and the information of the second transit server to the first terminal.
And the first terminal establishes a first network link with the second terminal according to the information of the first transit server, and establishes a second network link with the second terminal according to the information of the second transit server.
It should be noted that, in this embodiment and the following embodiments, the implementation of each embodiment of the present application is described by taking the first network as a wireless network, the first network type identifier as a wireless network identifier, the second network as a cellular data network, and the second network type identifier as a cellular data network identifier as examples.
After the first terminal acquires the information of the first transit server, the first transit server can be determined according to the information of the first transit server, so that a wireless network link with the second terminal is established through the first transit server. Similarly, after the first terminal acquires the information of the second transit server, the first terminal can determine the second transit server according to the information of the second transit server, and a cellular data network link with the second terminal is established through the second transit server.
After the wireless network link and the cellular data network link are established, the first terminal can simultaneously interact with the second terminal through the wireless network link and the cellular data network link. For example, the first terminal sends the designated data to the second terminal, and then the first terminal may send a part of the designated data to the second terminal data through the wireless network link, and send another part of the designated data to the second terminal data through the cellular data network link, so that when one of the wireless network link and the cellular data network link is poor in quality, the part of the designated data sent to the second terminal through the poor link can be reduced, the stability of data transmission is improved, the user experience can be improved, and the stability of data transmission is further improved by adopting a transfer transmission mode for multiple links of the first terminal and the second terminal.
As an embodiment, the first terminal can transmit the data to be transmitted to the second terminal through the wireless network link and the cellular data network link based on the importance information of the data to be transmitted and the communication quality of the two network links.
Specifically, the data to be transmitted includes at least two sub data. As an embodiment, each sub data is of a different type, for example, the data to be sent is audio/video data, and the audio/video data includes two sub data, namely video stream data and audio stream data, that is, the two sub data are of different types. As another embodiment, the different sub data may be different data segments in the data to be transmitted.
The importance information of the data to be transmitted may be importance of each subdata, the communication quality of the wireless network link and the cellular data network link is obtained, the subdata with higher importance is transmitted to the second terminal through the link with better communication quality in the wireless network link and the cellular data network link, and the subdata with lower importance is transmitted to the second terminal through the link with worse communication quality in the wireless network link and the cellular data network link. The higher importance level means that the importance level is greater than a predetermined importance level, the higher importance level means that the importance level is less than or equal to the predetermined importance level, and the predetermined importance level may be a level value set in advance according to a requirement.
In some embodiments, the importance level may be represented by an importance value, which is a numerical value, and the higher the importance value of the sub data is, the higher the importance level of the sub data is. As an embodiment, a numerical range (e.g., 0 to 10) in which the importance value is set in advance may be set to different importance values for the plurality of sub data, and the specified importance is taken within the value range, and may be, for example, 6. Supposing that the data to be transmitted includes sub data 1, sub data 2 and sub data 3, and the importance degrees of the sub data 1, the sub data 2 and the sub data 3 are respectively 2, 5 and 8, and the assigned importance degree is 6, the sub data 3 is sub data with higher importance degree and can be sent to the second terminal by the first terminal through a wireless network link, and the sub data 1 and the sub data 2 are sub data with lower importance degree and can be sent to the second terminal by the first terminal through a cellular data network link.
In other embodiments, the higher and lower importance levels may be importance states of the sub-data, i.e., the importance states include higher and lower importance levels. The important status may be configured for the sub data by the first terminal, and specifically may be configured for a plurality of sub data in the data to be transmitted based on a configuration operation of the user at the first terminal. As an embodiment, the configuration operation may be configured according to the category of the sub data, and the importance status of the sub data belonging to the first category is configured to be higher in importance, and the importance status of the sub data belonging to the second category is configured to be lower in importance. The first category and the second category may be set according to actual usage requirements, for example, the first category is a video stream, and the second category is an audio stream.
The communication quality is used to measure the data transmission capability of the link, and specifically, the data transmission capability may include a data transmission rate, stability of data transmission, and the like. As an embodiment, the first signal strength value of the wireless network link and the second signal strength value of the cellular data network link may be obtained, a link with a higher signal strength value among the wireless network link and the cellular data network link is used as a link with better communication quality, and a link with a lower signal strength value among the wireless network link and the cellular data network link is used as a link with poorer communication quality.
As another embodiment, the first terminal can send the data to be sent to the second terminal through the wireless network link and the cellular data network link based on the data size of the sub data in the data to be sent.
Specifically, the data size of each subdata is obtained, the subdata with the data size larger than the specified size is sent to the second terminal through the wireless network link, and other subdata is sent to the second terminal through the cellular data network link.
Specifically, sub-data with a data size larger than a specified size is recorded as first sub-data, sub-data with a data size smaller than or equal to the specified size is recorded as second sub-data, the first sub-data is sent to the second terminal through a wireless network link, and the second sub-data is sent to the second terminal through a cellular data network link. The designated size may be a numerical value set in advance according to a requirement, and is not limited herein. For example, in the audio and video data, if the data size of the video stream is larger than that of the audio stream, the first terminal sends the video stream to the second terminal through the wireless network link, and the first terminal sends the audio stream to the second terminal through the cellular data network link.
In addition, as described above, the signaling server can determine the information of the first relay server according to the external network address corresponding to the wireless network identifier, and determine the information of the second relay server according to the external network address corresponding to the cellular data network identifier. The corresponding external network address of the wireless network can be directly acquired by the first terminal. For example, the first terminal accesses the wireless network through the wireless router, and looks up the IP address of port wan of the wireless router to obtain the corresponding extranet address of the wireless network. However, when the first terminal accesses the cellular data network, the external network address on the cellular data network cannot be directly acquired, and the external network address of the first terminal on the cellular data network may be acquired according to the method described in the following embodiments.
Referring to fig. 5, fig. 5 shows a link establishment method provided in an embodiment of the present application, where the method is applied to the communication system in fig. 2, and in the embodiment of the present application, an execution subject of the method may be a signaling server 200 in the communication system in fig. 2. The method can comprise the following steps: s501 to S505.
S501: and acquiring the wireless network identification and the cellular data network identification sent by the first terminal.
S502: and determining the information of the first transit server corresponding to the wireless network identification.
S503: and acquiring a first website configured for the first terminal by an operator of the cellular data network.
Wherein the operator of the cellular data network is able to configure the first and second web addresses for the first terminal. The first website may be an external network address, i.e., a public network address, and the second website may be an internal network address, i.e., a local network address. After the terminal successfully registers in the cellular data network, the terminal obtains a local area network address, i.e., an intranet address, allocated to the terminal by an operator, where the address is configured in an address pool under a network access point on a core network. When a data packet of a terminal is to be transmitted from an operator's network to an internet network (i.e., a public network), a Network Address Translator (NAT) at an exit of the public network translates a local network address into a public network address to access the internet.
In particular, when the first terminal transmits data in the cellular data network, the operator of the cellular data network assigns a public network IP to the first terminal, and the first terminal can access the internet through the public network IP to communicate with other devices. The public network IP may be a first network address, i.e. an external network address, configured for said first terminal by the operator of the cellular data network. In this embodiment, the first website address may be an extranet address.
As an embodiment, the signalling server is capable of acquiring the foreign network address by means of a data packet sent by the first terminal through the cellular data network. In some embodiments, the first terminal sends a data packet to the signaling server over the cellular data network, i.e., in the manner of P2P. When the data packet enters the public network from the internal network, the operator writes a public network IP into the data packet, and the signaling server analyzes the data packet to obtain the public network IP after acquiring the data packet. In the embodiment of the application, data is transmitted between the first terminal and the signaling server through a TCP protocol.
As another embodiment, an external network address obtaining server may be further configured in the communication system, and the external network address obtaining server performs the obtaining of the external network address and the operation of configuring the relay server based on the external network address, so that on one hand, the data processing pressure and the transmission pressure of the signaling server can be reduced, and on the other hand, the obtaining of the IP address and the subsequent process of transmitting data according to the relay link can be deployed on the data link based on the UDP protocol.
S504: and determining the information of the second transit server according to the external network address.
The signaling server can configure a second transit server for the cellular data network of the first terminal based on the external network address. As an embodiment, the external network address can reflect a geographic location of the access network device (e.g., a base station), and the second transit server is configured according to the geographic location. For example, a transit server whose position relationship with the geographical location of the access network device satisfies a preset condition is taken as the second transit server, where the transit server satisfying the preset condition may be a transit server closest to the geographical location of the access network device. In addition, the operator information may also be obtained through the external network address, the information of the second relay server may also be determined according to the operator information, or the information of the second relay server may also be determined by combining the operator information and the position location information, and specifically, please refer to the subsequent embodiments, which is not described herein again.
S505: and sending the information of the first transit server and the information of the second transit server to the first terminal.
And the first terminal establishes a wireless network link with the second terminal according to the information of the first transit server and establishes a cellular data network link with the second terminal according to the information of the second transit server.
It should be noted that, for the parts of the above steps that are not described in detail, reference may be made to the foregoing embodiments, and details are not described herein again.
The following first describes an application environment of a link creation process provided in another embodiment of the present application. As shown in fig. 6, compared to fig. 2, the communication system further includes an external network address obtaining server 400, wherein the external network address obtaining server 400 supports transmission of data corresponding to the operator information of the cellular data network. For example, if the operator of the cellular data network of the first terminal 101 is telecommunications, the extranet address acquisition server 400 supports the transmission of data of the telecommunications.
The first terminal 101 and the second terminal 102 are both installed with a designated client, which may be the above-mentioned instant messaging, and the first terminal 101 and the second terminal 102 realize data transmission through the instant messaging. In the embodiment of the present application, the data is video data, the communication mode between the first terminal 101 and the second terminal 102 is based on vvolp, and the transmission protocol between the two is UDP protocol.
As shown in fig. 6, the application layer is responsible for operations such as encoding, decoding, collecting, playing and the like of the audio and video data, and can also interact with the signaling server. The link layer is responsible for operations such as specific creation and management logic of the transit link. The access network is used for describing a terminal network interface, wherein a Wi-Fi link is accessed to the transfer server through a wireless network card, a cellular data network link is accessed to the transfer server through a wireless baseband, namely, a network interface of the Wi-Fi link is the wireless network card, and a network interface of the cellular data network link is the wireless baseband.
The signaling server 200 is used for link creation, management decisions and information synchronization. The extranet address obtaining server 400 is configured to obtain an extranet address configured by an operator of the cellular data network for the first terminal, and determine information of the second transfer server according to the extranet address. The functions of the signaling server 200 and the extranet address acquisition server 400 are described below with reference to method embodiments.
As shown in fig. 7, fig. 7 illustrates a link establishment method provided in this embodiment, where the method is applied to the communication system in fig. 6, and in this embodiment, an execution subject of the method may be a signaling server. The method can comprise the following steps: s701 to S707.
S701: and acquiring the wireless network identification and the cellular data network identification sent by the first terminal.
S702: and determining the information of the first transit server corresponding to the wireless network identification.
S703: and acquiring the information of the user identification card sent by the first terminal.
As an embodiment, the first terminal sends Subscriber Identity Module (SIM) information to the signaling server when sending the cellular data network identity. For example, the cellular data network identifier and the SIM card information are both sent to the signaling server through the cellular connection request, so that the signaling server acquires the SIM card information while acquiring the cellular data network identifier.
As another embodiment, after acquiring the cellular data network identifier, the signaling server sends an information acquisition request to the first terminal, and instructs the first terminal to send the SIM card information to the signaling server.
The first terminal may obtain the SIM card information by calling an SIM card information obtaining module in the first terminal to obtain the SIM card information. The SIM card information obtaining module may be an API pre-installed in the operating system of the first terminal. The API may be a service component in the operating system of the first terminal, for example, the API is TelephonyManager, that is, a service class in the operating system that manages call states and telephone network information. This class provides the function acquisition SIM card information.
S704: and allocating an external network address acquisition server for the first terminal according to the SIM card information.
And after the signaling server allocates an external network address acquisition server to the first terminal according to the SIM card information, the signaling server instructs the first terminal to send a data packet to the external network address acquisition server through the cellular data network. As an embodiment, the first terminal may send the indication information to the first terminal, and the first terminal sends the data packet to the external network address obtaining server through the cellular data network according to the indication information. The configuration information may include information of an external network address obtaining server, and the information of the external network address obtaining server may include information of an IP address or a connection port, and the like, specifically, please refer to the following embodiments.
The SIM card information may include a card number of the SIM card, and the card number of the SIM card is used as an identifier of the SIM card. As an implementation manner, the signaling server pre-stores the correspondence between the card number of the SIM card and the external network address acquisition server. For example, after the signaling server once configures an extranet address acquisition server for the terminal corresponding to the card number of the SIM card, the correspondence between the card number of the SIM card and the configured extranet address acquisition server is stored, and when the card number of the SIM card is acquired again, the extranet address acquisition server corresponding to the card number of the SIM card can be found according to the correspondence, and is used as the extranet address acquisition server allocated to the first terminal.
In addition, the SIM card information further includes a Mobile device Country Code (MCC) and a Mobile device Network Code (MNC), and the embodiment of allocating an external Network address acquisition server to the first terminal according to the SIM card information may be that operator information is acquired according to the SIM card information; and allocating an external network address acquisition server for the first terminal according to the operator information.
The signaling server may search, according to the operator to which the cellular network data determined by the operator information belongs, an internet address acquisition server deployed in the operator, and use the internet address acquisition server as an external network address acquisition server allocated to the first terminal. For example, the MCC and MNC information indicates that the cellular network of the first terminal is a mobile cellular network, and then the first terminal is directly assigned to an external network address acquisition server deployed on the mobile.
In addition, it should be noted that the first terminal may be a multi-card multi-standby terminal, that is, the first terminal has a card slot with multiple SIM cards, and can use the multiple SIM cards, and the SIM card corresponding to the SIM card information sent by the first terminal and acquired by the signaling server is one of the multiple SIM cards used by the first terminal, which is currently used, or is currently used for transmitting data through the cellular data network.
S705: and acquiring the external network address determined by the external network address acquisition server.
The external network address is determined by the external network address acquisition server according to the received data packet, and the data packet is sent to the external network address acquisition server by the first terminal through the cellular data network.
After the signaling server allocates the external network address acquisition server to the first terminal, the external network address acquisition server may determine the external network address corresponding to the cellular data network of the first terminal through a data packet sent by the first terminal on the cellular data network.
In one embodiment, the signaling server sends information of the external network address acquisition server allocated to the first terminal, and instructs the first terminal to send a data packet to the external network address acquisition server through the cellular data network. The data packet may be a socket packet of the UDP protocol. In the process of transmitting the data packet through the cellular data network, an operator of the cellular data network allocates an external network address for the first terminal and writes the external network address into the data packet, and the external network address acquisition server analyzes the data packet to acquire the external network address when receiving the data packet. As an implementation manner, when the data packet is located in an internal network of a cellular data network, a source address in the data packet is an internal network IP address, then when the data packet enters a public network of the cellular data network, the internal network IP address in the source address of the data packet is modified to a public network IP address for an operator, and an external network address obtaining server reads the public network IP address in the source address, so that the public network IP address is an external network address configured for the first terminal by the operator of the cellular data network.
As an embodiment, the extranet address obtaining server may directly send the obtained extranet address to the signaling server. As another embodiment, in order to reduce the data processing load of the extranet address acquisition server and avoid the communication module being arranged in the extranet address acquisition server so as to implement communication with the signaling server through the communication module, the extranet address may be handed over to the signaling server through the first terminal by directly using the communication link between the first terminal and the extranet acquisition server and the communication link between the first terminal and the signaling server which are established in advance. Specifically, the external network address obtaining server sends the external network address to the first terminal, the first terminal sends the external network address to the signaling server, and the signaling server obtains the external network address sent by the first terminal.
S706: and determining the information of the second transit server according to the external network address.
S707: and sending the information of the first transit server and the information of the second transit server to the first terminal.
It should be noted that, for the parts of the above steps that are not described in detail, reference may be made to the foregoing embodiments, and details are not described herein again.
As shown in fig. 8, fig. 8 illustrates a link establishment method provided in this embodiment, which is applied to the communication system in fig. 6, where in this embodiment, an execution subject of the method may be a signaling server. The method can comprise the following steps: s801 to S806.
S801: and acquiring the wireless network identification and the cellular data network identification sent by the first terminal.
S802: and determining the information of the first transit server corresponding to the wireless network identification.
The embodiment of determining the information of the first relay server corresponding to the wireless network identifier may also be that an external network address corresponding to the wireless network identifier is obtained and recorded as a wireless external network address, and the information of the first relay server is determined according to the external network address, and a specific determination process is similar to a process of determining the information of the second relay server according to the external network address configured by an operator of the cellular data network for the first terminal, and then the following embodiments may be referred to.
S803: and acquiring the external network address configured for the first terminal by the operator of the cellular data network.
S804: and acquiring network information corresponding to the external network address.
Wherein the network information may include at least one of geographical location information and operator information. The geographical location information may be geographical location information of an access network corresponding to the external network address, and is used to indicate a geographical location of an access device for accessing the first terminal to the public network.
S805: and determining the information of the second transfer server according to the network information corresponding to the external network address.
It should be noted that the method for determining the first relay server may also be determined according to a network address corresponding to the wireless network, and a specific embodiment may refer to the determination of the second relay server.
As an embodiment, the network information is geographical location information, and the signaling server configures a second transit server for the first terminal according to the geographical location information, and a specific embodiment may refer to the description in S504.
As another embodiment, the network information is operator information, and the signaling server configures a second relay server for the first terminal according to the geographical location information, where the operator information may be an operator identifier, and the second relay server can support data transmission in a cellular data network corresponding to the operator information. For example, if the operator information corresponding to the external network address is china mobile, the second transit server is a transit server deployed on a network of china mobile.
As another embodiment, the network information may be geographical location information and operator information, the signaling server configures a second relay server for the first terminal according to the geographical location information and the operator information, and the second relay server simultaneously satisfies the preset condition described in S504 and supports data transmission in the cellular data network corresponding to the operator information.
In addition, considering that the second relay server is required to transmit not only the data of the first terminal to the second terminal but also the data of the second terminal to the first terminal, the second relay server may be determined based on both the network information of the first terminal and the network information of the second terminal. As an implementation manner, an external network address configured by an operator of a cellular data network for the first terminal is recorded as a first external network address, and the information of the second relay server is determined according to network information corresponding to the external network address, in which the implementation manner is to acquire network information corresponding to a second external network address of the second terminal; and determining the information of the second transfer server according to the network information corresponding to the first external network address and the network information corresponding to the second external network address.
The obtaining mode of the second external network address of the second terminal and the obtaining mode of the network information corresponding to the second external network address of the second terminal may refer to the first external network address and the obtaining mode of the network information corresponding to the first external network address, which is not described herein again. The network information of the second external network address may also include at least one of geographical location information and operator information. For convenience of describing the scheme, the network information corresponding to the first external network address is recorded as first network information, and the network information corresponding to the second external network address is recorded as second network information.
In one embodiment, the first network information is geographical location information and is recorded as first geographical location information, and the second network information is also geographical location information and is recorded as second geographical location information. And determining a second transit server according to the first geographical position information and the second geographical position information, wherein the geographical position information of the second transit server is positioned between the first geographical position information and the second geographical position information.
In one embodiment, the first network information is operator information and is denoted as first operator information, and the second network information is also operator information and is denoted as second operator information. And determining a second transit server according to the first operator information and the second operator information, wherein the second transit server simultaneously supports transmission of data corresponding to the operator information of the first terminal and data corresponding to the operator information of the second terminal, namely the second transit server is simultaneously deployed on the cellular data network of the first operator information and the cellular data network of the second operator information.
As another embodiment, the network information corresponding to the first external network address and the network information corresponding to the second external network address both include geographic location information and operator information, that is, the first network information is first geographic location information and first operator information, and the second network information is second geographic location information and second operator information, so that the geographic location information of the second relay server is located between the first geographic location information and the second geographic location information, and the second relay server supports transmission of data corresponding to the first operator information and data corresponding to the second operator information at the same time.
For example, the external network address of the first terminal corresponds to beijing mobile, and the external network address of the second terminal corresponds to guangzhou telecommunications, so that the second transit server may be a transit server for wuhan mobile telecommunications bi-pass.
S806: and sending the information of the first transit server and the information of the second transit server to the first terminal.
It should be noted that, the above steps are part of the detailed description, and reference may be made to the foregoing embodiments, which are not described herein again.
As shown in fig. 9, fig. 9 illustrates a link establishment method provided in this embodiment, where the method is applied to the communication systems in fig. 2 and 6, and in this embodiment, an execution subject of the method may be a signaling server. The method comprises the following steps: s901 to S905.
S901: and acquiring the wireless network identification and the cellular data network identification sent by the first terminal.
S902: and searching for an identifier matched with a pre-stored identifier of an access network to which the first terminal establishes connection in the wireless network identifier and the cellular data network identifier as a target identifier.
As an embodiment, the signaling server stores in advance an identifier of an access network to which the first terminal has established a connection, and the identifier of the access network to which the connection has been established may be denoted as a first set, that is, each identifier of the access network stored in the first set may correspond to information of a historical transit server, and the first terminal has established a transit link using the historical transit server.
After acquiring the wireless network identifier and the cellular data network identifier sent by the first terminal this time, the signaling server matches the wireless network identifier and the cellular data network identifier with the identifiers of the access networks in the first set, finds out the identifier consistent with the identifier of the access network in the first set, and uses the identifier as a target identifier. The target identity may be denoted as a re-enabled access network.
S903: and acquiring the information of the historical transit server corresponding to the identifier of the access network which establishes the connection and is matched with the target identifier, and taking the information as the information of the transit server corresponding to the target identifier.
And finding the information of the history transfer server corresponding to the target identifier according to the information of the history transfer server corresponding to the identifier of each access network in the first set, wherein the information of the history transfer server corresponding to the target identifier is used as the identifier of the transfer server corresponding to the target identifier.
S904: and acquiring unmatched identifiers in the wireless network identifier and the cellular data network identifier, and distributing new information of the transfer server to the unmatched identifiers.
If the unmatched identifier is used as a newly enabled identifier, the method described in the above embodiment may be adopted to allocate the information of the transit server to the identifier.
It should be noted that the target identifier may be at least one of a wireless network identifier and a cellular data network identifier.
In one embodiment, the target identifier may be a wireless network identifier, and the information of the historical relay server corresponding to the wireless network identifier is used as the information of the first relay server, and the information of the second relay server corresponding to the cellular data network identifier is obtained in the above manner. In the embodiment where the target identifier is a cellular data network identifier and the target identifier is a wireless network identifier and a cellular data network identifier, the determination of the information of the first relay server and the determination of the information of the second relay server may refer to the case where the target identifier is a wireless network identifier, which is not described herein again.
S905: and sending the information of the first transit server and the information of the second transit server to the first terminal.
In addition, when the first terminal is switched over, for example, the at least one of the Wi-Fi network and the cellular data network is turned on or off, the above-mentioned manner may be performed to determine the information of the transit server for the access network scanned after the network switching and update the current link between the first terminal and the second terminal.
In one embodiment, it is assumed that the identities of the access networks scanned by the first terminal before the network handover constitute a set P, and the identities of the access networks scanned by the first terminal after the network handover constitute a set Q, where the first set is denoted as a set T. Let a be the set of closed access networks, where a is the set of identifiers of closed access networks after the network switch, and the closed access networks belong to the set P but do not belong to the set Q. And B is a set formed by the identifiers of the newly added access networks after the network switching, and the newly added access networks do not belong to the set T but belong to the set Q. I.e. (Q-P) # T is the set of re-enabled access networks, where C denotes that after a network handover, the access networks within set T are re-enabled, and the re-enabled access networks belong to both set Q and set T, but not to set P.
And for the access network belonging to the set A, setting the state of a transfer link corresponding to the access network as unavailable, and informing the first terminal and the second terminal that the link is no longer used for receiving and transmitting the data packet. And for the access network belonging to the set B, establishing a transfer link according to the method. For the access network belonging to the set C, the history transit link corresponding to the access network is set to be in an activated state, and the history transit link is available, and the first terminal and the second terminal are notified, so that the link can be reused for receiving and transmitting the data packet.
It should be noted that, the above steps are part of the detailed description, and reference may be made to the foregoing embodiments, which are not described herein again.
As shown in fig. 10, fig. 10 illustrates a link establishment method provided in this embodiment, where the method is applied to the communication systems shown in fig. 2 and 6, and in this embodiment, the execution subject of the method is a signaling server. The method can comprise the following steps: s1001 to S1005.
S1001: and acquiring the wireless network identification and the cellular data network identification sent by the first terminal.
S1002: and determining the information of a first transfer server corresponding to the wireless network identification and the information of a second transfer server corresponding to the cellular data network identification.
S1003: and detecting whether the first confirmation information and the second confirmation information are acquired.
The first confirmation information is used to indicate that the first relay server is in a connectable state, and the second confirmation information is used to indicate that the second relay server is in a connectable state.
The usage states of the relay server include a connectable state and a non-connectable state, and the first terminal and the second terminal can establish the relay link through the relay server only when the relay server is in the connectable state.
After determining the first transit server and the second transit server, the signaling server respectively inquires whether the first transit server and the second transit server are connectable, and determines whether to reply the confirmation information according to the use states of the signaling server and the second transit server. Specifically, the signaling server sends a first confirmation instruction to the first transit server, and the first transit server detects whether the first transit server is in a connectable state according to the first confirmation instruction, and if so, sends first confirmation information to the first transit server. Similarly, the signaling server sends a second confirmation instruction to the second transit server, so that the second transit server sends the second confirmation information to the second transit server when determining that the second transit server is in a connectable state.
In one embodiment, the first confirmation instruction may be information of the first transit server, and the second confirmation instruction may be information of the second transit server. Whether first confirmation information and second confirmation information are obtained or not is detected, the information of the first transfer server is sent to the first transfer server so as to indicate the first transfer server to return the first confirmation information after the first transfer server initializes the information connection according to the first transfer server; and sending the information of the second transfer server to indicate the second transfer server to return second confirmation information after initializing the information connection of the second transfer server. Reference may be made to the following examples for specific embodiments.
S1004: and when the first confirmation information is acquired, sending the information of the first transit server to the first terminal.
S1005: and when the second confirmation information is acquired, sending the information of the second transfer server to the first terminal.
It should be noted that, the above steps are part of the detailed description, and reference may be made to the foregoing embodiments, which are not described herein again.
As shown in fig. 11, fig. 11 shows a link establishment method provided in this embodiment, where the method is applied to the communication systems shown in fig. 2 and 6, and in this embodiment, an execution subject of the method is a first terminal, and the method may include: s1101 to S1103.
S1101: and sending the wireless network identification and the cellular data network identification to the signaling server.
S1102: and acquiring the information of a first transfer server corresponding to the wireless network identifier and the information of a second transfer server corresponding to the cellular data network identifier, which are sent by the signaling server.
S1103: and establishing a wireless network link with the second terminal through the first transfer server according to the information of the first transfer server, and establishing a cellular data network link with the second terminal through the second transfer server according to the information of the second transfer server.
It should be noted that, the above steps are part of the detailed description, and reference may be made to the foregoing embodiments, which are not described herein again.
As shown in fig. 12, fig. 12 illustrates a link establishment method provided in this embodiment, where the method is applied to the communication systems shown in fig. 2 and 6, where in this embodiment, the method is an interaction process between devices in the system. The method can comprise the following steps: s1201 to S1203.
S1201: and the first terminal sends a wireless network identifier and a cellular data network identifier to the signaling server.
S1202: and the signaling server determines the information of a first transfer server corresponding to the wireless network identifier and the information of a second transfer server corresponding to the cellular data network identifier, and sends the information of the first transfer server and the information of the second transfer server to the first terminal.
S1203: and the first terminal establishes a wireless network link with the second terminal through the first transfer server according to the information of the first transfer server, and establishes a cellular data network link with the second terminal through the second transfer server according to the information of the second transfer server.
It should be noted that, the above steps are part of the detailed description, and reference may be made to the foregoing embodiments, which are not described herein again.
Referring to fig. 13, fig. 13 is a sequence diagram illustrating an interaction sequence between devices in a communication system according to an embodiment of the present application, where the sequence diagram is used to describe a process in which a signaling server obtains an external network address configured for a first terminal by an operator of a cellular data network.
S1301: the first terminal acquires the SIM card information.
S1302: and the first terminal sends the SIM card information to a signaling server.
S1303: and the signaling server allocates an external network address acquisition server for the first terminal according to the SIM card information.
S1304: and the signaling server sends the information of the external network address acquisition server to the first terminal.
The information of the extranet address obtaining server may include an IP address and a port of the extranet address obtaining server, which are respectively recorded as svr _ IP and svr _ port. The first terminal may send the data packet to the external network address acquisition server according to the IP address and the port.
S1305: the first terminal creates a cellular link over the cellular data network with an external network address acquisition server.
S1306: and the first terminal sends a data packet to the external network address acquisition server through a cellular link.
The data packet carries a target address, a target port and the source address, and is broadcast to an external network address acquisition server through a UDP protocol. Wherein, the target address is marked as dst: svr _ IP, which is the IP address of the extranet address acquisition server. The destination port is noted dst: svr _ port, which is the port of the extranet address acquisition server. The source address is denoted as src: the socket s is an intranet IP when the intranet is present, and the source address becomes an extranet address configured by the operator when the extranet is entered.
S1307: and the external network address acquisition server sends the external network address to the first terminal.
S1308: the first terminal sends the external network address to a signaling server.
Referring to fig. 14, fig. 14 shows a sequence diagram of interaction between devices in the communication system according to the embodiment of the present application, where the sequence diagram is used to describe a process of establishing a link between a first terminal and a second terminal.
S1401: the first terminal obtains the name of the access network and the corresponding external network address.
When the first terminal acquires the access network information, it determines whether the access network is a cellular data network, and if so, acquires a corresponding external network address with reference to the foregoing embodiment. The access network information includes the name of the access network and the corresponding external network address, and the name of the access network is the identifier of the access network.
S1402: the first terminal sends the name of the access network and the corresponding external network address to the signaling server.
S1403: the signaling server allocates a link identification and a relay server.
The link identifier is used as the identity information of the link, so that the link can be managed conveniently. Wherein the link identification may be a numerical value. In one embodiment, the link id is incremented, and if the current link id is a, the newly allocated link id is a + 1. Depending on the number of access networks of the first terminal and the second terminal, a plurality of transit links may be allocated at the same time. For example, the names of the access networks of the first terminal, which are acquired by the signaling server, are network card 1 and network card 2, and the name of the access network received by the signaling server is network card 1, the signaling server allocates two link identifiers, which are respectively network card 1 of the first terminal-network card 1 of the second terminal, and the link identifier is 0; network card 2 of the first terminal-network card 1 of the second terminal, and the link identification is 1.
S1404: the signaling server synchronizes the call room number and the link identification to the transit server.
In this embodiment, the first relay server and the second relay server are not distinguished for the moment, and the relay server is taken as an example to describe a link creation process of the first terminal and the second terminal.
In the embodiment of the present application, a link creation process of a first terminal and a second terminal is described by taking a data exchange between the first terminal and the second terminal as an example of a voice call.
Wherein, the call room number and the link identification can be used as the information of the transit server.
S1405: the transfer server executes the initialization operation and returns the confirmation information to the signaling server.
The confirmation information is the information indicating that the relay server is in the connectable state. The initialization operation may be storage initialization, in which the transit server correspondingly stores the call room number and the link identifier, so that the transit server knows the created call room number and the corresponding link identifier. When the subsequent terminal sends the data packet to the transit server, the server can judge whether the data packet is a legal data packet or not according to the corresponding relation between the number of the call room and the link identification. That is, after the transit server completes the initialization operation, it is in a connectable state, i.e., it is able to return an acknowledgement to the signaling server. The confirmation information may be a parameter, such as READY.
S1406: the signaling server synchronizes the link information to the first terminal.
The link information comprises a call room number and a link identification. When the terminal sends data, the call room number and the link identifier need to be carried in the sent data, so that the relay server can determine the validity of the data sent by the terminal.
S1407: the first terminal creates or acquires a connection packet on the access network.
The first terminal creates or acquires a connection packet on an access network as a transceiving packet of a newly-built transfer link. The connection packet may be a socket packet based on the UDP protocol. In one embodiment, the first terminal determines whether a pre-created connection packet exists on the access network, and if so, acquires the connection packet, and if not, creates the connection packet.
S1408: and the first terminal sends the connection packet to the transit server.
The connection packet carries a call room number and a link identification, the transfer server obtains the call room number and the link identification in the connection packet after obtaining the connection packet, whether the call room number and the link identification are matched with the call room number and the link identification stored in advance is determined, and if the call room number and the link identification are matched, the operation of returning state information is executed.
S1409: the transit server returns status information.
The status information is used to inform the first terminal that the link has been successfully established with the relay server, and the data packet can be sent.
S1410: and the first terminal transmits the data packet to the transfer server through the transfer link.
Referring to fig. 15, a block diagram of a link establishing apparatus 1500 provided in an embodiment of the present application, where the apparatus is applied to a signaling server of the communication system of fig. 2 and 6, and the apparatus may include: an acquisition unit 1501, a determination unit 1502, and a transmission unit 1503.
An obtaining unit 1501, configured to obtain a wireless network identifier and a cellular data network identifier sent by the first terminal.
A determining unit 1502 is configured to determine information of a first transit server corresponding to the wireless network identifier and information of a second transit server corresponding to the cellular data network identifier.
A sending unit 1503, configured to send the information of the first relay server and the information of the second relay server to the first terminal, so that the first terminal establishes a wireless network link with the second terminal according to the information of the first relay server, and establishes a cellular data network link with the second terminal according to the information of the second relay server.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 16, a block diagram of a link establishment apparatus 1600 provided in an embodiment of the present application is shown, where the apparatus is applied to a signaling server of the communication system of fig. 2 and 6, and the apparatus may include: an obtaining unit 1610, a determining unit 1620, and a transmitting unit 1630.
An obtaining unit 1610, configured to obtain a wireless network identifier and a cellular data network identifier sent by the first terminal.
A determining unit 1620, configured to determine information of the first transit server corresponding to the wireless network identifier and information of the second transit server corresponding to the cellular data network identifier.
Further, the determining unit 1620 is further configured to search, as a target identifier, an identifier, which is matched with a pre-stored identifier of an access network to which the first terminal has established a connection, in the wireless network identifier and the cellular data network identifier; acquiring information of a historical transit server corresponding to the identifier of the access network which establishes the connection and is matched with the target identifier, and taking the information as information of the transit server corresponding to the target identifier; and acquiring unmatched identifiers in the wireless network identifier and the cellular data network identifier, and distributing new information of the transfer server to the unmatched identifiers.
The determination unit 1620 includes an address acquisition subunit 1621 and a transit determination subunit 1622.
The address obtaining subunit 1621 is configured to obtain an external network address configured by an operator of the cellular data network for the first terminal.
Further, the address obtaining subunit 1621 is further configured to obtain the extranet address determined by an extranet address obtaining server, where the extranet address is determined by the extranet address obtaining server according to the received data packet, and the data packet is sent to the extranet address obtaining server by the first terminal through the cellular data network.
Further, the determination unit 1620 further includes an allocation subunit 1623.
The distribution subunit is used for acquiring the SIM card information sent by the first terminal; and allocating an external network address acquisition server to the first terminal according to the SIM card information, and instructing the first terminal to send a data packet to the external network address acquisition server through the cellular data network.
Further, the allocating subunit 1623 is further configured to obtain operator information according to the SIM card information; and allocating an external network address acquisition server for the first terminal according to the operator information.
Further, the address obtaining subunit 1621 is further configured to obtain the extranet address sent by the first terminal, where the extranet address is determined by the extranet address obtaining server and then sent to the first terminal.
The relay determination subunit 1622 is configured to determine information of the second relay server according to the external network address.
Further, the transit determining subunit 1622 is further configured to obtain network information corresponding to the external network address; and determining the information of the second transfer server according to the network information corresponding to the external network address.
Further, the transit determining subunit 1622 is further configured to obtain network information corresponding to a second external network address of the second terminal; and determining the information of the second transfer server according to the network information corresponding to the first external network address and the network information corresponding to the second external network address.
The network information includes geographical location information and operator information, the geographical location information of the second relay server is located between the geographical location information corresponding to the first external network address and the geographical location information corresponding to the second external network address, and the second relay server simultaneously supports transmission of data corresponding to the operator information of the first terminal and data corresponding to the operator information of the second terminal.
A sending unit 1630, configured to send the information of the first relay server and the information of the second relay server to the first terminal, so that the first terminal establishes a wireless network link with the second terminal according to the information of the first relay server, and establishes a cellular data network link with the second terminal according to the information of the second relay server.
Further, the sending unit 1630 is further configured to detect whether first acknowledgement information and second acknowledgement information are obtained, where the first acknowledgement information is used to indicate that the first relay server is in a connectable state, and the second acknowledgement information is used to indicate that the second relay server is in a connectable state; when the first confirmation information is acquired, the information of the first transfer server is sent to the first terminal; and when the second confirmation information is acquired, sending the information of the second transfer server to the first terminal.
Further, the sending unit 1630 is further configured to send the information of the first transit server to the first transit server before detecting whether the first confirmation information and the second confirmation information are obtained, so as to instruct the first transit server to return the first confirmation information after initializing the information connection according to the first transit server; and sending the information of the second transfer server to indicate the second transfer server to return second confirmation information after initializing the information connection of the second transfer server.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Referring to fig. 17, a block diagram of a link establishing apparatus 1700 according to an embodiment of the present application, where the apparatus is applied to a first terminal of the communication system in fig. 2 and 6, and the apparatus may include: transmission unit 1701, acquisition unit 1702, and connection unit 1703.
A sending unit 1701, configured to send the radio network identifier and the cellular data network identifier to the signaling server.
An obtaining unit 1702, configured to obtain information of a first relay server corresponding to the wireless network identifier and information of a second relay server corresponding to the cellular data network identifier, which are sent by the signaling server.
A connection unit 1703, configured to establish a wireless network link with the second terminal through the first relay server according to the information of the first relay server, and establish a cellular data network link with the second terminal through the second relay server according to the information of the second relay server.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring also to fig. 18, fig. 18 illustrates an electronic device 180 upon which the foregoing method may be performed. The electronic device 180 generally includes one or more (only one shown) processors 1802, memory 1804, an RF (Radio Frequency) module 1806, audio circuitry 1810, sensors 1814, an input module 1818, and a power module 1822. It will be understood by those skilled in the art that the structure shown in fig. 18 is only an illustration and is not intended to limit the structure of the electronic device 180. For example, the electronic device 180 may also include more or fewer components than shown in FIG. 18.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 1802, and that the processor 1802 is coupled to such peripheral devices through a plurality of peripheral interfaces 1824. The peripheral interface 1824 may be implemented based on the following standards: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 1824 may comprise only a bus; in other examples, the peripherals interface 1824 may include other elements, such as one or more controllers, e.g., a display controller for interfacing with the display panel 1811 or a memory controller for interfacing with memory. These controllers can also be integrated within the processor 1802 or corresponding peripherals, separate from the peripherals interface 1824.
The memory 1804 may be used to store software programs and modules that the processor 1802 executes to perform various functional applications and data processing by executing the software programs and modules stored in the memory 1804. The memory 1804 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1804 may further include memory located remotely from the processor 1802, which may be connected to the electronic device 180 or the display module 1820 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The memory 1804 may be a computer-readable storage medium such as an electronic memory, for example, a flash memory, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a hard disk, or a read-only memory (ROM), among others. Alternatively, the computer-readable storage medium includes a non-volatile computer-readable storage medium. The computer readable storage medium has a storage space for program code for performing any of the method steps of the above-described method. The program code can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
The RF module 1806 is configured to receive and transmit electromagnetic waves, and implement interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 1806 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 1806 may communicate with various networks such as the internet, an intranet, a wireless network, or other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network described above may use various Communication standards, protocols and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., institute of electrical and electronics engineers standard IEEE 802.180a, IEEE802.1818 b, IEEE802.1818g and/or IEEE802.1818 n), internet telephony (Voice over internet protocol, VoIP), world wide internet mail (e.g., for Wireless Communication, Wi-Access, Max), and any other suitable protocols for short message Communication, and may even include those protocols that have not yet been developed.
Audio circuitry 1810, earpiece 1801, sound jack 1803, microphone 1805 collectively provide an audio interface between a user and the electronic device 180 or the display module 1820. Specifically, the audio circuit 1810 receives audio data from the processor 1802, converts the audio data to an electrical signal, and transmits the electrical signal to the earpiece 1801. The earpiece 1801 converts the electrical signal into a sound wave that can be heard by the human ear. The audio circuit 1810 also receives electrical signals from the microphone 1805, converts the electrical signals to voice data, and transmits the voice data to the processor 1802 for further processing. Audio data may be retrieved from the memory 1804 or through the RF module 1806. In addition, audio data may also be stored in the memory 1804 or transmitted through the RF module 1806.
The sensors 1814 are disposed within the electronic device 180 or within the display module 1820, examples of the sensors 1814 include, but are not limited to: light sensors, operational sensors, pressure sensors, gravitational acceleration sensors, and other sensors.
Specifically, the optical sensors may include a light sensor 1814F, a pressure sensor 1814G. Among them, the pressure sensor 1814G may detect a pressure generated by pressing on the electronic device 180. That is, the pressure sensor 1814G detects pressure generated by contact or pressing between the user and the mobile terminal, for example, contact or pressing between the user's ear and the mobile terminal. Accordingly, pressure sensor 1814G may be used to determine whether contact or pressure has occurred between the user and electronic device 180, as well as the magnitude of the pressure.
Referring to fig. 18 again, specifically, in the embodiment shown in fig. 18, the light sensor 1814F and the pressure sensor 1814G are disposed adjacent to the display panel 1811. The light sensor 1814F may turn off the display output by the processor 1802 when an object is near the display module 1820, such as when the electronic device 180 is moved to the ear.
As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when the electronic device is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the electronic device 180. In addition, the electronic device 180 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein,
in this embodiment, the input module 1818 may include the touch screen 1809 disposed on the display module 1820, and the touch screen 1809 may collect a touch operation performed by a user on or near the touch screen 1809 (for example, an operation performed by the user on or near the touch screen 1809 by using any suitable object or accessory such as a finger, a stylus, etc.), and drive a corresponding connection device according to a preset program. Optionally, the touch screen 1809 may include a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1802, and can receive and execute commands sent by the processor 1802. In addition, the touch detection function of the touch screen 1809 can be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch screen 1809, in other modified embodiments, the input module 1818 may further include other input devices, such as keys 1807. The keys 1807 may include, for example, character keys for inputting characters and control keys for activating control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The display module 1820 is configured to display information input by a user, information provided to the user, and various graphical user interfaces of the electronic device 180, which may be composed of graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 1809 may be disposed on the display panel 1811 so as to be integrated with the display panel 1811.
The power module 1822 is configured to provide a power supply to the processor 1802 and other components. Specifically, the power module 1822 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components associated with the generation, management, and distribution of power within the electronic device 180 or the display module 1820.
The electronic device 180 further includes a locator 1819, the locator 1819 being used to determine the actual location where the electronic device 180 is located. In this embodiment, the locator 1819 uses a positioning service to locate the electronic device 180, where the positioning service is understood to be a technology or a service that obtains location information (e.g. longitude and latitude coordinates) of the electronic device 180 by using a specific positioning technology and marks the location of a located object on an electronic map.
It should be understood that the electronic device 180 described above is not limited to a smartphone terminal, but it should refer to a computer device that can be used in mobile. Specifically, the electronic device 180 refers to a mobile computer device equipped with an intelligent operating system, and the electronic device 180 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (14)

1. A link establishment method is applied to a signaling server and comprises the following steps:
acquiring a first network type identifier and a second network type identifier sent by a first terminal; the first network type identifier is a wireless network identifier, and the second network type identifier is a cellular data network identifier;
determining information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the second network type identifier;
sending the information of the first transfer server and the information of the second transfer server to the first terminal, so that the first terminal establishes a first network link with the second terminal according to the information of the first transfer server and establishes a second network link with the second terminal according to the information of the second transfer server; the first network link and the second network link are transit links; the first network link is a wireless network link; the second network link is a cellular data network link.
2. The method of claim 1, wherein the determining information of the second transit server corresponding to the cellular data network identification comprises:
acquiring a first website configured for the first terminal by an operator of a cellular data network corresponding to the cellular data network identifier;
and determining the information of the second transit server according to the first website.
3. The method of claim 2, wherein determining the information of the second transit server according to the first website comprises:
acquiring network information corresponding to the first website;
and determining the information of the second transit server according to the network information corresponding to the first website.
4. The method of claim 3, wherein a first network address configured by the operator of the cellular data network for the first terminal is denoted as a first external network address, and the determining the information of the second transit server according to the network information corresponding to the first network address comprises:
acquiring network information corresponding to a second external network address of the second terminal;
and determining the information of the second transfer server according to the network information corresponding to the first external network address and the network information corresponding to the second external network address.
5. The method of claim 4, wherein the network information includes geographic location information and operator information, the geographic location information of the second relay server is located between the geographic location information corresponding to the first external network address and the geographic location information corresponding to the second external network address, and the second relay server simultaneously supports transmission of data corresponding to the operator information of the first terminal and data corresponding to the operator information of the second terminal.
6. The method of claim 1, wherein the determining information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the second network type identifier comprises:
searching for an identifier, which is matched with a pre-stored identifier of an access network to which the first terminal establishes connection, in the first network type identifier and the second network type identifier as a target identifier;
acquiring information of a historical transit server corresponding to the identifier of the access network which establishes the connection and is matched with the target identifier, and taking the information as information of the transit server corresponding to the target identifier;
and acquiring unmatched identifiers in the first network type identifier and the second network type identifier, and distributing new information of the transit server to the unmatched identifiers.
7. A method for link establishment, comprising:
sending a first network type identifier and a second network type identifier to a signaling server; the first network type identifier is a wireless network identifier, and the second network type identifier is a cellular data network identifier;
acquiring information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the second network type identifier, which are sent by the signaling server;
establishing a first network link with a second terminal through the first relay server according to the information of the first relay server, and establishing a second network link with the second terminal through the second relay server according to the information of the second relay server; the first network link and the second network link are transit links; the first network link is a wireless network link; the second network link is a cellular data network link.
8. The method of claim 7, further comprising, after the establishing a first network link with a second terminal through the first transit server according to the information of the first transit server and establishing a second network link with the second terminal through the second transit server according to the information of the second transit server:
acquiring importance information of data to be sent;
acquiring the communication quality of the first network link and the second network link;
and sending the data to be sent to the second terminal through the first network link and the second network link based on the importance information and the communication quality.
9. A link establishment method applied to a communication system, the system comprising a first terminal, a second terminal and a signaling server, the method comprising:
the first terminal sends a first network type identifier and a second network type identifier to the signaling server; the first network type identifier is a wireless network identifier, and the second network type identifier is a cellular data network identifier;
the signaling server determines information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the second network type identifier, and sends the information of the first transit server and the information of the second transit server to the first terminal;
the first terminal establishes a first network link with the second terminal through the first transfer server according to the information of the first transfer server, and establishes a second network link with the second terminal through the second transfer server according to the information of the second transfer server; the first network link and the second network link are transit links; the first network link is a wireless network link; the second network link is a cellular data network link.
10. A link establishment apparatus, applied to a signaling server, the apparatus comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first network type identifier and a second network type identifier sent by a first terminal;
a determining unit, configured to determine information of a first transit server corresponding to the first network type identifier and information of a second transit server corresponding to the second network type identifier; the first network type identifier is a wireless network identifier, and the second network type identifier is a cellular data network identifier;
a sending unit, configured to send the information of the first relay server and the information of the second relay server to the first terminal, so that the first terminal establishes a first network link with a second terminal according to the information of the first relay server, and establishes a second network link with the second terminal according to the information of the second relay server; the first network link and the second network link are transit links; the first network link is a wireless network link; the second network link is a cellular data network link.
11. A link establishment apparatus, comprising:
a sending unit, configured to send the first network type identifier and the second network type identifier to a signaling server; the first network type identifier is a wireless network identifier, and the second network type identifier is a cellular data network identifier;
an obtaining unit, configured to obtain information of a first relay server corresponding to the first network type identifier and information of a second relay server corresponding to the second network type identifier, where the information is sent by the signaling server;
a connection unit, configured to establish a first network link with a second terminal through the first relay server according to the information of the first relay server, and establish a second network link with the second terminal through the second relay server according to the information of the second relay server; the first network link and the second network link are transit links; the first network link is a wireless network link; the second network link is a cellular data network link.
12. A communication system is characterized by comprising a first terminal, a second terminal and a signaling server, wherein the first terminal is connected with the signaling server;
the first terminal is configured to send a connection request to the signaling server, where the connection request includes an identifier of an access network scanned by the first terminal, and the identifier of the access network includes a first network type identifier and a second network type identifier; the first network type identifier is a wireless network identifier, and the second network type identifier is a cellular data network identifier;
the signaling server is configured to determine information of a first relay server corresponding to the first network type identifier and information of a second relay server corresponding to the second network type identifier, and send the information of the first relay server and the information of the second relay server to the first terminal;
the first terminal is further configured to establish a first network link with the second terminal through the first relay server according to the information of the first relay server, and establish a second network link with the second terminal through the second relay server according to the information of the second relay server; the first network link and the second network link are transit links; the first network link is a wireless network link; the second network link is a cellular data network link.
13. The system of claim 12,
the first terminal is also used for sending a data packet to a website acquisition server through the cellular data network indicated by the cellular data network identifier;
the network address acquisition server is used for determining a first network address configured by an operator of the cellular data network for the first terminal according to the received data packet;
the signaling server is further configured to acquire the first website, and determine information of the second transit server according to the first website.
14. The system of claim 13,
the signaling server is further configured to acquire the subscriber identity module card information sent by the first terminal, and allocate the website acquisition server to the first terminal according to the subscriber identity module card information.
CN202010102600.4A 2020-02-19 2020-02-19 Link establishment method, device, communication system and computer readable medium Active CN111194098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010102600.4A CN111194098B (en) 2020-02-19 2020-02-19 Link establishment method, device, communication system and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010102600.4A CN111194098B (en) 2020-02-19 2020-02-19 Link establishment method, device, communication system and computer readable medium

Publications (2)

Publication Number Publication Date
CN111194098A CN111194098A (en) 2020-05-22
CN111194098B true CN111194098B (en) 2022-03-22

Family

ID=70710162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010102600.4A Active CN111194098B (en) 2020-02-19 2020-02-19 Link establishment method, device, communication system and computer readable medium

Country Status (1)

Country Link
CN (1) CN111194098B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769675B (en) * 2020-12-31 2021-09-07 北京金色大数据有限公司 Method and system for improving communication speed of real-time message
CN115549868A (en) * 2021-06-29 2022-12-30 华为技术有限公司 Method and device for sending multi-channel signaling

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188753A (en) * 2011-12-27 2013-07-03 中国移动通信集团山东有限公司 Method and device for data transmission based on different links between heterogeneous networks

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014030894A1 (en) * 2012-08-24 2014-02-27 엘지전자 주식회사 Method for setting up high-speed link in wlan system and device for same
US9621418B2 (en) * 2015-09-11 2017-04-11 T-Mobile U.S.A., Inc. Automatic network node relay link configuration tool
CN105472477B (en) * 2015-12-08 2019-04-02 广州华多网络科技有限公司 A kind of data transmission method, device and equipment
CN109246841A (en) * 2017-06-05 2019-01-18 比亚迪股份有限公司 Mobile terminal and establish its method, system and server for connecting with vehicular meter
CN108093493A (en) * 2017-12-29 2018-05-29 上海爱优威软件开发有限公司 A kind of wireless network connecting method, Radio Network System and terminal
CN110677926A (en) * 2019-09-27 2020-01-10 Tcl移动通信科技(宁波)有限公司 Connection method, device, storage medium and server of mobile communication network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188753A (en) * 2011-12-27 2013-07-03 中国移动通信集团山东有限公司 Method and device for data transmission based on different links between heterogeneous networks

Also Published As

Publication number Publication date
CN111194098A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN109981316B (en) Switching method of application server, session management network element and terminal equipment
CN106686070B (en) Database data migration method, device, terminal and system
US10959124B2 (en) Uplink data transmission method, terminal, network side device and system
CN112136304A (en) Electronic device for performing network connection based on data transmission of application and method thereof
CN111416745A (en) Network slice determining method and related device
CN108990105B (en) Wireless communication transmission method, device, mobile terminal and computer readable storage medium
WO2019184016A1 (en) Sim card authentication method and terminal
CN109716826A (en) Cut-in method, the network equipment, terminal device and AMF equipment
WO2020057614A1 (en) Message transmission method and device, terminal and storage medium
US20210219299A1 (en) Communication Method and Device
CN111182580B (en) Service transmission method, terminal and network side equipment
CN112119673B (en) Electronic device supporting multiple wireless communication protocols and method thereof
EP4117212A1 (en) Data blind retransmission method and apparatus, storage medium, and terminal device
CN111194098B (en) Link establishment method, device, communication system and computer readable medium
CN111031471A (en) Data transmission method, terminal and base station
EP3637917A1 (en) Data processing method, terminal and base station
WO2018166202A1 (en) Network positioning method, computer equipment and non-volatile readable storage medium
JP2020512734A (en) Communication method and communication device
CN110662277A (en) Power saving management method, graphical user interface and terminal
CN111527767B (en) Method and equipment for improving network performance
JP2022528236A (en) SSB transmission instruction method, device, terminal, device and medium
CN111315038B (en) Data transmission method and device, electronic equipment and storage medium
WO2019178816A1 (en) Method and device for setting supplementary service
CN111800794A (en) Method and device for determining position of demodulation reference signal
CN110351784B (en) Information transmission method and device

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