WO2016141612A1 - 融合通信方法、终端、服务器和融合通信*** - Google Patents

融合通信方法、终端、服务器和融合通信*** Download PDF

Info

Publication number
WO2016141612A1
WO2016141612A1 PCT/CN2015/075601 CN2015075601W WO2016141612A1 WO 2016141612 A1 WO2016141612 A1 WO 2016141612A1 CN 2015075601 W CN2015075601 W CN 2015075601W WO 2016141612 A1 WO2016141612 A1 WO 2016141612A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
communication
server
target
mode
Prior art date
Application number
PCT/CN2015/075601
Other languages
English (en)
French (fr)
Inventor
杜德金
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2016141612A1 publication Critical patent/WO2016141612A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a converged communication method, a terminal, a server, and a converged communication system.
  • RCS ich Communication Suit
  • MMS Mobile Multimedia Subsystem
  • chat Internet Protocol
  • MMS Mobile Multimedia Subsystem
  • MMS Mobile Multimedia Subsystem
  • chat Internet Protocol
  • the service not only maintains the existing business areas of the operators, but also introduces the application of the Internet to the mobile network, using the enhanced address book in the mobile phone as the trigger point of the service, and providing the end users with more colorful and easy ways.
  • the communication mode realizes free communication between users in different countries and different operators, and improves the user's ARPU (Average Revenue Per User) value while also increasing the user's stickiness.
  • ARPU Average Revenue Per User
  • the RCS message sending and receiving technology in the related art adopts a server forwarding mode, that is, one terminal UE (User Equipment) A sends data to an IM (Instant Messaging) server, and then It is forwarded by the server to another terminal, UE B, and its general flow is as follows:
  • UE A carries the number of UE B in the sent message
  • the network base station transmits the message to the IM server
  • the IM server queries the network address of the UE B by using the mobile phone number carried in the message;
  • the IM server forwards the received message, and the destination address is the network address of UE B.
  • the network base station transmits the message to the UE B;
  • UE B receives the message and parses out the sender number and content.
  • communication between terminals needs to be forwarded by the server every time. This is not particularly obvious when the user does not have much time and the number of communication is small. However, once there are more than 10 million or even hundreds of millions of user terminals that need to communicate at the same time, it will bring great pressure to the server, and even cause The server crashed. In addition, this communication mode will cause a large delay under certain circumstances. For example, when the distances of the two communication terminals are relatively close, they are in the same base station network signal, but are far away from the server, and need to pass through multiple base stations. In this case, the message sent by UE A to UE B needs to be transmitted through multiple base stations. Only after the server can forward the message to the UE B needs to be transmitted through multiple base stations.
  • the invention is based on the above problems, and proposes a new technical solution, which can solve the pressure problem caused by the high concurrent sending of a large number of user terminals in the server forwarding message mode, and the waste of network resources and the speed of message transmission. Slow and other issues.
  • an aspect of the present invention provides a converged communication method for a terminal, including: transmitting a session establishment request with a target communication terminal to a server connected to the terminal; and communicating the target communication at the server After determining the network environment of the terminal, the communication mode for communicating with the target communication terminal is determined according to the determination result.
  • the terminal may select a manner of communicating with the target communication terminal according to the judgment result of the server on the network environment of the target communication terminal, thereby further adapting to actual requirements, wherein the server no longer has to forward the message sent by the terminal, and Is it possible only between the communicating parties Coordination is established when the session is established. Once the session is established successfully, the two parties can directly conduct the conversation through the base station without the intervention of the server.
  • the technical solution solves the pressure caused by the high concurrent delivery of a large number of user terminals in the current server forwarding message mode, and also avoids waste of network resources and improves communication efficiency and user experience.
  • the server needs to re-evaluate its network environment to establish a new communication.
  • the communication mode includes a server forwarding mode or a peer-to-peer communication mode.
  • the communication mode includes, but is not limited to, a server forwarding mode or a peer-to-peer communication mode, wherein when the server determines that the terminal and the target communication terminal are in the same local area network, the terminal uses the point-to-point communication mode to communicate with the target communication terminal, that is, Said that the server only coordinates when establishing a session between the two communicating parties. Once the session is established successfully, the two parties can directly conduct conversations through the base station without the intervention of the server, thereby reducing the pressure on the server and solving the waste of network resources. Problems that improve communication efficiency and quality.
  • the determining, according to the determination result, the communication mode for communicating with the target communication terminal specifically: determining, according to network environment identification information of the target communication terminal from the server, whether Establishing a point-to-point communication with the target communication terminal, wherein when the determination result is yes, the point-to-point communication mode is selected to communicate with the target communication terminal, and when the determination result is no, the server is selected to forward The mode communicates with the target communication terminal.
  • the server determines that the terminal and the target communication terminal are in the same local area network
  • the network environment identification information may be generated, and the network environment identification information is sent to the terminal, and the terminal determines and targets according to the received network environment identification information.
  • the relative position of the communication terminal when the server determines that the terminal and the target communication terminal are in the same local area network, the network environment identification information may be generated, and the network environment identification information is sent to the terminal, and the terminal determines and targets according to the received network environment identification information. The relative position of the communication terminal.
  • the terminal when it is determined that the terminal and the target communication terminal are in the same local area network, the terminal communicates with the target communication terminal by using a peer-to-peer communication mode, that is, at this time, the server only coordinates when establishing a session between the communication parties, and once the session is successfully established
  • the two parties can directly conduct conversations through the base station, and no longer need the intervention of the server, thereby reducing the pressure on the server, solving the problem of waste of network resources, and improving communication efficiency and quality.
  • the original server forwarding mode can be used for communication.
  • the server needs to re-evaluate its network environment, so that the network environment changes can be discovered in time.
  • the server can be quickly established. Point-to-point communication to improve communication efficiency and quality.
  • Another aspect of the present invention provides a terminal, comprising: a request sending unit that transmits a session establishment request with a target communication terminal to a server connected to the terminal; and a communication unit at the server to the target communication terminal After the network environment makes a judgment, based on the determination result, a communication mode for communicating with the target communication terminal is determined.
  • the terminal may select a manner of communicating with the target communication terminal according to the judgment result of the server on the network environment of the target communication terminal, thereby further adapting to actual requirements, wherein the server no longer has to forward the message sent by the terminal, and It is possible to coordinate only when establishing a session between the two communicating parties. Once the session is established successfully, the communicating parties can directly conduct a dialogue through the base station without the intervention of the server.
  • the technical solution solves the pressure caused by the high concurrent delivery of a large number of user terminals in the current server forwarding message mode, and also avoids waste of network resources and improves communication efficiency and user experience.
  • the server needs to re-evaluate its network environment to establish a new communication.
  • the communication mode includes a server forwarding mode or a peer-to-peer communication mode.
  • the communication mode includes, but is not limited to, a server forwarding mode or a peer-to-peer communication mode, wherein when the server determines that the terminal and the target communication terminal are in the same local area network, the terminal uses the point-to-point communication mode to communicate with the target communication terminal, that is, Said that the server only coordinates when establishing a session between the two communicating parties. Once the session is established successfully, the two parties can directly conduct conversations through the base station without the intervention of the server, thereby reducing the pressure on the server and solving the waste of network resources. Problems that improve communication efficiency and quality.
  • the communication unit is configured to: determine, according to network environment identification information of the target communication terminal from the server, whether to establish peer-to-peer communication with the target communication terminal, where When the determination result is YES, the point-to-point communication mode is selected to communicate with the target communication terminal, and when the determination result is negative, the selection is performed.
  • the server forwarding mode communicates with the target communication terminal.
  • the server determines that the terminal and the target communication terminal are in the same local area network
  • the network environment identification information may be generated, and the network environment identification information is sent to the terminal, and the terminal determines and targets according to the received network environment identification information.
  • the relative position of the communication terminal when the server determines that the terminal and the target communication terminal are in the same local area network, the network environment identification information may be generated, and the network environment identification information is sent to the terminal, and the terminal determines and targets according to the received network environment identification information. The relative position of the communication terminal.
  • the terminal when it is determined that the terminal and the target communication terminal are in the same local area network, the terminal communicates with the target communication terminal by using a peer-to-peer communication mode, that is, at this time, the server only coordinates when establishing a session between the communication parties, and once the session is successfully established
  • the two parties can directly conduct conversations through the base station, and no longer need the intervention of the server, thereby reducing the pressure on the server, solving the problem of waste of network resources, and improving communication efficiency and quality.
  • the original server forwarding mode can be used for communication.
  • the server needs to re-evaluate its network environment, so that the network environment changes can be discovered in time.
  • the server can be quickly established. Point-to-point communication to improve communication efficiency and quality.
  • a further aspect of the present invention provides a server, comprising: a request receiving unit, receiving a session establishment request from a terminal with a target communication terminal; and a determining unit, according to the session establishment request, a network environment of the target communication terminal The determining unit sends a determination result to the terminal for the terminal to determine a communication mode for communicating with the target communication terminal, wherein the communication mode includes a server forwarding mode or a peer-to-peer communication mode.
  • the network environment of the target communication terminal may be detected, and the detection result is fed back to the terminal, so that the terminal determines which communication mode is used, thereby making the communication mode more practical. demand.
  • the server no longer has to forward the message sent by the terminal, but can only coordinate when the session is established between the two communication parties. Once the session is established successfully, the two parties can directly conduct the conversation through the base station without the intervention of the server.
  • the technical solution solves the pressure caused by the high concurrent delivery of a large number of user terminals in the current server forwarding message mode, and also avoids waste of network resources and improves communication efficiency and user experience.
  • the server needs to re-evaluate its network environment to establish a new communication.
  • the determining unit is specifically configured to: according to the session Establishing information of the target communication terminal carried in the request, determining a network address registered by the target communication terminal on the server, and determining the terminal and the target according to the network address of the target communication terminal Whether the terminal is in the same LAN.
  • the server determines, by the network address of the target communication terminal, whether the terminal and the target communication terminal are in the same local area network, wherein when in the same local area network, the terminal communicates with the target communication terminal by using a peer-to-peer communication mode, that is, At this time, the server only coordinates when the session is established between the two communication parties. Once the session is established successfully, the two parties can directly conduct the dialogue through the base station, and the server intervention is no longer needed, thereby reducing the pressure on the server and solving the waste of network resources. The problem has improved communication efficiency and quality.
  • the result sending unit is specifically configured to: after determining whether the terminal and the target terminal are in the same local area network, generate a network address identifier; and carry the network address identifier The determination result is sent to the terminal, so that the terminal determines the communication mode with the target communication terminal according to the determination result.
  • the network environment identification information may be generated, and the network environment identification information is sent to the terminal, so that the terminal determines and is based on the received network environment identification information.
  • the relative position of the target communication terminal when the server determines that the terminal and the target communication terminal are in the same local area network, the network environment identification information may be generated, and the network environment identification information is sent to the terminal, so that the terminal determines and is based on the received network environment identification information. The relative position of the target communication terminal.
  • the terminal when it is determined that the terminal and the target communication terminal are in the same local area network, the terminal communicates with the target communication terminal by using a peer-to-peer communication mode, that is, at this time, the server only coordinates when establishing a session between the communication parties, and once the session is successfully established
  • the two parties can directly conduct conversations through the base station, and no longer need the intervention of the server, thereby reducing the pressure on the server, solving the problem of waste of network resources, and improving communication efficiency and quality.
  • the original server forwarding mode can be used for communication.
  • the server needs to re-evaluate its network environment, so that the network environment changes can be discovered in time.
  • the server can be quickly established. Point-to-point communication to improve communication efficiency and quality.
  • a further aspect of the present invention provides a fused communication system, comprising the terminal and the server according to any one of the above aspects, the fused communication system having the terminal according to any one of the foregoing technical solutions The same technical effects of the server will not be described here.
  • the above technical solution solves the pressure caused by the high concurrent sending of a large number of user terminals in the current server forwarding message mode to the server, and also avoids waste of network resources and improves communication efficiency and user experience.
  • FIG. 1 is a schematic flowchart showing a process of performing converged communication in the related art
  • FIG. 2 shows a flow chart of a method of converged communication in accordance with one embodiment of the present invention
  • FIG. 3 shows a flow chart of a method of converged communication in accordance with another embodiment of the present invention.
  • Figure 4 shows a block diagram of a terminal in accordance with one embodiment of the present invention.
  • FIG. 5 shows a block diagram of a server in accordance with one embodiment of the present invention
  • Figure 6 shows a block diagram of a converged communication system in accordance with one embodiment of the present invention
  • Figure 7 shows a block diagram of a converged communication system in accordance with another embodiment of the present invention.
  • FIG. 8 is a flow chart showing a process of performing converged communication according to an embodiment of the present invention.
  • FIG. 9 is a flow chart showing the process of performing converged communication according to another embodiment of the present invention.
  • FIG. 2 shows a flow chart of a method of converged communication in accordance with one embodiment of the present invention.
  • a method for a communication according to an embodiment of the present invention, for a terminal includes:
  • Step 202 Send a session establishment request with the target communication terminal to the server connected to the terminal.
  • Step 204 after the server determines the network environment of the target communication terminal, according to the judgment As a result of the break, the communication mode in communication with the target communication terminal is determined.
  • the terminal may select a manner of communicating with the target communication terminal according to the judgment result of the server on the network environment of the target communication terminal, thereby further adapting to actual requirements, wherein the server no longer has to forward the message sent by the terminal, and It is possible to coordinate only when establishing a session between the two communicating parties. Once the session is established successfully, the communicating parties can directly conduct a dialogue through the base station without the intervention of the server.
  • the technical solution solves the pressure caused by the high concurrent delivery of a large number of user terminals in the current server forwarding message mode, and also avoids waste of network resources and improves communication efficiency and user experience.
  • the server needs to re-evaluate its network environment to establish a new communication.
  • the communication mode includes a server forwarding mode or a peer-to-peer communication mode.
  • the communication mode includes, but is not limited to, a server forwarding mode or a peer-to-peer communication mode, wherein when the server determines that the terminal and the target communication terminal are in the same local area network, the terminal uses the point-to-point communication mode to communicate with the target communication terminal, that is, Said that the server only coordinates when establishing a session between the two communicating parties. Once the session is established successfully, the two parties can directly conduct conversations through the base station without the intervention of the server, thereby reducing the pressure on the server and solving the waste of network resources. Problems that improve communication efficiency and quality.
  • the step 204 specifically includes: determining, according to network environment identification information of the target communication terminal from the server, whether to establish peer-to-peer communication with the target communication terminal, wherein when the determination result is yes, selecting the peer-to-peer communication mode Communicating with the target communication terminal, and when the determination result is no, the server forwarding mode is selected to communicate with the target communication terminal.
  • the server determines that the terminal and the target communication terminal are in the same local area network
  • the network environment identification information may be generated, and the network environment identification information is sent to the terminal, and the terminal determines and targets according to the received network environment identification information.
  • the relative position of the communication terminal when the server determines that the terminal and the target communication terminal are in the same local area network, the network environment identification information may be generated, and the network environment identification information is sent to the terminal, and the terminal determines and targets according to the received network environment identification information. The relative position of the communication terminal.
  • the terminal when it is determined that the terminal and the target communication terminal are in the same local area network, the terminal communicates with the target communication terminal by using a peer-to-peer communication mode, that is, at this time, the server only coordinates when establishing a session between the communication parties, and once the session is successfully established , both sides of the communication can be straight through the base station
  • the dialogue is carried out, and the intervention of the server is no longer needed, thereby reducing the pressure on the server, solving the problem of waste of network resources, and improving communication efficiency and quality.
  • the original server forwarding mode can be used for communication.
  • the server needs to re-evaluate its network environment, so that the network environment changes can be discovered in time.
  • the server can be quickly established. Point-to-point communication to improve communication efficiency and quality.
  • FIG. 3 shows a flow chart of a method of converged communication in accordance with another embodiment of the present invention.
  • a fusion communication method includes:
  • Step 302 selecting a target communication terminal.
  • Step 304 sending a communication establishment request to the server.
  • Step 306 According to the judgment result returned by the server, it is determined whether the network environment of the target communication terminal supports peer-to-peer communication. When the determination result is yes, the process proceeds to step 308. If the determination result is negative, the process proceeds to step 310.
  • Step 308 performing point-to-point communication with the target communication terminal.
  • Step 310 Determine whether the server forwarding mode communication is supported. When the determination result is yes, the process proceeds to step 312, and when the determination result is negative, the process ends.
  • step 312 an RCS message is sent.
  • step 31 server forwarding mode communication is performed.
  • the terminal that initiates the session carries the mobile phone number of the chat partner in the session invitation message, and after receiving the server, the server queries the network address registered by the current system according to the mobile phone number, and then returns the identifier to the initiated session.
  • the terminal is invited to the user terminal network environment, and the terminal that initiates the session determines which communication mode should be adopted according to the identifier.
  • the above technical solution solves the pressure caused by the high concurrent sending of a large number of user terminals in the current server forwarding message mode to the server, and also avoids waste of network resources and improves communication efficiency and user experience.
  • Figure 4 shows a block diagram of a terminal in accordance with one embodiment of the present invention.
  • a terminal 400 includes: a request sending unit 402, which sends a session establishment request with a target communication terminal to a server connected to the terminal;
  • the communication unit 404 determines the communication mode in communication with the target communication terminal based on the determination result after the server determines the network environment of the target communication terminal.
  • the terminal may select a manner of communicating with the target communication terminal according to the judgment result of the server on the network environment of the target communication terminal, thereby further adapting to actual requirements, wherein the server no longer has to forward the message sent by the terminal, and It is possible to coordinate only when establishing a session between the two communicating parties. Once the session is established successfully, the communicating parties can directly conduct a dialogue through the base station without the intervention of the server.
  • the technical solution solves the pressure caused by the high concurrent delivery of a large number of user terminals in the current server forwarding message mode, and also avoids waste of network resources and improves communication efficiency and user experience.
  • the server needs to re-evaluate its network environment to establish a new communication.
  • the communication mode includes a server forwarding mode or a peer-to-peer communication mode.
  • the communication mode includes, but is not limited to, a server forwarding mode or a peer-to-peer communication mode, wherein when the server determines that the terminal and the target communication terminal are in the same local area network, the terminal uses the point-to-point communication mode to communicate with the target communication terminal, that is, Said that the server only coordinates when establishing a session between the two communicating parties. Once the session is established successfully, the two parties can directly conduct conversations through the base station without the intervention of the server, thereby reducing the pressure on the server and solving the waste of network resources. Problems that improve communication efficiency and quality.
  • the communication unit 404 is configured to: determine, according to the network environment identification information of the target communication terminal from the server, whether to establish peer-to-peer communication with the target communication terminal, wherein when the determination result is yes, select the point-to-point The communication mode communicates with the target communication terminal, and when the determination result is no, the server forwarding mode is selected to communicate with the target communication terminal.
  • the server determines that the terminal and the target communication terminal are in the same local area network
  • the network environment identification information may be generated, and the network environment identification information is sent to the terminal, and the terminal determines and targets according to the received network environment identification information.
  • the relative position of the communication terminal when it is determined that the terminal and the target communication terminal are in the same local area network, the terminal uses the point-to-point communication mode to communicate with the target communication terminal, that is, at this time, the server is only on the communication side Coordination is established when a session is established. Once the session is established successfully, the two parties can directly conduct conversations through the base station without the intervention of the server, thereby reducing the pressure on the server, solving the problem of waste of network resources, and improving communication efficiency and quality.
  • the original server forwarding mode can be used for communication.
  • the server needs to re-evaluate its network environment, so that the network environment changes can be discovered in time.
  • the server can be quickly established. Point-to-point communication to improve communication efficiency and quality.
  • Figure 5 shows a block diagram of a server in accordance with one embodiment of the present invention.
  • a server 500 includes: a request receiving unit 502, which receives a session establishment request from a terminal with a target communication terminal; and a determining unit 504, for a target communication terminal according to a session establishment request The network environment determines; the result sending unit 506 sends the determination result to the terminal for the terminal to determine a communication mode for communicating with the target communication terminal, wherein the communication mode includes a server forwarding mode or a peer-to-peer communication mode.
  • the network environment of the target communication terminal may be detected, and the detection result is fed back to the terminal, so that the terminal determines which communication mode is used, thereby making the communication mode more practical. demand.
  • the server no longer has to forward the message sent by the terminal, but can only coordinate when the session is established between the two communication parties. Once the session is established successfully, the two parties can directly conduct the conversation through the base station without the intervention of the server.
  • the technical solution solves the pressure caused by the high concurrent delivery of a large number of user terminals in the current server forwarding message mode, and also avoids waste of network resources and improves communication efficiency and user experience.
  • the server needs to re-evaluate its network environment to establish a new communication.
  • the determining unit 504 is specifically configured to: determine, according to information of the target communication terminal carried in the session establishment request, a network address registered by the target communication terminal on the server, and according to the network address of the target communication terminal, Determine whether the terminal and the target terminal are in the same local area network.
  • the server determines, by the network address of the target communication terminal, whether the terminal and the target communication terminal are in the same local area network, wherein when in the same local area network, the terminal adopts The point-to-point communication mode is used to communicate with the target communication terminal, that is, at this time, the server only coordinates when establishing a session between the communication parties, and once the session is established successfully, the communication parties can directly conduct a dialogue through the base station, and the server is no longer needed.
  • the intervention has reduced the pressure on the server, solved the problem of waste of network resources, and improved communication efficiency and quality.
  • the result sending unit 506 is specifically configured to: after determining whether the terminal and the target terminal are in the same local area network, generate a network address identifier; and send the judgment result carrying the network address identifier to the terminal, for the terminal A communication mode with the target communication terminal is determined based on the determination result.
  • the network environment identification information may be generated, and the network environment identification information is sent to the terminal, so that the terminal determines and is based on the received network environment identification information.
  • the relative position of the target communication terminal when the server determines that the terminal and the target communication terminal are in the same local area network, the network environment identification information may be generated, and the network environment identification information is sent to the terminal, so that the terminal determines and is based on the received network environment identification information. The relative position of the target communication terminal.
  • the terminal when it is determined that the terminal and the target communication terminal are in the same local area network, the terminal communicates with the target communication terminal by using a peer-to-peer communication mode, that is, at this time, the server only coordinates when establishing a session between the communication parties, and once the session is successfully established
  • the two parties can directly conduct conversations through the base station, and no longer need the intervention of the server, thereby reducing the pressure on the server, solving the problem of waste of network resources, and improving communication efficiency and quality.
  • the original server forwarding mode can be used for communication.
  • the server needs to re-evaluate its network environment, so that the network environment changes can be discovered in time.
  • the server can be quickly established. Point-to-point communication to improve communication efficiency and quality.
  • Figure 6 shows a block diagram of a converged communication system in accordance with one embodiment of the present invention.
  • a converged communication system 600 includes the terminal 400 and the server 500 according to any one of the above technical solutions, wherein:
  • the terminal 400 is configured to send a session establishment request with the target communication terminal 400 to the server 500 connected to the terminal 400, and after the server 500 determines the network environment of the target communication terminal, according to the determination result, Determining a communication mode for communicating with the target communication terminal; the server 500, configured to receive a session establishment request from the terminal 400 with the target communication terminal, and to the network ring of the target communication terminal according to the session establishment request The determination is made, and the determination result is sent to the terminal 400 for the terminal 400 to determine a communication mode for communicating with the target communication terminal, wherein the communication mode includes a server 500 forwarding mode or a peer-to-peer communication mode. Therefore, the fused communication system 600 has the same technical effects as the terminal 400 and the server 500 of any of the above technical solutions, and details are not described herein again.
  • Figure 7 shows a block diagram of a converged communication system in accordance with another embodiment of the present invention.
  • a converged communication system can be divided into three parts: a terminal, a network base station, and an IM server.
  • the terminal is generally composed of a smart phone, and can run an RCS client program, which is the first sender and the final receiver of the message;
  • the network base station is generally composed of a network data transmission device such as an operator base station tower and a router, and is mainly in the communication process.
  • the server acts as the coordinator of the communication of the converged communication terminal, runs the RCS server program, mainly coordinates the session establishment before sending the message between the terminals, and needs to notify another terminal when a certain terminal network environment changes during the communication.
  • the server can be responsible for forwarding the message.
  • FIG. 8 shows a flow diagram of performing converged communication in accordance with one embodiment of the present invention.
  • the flow of performing converged communication includes the following steps:
  • the terminal UE A selects a user who needs to chat from the contact list, constructs a session establishment invitation message data packet, and carries the mobile phone number of the other party in the data packet;
  • the terminal UE A sends the message data packet to the IM server through the network base station;
  • the IM server After receiving the message, the IM server searches for the network address registered by the terminal on the IM server according to the mobile phone number of the receiving chat user carried in the message;
  • the IM server determines whether the session invitation terminal and the invited terminal are in the same local area network and supports peer-to-peer communication, and if the point-to-point communication is supported, the subsequent steps are continued;
  • the IM server forwards the received session invitation message, notifying the terminal UE B that it is ready to receive the session invitation;
  • the terminal UE B receives the session invitation invitation message, starts the peer-to-peer communication listening service, and constructs a session reception confirmation message;
  • the terminal UE B sends a session reception confirmation message to the server;
  • the IM server receives the session reception confirmation message sent by the terminal UE B and adds the network address of the UE B.
  • the IM server forwards the session invitation to the terminal UE A through the network base station to notify the UE A that the peer communication can be performed with the UE B.
  • the terminal UE A constructs an RCS chat message, and the address of the receiving end is the network address of the UE B carried in the step 9;
  • the terminal UE A directly sends an RCS chat message to the UE B, and is no longer forwarded by the server;
  • the terminal UE B constructs an RCS chat message, and the address of the receiving end is the network address of the UE A;
  • the terminal UE B directly replies to the RCS chat message to the UE A, and is no longer forwarded by the server. At this point, the RCS point-to-point message mutual transmission is successfully implemented.
  • FIG. 9 is a flow chart showing the process of performing converged communication according to another embodiment of the present invention.
  • the flow of performing converged communication includes the following steps:
  • the terminal UE A and the terminal UE B have successfully established a point-to-point session, and are in a peer-to-peer RCS message communication;
  • the terminal UE A changes the network environment for some reason
  • the terminal UE A constructs a registration registration message packet, requesting the IM server to re-register;
  • the IM server After receiving the request, the IM server re-registers with the system to register the new network address of UE A.
  • the IM server determines whether the new network address of UE A and UE B are in the same local area network and supports peer-to-peer communication. If point-to-point communication is supported, the following steps are continued;
  • the IM server notifies the UE B that the network address of another terminal UE A has been sent, and the remote recipient address of the subsequent RCS message needs to be changed;
  • the terminal UE B modifies the address of the RCS message recipient
  • the terminal UE B and the terminal UE A continue to send and receive peer-to-peer RCS messages;
  • the above technical solution solves the pressure caused by the high concurrent sending of a large number of user terminals in the current server forwarding message mode to the server, and also avoids waste of network resources and improves communication efficiency and user experience.
  • the technical solution of the present invention solves the pressure caused by the high concurrent sending of a large number of user terminals in the current server forwarding message mode to the server, and also avoids network resources. Waste, improve communication efficiency and user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供了一种融合通信方法、一种终端、一种服务器和一种融合通信***,其中的融合通信方法用于终端,包括:向与所述终端相连的服务器发送与目标通信终端的会话建立请求;在所述服务器对所述目标通信终端的网络环境进行判断后,根据判断结果,确定与所述目标通信终端进行通信的通信模式。通过本发明的技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。

