CN106161580A - A kind of connection status control method, Apparatus and system - Google Patents
A kind of connection status control method, Apparatus and system Download PDFInfo
- Publication number
- CN106161580A CN106161580A CN201510209662.4A CN201510209662A CN106161580A CN 106161580 A CN106161580 A CN 106161580A CN 201510209662 A CN201510209662 A CN 201510209662A CN 106161580 A CN106161580 A CN 106161580A
- Authority
- CN
- China
- Prior art keywords
- server
- client device
- notification message
- information
- connection
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000001960 triggered effect Effects 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 7
- 239000002699 waste material Substances 0.000 abstract description 14
- 238000010586 diagram Methods 0.000 description 14
- 230000006855 networking Effects 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008602 contraction Effects 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 101000794020 Homo sapiens Bromodomain-containing protein 8 Proteins 0.000 description 1
- 101001006782 Homo sapiens Kinesin-associated protein 3 Proteins 0.000 description 1
- 101000615355 Homo sapiens Small acidic protein Proteins 0.000 description 1
- WGKGADVPRVLHHZ-ZHRMCQFGSA-N N-[(1R,2R,3S)-2-hydroxy-3-phenoxazin-10-ylcyclohexyl]-4-(trifluoromethoxy)benzenesulfonamide Chemical compound O[C@H]1[C@@H](CCC[C@@H]1N1C2=CC=CC=C2OC2=C1C=CC=C2)NS(=O)(=O)C1=CC=C(OC(F)(F)F)C=C1 WGKGADVPRVLHHZ-ZHRMCQFGSA-N 0.000 description 1
- 102100021255 Small acidic protein Human genes 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1044—Group management mechanisms
- H04L67/1046—Joining mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Theoretical Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明提供了一种连接状态控制方法,包括:代理服务器获取客户端设备信息,代理服务器根据所述客户端设备信息向服务端发送通知消息,其中,该通知消息用于服务端根据客户端设备信息控制服务端与客户端设备的连接状态。使得在业务用户量出现下降或上升时,不需要暂停业务即可实现服务器的缩容或扩容,从而避免了服务器一直处于工作状态所造成的服务器硬件资源浪费。
The present invention provides a connection state control method, comprising: a proxy server obtains client device information, and the proxy server sends a notification message to the server according to the client device information, wherein the notification message is used by the server to The information controls the connection status between the server and the client device. When the number of business users drops or rises, the shrinkage or expansion of the server can be realized without suspending the business, thus avoiding the waste of server hardware resources caused by the server being in a working state all the time.
Description
技术领域technical field
本发明涉及智能网技术领域,尤其涉及一种连接状态控制方法、装置及系统。The present invention relates to the field of intelligent network technology, in particular to a connection state control method, device and system.
背景技术Background technique
智能网(IN)是在通信网上快速、经济、方便、有效地生成和提供智能业务的网络体系结构,主要由业务交换点(SSP,Service Switching Point)、业务控制点(SCP,Service Control Point)、业务管理点(SMP,ServiceManagement Point)、业务管理接入点(SMAP,service management accesspoint)和业务生成环境(SCE,service creation environment)等网元组成。它是在原有通信网络的基础上为用户提供新业务而设置的附加网络结构,它的最大特点是将网络的交换功能与控制功能分开。由于在原有通信网络中采用智能网技术可向用户提供业务特性强、功能全面、灵活多变的移动新业务,具有很大市场需求,因此,智能网已逐步成为现代通信提供新业务的首选解决方案。智能网的目标是为所有通信网络提供满足用户需要的新业务,包括PSTN(Public Switched Telephone Network,公共交换电话网络)、ISDN(Integrated Services Digital Network,综合业务数字网)、PLMN(Public Land Mobile Network,公共陆地移动网络)、Internet(互联网)等,智能化是通信网络的发展方向。Intelligent Network (IN) is a network architecture that quickly, economically, conveniently and effectively generates and provides intelligent services on the communication network. It mainly consists of Service Switching Point (SSP, Service Switching Point), Service Control Point (SCP, Service Control Point) , service management point (SMP, Service Management Point), service management access point (SMAP, service management access point) and service creation environment (SCE, service creation environment) and other network elements. It is an additional network structure set up to provide new services for users on the basis of the original communication network. Its biggest feature is to separate the switching function and control function of the network. Since the use of intelligent network technology in the original communication network can provide users with strong service characteristics, comprehensive functions, and flexible new mobile services, there is a great market demand. Therefore, the intelligent network has gradually become the first choice for modern communications to provide new services. Program. The goal of the intelligent network is to provide new services that meet the needs of users for all communication networks, including PSTN (Public Switched Telephone Network, Public Switched Telephone Network), ISDN (Integrated Services Digital Network, Integrated Services Digital Network), PLMN (Public Land Mobile Network , public land mobile network), Internet (Internet), etc., intelligence is the development direction of communication network.
客户服务器模式(Client–server model)简称C/S结构,是一种网络架构,它把客户端(Client)与服务器(Server)区分开来。每一个客户端软件的实例都可以向一个服务器或应用程序服务器发出请求。The client-server model (Client–server model) is referred to as C/S structure, which is a network architecture that distinguishes the client (Client) from the server (Server). Each instance of client software can make requests to a server or application server.
目前在智能网领域,C/S网络架构被广泛使用,如业务管理点SMP设备与多个业务控制点SCP设备之间,消息分发代理服务器与消息分发目标客户端之间等。At present, in the intelligent network field, C/S network architecture is widely used, such as between the service management point SMP device and multiple service control point SCP devices, between the message distribution proxy server and the message distribution target client, etc.
相关技术中智能网组网架构如图1所示,由图1可以看到SMP133设备同时与多个SCP设备相连。在此架构下,SMP133设备固定与若干个SCP设备建立链路,并管理这些SCP设备。SMP设备与SCP设备之间的链接由SMP设备检测,若某个SCP设备出现异常,SMP设备会及时发现并发出告警。The networking architecture of the intelligent network in the related art is shown in FIG. 1 , and it can be seen from FIG. 1 that the SMP133 device is connected to multiple SCP devices at the same time. Under this architecture, the SMP133 device fixedly establishes links with several SCP devices and manages these SCP devices. The link between the SMP device and the SCP device is detected by the SMP device. If an SCP device is abnormal, the SMP device will detect it in time and issue an alarm.
相关技术中SIP(Session Initiation Protocol,会话初始协议)消息分发代理服务器与SIP消息分发目标客户端之间的架构如图2所示,由图2可以看到,SIP消息代理服务器SIPproxy同时与多个SIP消息分发目标客户端AS相连。在此架构下,SIPproxy设备固定与若干个AS设备建立链路,并定时检测这些AS设备的SIP消息链路状态。若某个AS的消息链路异常,SIPproxy设备会及时发现并发出告警。In the related art, the architecture between SIP (Session Initiation Protocol, Session Initiation Protocol) message distribution proxy server and SIP message distribution target client is as shown in Figure 2, as can be seen from Figure 2, SIP message proxy server SIPproxy communicates with multiple The SIP message distribution target client AS is connected. Under this architecture, the SIPproxy device establishes links with several AS devices fixedly, and regularly detects the SIP message link status of these AS devices. If the message link of an AS is abnormal, the SIPproxy device will detect it in time and issue an alarm.
由上所述可以看出,智能网领域相关技术中的C/S组网架构是固定架构,应用服务器端与客户端之间通过固定链路连接。服务器端通过对客户端进行检测,以确认客户端功能是否正常。若客户端功能异常,服务器端可以及时发现并发出告警。而此种固定架构的缺陷就是,在一定程度上造成了资源的浪费。It can be seen from the above that the C/S networking architecture in the related technologies of the intelligent network field is a fixed architecture, and the application server and the client are connected through a fixed link. The server side detects the client side to confirm whether the function of the client side is normal. If the function of the client is abnormal, the server can detect and issue an alarm in time. The disadvantage of this fixed architecture is that it causes a waste of resources to a certain extent.
智能网业界的现状是由于智能网业务的用户量大,SCP服务器的性能压力巨大。为了保证智能网业务的性能稳定,业界通常使用多个SCP的C/S组网架构来负荷均担,多个SCP之间通过负载均衡的方式或其他的逻辑方式来保证每个SCP服务器不至于过载。但是智能网业务的性能压力并不是一成不变的,从短期来看,每天白天夜间的性能负载会有波动,从长期来看每月甚至每年的性能负载都会出现波动。当一个智能网局点的性能无法满足智能网业务要求时,通常通过停机扩容升级来解决此问题,扩容的方式主要是增加SCP服务器以分担现有SCP服务器的性能压力,从而增加局点整体的客户容量。而当一个智能网局点的业务用户量明显下降时,仍然需要类似的通过停机缩容升级,减少SCP服务器数量来解决。但是在大多数时间内,智能网业务用户量是波动的,为了满足峰值性能的要求,SCP服务器的客户容量是存在冗余的,在固定C/S架构无论SCP设备当前性能压力大小,SCP都需要保持与SMP的链路,不能中断。这一实际情况实际上每天都在造成大量的资源浪费,这一浪费既包括电力资源的浪费也包括服务器硬件资源的浪费。The present situation of the intelligent network industry is that due to the large number of users of the intelligent network service, the performance pressure of the SCP server is huge. In order to ensure the stable performance of intelligent network services, the industry usually uses a C/S network architecture of multiple SCPs to share the load. Multiple SCPs use load balancing or other logical methods to ensure that each SCP server does not overload. However, the performance pressure of intelligent network services is not constant. In the short term, the performance load will fluctuate day and night every day, and in the long run, the performance load will fluctuate every month or even every year. When the performance of an intelligent network site cannot meet the service requirements of the intelligent network, this problem is usually solved by shutting down and expanding the capacity. customer capacity. However, when the number of business users of an intelligent network office drops significantly, it is still necessary to reduce the number of SCP servers by shutting down and upgrading similarly. However, most of the time, the number of intelligent network service users fluctuates. In order to meet the peak performance requirements, the client capacity of the SCP server is redundant. In the fixed C/S architecture, regardless of the current performance pressure of the SCP equipment, the SCP will The link with the SMP needs to be maintained and cannot be interrupted. This actual situation actually causes a lot of waste of resources every day, and this waste includes not only the waste of power resources but also the waste of server hardware resources.
同样的消息分发代理服务器场景下,也存在类似的消息量波动的情况。而在固定的C/S架构下,无论分发到客户端AS设备的消息量多少,AS设备必须保持与消息分发代理服务器的链路,从而同样导致了大量电力资源与服务器硬件资源的浪费。In the same message distribution proxy server scenario, similar message volume fluctuations also exist. However, under the fixed C/S architecture, no matter how many messages are distributed to the client AS device, the AS device must maintain the link with the message distribution proxy server, which also leads to a waste of a large amount of power resources and server hardware resources.
发明内容Contents of the invention
为了解决相关技术中服务器硬件资源浪费的问题,本发明提供了一种连接状态控制方法、装置及系统,以至少解决上述问题。In order to solve the problem of waste of server hardware resources in the related art, the present invention provides a connection state control method, device and system to at least solve the above problems.
根据本发明的一个方面,提供了一种连接状态控制方法,包括:代理服务器获取客户端设备信息;所述代理服务器根据所述客户端设备信息向服务端发送通知消息,其中,所述通知消息用于所述服务端根据所述客户端设备信息控制所述服务端与所述客户端设备的连接状态。According to one aspect of the present invention, a connection state control method is provided, including: a proxy server obtains client device information; the proxy server sends a notification message to the server according to the client device information, wherein the notification message The server is used to control the connection status between the server and the client device according to the client device information.
可选地,所述代理服务器根据所述客户端设备信息向服务器发送通知消息,包括以下至少之一:在所述客户端设备启动工作的情况下,所述代理服务器获取所述客户端设备信息并向所述服务端发送第一通知消息,其中,所述第一通知消息用于所述服务端根据所述客户端设备信息与所述客户端设备建立连接;在所述客户端设备停止工作的情况下,所述代理服务器获取所述客户端设备信息并向所述服务端发送第二通知消息,其中,所述第二通知消息用于所述服务端根据所述客户端设备信息与所述客户端设备停止连接。Optionally, the proxy server sends a notification message to the server according to the client device information, including at least one of the following: when the client device starts working, the proxy server acquires the client device information And send a first notification message to the server, wherein the first notification message is used for the server to establish a connection with the client device according to the client device information; when the client device stops working In the case of , the proxy server acquires the client device information and sends a second notification message to the server, where the second notification message is used by the server to The above client device stops connecting.
根据本发明的另一个方面,还提供了一种连接状态控制方法,包括:服务端接收代理服务器根据客户端设备信息发送的通知消息;所述服务端在所述通知消息的触发下,根据所述客户端设备信息控制所述服务端与所述客户端设备的连接状态。According to another aspect of the present invention, there is also provided a connection state control method, including: the server receives a notification message sent by the proxy server according to the client device information; the server, triggered by the notification message, according to the The client device information controls the connection status between the server and the client device.
可选地,所述服务端根据所述客户端设备信息控制所述服务端与所述客户端设备的连接状态,包括以下至少之一:所述服务端接收所述代理服务器发送的第一通知消息,所述服务端在所述第一通知消息的触发下,根据所述客户端设备信息与所述客户端设备建立连接;所述服务端接收所述代理服务器发送的第二通知消息,所述服务端在所述第二通知消息的触发下,根据所述客户端设备信息与所述客户端设备停止连接。Optionally, the server controls the connection state between the server and the client device according to the client device information, including at least one of the following: the server receives the first notification sent by the proxy server message, the server, triggered by the first notification message, establishes a connection with the client device according to the client device information; the server receives the second notification message sent by the proxy server, and the Triggered by the second notification message, the server stops the connection with the client device according to the client device information.
可选地,所述服务端根据所述客户端设备信息控制所述服务端与所述客户端设备的连接状态之后,还包括以下至少之一:在所述服务端与客户端设备建立连接的情况下,所述服务端启动检测所述连接状态;在所述服务端与客户端设备停止连接的情况下,所述服务端停止检测所述连接状态。Optionally, after the server controls the connection state between the server and the client device according to the client device information, it further includes at least one of the following: In this case, the server starts to detect the connection state; when the server stops connecting with the client device, the server stops detecting the connection state.
根据本发明的再一个方面,提供了一种连接状态控制装置,设置于所述代理服务器上,其特征在于,该装置包括:获取模块,用于获取客户端设备信息;通知模块,用于根据所述客户端设备信息向服务端发送通知消息,其中,所述通知消息用于所述服务端根据所述客户端设备信息控制所述服务端与所述客户端设备的连接状态。According to still another aspect of the present invention, there is provided a connection state control device, which is set on the proxy server, and is characterized in that the device includes: an acquisition module, used to obtain client device information; a notification module, used to The client device information sends a notification message to the server, where the notification message is used by the server to control the connection status between the server and the client device according to the client device information.
可选地,所述通知模块包括以下至少之一:第一通知单元,用于在所述客户端设备启动工作、所述代理服务器获取所述客户端设备信息的情况下,向所述服务端发送第一通知消息,其中,所述第一通知消息用于所述服务端根据所述客户端设备信息与所述客户端设备建立连接;第二通知单元,用于在所述客户端设备停止工作、所述代理服务器获取所述客户端设备信息的情况下,向所述服务端发送第二通知消息,其中,所述第二通知消息用于所述服务端根据所述客户端设备信息与所述客户端设备停止连接。Optionally, the notification module includes at least one of the following: a first notification unit, configured to notify the server when the client device starts work and the proxy server obtains information about the client device sending a first notification message, wherein the first notification message is used by the server to establish a connection with the client device according to the client device information; the second notification unit is used to stop the client device from work, when the proxy server obtains the client device information, it sends a second notification message to the server, where the second notification message is used by the server to The client device stops connecting.
根据本发明的再一个方面,还提供了一种连接状态控制装置,设置于所述服务端,其特征在于,该装置包括:接收模块,用于接收代理服务器根据客户端设备信息发送的通知消息;控制模块,用于在所述通知消息的触发下,根据所述客户端设备信息控制所述服务端与所述客户端设备的连接状态。According to still another aspect of the present invention, there is also provided a connection state control device, which is set on the server, and is characterized in that the device includes: a receiving module, configured to receive a notification message sent by the proxy server according to the client device information ; A control module, configured to control the connection status between the server and the client device according to the client device information under the trigger of the notification message.
可选地,所述控制模块,包括以下至少之一:连接单元,用于在所述接收模块收到第一通知消息的情况下,根据所述客户端设备信息与所述客户端设备建立连接;断开单元,用于在所述接收模块收到第二通知消息的情况下,根据所述客户端设备信息与所述客户端设备停止连接。Optionally, the control module includes at least one of the following: a connection unit, configured to establish a connection with the client device according to the client device information when the receiving module receives the first notification message a disconnection unit, configured to stop the connection with the client device according to the client device information when the receiving module receives the second notification message.
可选地,该装置还包括:检测模块,其中所述检测模块包括以下至少之一:启动单元,用于在所述服务端与客户端设备建立连接的情况下,启动检测所述连接状态;停止单元,用于在所述服务端与客户端设备停止连接的情况下,停止检测所述连接状态。Optionally, the apparatus further includes: a detection module, wherein the detection module includes at least one of the following: a start unit, configured to start detection of the connection state when the connection between the server and the client device is established; A stop unit, configured to stop detecting the connection state when the connection between the server and the client device stops.
根据本发明的还一个方面,提供了一种连接状态控制系统,包括:代理服务器,用于获取客户端设备信息,并根据获取到的所述客户端设备信息向服务端发送通知消息;服务端,用于接收所述代理服务器发送的所述通知消息,并在所述通知消息的触发下,根据所述客户端设备信息控制所述服务端与所述客户端设备的连接状态。According to still another aspect of the present invention, a connection state control system is provided, including: a proxy server, configured to obtain client device information, and send a notification message to the server according to the obtained client device information; the server , configured to receive the notification message sent by the proxy server, and when triggered by the notification message, control the connection state between the server and the client device according to the client device information.
通过本发明,代理服务器获取客户端设备信息,代理服务器根据客户端设备信息向服务端发送通知消息,其中,该通知消息用于服务端根据客户端设备信息控制该服务端与该客户端设备的连接状态。使得在业务用户量出现下降或上升时,不需要暂停业务即可实现服务器的缩容或扩容,从而避免了服务器一直处于工作状态所造成的服务器硬件资源浪费。Through the present invention, the proxy server obtains the client device information, and the proxy server sends a notification message to the server according to the client device information, wherein the notification message is used by the server to control the communication between the server and the client device according to the client device information. Connection Status. When the number of business users drops or rises, the shrinkage or expansion of the server can be realized without suspending the business, thus avoiding the waste of server hardware resources caused by the server being in a working state all the time.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的相关技术中智能网组网架构图;FIG. 1 is a network architecture diagram of an intelligent network in the related art according to an embodiment of the present invention;
图2是根据本发明实施例的相关技术中SIP消息分发组网架构图;Fig. 2 is a SIP message distribution network architecture diagram in the related art according to an embodiment of the present invention;
图3是根据本发明实施例的连接状态控制方法流程图一;FIG. 3 is a flow chart 1 of a connection state control method according to an embodiment of the present invention;
图4是根据本发明实施例的连接状态控制方法流程图二;FIG. 4 is a second flowchart of a connection state control method according to an embodiment of the present invention;
图5是根据本发明实施例的智能网组网架构示意图;FIG. 5 is a schematic diagram of an intelligent network networking architecture according to an embodiment of the present invention;
图6是根据本发明实施例的SIP消息分发组网架构示意图;6 is a schematic diagram of a SIP message distribution network architecture according to an embodiment of the present invention;
图7是根据本发明实施例的连接状态控制方法流程图三;FIG. 7 is a third flowchart of a connection state control method according to an embodiment of the present invention;
图8是根据本发明实施例的连接状态控制方法流程图四;FIG. 8 is a fourth flowchart of a connection state control method according to an embodiment of the present invention;
图9是根据本发明实施例的连接状态控制装置结构图一;FIG. 9 is a first structural diagram of a connection state control device according to an embodiment of the present invention;
图10是根据本发明实施例的连接状态控制装置结构图二;Fig. 10 is a second structural diagram of a connection state control device according to an embodiment of the present invention;
图11是根据本发明实施例的连接状态控制装置结构图三;Fig. 11 is a third structural diagram of a connection state control device according to an embodiment of the present invention;
图12是根据本发明实施例的连接状态控制装置结构图四。FIG. 12 is a fourth structural diagram of a connection state control device according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
本发明实施例提供了一种连接状态控制方法,图3是根据本发明实施例的连接状态控制方法流程图一,如图3所示,该方法包括:An embodiment of the present invention provides a connection state control method. FIG. 3 is a flow chart 1 of a connection state control method according to an embodiment of the present invention. As shown in FIG. 3 , the method includes:
S302,代理服务器获取客户端设备信息;S302, the proxy server obtains the client device information;
S304,代理服务器获取客户端设备信息,代理服务器根据客户端设备信息向服务端发送通知消息,其中,该通知消息用于服务端根据客户端设备信息控制该服务端与该客户端设备的连接状态。S304, the proxy server obtains the client device information, and the proxy server sends a notification message to the server according to the client device information, wherein the notification message is used by the server to control the connection status between the server and the client device according to the client device information .
通过本发明实施例,代理服务器获取客户端设备信息,代理服务器根据客户端设备信息向服务端发送通知消息,其中,该通知消息用于服务端根据客户端设备信息控制该服务端与该客户端设备的连接状态。使得在业务用户量出现下降或上升时,不需要暂停业务即可实现服务器的缩容或扩容,从而避免了服务器一直处于工作状态所造成的服务器硬件资源浪费。Through the embodiment of the present invention, the proxy server obtains the client device information, and the proxy server sends a notification message to the server according to the client device information, wherein the notification message is used by the server to control the server and the client according to the client device information. The connection status of the device. When the number of business users drops or rises, the shrinkage or expansion of the server can be realized without suspending the business, thus avoiding the waste of server hardware resources caused by the server being in a working state all the time.
在本发明的一个实施方式中,代理服务器根据客户端设备信息向服务器发送通知消息,包括以下至少之一:在客户端设备启动工作的情况下,代理服务器获取客户端设备信息并向服务端发送第一通知消息,其中,该第一通知消息用于服务端根据客户端设备信息与该客户端设备建立连接;在客户端设备停止工作的情况下,代理服务器获取客户端设备信息并向服务端发送第二通知消息,其中,该第二通知消息用于服务端根据客户端设备信息与该客户端设备停止连接。In one embodiment of the present invention, the proxy server sends a notification message to the server according to the client device information, including at least one of the following: when the client device starts working, the proxy server obtains the client device information and sends it to the server The first notification message, wherein the first notification message is used by the server to establish a connection with the client device according to the client device information; when the client device stops working, the proxy server obtains the client device information and sends the client device information to the server Sending a second notification message, where the second notification message is used for the server to stop the connection with the client device according to the client device information.
本发明实施例还提供了一种连接状态控制方法,图4是根据本发明实施例的连接状态控制方法流程图二,如图4所示,该方法包括:服务端接收代理服务器根据客户端设备信息发送的通知消息,服务端在该通知消息的触发下,根据客户端设备信息控制该服务端与该客户端设备的连接状态。The embodiment of the present invention also provides a connection state control method. FIG. 4 is the second flowchart of the connection state control method according to the embodiment of the present invention. As shown in FIG. 4, the method includes: the server receives the proxy server according to the client device The notification message sent by the information, the server, under the trigger of the notification message, controls the connection status between the server and the client device according to the client device information.
通过本发明实施例,服务端接收代理服务器根据客户端设备信息发送的通知消息,服务端在该通知消息的触发下,根据客户端设备信息控制该服务端与该客户端设备的连接状态。使得在业务用户量出现下降或上升时,不需要暂停业务即可实现服务器的缩容或扩容,从而避免了服务器一直处于工作状态所造成的服务器硬件资源浪费。Through the embodiment of the present invention, the server receives the notification message sent by the proxy server according to the client device information, and the server, triggered by the notification message, controls the connection status between the server and the client device according to the client device information. When the number of business users drops or rises, the shrinkage or expansion of the server can be realized without suspending the business, thus avoiding the waste of server hardware resources caused by the server being in a working state all the time.
在本发明的一个实施方式中,服务端根据客户端设备信息控制服务端与客户端设备的连接状态,包括以下至少之一:服务端接收代理服务器发送的第一通知消息,服务端在该第一通知消息的触发下,根据客户端设备信息与该客户端设备建立连接;服务端接收代理服务器发送的第二通知消息,服务端在该第二通知消息的触发下,根据客户端设备信息与该客户端设备停止连接。In one embodiment of the present invention, the server controls the connection state between the server and the client device according to the client device information, including at least one of the following: the server receives the first notification message sent by the proxy server, and the server receives the first notification message sent by the proxy server, Triggered by a notification message, establish a connection with the client device according to the client device information; the server receives the second notification message sent by the proxy server, and the server is triggered by the second notification message, according to the client device information and The client device stopped connecting.
在本发明的一个实施方式中,服务端根据客户端设备信息控制服务端与客户端设备的连接状态之后,还包括以下至少之一:在服务端与客户端设备建立连接的情况下,服务端启动检测连接状态;在服务端与客户端设备停止连接的情况下,服务端停止检测连接状态。In one embodiment of the present invention, after the server controls the connection state between the server and the client device according to the client device information, it further includes at least one of the following: when the server establishes a connection with the client device, the server Start detecting the connection status; when the connection between the server and the client device stops, the server stops detecting the connection status.
实例一Example one
图5是根据本发明实施例的智能网组网架构示意图,在图5所示的架构中实现本发明包括如下方法:Fig. 5 is a schematic diagram of an intelligent network networking architecture according to an embodiment of the present invention, and implementing the present invention in the architecture shown in Fig. 5 includes the following methods:
(一)智能网设备启动(1) Intelligent network device startup
1、SMP服务器启动时,连接代理服务器Agent,Agent可以通过接口机或第三方业务获取当前需要使用的SCP设备的信息列表。1. When the SMP server is started, it connects to the proxy server Agent, and the Agent can obtain the information list of the SCP equipment currently in use through the interface machine or third-party services.
2、SMP服务器启动后,仅需要与Agent获取到的若干SCP设备建立链接,并仅需要检测这些SCP设备的链路是否正常。2. After the SMP server is started, it only needs to establish links with several SCP devices acquired by the Agent, and only needs to detect whether the links of these SCP devices are normal.
3、SCP设备仅需要启动Agent设备提供信息列表中的SCP设备,未提供的SCP设备无需启动。3. The SCP device only needs to start the SCP device in the information list provided by the Agent device, and the SCP device not provided does not need to be started.
(二)智能网设备动态扩容(2) Dynamic expansion of intelligent network equipment
1、当需要扩容SCP设备时,新增的SCP设备在安装完成后即可启动。1. When it is necessary to expand the SCP device, the newly added SCP device can be started after the installation is completed.
2、新增的SCP设备都启动后,Agent设备更新当前在使用的SCP设备的信息列表,信息列表中包含新增的SCP设备的信息。2. After all the newly added SCP devices are activated, the Agent device updates the information list of the SCP devices currently in use, and the information list includes the information of the newly added SCP devices.
3、Agent设备在更新使用的SCP设备的信息列表后,通知SMP服务器。3. The Agent device notifies the SMP server after updating the information list of the used SCP device.
4、SMP设备收到Agent通知后,对这些新增的SCP设备建立链接,并开始检测这些新SCP设备链路是否正常。4. After receiving the notification from the Agent, the SMP device establishes links to these newly added SCP devices, and starts to detect whether the links of these new SCP devices are normal.
5、新SCP设备在无需停止SMP设备与其他SCP设备的情况下动态扩容成功。5. The new SCP device can be dynamically expanded without stopping the SMP device and other SCP devices.
(三)智能网设备动态缩容(3) Dynamic scaling of intelligent network equipment
1、当需要缩容SCP设备时,Agent设备更新当前在使用的SCP设备的信息列表,信息列表中将需要缩容的SCP设备的信息去除。1. When the SCP device needs to be scaled down, the Agent device updates the information list of the SCP device currently in use, and removes the information of the SCP device that needs to be scaled down from the information list.
2、Agent设备在更新使用的SCP设备的信息列表后,通知SMP服务器。2. The Agent device notifies the SMP server after updating the information list of the used SCP device.
3、SMP设备收到Agent通知后,不再与去除的SCP设备建立链接,并不再检测这些去除的SCP设备的链路是否正常。3. After receiving the notification from the Agent, the SMP device no longer establishes links with the removed SCP devices, and no longer detects whether the links of these removed SCP devices are normal.
4、去除的SCP设备即可停机,在不影响其他SCP设备的情况下动态缩容成功。4. The removed SCP device can be shut down, and the dynamic shrinkage is successful without affecting other SCP devices.
实例二Example two
图6是根据本发明实施例的SIP消息分发组网架构示意图,在图6所示的架构中实现本发明包括如下方法:Fig. 6 is a schematic diagram of a SIP message distribution network architecture according to an embodiment of the present invention, and implementing the present invention in the architecture shown in Fig. 6 includes the following methods:
(一)SIP消息分发服务器与客户端设备启动(1) SIP message distribution server and client device start
1、SIP消息分发服务器SIPproxy设备启动时,连接代理服务器Agent,Agent可以通过接口机或第三方业务获取当前需要使用的分发目标客户端设备AS的信息列表。1. When the SIP message distribution server SIPproxy device is started, it connects to the proxy server Agent, and the Agent can obtain the information list of the distribution target client device AS that needs to be used currently through the interface machine or a third-party service.
2、SIPproxy设备启动后,仅需要与从Agent设备获取到的若干分发目标客户端设备(AS1——ASn)建立链接,并仅需要检测这些分发目标客户端设备的链路是否正常。2. After the SIPproxy device is started, it only needs to establish links with several distribution target client devices (AS1——ASn) obtained from the Agent device, and only needs to detect whether the links of these distribution target client devices are normal.
3、分发目标客户端设备仅需要启动Agent设备所提供信息列表中的分发目标客户端设备,未提供的分发目标客户端设备无需启动。3. The distribution target client devices only need to start the distribution target client devices in the information list provided by the Agent device, and the unprovided distribution target client devices do not need to be started.
(二)SIP消息分发服务器与客户端设备动态扩容(2) Dynamic expansion of SIP message distribution server and client device
1、当需要扩容分发目标客户端设备时,新增的分发目标客户端设备在安装完成后即可启动。1. When the distribution target client device needs to be expanded, the newly added distribution target client device can be started after the installation is complete.
2、新增的分发目标客户端设备都启动后,Agent设备更新当前在使用的分发目标客户端设备的信息列表,信息列表中包含新增的分发目标客户端设备的信息。2. After the newly added distribution target client devices are started, the Agent device updates the information list of the currently used distribution target client devices, and the information list includes the information of the newly added distribution target client devices.
3、Agent设备在更新使用的分发目标客户端设备的信息列表后,通知消息分发服务器设备。3. After the agent device updates the information list of the used distribution target client device, it notifies the message distribution server device.
4、SIPproxy设备收到Agent通知后,对这些新增的分发目标客户端设备建立链接,并开始检测这些新分发目标客户端设备链路是否正常。4. After receiving the notification from the Agent, the SIPproxy device establishes links to these newly added distribution target client devices, and starts to detect whether the links of these new distribution target client devices are normal.
5、新分发目标客户端设备在无需停止消息分发服务器设备与其他分发目标客户端设备的情况下动态扩容成功。5. The new distribution target client device can be dynamically expanded without stopping the message distribution server device and other distribution target client devices.
(三)消息分发服务器与客户端设备动态缩容(3) Dynamic scaling of message distribution server and client devices
1、当需要缩容分发目标客户端设备时,Agent设备更新当前在使用的分发目标客户端设备的信息列表,信息列表中将需要缩容的分发目标客户端设备的信息去除。1. When the distribution target client device needs to be scaled down, the Agent device updates the information list of the currently used distribution target client device, and removes the information of the distribution target client device that needs to be scaled down from the information list.
2、Agent设备在更新使用的分发目标客户端设备的信息列表后,通知SIPproxy设备。2. The Agent device notifies the SIPproxy device after updating the information list of the used distribution target client device.
3、SIPproxy设备收到Agent通知后,不再与去除的分发目标客户端设备建立链接,并不再检测这些去除的分发目标客户端设备的链路是否正常。3. After receiving the notification from the Agent, the SIPproxy device no longer establishes links with the removed distribution target client devices, and no longer detects whether the links of these removed distribution target client devices are normal.
4、去除的分发目标客户端设备即可停机,在不影响其他分发目标客户端设备的情况下动态缩容成功。4. The removed distribution target client device can be shut down, and the dynamic scaling is successful without affecting other distribution target client devices.
实例三Example three
图7是根据本发明实施例的连接状态控制方法流程图三,如图7所示,该方法以智能网动态扩容缩容为例,包括以下步骤:Fig. 7 is a flowchart three of a connection state control method according to an embodiment of the present invention. As shown in Fig. 7, the method takes the dynamic expansion and contraction of an intelligent network as an example, and includes the following steps:
1、智能网SMP设备与SCP设备启动。1. The intelligent network SMP device and SCP device start.
2、智能网SMP设备启动时,向Agent设备获取发送请求消息,请求获取当前使用的SCP设备的列表。2. When the intelligent network SMP device is started, it obtains a sending request message from the Agent device, requesting to obtain a list of currently used SCP devices.
3、Agent设备收到SMP设备请求后返回响应,并向SMP设备推送当前使用的SCP设备的列表信息。列表信息中包括SCP设备的必要信息,如局号、模块号等。3. The Agent device returns a response after receiving the request from the SMP device, and pushes the list information of the currently used SCP device to the SMP device. The list information includes the necessary information of the SCP device, such as station number, module number, etc.
4、SMP设备根据收到的SCP信息列表,与SCP设备建立链接,并实时检测SCP设备的状态。4. The SMP device establishes a link with the SCP device according to the received SCP information list, and detects the status of the SCP device in real time.
5、当智能网组网客户容量不足,需要扩容时,需完成如下步骤:5. When the customer capacity of the intelligent network networking is insufficient and needs to be expanded, the following steps need to be completed:
1)将需要扩容的SCP设备部署完毕并启动。1) Deploy and start the SCP device that needs to be expanded.
2)Agent更新当前使用的SCP设备的信息列表,新增需扩容SCP设备的信息。2) The Agent updates the information list of the currently used SCP equipment, and adds information about the need to expand the SCP equipment.
3)Agent通知SMP设备当前使用的SCP设备信息列表已更新,SMP设备收到通知后响应。3) The Agent notifies the SMP device that the currently used SCP device information list has been updated, and the SMP device responds after receiving the notification.
4)Agent设备向SMP设备推送当前使用的SCP设备列表信息,列表信息中包括SCP设备的必要信息,如局号、模块号等。4) The Agent device pushes the currently used SCP device list information to the SMP device, and the list information includes necessary information of the SCP device, such as office number and module number.
6、当智能网组网客户容量过剩,需要缩容时,需完成如下步骤:6. When the capacity of intelligent network networking customers is excessive and needs to be reduced, the following steps need to be completed:
1)Agent更新当前使用的SCP设备的信息列表,去除需缩容SCP设备信息。1) The Agent updates the information list of the currently used SCP equipment, and removes the information of the SCP equipment that needs to be scaled down.
2)Agent通知SMP设备当前使用的SCP设备信息列表已更新,SMP设备收到通知后响应。2) The Agent notifies the SMP device that the currently used SCP device information list has been updated, and the SMP device responds after receiving the notification.
3)Agent设备向SMP设备推送当前使用的SCP设备列表信息,列表信息中不包括去除的SCP设备信息。3) The Agent device pushes the currently used SCP device list information to the SMP device, and the removed SCP device information is not included in the list information.
7、SMP设备收到更新后的当前使用的SCP设备列表,与前一次收到的SCP设备列表进行比较,对于没有变化的SCP设备信息保持不变,同时增加新增的SCP设备信息,删除去除的SCP设备信息。7. The SMP device receives the updated list of currently used SCP devices and compares it with the list of SCP devices received last time. The information of the SCP devices that have not changed remains unchanged, and the newly added SCP device information is added and deleted. SCP device information.
8、SMP设备对新增的SCP设备建链,断开去除的SCP设备的链路,使当前SMP设备连接的SCP设备与更新后的SCP设备列表保持一致。8. The SMP device establishes a link to the newly added SCP device, and disconnects the link of the removed SCP device, so that the SCP device connected to the current SMP device is consistent with the updated SCP device list.
9、智能网组网完成动态伸缩,被缩容的SCP设备可停机。9. The intelligent network completes dynamic scaling, and the scaled-down SCP equipment can be shut down.
实例四Example four
图8是根据本发明实施例的连接状态控制方法流程图四,如图8所述,该方法以消息分发服务器与客户端设备动态扩容缩容为例,包括以下步骤:Fig. 8 is a flow chart 4 of a connection state control method according to an embodiment of the present invention. As shown in Fig. 8, the method takes dynamic expansion and contraction of a message distribution server and a client device as an example, and includes the following steps:
1、消息分发服务器与客户端设备启动。1. The message distribution server and the client device are started.
2、消息分发服务器启动时,向Agent设备获取发送请求消息,请求获取当前使用的客户端设备的列表。2. When the message distribution server is started, it obtains a sending request message from the Agent device, requesting to obtain a list of currently used client devices.
3、Agent设备收到消息分发服务器请求后返回响应,并向消息分发服务器推送当前使用的客户端设备的列表信息。列表信息中包括客户端设备的必要信息,如分发目标客户端的IP地址、端口等。3. The Agent device returns a response after receiving the request from the message distribution server, and pushes the list information of currently used client devices to the message distribution server. The list information includes necessary information of the client device, such as the IP address and port of the distribution target client.
4、消息分发服务器根据收到的客户端信息列表,与客户端设备建立链接,并实时检测客户端设备的状态。4. The message distribution server establishes a link with the client device according to the received client information list, and detects the status of the client device in real time.
5、当消息分发服务器与客户端的客户容量不足,需要扩容时,需完成如下步骤:5. When the customer capacity of the message distribution server and the client is insufficient and needs to be expanded, the following steps need to be completed:
1)将需要扩容的客户端设备部署完毕并启动。1) Deploy and start the client devices that need to be expanded.
2)Agent更新当前使用的客户端设备的信息列表,新增需扩容客户端设备的信息。2) The Agent updates the information list of the currently used client device, and adds information about the client device that needs to be expanded.
3)Agent通知消息分发服务器当前使用的客户端设备信息列表已更新,消息分发服务器收到通知后响应。3) The Agent notifies the message distribution server that the client device information list currently used has been updated, and the message distribution server responds after receiving the notification.
4)Agent设备向消息分发服务器推送当前使用的客户端设备列表信息,列表信息中包括客户端设备的必要信息,如局号、模块号等。4) The Agent device pushes the currently used client device list information to the message distribution server, and the list information includes necessary information of the client device, such as office number and module number.
6、当消息分发服务器与客户端的容量过剩,需要缩容时,需完成如下步骤:6. When the capacity of the message distribution server and the client is excessive and needs to be reduced, the following steps need to be completed:
1)Agent更新当前使用的客户端设备的信息列表,去除需缩容客户端设备。1) The Agent updates the information list of the currently used client devices, and removes the client devices that need to be scaled down.
2)Agent通知消息分发服务器当前使用的客户端设备信息列表已更新,消息分发服务器收到通知后响应。2) The Agent notifies the message distribution server that the client device information list currently used has been updated, and the message distribution server responds after receiving the notification.
3)Agent设备向消息分发服务器推送当前使用的客户端设备列表信息,列表信息中不包括去除的客户端设备信息。3) The Agent device pushes the currently used client device list information to the message distribution server, and the removed client device information is not included in the list information.
7、消息分发服务器收到更新后的当前使用的客户端设备列表,与前一次收到的客户端设备列表进行比较,对于没有变化的客户端设备信息保持不变,同时增加新增的客户端设备信息,删除去除的客户端设备信息。7. The message distribution server receives the updated list of currently used client devices, compares it with the list of client devices received last time, keeps the unchanged client device information, and adds new clients at the same time Device information, delete the removed client device information.
8、消息分发服务器更新分发策略,对新增的客户端设备分发,不再向去除的客户端设备分发,使当前消息分发服务器连接的客户端设备与更新后的客户端设备列表保持一致。8. The message distribution server updates the distribution policy, distributes to newly added client devices, and no longer distributes to removed client devices, so that the client devices connected to the current message distribution server are consistent with the updated client device list.
9、消息分发服务器与客户端设备完成动态伸缩,被缩容的客户端设备可停机。9. The message distribution server and client devices complete dynamic scaling, and the reduced client devices can be shut down.
本发明实施例还提供了一种连接状态控制装置,图9是根据本发明实施例的连接状态控制装置结构图一,如图9所示,该装置设置于代理服务器上,包括:获取模块902,用于获取客户端设备信息;通知模块904,用于根据客户端设备信息向服务端发送通知消息,其中,该通知消息用于服务端根据客户端设备信息控制该服务端与该客户端设备的连接状态。The embodiment of the present invention also provides a connection state control device. FIG. 9 is a structural diagram of a connection state control device according to an embodiment of the present invention. As shown in FIG. 9 , the device is set on a proxy server and includes: an acquisition module 902 , for acquiring client device information; a notification module 904, for sending a notification message to the server according to the client device information, wherein the notification message is used for the server to control the server and the client device according to the client device information connection status.
通过本发明实施例,获取模块902获取客户端设备信息,通知模块904根据客户端设备信息向服务端发送通知消息,其中,该通知消息用于服务端根据客户端设备信息控制该服务端与该客户端设备的连接状态。使得在业务用户量出现下降或上升时,不需要暂停业务即可实现服务器的缩容或扩容,从而避免了服务器一直处于工作状态所造成的服务器硬件资源浪费。According to the embodiment of the present invention, the acquisition module 902 acquires the client device information, and the notification module 904 sends a notification message to the server according to the client device information, wherein the notification message is used by the server to control the connection between the server and the server according to the client device information. The connection status of the client device. When the number of business users drops or rises, the shrinkage or expansion of the server can be realized without suspending the business, thus avoiding the waste of server hardware resources caused by the server being in a working state all the time.
在本发明的一个实施方式中,图10是根据本发明实施例的连接状态控制结构装置结构图二,如图10所示,通知模块1004包括以下至少之一:In an embodiment of the present invention, FIG. 10 is a second structural diagram of a connection state control structure device according to an embodiment of the present invention. As shown in FIG. 10 , the notification module 1004 includes at least one of the following:
第一通知单元,用于在客户端设备启动工作、代理服务器获取该客户端设备信息的情况下,向该服务端发送第一通知消息,其中,该第一通知消息用于服务端根据客户端设备信息与该客户端设备建立连接;The first notification unit is configured to send a first notification message to the server when the client device starts working and the proxy server acquires information about the client device, wherein the first notification message is used by the server to The device information establishes a connection with the client device;
第二通知单元,用于在客户端设备停止工作、代理服务器获取该客户端设备信息的情况下,向该服务端发送第二通知消息,其中,该第二通知消息用于服务端根据客户端设备信息与该客户端设备停止连接。The second notification unit is configured to send a second notification message to the server when the client device stops working and the proxy server acquires information about the client device, wherein the second notification message is used by the server to Device information and the client device stop connecting.
本发明实施例还提供了一种连接状态控制装置,图11是根据本发明实施例的连接状态控制装置结构图三,如图11所示,该装置设置于服务端,包括:接收模块1102,用于接收代理服务器根据客户端设备信息发送的通知消息;控制模块1104,用于在通知消息的触发下,根据客户端设备信息控制服务端与客户端设备的连接状态。The embodiment of the present invention also provides a connection state control device. FIG. 11 is the third structural diagram of the connection state control device according to the embodiment of the present invention. As shown in FIG. 11 , the device is set at the server end and includes: a receiving module 1102, It is used to receive the notification message sent by the proxy server according to the information of the client device; the control module 1104 is used to control the connection status between the server and the client device according to the information of the client device under the trigger of the notification message.
通过本发明实施例,接收模块1102接收代理服务器根据客户端设备信息发送的通知消息,控制模块1104在通知消息的触发下,根据客户端设备信息控制服务端与客户端设备的连接状态。使得在业务用户量出现下降或上升时,不需要暂停业务即可实现服务器的缩容或扩容,从而避免了服务器一直处于工作状态所造成的服务器硬件资源浪费。Through the embodiment of the present invention, the receiving module 1102 receives the notification message sent by the proxy server according to the client device information, and the control module 1104 controls the connection status between the server and the client device according to the client device information under the trigger of the notification message. When the number of business users drops or rises, the shrinkage or expansion of the server can be realized without suspending the business, thus avoiding the waste of server hardware resources caused by the server being in a working state all the time.
在本发明的一个实施方式中,图12是根据本发明实施例的连接状态控制装置结构图四,如图12所示,控制模块1204包括以下至少之一:连接单元,用于在接收模块收1202到第一通知消息的情况下,根据客户端设备信息与该客户端设备建立连接;断开单元,用于在接收模块收1202到第二通知消息的情况下,根据客户端设备信息与该客户端设备停止连接。In one embodiment of the present invention, FIG. 12 is a fourth structural diagram of a connection state control device according to an embodiment of the present invention. As shown in FIG. 12 , the control module 1204 includes at least one of the following: a connection unit, configured to receive 1202, when the first notification message is received, establish a connection with the client device according to the client device information; the disconnection unit is configured to, when the receiving module receives 1202 the second notification message, establish a connection with the client device according to the client device information The client device stops connecting.
在本发明的一个实施方式中,如图12所示,该装置还包括:检测模块1206,其中检测模块1206包括以下至少之一:启动单元,用于在服务端与客户端设备建立连接的情况下,启动检测连接状态;停止单元,用于在服务端与客户端设备停止连接的情况下,停止检测连接状态。In one embodiment of the present invention, as shown in FIG. 12 , the device further includes: a detection module 1206, wherein the detection module 1206 includes at least one of the following: a startup unit, configured to establish a connection between the server and the client device Next, start detecting the connection state; the stop unit is used to stop detecting the connection state when the connection between the server and the client device stops.
本发明实施例还提供了一种连接状态控制系统,包括:代理服务器,用于获取客户端设备信息,并根据获取到的客户端设备信息向服务端发送通知消息;服务端,用于接收上述代理服务器发送的通知消息,并在该通知消息的触发下,根据客户端设备信息控制该服务端与该客户端设备的连接状态。The embodiment of the present invention also provides a connection state control system, including: a proxy server, used to obtain client device information, and send a notification message to the server according to the obtained client device information; The proxy server sends a notification message, and under the trigger of the notification message, controls the connection status between the server and the client device according to the client device information.
通过本发明实施例,代理服务器,获取客户端设备信息,并根据获取到的客户端设备信息向服务端发送通知消息,服务端接收上述代理服务器发送的通知消息,并在该通知消息的触发下,根据客户端设备信息控制该服务端与该客户端设备的连接状态。使得在业务用户量出现下降或上升时,不需要暂停业务即可实现服务器的缩容或扩容,从而避免了服务器一直处于工作状态所造成的服务器硬件资源浪费。Through the embodiment of the present invention, the proxy server obtains the client device information, and sends a notification message to the server according to the obtained client device information, and the server receives the notification message sent by the proxy server, and triggers the notification message , to control the connection status between the server and the client device according to the client device information. When the number of business users drops or rises, the shrinkage or expansion of the server can be realized without suspending the business, thus avoiding the waste of server hardware resources caused by the server being in a working state all the time.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (11)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510209662.4A CN106161580A (en) | 2015-04-28 | 2015-04-28 | A kind of connection status control method, Apparatus and system |
PCT/CN2015/088784 WO2016173169A1 (en) | 2015-04-28 | 2015-09-01 | Connection state control method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510209662.4A CN106161580A (en) | 2015-04-28 | 2015-04-28 | A kind of connection status control method, Apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106161580A true CN106161580A (en) | 2016-11-23 |
Family
ID=57198156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510209662.4A Withdrawn CN106161580A (en) | 2015-04-28 | 2015-04-28 | A kind of connection status control method, Apparatus and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106161580A (en) |
WO (1) | WO2016173169A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114338343A (en) * | 2021-12-30 | 2022-04-12 | 海能达通信股份有限公司 | Communication method and cluster service system |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10041988B2 (en) | 2014-11-04 | 2018-08-07 | Grosch, Llc | Electrical drain test system and method |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1400535A (en) * | 2001-07-26 | 2003-03-05 | 华为技术有限公司 | System for raising speed of response of server in application layer exchange and its method |
CN1545266A (en) * | 2003-11-20 | 2004-11-10 | 广东省电信有限公司科学技术研究院 | Content switching network system and controlling method thereof |
CN1801703A (en) * | 2004-12-31 | 2006-07-12 | 中兴通讯股份有限公司 | Method for broadband network access authentication |
CN101150541A (en) * | 2007-11-07 | 2008-03-26 | 北京亿企通信息技术有限公司 | A login method in instant communication tool |
CN101217483A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | A method to realize cluster server inner load sharing agent |
CN101291348A (en) * | 2008-06-12 | 2008-10-22 | 巴别塔(北京)科技有限公司 | Prompt method for wireless channel awaking |
CN101345741A (en) * | 2007-07-13 | 2009-01-14 | 盛大计算机(上海)有限公司 | Proxy system and proxy connecting method based on internet |
CN101459881A (en) * | 2007-12-12 | 2009-06-17 | 中国移动通信集团公司 | Message bearing method and customer terminal, message server |
US20090265471A1 (en) * | 2007-07-24 | 2009-10-22 | Huawei Technologies Co., Ltd. | Method, system, server and terminal for processing message |
CN101778344A (en) * | 2004-08-13 | 2010-07-14 | Lg电子株式会社 | Establishment of radio resource control connection in wireless communication system |
CN102916870A (en) * | 2012-10-26 | 2013-02-06 | 苏州阔地网络科技有限公司 | Method and system for controlling network connection |
CN103428287A (en) * | 2013-08-09 | 2013-12-04 | 华为技术有限公司 | Method and device for establishing connection |
CN103428095A (en) * | 2013-08-26 | 2013-12-04 | 深信服网络科技(深圳)有限公司 | Proxy server and proxy method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4980151B2 (en) * | 2007-06-18 | 2012-07-18 | 株式会社日立製作所 | MOBILE COMMUNICATION SYSTEM, PDIF, AND MONITORING MONITORING METHOD FOR MOBILE TERMINAL |
CN101090400A (en) * | 2007-08-07 | 2007-12-19 | 北京立通无限科技有限公司 | Safety transmitting method and system for information of mobile user |
-
2015
- 2015-04-28 CN CN201510209662.4A patent/CN106161580A/en not_active Withdrawn
- 2015-09-01 WO PCT/CN2015/088784 patent/WO2016173169A1/en active Application Filing
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1400535A (en) * | 2001-07-26 | 2003-03-05 | 华为技术有限公司 | System for raising speed of response of server in application layer exchange and its method |
CN1545266A (en) * | 2003-11-20 | 2004-11-10 | 广东省电信有限公司科学技术研究院 | Content switching network system and controlling method thereof |
CN101778344A (en) * | 2004-08-13 | 2010-07-14 | Lg电子株式会社 | Establishment of radio resource control connection in wireless communication system |
CN1801703A (en) * | 2004-12-31 | 2006-07-12 | 中兴通讯股份有限公司 | Method for broadband network access authentication |
CN101345741A (en) * | 2007-07-13 | 2009-01-14 | 盛大计算机(上海)有限公司 | Proxy system and proxy connecting method based on internet |
US20090265471A1 (en) * | 2007-07-24 | 2009-10-22 | Huawei Technologies Co., Ltd. | Method, system, server and terminal for processing message |
CN101150541A (en) * | 2007-11-07 | 2008-03-26 | 北京亿企通信息技术有限公司 | A login method in instant communication tool |
CN101459881A (en) * | 2007-12-12 | 2009-06-17 | 中国移动通信集团公司 | Message bearing method and customer terminal, message server |
CN101217483A (en) * | 2008-01-21 | 2008-07-09 | 中兴通讯股份有限公司 | A method to realize cluster server inner load sharing agent |
CN101291348A (en) * | 2008-06-12 | 2008-10-22 | 巴别塔(北京)科技有限公司 | Prompt method for wireless channel awaking |
CN102916870A (en) * | 2012-10-26 | 2013-02-06 | 苏州阔地网络科技有限公司 | Method and system for controlling network connection |
CN103428287A (en) * | 2013-08-09 | 2013-12-04 | 华为技术有限公司 | Method and device for establishing connection |
CN103428095A (en) * | 2013-08-26 | 2013-12-04 | 深信服网络科技(深圳)有限公司 | Proxy server and proxy method thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114338343A (en) * | 2021-12-30 | 2022-04-12 | 海能达通信股份有限公司 | Communication method and cluster service system |
CN114338343B (en) * | 2021-12-30 | 2023-12-12 | 海能达通信股份有限公司 | Communication method and cluster service system |
Also Published As
Publication number | Publication date |
---|---|
WO2016173169A1 (en) | 2016-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113596191B (en) | Data processing method, network element equipment and readable storage medium | |
CN110535676B (en) | SMF dynamic disaster tolerance realization method, device, equipment and storage medium | |
CN106301876B (en) | Physical machine upgrade method, business migration method and device | |
CN107645529B (en) | Heartbeat packet sending method and device | |
CN101635728B (en) | Method and system for data synchronization in content distribution network | |
US10999881B2 (en) | Session management method and device | |
CN109995844B (en) | Method and device for realizing control plane resource migration and network function entity | |
CN113453213B (en) | Authentication data synchronization method and device | |
CN107404509B (en) | Distributed service configuration system and information management method | |
WO2018090386A1 (en) | Method, device and system for processing abnormities of nf modules | |
EP3709664A1 (en) | Stream pushing method, system and server | |
US20100099426A1 (en) | Telecommunication network | |
CN101304330A (en) | Resource configuration method, server, network device and network system | |
WO2021004517A1 (en) | Method, device and system for implementing core network sub-slice disaster recovery | |
CN113824723A (en) | End-to-end system solution applied to audio and video data transmission | |
CN103312593B (en) | A kind of message distributing system and method | |
CN110932876A (en) | A communication system, method and device | |
CN104272789B (en) | GSM, call treatment node and communication control method | |
CN114726806B (en) | Intelligent device shadow management method, system, device, equipment and medium | |
CN106161580A (en) | A kind of connection status control method, Apparatus and system | |
CN106302626A (en) | A kind of elastic expansion method, Apparatus and system | |
US11973824B2 (en) | Method for data transmission of audio and video in end-to-end system | |
CN102571880A (en) | Service dispatching method and system as well as service dispatching node | |
EP3758308B1 (en) | Correspondence processing method and device based on interworking rcs system | |
CN108616597B (en) | Distributed operation method for realizing service uninterrupted forever |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20161123 |
|
WW01 | Invention patent application withdrawn after publication |