Description

融合通信方法、终端、服务器和融合通信***
本申请要求于2015年3月12日提交中国专利局、申请号为201510109654.2,发明名称为“融合通信方法、终端、服务器和融合通信***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,具体而言,涉及一种融合通信方法、一种终端、一种服务器和一种融合通信***。
背景技术
近年来,随着移动互联网的高速发展,互联网企业、虚拟运营商与传统电信运营商在多个领域展开了竞争。其中,RCS(Rich Communication Suit,融合通信业务)是集短信服务、彩信服务、视频、聊天等为一体的融合通信服务,是一个基础类通信业务能力的集合,能够提供更丰富的多媒体业务,包括增强型地址簿、内容共享、文件传输、增强型消息等。该业务既保持了运营商现有的业务领域,同时也将互联网的应用引入到移动网络,以手机中的增强的通信录作为业务的触发点,以轻松简便的方式为最终用户提供更加丰富多彩的通信模式,实现了在不同国家、不同运营商网络用户间的自由沟通,在提高用户的ARPU(Average Revenue Per User,每用户平均收入)值的同时也提高了用户的粘性。
如图1所示,相关技术中的RCS消息发送和接收技术是采用服务器转发模式,即:一个终端UE(User Equipment,用户设备)A将数据发送到IM(Instant Messaging,即时通讯)服务器,然后由服务器转发到另一个终端UE B接收,其大致流程如下:
1.UE A在发送的消息中携带UE B的号码;
2.把消息发送到网络基站;
3.网络基站把消息传输到IM服务器;
4.IM服务器通过消息中携带的手机号码查询UE B的网络地址;
5.IM服务器转发收到的消息,目的地址为UE B的网络地址;
6.网络基站把消息传输到UE B;
7.UE B接收到消息并解析出发送人号码和内容。
根据上述技术方案可知,终端之间的通信每次都需要经过服务器的转发。这对于同时用户不用多、通信次数不多的时候缺陷不是特别明显,但是,一旦当有超过千万甚至过亿的用户终端需要同时通信的时候,就会给服务器带来巨大的压力,甚至导致服务器的崩溃。另外,这种通信模式在一定情况下会造成延迟比较大。例如当两个通信的终端距离比较近,是在同一个基站网络信号内,但是距离服务器很远,需要经过多个基站,这种情况下UE A发给UE B的消息需要经过多个基站传输才可以到达服务器,然而,服务器再把这条消息转发给UE B有需要同样经过多个基站传输,如果一旦同时大量用户并且发送大量的消息,这就会导致浪费网络资源并且延迟明显,从而影响用户体验。而在互联网尤其是移动互联网时代,用户体验是决定产品能否在激烈的市场竞争中取胜的关键。传统电信运营商想要与新生的互联网企业竞争,提高自己产品的用户体验是第一步。
因此需要一种新的技术方案,能够解决当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力问题,以及网络资源浪费、消息发送速度慢等问题。
发明内容
本发明正是基于上述问题,提出了一种新的技术方案,能够解决当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力问题,以及网络资源浪费、消息发送速度慢等问题。
有鉴于此,本发明的一方面提出了一种融合通信方法,用于终端,包括:向与所述终端相连的服务器发送与目标通信终端的会话建立请求;在所述服务器对所述目标通信终端的网络环境进行判断后,根据判断结果,确定与所述目标通信终端进行通信的通信模式。
在该技术方案中,终端可以根据服务器对目标通信终端的网络环境的判断结果来选择与目标通信终端进行通信的方式,从而更加适应实际需求,其中,服务器不再必须转发终端发送的消息,而是可以只在通信双方之间 建立会话时进行协调,一旦会话建立成功,通信双方就可以通过基站直接进行对话,而不再需要服务器的介入。通过该技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,以建立新的通信。
在上述技术方案中,优选地,所述通信模式包括服务器转发模式或点对点通信模式。
在该技术方案中,通信模式包括但不限于服务器转发模式或点对点通信模式,其中,当服务器判断出终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。
在上述技术方案中,优选地,所述根据判断结果,确定与所述目标通信终端进行通信的通信模式,具体包括:根据来自所述服务器的所述目标通信终端的网络环境标识信息,判断是否与所述目标通信终端建立点对点通信,其中,当所述判断结果为是时,选择所述点对点通信模式与所述目标通信终端进行通信,当所述判断结果为否时,选择所述服务器转发模式与所述目标通信终端进行通信。
在该技术方案中,当服务器判断出终端和目标通信终端处于同一局域网时,可以生成网络环境标识信息,并将网络环境标识信息发送至终端,终端根据接收到的网络环境标识信息来判断与目标通信终端的相对位置。其中,当确定终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,此时,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。而当确定终端和目标通信终端未处于同一局域网时,可以采用原来的服务器转发模式进行通信。 另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,从而可以及时发现网络环境的变化,当原本未处于同一局域网的通信双方进入同一局域网时,可以快速建立点对点通信,以提升通信效率和质量。
本发明的另一方面提出了一种终端,包括:请求发送单元,向与所述终端相连的服务器发送与目标通信终端的会话建立请求;通信单元,在所述服务器对所述目标通信终端的网络环境进行判断后,根据判断结果,确定与所述目标通信终端进行通信的通信模式。
在该技术方案中,终端可以根据服务器对目标通信终端的网络环境的判断结果来选择与目标通信终端进行通信的方式,从而更加适应实际需求,其中,服务器不再必须转发终端发送的消息,而是可以只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方就可以通过基站直接进行对话,而不再需要服务器的介入。通过该技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,以建立新的通信。
在上述技术方案中,优选地,所述通信模式包括服务器转发模式或点对点通信模式。
在该技术方案中,通信模式包括但不限于服务器转发模式或点对点通信模式,其中,当服务器判断出终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。
在上述技术方案中,优选地,所述通信单元具体用于:根据来自所述服务器的所述目标通信终端的网络环境标识信息,判断是否与所述目标通信终端建立点对点通信,其中,当所述判断结果为是时,选择所述点对点通信模式与所述目标通信终端进行通信,当所述判断结果为否时,选择所 述服务器转发模式与所述目标通信终端进行通信。
在该技术方案中,当服务器判断出终端和目标通信终端处于同一局域网时,可以生成网络环境标识信息,并将网络环境标识信息发送至终端,终端根据接收到的网络环境标识信息来判断与目标通信终端的相对位置。其中,当确定终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,此时,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。而当确定终端和目标通信终端未处于同一局域网时,可以采用原来的服务器转发模式进行通信。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,从而可以及时发现网络环境的变化,当原本未处于同一局域网的通信双方进入同一局域网时,可以快速建立点对点通信,以提升通信效率和质量。
本发明的再一方面提出了一种服务器,包括:请求接收单元,接收来自终端的与目标通信终端的会话建立请求;判断单元,根据所述会话建立请求,对所述目标通信终端的网络环境进行判断;结果发送单元,将判断结果发送至所述终端,以供所述终端确定与所述目标通信终端进行通信的通信模式,其中,所述通信模式包括服务器转发模式或点对点通信模式。
在该技术方案中,在接收到终端的会话建立请求时,可以检测目标通信终端的网络环境,并将检测结果反馈给终端,以供终端确定使用哪种通信模式,从而使通信模式更加适应实际需求。其中,服务器不再必须转发终端发送的消息,而是可以只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方就可以通过基站直接进行对话,而不再需要服务器的介入。通过该技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,以建立新的通信。
在上述技术方案中,优选地,所述判断单元具体用于:根据所述会话 建立请求中携带的所述目标通信终端的信息,确定所述目标通信终端在所述服务器上注册的网络地址,并根据所述目标通信终端的所述网络地址,判断所述终端和所述目标终端是否处于同一局域网中。
在该技术方案中,服务器通过目标通信终端的网络地址来判断终端和目标通信终端是否处于同一局域网,其中,当处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,此时,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。
在上述技术方案中,优选地,所述结果发送单元具体用于:在所述判断所述终端和所述目标终端是否处于同一局域网中之后,生成网络地址标识;将携带所述网络地址标识的判断结果发送至所述终端,以供所述终端根据所述判断结果确定与所述目标通信终端的所述通信模式。
在该技术方案中,当服务器判断出终端和目标通信终端处于同一局域网时,可以生成网络环境标识信息,并将网络环境标识信息发送至终端,以便终端根据接收到的网络环境标识信息来判断与目标通信终端的相对位置。其中,当确定终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,此时,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。而当确定终端和目标通信终端未处于同一局域网时,可以采用原来的服务器转发模式进行通信。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,从而可以及时发现网络环境的变化,当原本未处于同一局域网的通信双方进入同一局域网时,可以快速建立点对点通信,以提升通信效率和质量。
本发明的再一方面提出了一种融合通信***,包括如上述技术方案中任一项所述的终端和服务器,因此,该融合通信***具有和上述技术方案中任一项所述的终端和服务器相同的技术效果,在此不再赘述。
通过以上技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。
附图说明
图1示出了相关技术中进行融合通信的流程示意图;
图2示出了根据本发明的一个实施例的融合通信方法的流程图;
图3示出了根据本发明的另一个实施例的融合通信方法的流程图;
图4示出了根据本发明的一个实施例的终端的框图;
图5示出了根据本发明的一个实施例的服务器的框图;
图6示出了根据本发明的一个实施例的融合通信***的框图;
图7示出了根据本发明的另一个实施例的融合通信***的框图;
图8示出了根据本发明的一个实施例的进行融合通信的流程示意图;
图9示出了根据本发明的另一个实施例的进行融合通信的流程示意图。
具体实施方式
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。
图2示出了根据本发明的一个实施例的融合通信方法的流程图。
如图2所示,根据本发明的一个实施例的融合通信方法,用于终端,包括:
步骤202,向与终端相连的服务器发送与目标通信终端的会话建立请求。
步骤204,在服务器对目标通信终端的网络环境进行判断后,根据判 断结果,确定与目标通信终端进行通信的通信模式。
在该技术方案中,终端可以根据服务器对目标通信终端的网络环境的判断结果来选择与目标通信终端进行通信的方式,从而更加适应实际需求,其中,服务器不再必须转发终端发送的消息,而是可以只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方就可以通过基站直接进行对话,而不再需要服务器的介入。通过该技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,以建立新的通信。
在上述技术方案中,优选地,通信模式包括服务器转发模式或点对点通信模式。
在该技术方案中,通信模式包括但不限于服务器转发模式或点对点通信模式,其中,当服务器判断出终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。
在上述技术方案中,优选地,步骤204具体包括:根据来自服务器的目标通信终端的网络环境标识信息,判断是否与目标通信终端建立点对点通信,其中,当判断结果为是时,选择点对点通信模式与目标通信终端进行通信,当判断结果为否时,选择服务器转发模式与目标通信终端进行通信。
在该技术方案中,当服务器判断出终端和目标通信终端处于同一局域网时,可以生成网络环境标识信息,并将网络环境标识信息发送至终端,终端根据接收到的网络环境标识信息来判断与目标通信终端的相对位置。其中,当确定终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,此时,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直 接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。而当确定终端和目标通信终端未处于同一局域网时,可以采用原来的服务器转发模式进行通信。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,从而可以及时发现网络环境的变化,当原本未处于同一局域网的通信双方进入同一局域网时,可以快速建立点对点通信,以提升通信效率和质量。
图3示出了根据本发明的另一个实施例的融合通信方法的流程图。
如图3所示,根据本发明的另一个实施例的融合通信方法,包括:
步骤302,选择目标通信终端。
步骤304,向服务器发送通信建立请求。
步骤306,根据服务器返回的判断结果,判断目标通信终端的网络环境是否支持点对点通信,当判断结果为是时,进入步骤308,当判断结果为否时,进入步骤310。
步骤308,与目标通信终端进行点对点通信。
步骤310,判断是否支持服务器转发模式通信,当判断结果为是时,进入步骤312,当判断结果为否时,结束进程。
步骤312,发送RCS消息。
步骤314,进行服务器转发模式通信。
在该技术方案中,发起会话的终端在会话邀请消息中携带要聊天对方的手机号码,服务器收到后根据各自的手机号码查询二者在当前***注册的网络地址,然后返回标识给发起会话的终端被邀请的用户终端网络环境,发起会话的终端根据标识决定应该采取什么样的通信模式。
通过以上技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。
图4示出了根据本发明的一个实施例的终端的框图。
如图4所示,根据本发明的一个实施例的终端400,包括:请求发送单元402,向与终端相连的服务器发送与目标通信终端的会话建立请求; 通信单元404,在服务器对目标通信终端的网络环境进行判断后,根据判断结果,确定与目标通信终端进行通信的通信模式。
在该技术方案中,终端可以根据服务器对目标通信终端的网络环境的判断结果来选择与目标通信终端进行通信的方式,从而更加适应实际需求,其中,服务器不再必须转发终端发送的消息,而是可以只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方就可以通过基站直接进行对话,而不再需要服务器的介入。通过该技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,以建立新的通信。
在上述技术方案中,优选地,通信模式包括服务器转发模式或点对点通信模式。
在该技术方案中,通信模式包括但不限于服务器转发模式或点对点通信模式,其中,当服务器判断出终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。
在上述技术方案中,优选地,通信单元404包括用于:根据来自服务器的目标通信终端的网络环境标识信息,判断是否与目标通信终端建立点对点通信,其中,当判断结果为是时,选择点对点通信模式与目标通信终端进行通信,当判断结果为否时,选择服务器转发模式与目标通信终端进行通信。
在该技术方案中,当服务器判断出终端和目标通信终端处于同一局域网时,可以生成网络环境标识信息,并将网络环境标识信息发送至终端,终端根据接收到的网络环境标识信息来判断与目标通信终端的相对位置。其中,当确定终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,此时,服务器只在通信双方 之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。而当确定终端和目标通信终端未处于同一局域网时,可以采用原来的服务器转发模式进行通信。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,从而可以及时发现网络环境的变化,当原本未处于同一局域网的通信双方进入同一局域网时,可以快速建立点对点通信,以提升通信效率和质量。
图5示出了根据本发明的一个实施例的服务器的框图。
如图5所示,根据本发明的一个实施例的服务器500,包括:请求接收单元502,接收来自终端的与目标通信终端的会话建立请求;判断单元504,根据会话建立请求,对目标通信终端的网络环境进行判断;结果发送单元506,将判断结果发送至终端,以供终端确定与目标通信终端进行通信的通信模式,其中,通信模式包括服务器转发模式或点对点通信模式。
在该技术方案中,在接收到终端的会话建立请求时,可以检测目标通信终端的网络环境,并将检测结果反馈给终端,以供终端确定使用哪种通信模式,从而使通信模式更加适应实际需求。其中,服务器不再必须转发终端发送的消息,而是可以只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方就可以通过基站直接进行对话,而不再需要服务器的介入。通过该技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,以建立新的通信。
在上述技术方案中,优选地,判断单元504具体用于:根据会话建立请求中携带的目标通信终端的信息,确定目标通信终端在服务器上注册的网络地址,并根据目标通信终端的网络地址,判断终端和目标终端是否处于同一局域网中。
在该技术方案中,服务器通过目标通信终端的网络地址来判断终端和目标通信终端是否处于同一局域网,其中,当处于同一局域网时,终端采 用点对点通信模式与目标通信终端进行通信,也就是说,此时,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。
在上述技术方案中,优选地,结果发送单元506具体用于:在判断终端和目标终端是否处于同一局域网中之后,生成网络地址标识;将携带网络地址标识的判断结果发送至终端,以供终端根据判断结果确定与目标通信终端的通信模式。
在该技术方案中,当服务器判断出终端和目标通信终端处于同一局域网时,可以生成网络环境标识信息,并将网络环境标识信息发送至终端,以便终端根据接收到的网络环境标识信息来判断与目标通信终端的相对位置。其中,当确定终端和目标通信终端处于同一局域网时,终端采用点对点通信模式与目标通信终端进行通信,也就是说,此时,服务器只在通信双方之间建立会话时进行协调,一旦会话建立成功,通信双方可以通过基站直接进行对话,而不再需要服务器的介入,从而降低了服务器的压力,解决了网络资源浪费的问题,提升了通信效率和质量。而当确定终端和目标通信终端未处于同一局域网时,可以采用原来的服务器转发模式进行通信。另外,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,从而可以及时发现网络环境的变化,当原本未处于同一局域网的通信双方进入同一局域网时,可以快速建立点对点通信,以提升通信效率和质量。
图6示出了根据本发明的一个实施例的融合通信***的框图。
如图6所示,根据本发明的一个实施例的融合通信***600,包括如上述技术方案中任一项的终端400和服务器500,其中:
所述终端400,用于向与所述终端400相连的服务器500发送与目标通信终端400的会话建立请求,在所述服务器500对所述目标通信终端的网络环境进行判断后,根据判断结果,确定与所述目标通信终端进行通信的通信模式;所述服务器500,用于接收来自终端400的与目标通信终端的会话建立请求,根据所述会话建立请求,对所述目标通信终端的网络环 境进行判断,将判断结果发送至所述终端400,以供所述终端400确定与所述目标通信终端进行通信的通信模式,其中,所述通信模式包括服务器500转发模式或点对点通信模式。因此,该融合通信***600具有和上述技术方案中任一项的终端400和服务器500相同的技术效果,在此不再赘述。
图7示出了根据本发明的另一个实施例的融合通信***的框图。
如图7所示,根据本发明的另一个实施例的融合通信***,可以分为终端、网络基站、IM服务器三个部分。其中,终端一般由智能手机组成,可以运行RCS客户端程序,是消息的最开始发送者和最终接收者;网络基站一般由运营商基站铁塔、路由器等网络数据传输设备组成,在通信过程中主要传输消息数据,服务器作为融合通信终端通信的协调者,运行RCS服务器端程序,主要协调终端之间发送消息之前的会话建立以及通信过程中某个终端网络环境发生变化的时候需要通知另一个终端。另外,当终端之间不具备点对点消息通信的时候,服务器可以负责转发消息。
图8示出了根据本发明的一个实施例的进行融合通信的流程示意图。
如图8所示,根据本发明的一个实施例的进行融合通信的流程包括以下步骤:
1.终端UE A从联系人列表选择需要进行聊天的用户,构造会话建立邀请消息数据包,在数据包中携带对方的手机号码;
2.终端UE A将消息数据包通过网络基站发送到IM服务器;
3.IM服务器收到消息后根据消息携带的接收聊天用户的手机号码查找其终端在IM服务器上注册的网络地址;
4.IM服务器判断会话邀请终端和被邀请的终端是否在同一局域网络里面并且支持点对点通信,如果支持点对点通信则继续后边的步骤;
5.IM服务器转发收到的会话邀请消息,通知终端UE B准备接收会话邀请;
6.终端UE B接收到会话邀请邀请消息,启动点对点通信监听服务并构造会话接收确认消息;
7.终端UE B发送会话接收确认消息给服务器;
8.IM服务器接收到终端UE B发送的会话接收确认消息并添加UE B的网络地址;
9.IM服务器通过网络基站转发会话邀请接收确认消息给终端UE A,以通知UE A可以与UE B进行点对点通信;
10.终端UE A构造RCS聊天消息,接收端的地址为步骤9中携带的UE B的网络地址;
11.终端UE A直接发送RCS聊天消息给UE B,不再经过服务器转发;
12.终端UE B构造RCS聊天消息,接收端的地址为UE A的网络地址;
13.终端UE B直接回复RCS聊天消息给UE A,不再经过服务器转发,至此RCS点对点消息互传成功实现。
图9示出了根据本发明的另一个实施例的进行融合通信的流程示意图。
如图9所示,如果进行通信的一方终端的网络环境发生变化,服务器需要重新对其网络环境进行判断,以建立新的通信。因此,根据本发明的另一个实施例的进行融合通信的流程包括以下步骤:
1.终端UE A和终端UE B原本已经成功建立点对点会话,正在点对点RCS消息通信;
2.终端UE A由于某种原因导致网络环境发生变化;
3.终端UE A构造构造注册消息数据包,请求IM服务器重新注册;
4.IM服务器收到请求后重新到***注册UE A新的网络地址
5.IM服务器判断UE A新的网络地址和UE B是否在同一个局域网并且支持点对点通信,如果支持点对点通信,继续后边的步骤;
6.IM服务器通知UE B另一终端UE A的网络地址已经发送变化,后续RCS消息的远程接受者地址需要改变;
7.终端UE B修改RCS消息接收者的地址;
8.终端UE B和终端UE A继续点对点RCS消息收发;
通过以上技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。
以上结合附图详细说明了本发明的技术方案,通过本发明的技术方案,解决了当前服务器转发消息模式中大量用户终端同时通信时的高并发给服务器带来的压力,同时还避免了网络资源浪费,提升了通信效率及用户体验。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (10)

  1. 一种融合通信方法,用于终端,其特征在于,包括:
    向与所述终端相连的服务器发送与目标通信终端的会话建立请求;
    在所述服务器对所述目标通信终端的网络环境进行判断后,根据判断结果,确定与所述目标通信终端进行通信的通信模式。
  2. 根据权利要求1所述的融合通信方法,其特征在于,所述通信模式包括服务器转发模式或点对点通信模式。
  3. 根据权利要求2所述的融合通信方法,其特征在于,所述根据判断结果,确定与所述目标通信终端进行通信的通信模式,具体包括:
    根据来自所述服务器的所述目标通信终端的网络环境标识信息,判断是否与所述目标通信终端建立点对点通信,其中,
    当所述判断结果为是时,选择所述点对点通信模式与所述目标通信终端进行通信,当所述判断结果为否时,选择所述服务器转发模式与所述目标通信终端进行通信。
  4. 一种终端,其特征在于,包括:
    请求发送单元,向与所述终端相连的服务器发送与目标通信终端的会话建立请求;
    通信单元,在所述服务器对所述目标通信终端的网络环境进行判断后,根据判断结果,确定与所述目标通信终端进行通信的通信模式。
  5. 根据权利要求4所述的融合通信方法,其特征在于,所述通信模式包括服务器转发模式或点对点通信模式。
  6. 根据权利要求5所述的融合通信方法,其特征在于,所述通信单元具体用于:
    根据来自所述服务器的所述目标通信终端的网络环境标识信息,判断是否与所述目标通信终端建立点对点通信,其中,当所述判断结果为是时,选择所述点对点通信模式与所述目标通信终端进行通信,当所述判断结果为否时,选择所述服务器转发模式与所述目标通信终端进行通信。
  7. 一种服务器,其特征在于,包括:
    请求接收单元,接收来自终端的与目标通信终端的会话建立请求;
    判断单元,根据所述会话建立请求,对所述目标通信终端的网络环境进行判断;
    结果发送单元,将判断结果发送至所述终端,以供所述终端确定与所述目标通信终端进行通信的通信模式,其中,所述通信模式包括服务器转发模式或点对点通信模式。
  8. 根据权利要求7所述的服务器,其特征在于,所述判断单元具体用于:
    根据所述会话建立请求中携带的所述目标通信终端的信息,确定所述目标通信终端在所述服务器上注册的网络地址,并根据所述目标通信终端的所述网络地址,判断所述终端和所述目标终端是否处于同一局域网中。
  9. 根据权利要求8所述的服务器,其特征在于,所述结果发送单元具体用于:
    在所述判断所述终端和所述目标终端是否处于同一局域网中之后,生成网络地址标识;
    将携带所述网络地址标识的判断结果发送至所述终端,以供所述终端根据所述判断结果确定与所述目标通信终端的所述通信模式。
  10. 一种融合通信***,其特征在于,包括终端和服务器,其中:
    所述终端,用于向与所述终端相连的服务器发送与目标通信终端的会话建立请求,在所述服务器对所述目标通信终端的网络环境进行判断后,根据判断结果,确定与所述目标通信终端进行通信的通信模式;
    所述服务器,用于接收来自终端的与目标通信终端的会话建立请求,根据所述会话建立请求,对所述目标通信终端的网络环境进行判断,将判断结果发送至所述终端,以供所述终端确定与所述目标通信终端进行通信的通信模式,其中,所述通信模式包括服务器转发模式或点对点通信模式。
PCT/CN2015/075601 2015-03-12 2015-03-31 融合通信方法、终端、服务器和融合通信*** WO2016141612A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510109654.2A CN104683349A (zh) 2015-03-12 2015-03-12 融合通信方法、终端、服务器和融合通信***
CN201510109654.2 2015-03-12

Publications (1)

Publication Number Publication Date
WO2016141612A1 true WO2016141612A1 (zh) 2016-09-15

Family

ID=53317943

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075601 WO2016141612A1 (zh) 2015-03-12 2015-03-31 融合通信方法、终端、服务器和融合通信***

Country Status (2)

Country Link
CN (1) CN104683349A (zh)
WO (1) WO2016141612A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301311A (zh) * 2021-06-01 2021-08-24 四川野马科技有限公司 一种视频监控数据传输方法、装置、设备和存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172600B (zh) * 2016-03-07 2022-03-04 中兴通讯股份有限公司 一种信息传输方法及装置
CN107580306B (zh) * 2016-07-04 2021-11-12 中兴通讯股份有限公司 一种转发多媒体消息的方法和***
CN107819803A (zh) * 2016-09-13 2018-03-20 南京中兴软件有限责任公司 Rcs***的配置方法及装置、rcs***
CN107743180B (zh) * 2016-11-29 2019-09-17 腾讯科技(深圳)有限公司 融合通信方法、融合通信服务器以及终端
CN108462612B (zh) * 2017-02-22 2021-01-26 北京京东尚科信息技术有限公司 调整rtp媒体流传输的方法、装置、电子设备和存储介质
CN109788076A (zh) * 2019-03-26 2019-05-21 上海北信源信息技术有限公司 通信建立方法及装置
CN110266685A (zh) * 2019-06-20 2019-09-20 北京凌壹世纪科技有限公司 一种多媒体融合通信异构通信方法及***

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014022A (zh) * 2007-02-13 2007-08-08 北京亿企通信息技术有限公司 一种在即时通信工具中传输文件的方法、装置和***
CN101360059A (zh) * 2008-09-05 2009-02-04 Tcl通力电子(惠州)有限公司 一种网络内容共享***和方法
CN102571853A (zh) * 2010-12-16 2012-07-11 ***通信集团四川有限公司 移动终端的远程点对点通信方法、***和装置
CN103067357A (zh) * 2012-12-14 2013-04-24 北京思特奇信息技术股份有限公司 一种融合通信***ip电话媒体流路由***及实现方法
CN103297324A (zh) * 2013-05-13 2013-09-11 山东省计算中心 一种网络数据即时传输中的局域网定位方法
CN103795698A (zh) * 2012-11-01 2014-05-14 云永科技股份有限公司 终端装置网络位置的验证方法及验证终端装置网络位置的连网装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549613A (zh) * 2003-05-19 2004-11-24 �ʼҷ����ֵ��ӹɷ����޹�˾ 在无线通信***的p2p通信模式与传统通信模式之间软切换的方法和装置
CN101431464A (zh) * 2007-11-06 2009-05-13 阿里巴巴集团控股有限公司 一种优选客户端之间数据传输路径的方法及其装置
CN101656683B (zh) * 2008-08-20 2012-06-27 瞬联软件科技(北京)有限公司 一种自适应即时消息***及其实现方法
CN101605138A (zh) * 2009-07-14 2009-12-16 中兴通讯股份有限公司 文件传输方法及终端
CN102937801A (zh) * 2012-10-29 2013-02-20 四川长虹电器股份有限公司 远程控制电器的方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014022A (zh) * 2007-02-13 2007-08-08 北京亿企通信息技术有限公司 一种在即时通信工具中传输文件的方法、装置和***
CN101360059A (zh) * 2008-09-05 2009-02-04 Tcl通力电子(惠州)有限公司 一种网络内容共享***和方法
CN102571853A (zh) * 2010-12-16 2012-07-11 ***通信集团四川有限公司 移动终端的远程点对点通信方法、***和装置
CN103795698A (zh) * 2012-11-01 2014-05-14 云永科技股份有限公司 终端装置网络位置的验证方法及验证终端装置网络位置的连网装置
CN103067357A (zh) * 2012-12-14 2013-04-24 北京思特奇信息技术股份有限公司 一种融合通信***ip电话媒体流路由***及实现方法
CN103297324A (zh) * 2013-05-13 2013-09-11 山东省计算中心 一种网络数据即时传输中的局域网定位方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301311A (zh) * 2021-06-01 2021-08-24 四川野马科技有限公司 一种视频监控数据传输方法、装置、设备和存储介质

Also Published As

Publication number Publication date
CN104683349A (zh) 2015-06-03

Similar Documents

Publication Publication Date Title
WO2016141612A1 (zh) 融合通信方法、终端、服务器和融合通信***
US7672255B2 (en) Mobile instant messaging conferencing method and system
EP2082588B1 (en) Method and system for establishing session for message communication between converged ip messaging service client and short messaging service client
JP5650748B2 (ja) コンバージドipメッセージング(cpm)とショートメッセージサービス(sms)との間のインターワーキングサービスを提供するための方法及びインターネットプロトコルショートメッセージゲートウェイ(ip−sm−gw)
CA2472327A1 (en) Method and system for facilitating services in a communication network through data-publication by a signaling server
CN101374118A (zh) 一种消息互连的方法、***及装置
CN101820523B (zh) 一种会话处理方法和***
US20110282953A1 (en) Method and apparatus for providing message conversation by group in a messaging service
WO2007033549A1 (fr) Procede de transmission de message hors ligne
CN102130845B (zh) 回执报告的发送方法及处理***
CN102123133B (zh) 不同消息业务平台互通时传送消息回执的方法和消息***
CN105681260A (zh) 传输云存储文件的方法、融合通信平台、发送端及***
CN104954977A (zh) 手机短信应用融合第三方通讯应用的通讯方法及装置
CN106161201B (zh) 一种以邮箱账号为标识参与群聊的方法、设备及***
US8745145B2 (en) Method and system for transmitting large message mode CPM messages
CN101883322B (zh) 向群组发送大消息模式融合ip消息的方法和***
CN105516357A (zh) 一种网络群组的建立方法和装置
US20120011260A1 (en) Method and system for transmitting large message mode converged IP messaging
CN102026112B (zh) 一种融合ip消息的发送方法及***
WO2010009642A1 (zh) 多企业间的短信实现方法、***和设备
US8462669B2 (en) Method and apparatus for determining PT server having controlling function
CN105282115A (zh) 一种实现富通信套件rcs***通讯的方法及装置
CN101925017A (zh) 一种大消息模式融合ip消息的传送方法
WO2018154518A1 (en) Assistant in a chat session
CN103475567B (zh) 数据传输方法、装置、设备及***

Legal Events

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

Ref document number: 15884295

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 13/02/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 15884295

Country of ref document: EP

Kind code of ref document: A1