CN100396060C - Methods to Implement Messenger Message Delivery - Google Patents
Methods to Implement Messenger Message Delivery Download PDFInfo
- Publication number
- CN100396060C CN100396060C CNB2004100031326A CN200410003132A CN100396060C CN 100396060 C CN100396060 C CN 100396060C CN B2004100031326 A CNB2004100031326 A CN B2004100031326A CN 200410003132 A CN200410003132 A CN 200410003132A CN 100396060 C CN100396060 C CN 100396060C
- Authority
- CN
- China
- Prior art keywords
- client
- message
- messenger
- authentication
- internet access
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明公开了一种实现信使消息传送的方法,用于通信网络系统,包括步骤:存储客户端的信使消息;在所述客户端的上网请求通过认证的后续时间,根据该客户端的上网属性实时更新存储的该客户端的信使消息;并有规律地将更新的信使消息发送给该客户端。本发明实现信使消息传送的方法使系统能够自动发送相应的信使消息给客户端,以提醒使用该客户端的用户根据接收到的信使消息预先安排自己后续的工作,从而方便了用户的工作安排。
The invention discloses a method for realizing messenger message transmission, which is used in a communication network system, comprising the steps of: storing the messenger message of the client; and updating and storing in real time according to the client's Internet access attribute at the subsequent time when the client's Internet access request passes the authentication Messenger messages of the client; and regularly send updated Messenger messages to the client. The method for realizing messenger message transmission of the present invention enables the system to automatically send corresponding messenger messages to the client to remind users using the client to pre-arrange their follow-up work according to the received messenger messages, thereby facilitating the user's work arrangement.
Description
技术领域 technical field
本发明涉及数据通信技术领域,尤其涉及数据通信网络中增值业务的提供方法。The invention relates to the technical field of data communication, in particular to a method for providing value-added services in a data communication network.
背景技术 Background technique
目前,数据通信网络系统中的信使业务主要用于向浏览互联网资源的用户实时提供一些提醒信息,所述的提醒信息包括用户当前能够浏览网络资源的剩余流量值、剩余时间值和疲劳提醒信息等(疲劳提醒信息是指用户已经连续浏览网络资源的时间长度),用户在这些提醒信息的提醒下,便可以根据具体情况,提前安排自己后续的工作,从而为自己的工作提供了方便;而现有技术中通常可以将上述这些提醒信息统称为信使消息。At present, the messenger service in the data communication network system is mainly used to provide some reminder information in real time to users browsing Internet resources. The reminder information includes the remaining flow value, remaining time value and fatigue reminder information of the user currently able to browse network resources. (Fatigue reminder information refers to the length of time that the user has continuously browsed network resources). Under the reminder of these reminder information, the user can arrange his follow-up work in advance according to the specific situation, thereby providing convenience for his work; In the prior art, the above reminder information can generally be collectively referred to as a messenger message.
现在,在提供信使业务的数据通信网络系统中,和各个用户有关的信使消息都存储在特定的服务器中,该系统提供的实现信使消息传送的方法是用户自助式的方法,即如果用户需要知道目前自己访问网络资源的剩余流量值和剩余时间值等信息,就主动登录到这个存储信使消息的服务器,进而查询对应自己的信使消息。由于该系统不能使用户及时得知自己访问网络资源的剩余流量和剩余时间等信息,极易给用户在工作的处理上带来了麻烦。Now, in the data communication network system that provides messenger services, the messenger messages related to each user are stored in a specific server. At present, information such as the remaining traffic value and remaining time value of accessing network resources by oneself will actively log in to the server that stores the messenger message, and then query the corresponding messenger message. Because this system can't make the user know in time the information such as the remaining traffic and the remaining time of their own access to network resources, it is very easy to bring troubles to the user in the processing of work.
综上所述,现有技术中的实现信使消息传送的方法不能自动完成,需要用户主动进行查询,才能获得当前访问网络资源的剩余流量值和剩余时间值等信使信息;同时也会使用户在不能被信使消息及时提醒的前提下,耽误后续工作的安排或不能继续享受浏览网络资源的服务等,因此给用户在工作上带来很大不便。To sum up, the method for realizing messenger message transmission in the prior art cannot be completed automatically, and the user needs to actively query to obtain the messenger information such as the remaining traffic value and remaining time value of the currently accessed network resources; Under the premise of not being reminded in time by the messenger message, the arrangement of follow-up work is delayed or the service of browsing network resources cannot be continued, which brings great inconvenience to the user in work.
发明内容 Contents of the invention
本发明要解决的技术问题是提出一种不必要求用户进行主动查询,而是由系统自动将信使消息发送到用户的客户端来及时提醒用户的实现信使消息传送的方法,以方便用户的后续工作。The technical problem to be solved by the present invention is to propose a method for realizing messenger message transmission in which the system automatically sends the messenger message to the user's client to remind the user in time without requiring the user to perform an active query, so as to facilitate the follow-up work of the user .
为解决上述问题,本发明提出了一种实现信使消息传送的方法,用于通信网络系统,包括步骤:In order to solve the above problems, the present invention proposes a method for realizing messenger message transmission, which is used in a communication network system, comprising steps:
存储客户端的信使消息;store the client's messenger messages;
在所述客户端的上网请求通过认证的后续时间,根据该客户端的上网属性实时更新存储的该客户端的信使消息;并At a subsequent time after the client's Internet access request passes the authentication, update the stored messenger message of the client in real time according to the client's Internet access attribute; and
有规律地将更新的信使消息发送给该客户端。Updated courier messages are sent to the client on a regular basis.
其中由通信网络系统中的认证服务器对所述客户端的上网请求进行认证;并由通信网络系统中的认证设备或认证服务器存储客户端的信使消息,并分别由认证设备或认证服务器根据客户端的上网属性实时更新所述信使消息。Wherein the authentication server in the communication network system authenticates the client's Internet access request; and the authentication device or authentication server in the communication network system stores the client's messenger message, and the authentication device or authentication server respectively according to the client's Internet access attributes The messenger message is updated in real time.
所述方法进一步包括:The method further comprises:
认证服务器对客户端的上网请求进行认证通过后,向认证设备发送认证成功报文;After the authentication server authenticates the client's Internet access request, it sends an authentication success message to the authentication device;
认证设备接收到认证成功报文,确认认证通过的后续时间,根据该客户端的上网属性实时更新存储的所述信使消息。The authentication device receives the authentication success message, confirms the subsequent time when the authentication is passed, and updates the stored messenger message in real time according to the client's Internet access attribute.
所述方法进一步包括认证服务器对客户端的上网请求进行认证通过后,同时向认证设备发送中断空闲会话报文;The method further includes sending an idle session interruption message to the authentication device at the same time after the authentication server has passed the authentication of the client's Internet access request;
认证设备根据接收到的中断空闲会话报文,设置定时规律,并根据所述定时规律,在到达每个定时时刻时,将该时刻存储的更新后的信使消息发送给客户端。The authentication device sets a timing rule according to the received interruption idle session message, and according to the timing rule, when each timing moment is reached, the updated messenger message stored at that moment is sent to the client.
所述方法还进一步包括:The method further comprises:
在认证服务器上设置定时规律;Set the timing rule on the authentication server;
认证服务器根据所述定时规律,在到达每个定时时刻时,将该时刻存储的更新后的信使消息发送给客户端。According to the timing rule, when each timing moment is reached, the authentication server sends the updated messenger message stored at that moment to the client.
所述认证设备存储有公共信使消息,所述方法还进一步包括:The authentication device stores public messenger messages, and the method further includes:
认证服务器对客户端的上网请求进行认证通过后,向认证设备发送广播消息信令;After the authentication server authenticates the client's Internet access request, it sends broadcast message signaling to the authentication device;
认证设备接收到广播消息信令后,将存储的公共信使消息发送给该客户端。After receiving the broadcast message signaling, the authentication device sends the stored public messenger message to the client.
所述认证服务器存储有公共信使消息,所述方法还进一步包括:The authentication server stores public messenger messages, and the method further includes:
认证服务器对客户端的上网请求进行认证通过后,将存储的公共信使消息发送给该客户端。After the authentication server authenticates the client's Internet access request, it sends the stored public messenger message to the client.
由于本发明实现信使消息传送的方法通过将每个客户端的信使消息预先存储,并在客户端的上网请求通过认证的后续时间,根据该客户端的上网属性信息实时更新存储的该客户端的信使消息,并以一定的时间规律将相应时刻更新后的信使消息发送给该客户端,从而使系统能够自动发送相应的信使消息给客户端,以提醒使用该客户端的用户根据接收到的信使消息预先安排自己后续的工作,从而方便了用户的工作安排。Because the method for realizing messenger message transmission in the present invention stores the messenger message of each client in advance, and updates the stored messenger message of the client in real time according to the client's Internet access attribute information at the subsequent time when the client's Internet access request passes the authentication, and Send the messenger message updated at the corresponding time to the client with a certain time rule, so that the system can automatically send the corresponding messenger message to the client to remind the user who uses the client to pre-arrange their follow-up according to the received messenger message work, which facilitates the user's work arrangement.
附图说明 Description of drawings
图1是本发明实现信使消息传送的方法的具体实现流程图;Fig. 1 is the specific implementation flowchart of the method for realizing messenger message transmission in the present invention;
图2是现有局域网系统中802.1X认证网络系统的结构原理图;Fig. 2 is a structural principle diagram of the 802.1X authentication network system in the existing local area network system;
图3是现有EAP报文的标准格式示意图;FIG. 3 is a schematic diagram of a standard format of an existing EAP message;
图4是现有技术中主要四种EAP报文类型的示意图;FIG. 4 is a schematic diagram of four main types of EAP packets in the prior art;
图5是针对本发明实现信使消息传送的方法而扩展的一种EAP报文示意图;Fig. 5 is a schematic diagram of an EAP message extended for the method for implementing messenger message transmission in the present invention;
图6是在802.1X认证网络系统中,将信使消息存储在认证设备中,实施本发明实现信使消息传送的方法的主要过程图;Fig. 6 is in the 802.1X authentication network system, the messenger message is stored in the authentication device, and the main process diagram of implementing the method of the present invention to realize the messenger message transmission;
图7是本发明实现信使消息传送的方法中将公共信使消息存储在认证设备中,实现公共信使消息发送的过程示意图;Fig. 7 is a schematic diagram of the process of storing the public courier message in the authentication device and realizing the sending of the public courier message in the method for transmitting the courier message according to the present invention;
图8是在802.1X认证网络系统中,将信使消息存储在认证服务器中,实施本发明实现信使消息传送的方法的主要过程图;Fig. 8 is in 802.1X authentication network system, store messenger message in authentication server, implement the main process diagram of the method for implementing the present invention to realize messenger message transmission;
图9是本发明实现信使消息传送的方法中将公共信使消息存储在认证服务器中,实现公共信使消息发送的过程示意图。FIG. 9 is a schematic diagram of the process of storing the public messenger message in the authentication server and realizing the sending of the public messenger message in the method for implementing messenger message transmission according to the present invention.
具体实施方式 Detailed ways
本发明实现信使消息传送的方法设计宗旨是:首先将针对每个客户端的信使消息存储在网络侧,当请求上网的客户端的上网请求通过网络侧认证的后续时间,根据该客户端的上网属性,实时更新存储的对应该客户端的信使消息,并有规律的将相应时刻更新后的信使消息发送给该客户端,以使用户通过该客户端接收的相应时刻的信使消息,来安排后续的工作。The design purpose of the method for realizing messenger message transmission in the present invention is: firstly, store the messenger message for each client on the network side, and when the client requesting to surf the Internet passes the follow-up time after the network side authentication, according to the surfing attribute of the client, real-time Update the stored courier message corresponding to the client, and regularly send the updated courier message at the corresponding time to the client, so that the user can arrange subsequent work through the courier message at the corresponding time received by the client.
相应的,还可以将针对公共每一个客户端的公共信使消息进行存储,在客户端的上网请求通过认证后,将存储的公共信使消息发送给该客户端,使用户通过客户端接收到的公共信使消息了解网络上的一些公共消息。Correspondingly, the public messenger message for each public client may also be stored, and after the client's Internet access request is authenticated, the stored public messenger message is sent to the client, so that the user can pass the public messenger message received by the client. Learn about some public news on the web.
进而,所述的针对每个客户端的信使消息和针对所有客户端的公共信使消息可以存储在数据通信网络系统中的认证服务器中或认证设备中。其中认证服务器用于对客户端的上网请求进行鉴权认证,认证设备用于在客户端的上网请求通过认证之后,控制客户端访问网络资源,更进一步,所述的认证设备就是数据通信网络系统中的路由器,交换机或接入点设备等。Furthermore, the said courier message for each client and the common courier message for all clients may be stored in the authentication server or the authentication device in the data communication network system. Wherein the authentication server is used to authenticate the client's Internet access request, and the authentication device is used to control the client's access to network resources after the client's Internet access request is authenticated. Further, the authentication device is a device in the data communication network system. routers, switches or access point devices etc.
参照图1,该图是本发明实现信使消息传送的方法的具体实现流程图;其信使业务的主要实现过程如下:With reference to Fig. 1, this figure is the concrete realization flowchart of the method that the present invention realizes messenger message transmission; The main realization process of its messenger service is as follows:
步骤10,将针对每个客户端的信使消息进行存储;每个客户端的信使消息是存储在网络侧的,如上所述,可以进而存储在网络系统中的认证服务器中或认证设备中;针对每个客户端的信使消息主要包括每个客户端能够浏览网络资源的剩余时间值、剩余流量值和一些疲劳提醒信息等。
步骤20,当某个客户端有上网需求时,会发送上网请求信息到网络侧,网络侧的认证服务器会对该客户端的上网请求信息进行鉴权认证,如果认证通过,则执行步骤30;如果认证不通过,则该方法进程结束。
步骤30,在该客户端的上网请求通过认证的后续时间,根据该客户端的上网属性实时更新存储的该客户端的信使消息;其中客户端的上网属性主要包括该客户端访问网络资源所占用的传输带宽、传输速率和访问网络资源等信息,存储有客户端信使消息的实体会根据该客户端的上网属性实时计算该客户端使用的网络资源,并计算出该客户端还能继续访问网络资源的剩余时间值、剩余流量值等信息,同时还会根据计算出的结果信息生成一些疲劳提醒信息等,然后用得到的该客户端能够访问网络资源的剩余时间值、剩余流量值和疲劳提醒信息等更新该客户端的信使消息。
步骤40,存储有该客户端信使消息的实体按照一定的规律将相应时刻更新后的信使消息发送给该客户端;其中所述的规律可以按照周期时间规律或不定期时间规律等,如按照周期时间规律持续发送信使消息给客户端时,在每个周期时间到达时,就将该时刻更新后的该客户端的信使消息发送给该客户端即可。
步骤50,用户通过该客户端在每个时刻接收的信使消息,来得知自己还能够浏览网络资源的剩余时间值和剩余流量值,然后根据相应的疲劳提醒信息来安排后续的工作。
其中疲劳提醒信息主要是网络系统根据客户端的连续上网时间和可浏览网络资源的剩余时间值和剩余流量值等信息,而提出的一些休息信息。如在客户端连续工作6小时的时候,网络系统可以计算该客户端在线工作的时间;并以一定的时间规律发送到该客户端一个提示信息,如“该休息了!”,而这个提示信息就是这里所述的疲劳提醒信息。Among them, the fatigue reminder information is mainly some rest information proposed by the network system according to the continuous online time of the client and the remaining time value and remaining traffic value of the browseable network resources. For example, when the client works continuously for 6 hours, the network system can calculate the online working time of the client; This is the fatigue reminder message described here.
下面以局域网中802.1X认证网络系统为例,进行详细说明本发明实现信使消息传送的方法,当然本发明实现信使消息传送的方法也不仅仅局限于用在802.1X认证方式的局域网系统中,也可以用于采用其他认证方式的其他网络系统,这里只是举例进行说明而已。Taking the 802.1X authentication network system in the local area network as an example below, the method for realizing the messenger message transmission of the present invention is described in detail. Of course, the method for realizing the messenger message transmission of the present invention is not only limited to being used in the local area network system of the 802.1X authentication mode, but also It can be used in other network systems using other authentication methods, and this is just an example for illustration.
参照图2,该图是现有技术局域网系统中802.1X认证网络系统的结构原理图;图中各实体的工作原理如下:With reference to Fig. 2, this figure is the structural principle diagram of 802.1X authentication network system in the prior art local area network system; The working principle of each entity in the figure is as follows:
当客户端1有上网需求时,首先将包括有自身ID信息的上网请求信息通过网络系统3经由认证设备2中的认证端口5传给认证服务器6,认证服务器6对该客户端的上网请求信息中包含的ID信息进行认证操作,如果认证通过,则认证服务器6向认证设备2发送认证成功报文,认证设备2接收到认证服务器6发来的认证成功报文后,使自身中的提供服务端口4的端口处于打开状态,以使客户端1通过该打开的端口访问网络资源;如果认证不通过,则认证服务器6向认证设备2发送认证失败报文,认证设备2接收到认证服务器6发来的认证失败报文后,使自身中的提供服务端口4的端口处于关闭状态,以拒绝客户端1通过该端口访问网络资源。When the
其中上述802.1X认证流程中,各个实体间传送的报文为可扩展认证协议(EAP)报文,参照图3,该图是现有EAP报文的标准格式示意图,传输时各域从左至右依次传输,其中Code域占用一个字节,用于标识EAP报文的类型,如图4所示,该图是现有技术中主要四种EAP报文类型的示意图。图中显示,当Code域中的报文类型编码为1时,代表传输的EAP报文为认证请求报文(Request);当Code域中的报文类型编码为2时,代表传输的EAP报文为认证应答报文(Response);当Code域中的报文类型编码为3时,代表传输的EAP报文为认证成功报文(Success);当Code域中的报文类型编码为4时,代表传输的EAP报文为认证失败报文(Failure)。Among them, in the above-mentioned 802.1X authentication process, the message transmitted between each entity is an Extensible Authentication Protocol (EAP) message. Referring to Figure 3, this figure is a schematic diagram of the standard format of an existing EAP message. During transmission, each field is from left to The right is transmitted sequentially, and the Code field occupies one byte, which is used to identify the type of the EAP message, as shown in FIG. 4 , which is a schematic diagram of the main four types of EAP messages in the prior art. The figure shows that when the message type code in the Code field is 1, it means that the transmitted EAP message is an authentication request message (Request); when the message type code in the Code field is 2, it means that the transmitted EAP message is The message is an authentication response message (Response); when the message type code in the Code field is 3, it means that the transmitted EAP message is an authentication success message (Success); when the message type code in the Code field is 4 , indicating that the transmitted EAP packet is an authentication failure packet (Failure).
但是上述这四种类型的报文在现有技术802.1X认证过程中已经使用,所以需要在此基础上扩展另外一种报文,来携带本发明实现信使消息传送的方法中针对每个客户端的信使消息或针对所有客户端的公共信使消息;参照图5,该图是针对本发明实现信使消息传送的方法而扩展的一种EAP报文示意图。其中在标准EAP报文格式的Code域中封装代表信使服务报文(Service)的编码,该编码可以采用除1~4以外的任何编码,如可以为10。然后在标准EAP报文格式的Type域中,将信使消息(Messenger-Information)封装进去,其中这里的信使消息(Messenger-Information)可以为针对每一客户端的信使消息,也可以为针对所有客户端的公共信使消息。如当所述信使消息(Messenger-Information)为针对每一客户端的信使消息时,信使消息(Messenger-Information)可以进一步包括客户端访问网络资源的剩余时间值(Messenger-Remnant-Time)或剩余流量值(Messenger-Remnant-Flow)或疲劳提醒信息(Messenger-Work-Break)等。这样就可以保证扩展后的信使消息报文依然符合EAP报文标准格式,同时可以携带针对每个客户端的信使消息或针对所有客户端的公共信使消息;并在802.1X认证网络系统中按照标准传输协议进行传输。下面首先以将所述的信使消息和公共信使消息存储在认证设备中,来说明本发明实现信使消息传送的方法在802.1X认证网络系统中的具体应用。However, the above four types of messages have been used in the prior art 802.1X authentication process, so it is necessary to expand another type of message on this basis to carry the information for each client in the method for implementing messenger message transmission in the present invention. A courier message or a common courier message for all clients; refer to FIG. 5 , which is a schematic diagram of an EAP message extended for the method for transmitting a courier message in the present invention. Wherein, the code representing the messenger service message (Service) is encapsulated in the Code field of the standard EAP message format. The code can be any code except 1-4, for example, it can be 10. Then, in the Type field of the standard EAP message format, the messenger message (Messenger-Information) is encapsulated, wherein the messenger message (Messenger-Information) here can be a messenger message for each client, and can also be a message for all clients Public Messenger message. For example, when the messenger message (Messenger-Information) is a messenger message for each client, the messenger message (Messenger-Information) may further include the remaining time value (Messenger-Remnant-Time) or remaining traffic of the client accessing network resources value (Messenger-Remnant-Flow) or fatigue reminder information (Messenger-Work-Break), etc. In this way, it can be ensured that the extended messenger message still complies with the EAP message standard format, and at the same time, it can carry a messenger message for each client or a common messenger message for all clients; to transfer. The specific application of the method for realizing messenger message transmission of the present invention in the 802.1X authentication network system will be described below first by storing the above-mentioned messenger message and public messenger message in the authentication device.
参照图6,该图是在802.1X认证网络系统中,将信使消息存储在认证设备中,实施本发明实现信使消息传送的方法的主要过程图;如图所示,其具体的实现过程如下:With reference to Fig. 6, this figure is in 802.1X authentication network system, messenger message is stored in authentication device, implements the main process diagram of the method for realizing messenger message transmission of the present invention; As shown in the figure, its specific implementation process is as follows:
步骤S1,首先将每个客户端的信使消息存储在认证设备中;Step S1, first store the messenger message of each client in the authentication device;
步骤S2,当客户端有上网需求时,发送包含自身ID消息的上网请求信息给认证设备;Step S2, when the client needs to access the Internet, send the Internet access request information including its own ID message to the authentication device;
步骤S3,认证设备将接收到的客户端发来的上网请求信息转发给认证服务器;Step S3, the authentication device forwards the received Internet access request information sent by the client to the authentication server;
步骤S4,认证服务器对接收到的上网请求信息进行认证,其中现有802.1X认证网络系统中认证服务器对客户端的认证过程大致如下:Step S4, the authentication server authenticates the received Internet access request information, wherein the authentication process of the authentication server to the client in the existing 802.1X authentication network system is roughly as follows:
客户端有上网需求时,分别输入ID信息中的用户名和口令;同时将该ID信息封装成上网请求信息,并向认证设备发送上网请求信息;When the client needs to access the Internet, it inputs the user name and password in the ID information respectively; at the same time, the ID information is packaged into an Internet access request information, and the Internet access request information is sent to the authentication device;
认证设备收到上网请求信息后,指示客户端将用户名发过来;After the authentication device receives the Internet access request information, it instructs the client to send the user name;
客户端发送用户名给认证设备,认证设备将接收的用户名转发给认证服务器;The client sends the username to the authentication device, and the authentication device forwards the received username to the authentication server;
认证服务器将接收的用户名和自身数据库中存储的用户名进行比对,找到对应该用户名的口令信息,并用随机生成的一个加密字对该口令信息进行加密处理,同时将该加密字通过认证设备传给客户端;The authentication server compares the received user name with the user name stored in its own database, finds the password information corresponding to the user name, and encrypts the password information with a randomly generated encrypted word, and at the same time passes the encrypted word through the authentication device. to the client;
客户端接收到该加密字后,用该加密字对口令进行加密处理后通过认证设备发送到认证服务器;After receiving the encrypted word, the client encrypts the password with the encrypted word and sends it to the authentication server through the authentication device;
认证服务器对接收的加密后的口令信息和其自己加密处理后的口令信息进行对比,如果相同,则认为该客户端是合法的,向认证设备发送认证成功报文;如果不相同,则认为该客户端是非法的,向认证设备发送认证失败报文;The authentication server compares the received encrypted password information with its own encrypted password information. If they are the same, the client is considered legitimate and sends an authentication success message to the authentication device; The client is illegal and sends an authentication failure message to the authentication device;
认证设备在接收到认证服务器发来的认证成功报文后,将提供服务端口设置为打开状态,允许客户端访问网络资源;否则,将提供服务端口设置为关闭状态,拒绝客户端访问网络资源。After receiving the successful authentication message from the authentication server, the authentication device sets the service port to open to allow the client to access network resources; otherwise, sets the service port to close to deny the client access to network resources.
步骤S5,认证服务器对该客户端的上网请求信息进行认证通过后,发送认证成功报文(EAP-Success)和中断空闲会话报文(Session-Timeout)给认证设备。In step S5, the authentication server sends an authentication success message (EAP-Success) and an idle session interruption message (Session-Timeout) to the authentication device after passing the authentication of the client's Internet access request information.
步骤S6,认证设备接收到认证成功报文(EAP-Success)后,将提供服务端口设置为打开状态,允许客户端访问网络资源;同时根据中断空闲会话报文(Session-Timeout)设置自身的定时规律。Step S6, after the authentication device receives the authentication success message (EAP-Success), it will provide the service port to be set to an open state, allowing the client to access network resources; at the same time, set its own timing according to the interrupt idle session message (Session-Timeout) law.
步骤S7,认证设备在客户端访问网络资源的后续时间,根据该客户端的上网属性实时计算该客户端访问网络资源的剩余时间值和剩余流量值,并根据访问网络资源的剩余时间值和剩余流量值生成相应的疲劳提醒信息,同时用这些生成的剩余时间值、剩余流量值和疲劳提醒信息等实时更新存储的该客户端的信使消息;因为用户通过客户端在不断访问网络资源的前提下,其对应的信使消息会随着用户使用网络资源的时间长度而不断的变化,所以需要根据客户端的上网属性信息不断实时更新存储的该客户端的信使消息,才能保证发送到客户端的相应时刻的信使消息是最为及时的。Step S7, the authentication device calculates the remaining time value and the remaining flow value of the client's access to the network resource in real time according to the client's Internet access attribute at the subsequent time when the client accesses the network resource, and calculates the remaining time value and the remaining flow rate of the client's access to the network resource according to the remaining time value of the client's access to the network resource. value to generate corresponding fatigue reminder information, and at the same time use the generated remaining time value, remaining flow value and fatigue reminder information to update the stored messenger message of the client in real time; because the user continuously accesses network resources through the client. The corresponding messenger message will change continuously with the length of time the user uses network resources, so it is necessary to continuously update the stored messenger message of the client in real time according to the client's Internet access attribute information, so as to ensure that the messenger message sent to the client at the corresponding moment is Most timely.
步骤S8,同时,认证设备根据步骤S6中设置的定时规律,在到达每一定时时刻时,将该时刻更新后的该客户端的信使消息发送给该客户端;即每一个定时时间到达时,都要将每个定时时刻更新后的该客户端的信使消息发送给该客户端一次。Step S8, at the same time, according to the timing rule set in step S6, when each timing time is reached, the authentication device sends the client's messenger message updated at this time to the client; that is, when each timing time arrives, The updated messenger message of the client should be sent to the client once at each timing moment.
步骤S9,用户每次通过该客户端接收到信使消息后,可以根据具体的情况,在每个定时时刻的信使消息的提醒下,安排后续的工作。Step S9, after receiving the messenger message through the client each time, the user can arrange follow-up work according to the specific situation, under the reminder of the messenger message at each timing moment.
其中认证设备中还可以进而存放针对所有客户端的公共信使消息,以在客户端的上网请求消息通过认证后,将存储的公共信使消息发送给客户端,其中所述的公共信使消息主要是一些网络维护信息和广告信息等。The authentication device can further store public messenger messages for all clients, so that after the client's Internet access request message is authenticated, the stored public messenger messages are sent to the clients. The public messenger messages are mainly some network maintenance messages. information and advertising information, etc.
参照图7,该图是本发明实现信使消息传送的方法中将公共信使消息存储在认证设备中,实现公共信使消息发送的过程示意图;其主要实现过程如下:With reference to Fig. 7, this figure is that in the method for realizing messenger message transmission of the present invention, public messenger message is stored in authentication device, realizes the process schematic diagram of sending of public messenger message; Its main implementation process is as follows:
步骤S10,将包括网络维护信息或广告信息等的公共信使消息存储在认证设备中;Step S10, storing public messenger messages including network maintenance information or advertisement information in the authentication device;
步骤S20,当某个客户端有上网需求时,发送包含该客户端ID信息的上网请求信息给认证设备;Step S20, when a certain client has a need to access the Internet, send the Internet access request information including the client ID information to the authentication device;
步骤S30,认证设备将接收的该客户端的上网请求信息转发给认证服务器;Step S30, the authentication device forwards the received Internet access request information of the client to the authentication server;
步骤S40,认证服务器对该客户端的上网请求信息进行认证;其主要认证过程同上述,这里不再赘述;Step S40, the authentication server authenticates the client's Internet access request information; the main authentication process is the same as above, and will not be repeated here;
步骤S50,认证服务器对该客户端的上网请求消息进行认证通过后,发送广播消息信令(Broadcast-Message)给认证设备,其中所述的广播消息信令(Broadcast-Message)是通过封装在标准报文Extended-RADIUS-Packet-Type中传送的;Step S50, after the authentication server authenticates the client's Internet access request message, it sends a broadcast message signaling (Broadcast-Message) to the authentication device, wherein the broadcast message signaling (Broadcast-Message) is encapsulated in a standard message transmitted in the file Extended-RADIUS-Packet-Type;
步骤S60,认证设备接收到广播消息信令(Broadcast-Message)后,响应该广播消息信令,将存储的公共信使消息发送给该客户端,从而完成公共信使消息的发送过程。In step S60, after receiving the broadcast message signaling (Broadcast-Message), the authentication device responds to the broadcast message signaling and sends the stored public messenger message to the client, thereby completing the sending process of the public messenger message.
接下来以将所述的信使消息和公共信使消息存储在认证服务器中,来说明本发明实现信使消息传送的方法在802.1X认证网络系统中的具体应用。参照图8,该图是在802.1X认证网络系统中,将信使消息存储在认证服务器中,实施本发明实现信使消息传送的方法的主要过程图;如图所示,其具体的实现过程如下:Next, the specific application of the method for realizing the transmission of the messenger message of the present invention in the 802.1X authentication network system is described by storing the above-mentioned messenger message and the public messenger message in the authentication server. With reference to Fig. 8, this figure is in 802.1X authentication network system, messenger message is stored in authentication server, implements the main process diagram of the method for realizing messenger message transmission of the present invention; As shown in the figure, its specific implementation process is as follows:
步骤S100,将针对每个客户端的信使消息存储在认证服务器中,同时由网管人员在认证服务器中设置一个定时规律;Step S100, store the messenger message for each client in the authentication server, and set a timing rule in the authentication server by the network administrator;
步骤S110,当客户端有上网需求时,发送包含自身ID消息的上网请求信息给认证设备;Step S110, when the client needs to access the Internet, send the Internet access request information including its own ID message to the authentication device;
步骤S120,认证设备将接收到的客户端发来的上网请求信息转发给认证服务器;Step S120, the authentication device forwards the received Internet access request information sent by the client to the authentication server;
步骤S130,认证服务器对接收到的上网请求信息进行认证,其主要认证过程同上述,这里不再赘述;Step S130, the authentication server authenticates the received Internet access request information, the main authentication process is the same as above, and will not be repeated here;
步骤S140,认证服务器对该客户端的上网请求信息进行认证通过后,发送认证成功报文(EAP-Success)给认证设备;Step S140, the authentication server sends an authentication success message (EAP-Success) to the authentication device after the client's Internet access request information is authenticated;
步骤S150,认证设备接收到认证成功报文(EAP-Success)后,将提供服务端口设置为打开状态,允许客户端访问网络资源;Step S150, after the authentication device receives the authentication success message (EAP-Success), it sets the service port as open, allowing the client to access network resources;
步骤S160,认证服务器在客户端访问网络资源的后续时间,根据该客户端的上网属性实时计算该客户端访问网络资源的剩余时间值和剩余流量值,并根据访问网络资源的剩余时间值和剩余流量值生成相应的疲劳提醒信息,同时用这些生成的剩余时间值、剩余流量值和疲劳提醒信息等实时更新存储的该客户端的信使消息;Step S160, the authentication server calculates the remaining time value and remaining flow value of the client's access to network resources in real time according to the client's Internet access attributes at the subsequent time when the client accesses network resources, and calculates the remaining time value and remaining flow value of the client's access to network resources according to the remaining time value of accessing network resources and remaining flow value to generate corresponding fatigue reminder information, and use the generated remaining time value, remaining flow value and fatigue reminder information to update the stored messenger message of the client in real time;
步骤S170,认证服务器根据预先设置的定时规律,在到达每一定时时刻时,将该时刻更新后的该客户端的信使消息发送给该客户端;即每一个定时时间到达时,都要将每个定时时刻更新后的该客户端的信使消息发送给该客户端一次。Step S170, the authentication server sends the client's messenger message updated at each timing time to the client according to the preset timing rules; that is, when each timing time arrives, each The messenger message of the client after the timing update is sent to the client once.
步骤S180,用户每次通过该客户端接收到信使消息后,可以根据具体的情况,在每个定时时刻的信使消息的提醒下,安排后续的工作。In step S180, after each time the user receives a messenger message through the client, the user can arrange follow-up work according to the specific situation, under the reminder of the messenger message at each timing moment.
同理,认证服务器中还可以进而存放针对所有客户端的公共信使消息,以在客户端的上网请求消息通过认证后,将存储的公共信使消息发送给客户端。Similarly, the authentication server can further store public messenger messages for all clients, so that the stored public messenger messages can be sent to the clients after the client's Internet access request message is authenticated.
参照图9,该图是本发明实现信使消息传送的方法中将公共信使消息存储在认证服务器中,实现公共信使消息发送的过程示意图;其主要实现过程如下:Referring to Fig. 9, this figure is a schematic diagram of the process of storing the public courier message in the authentication server to realize the sending of the public courier message in the method for transmitting the courier message in the present invention; its main implementation process is as follows:
步骤S200,将公共信使消息存储在认证服务器中;Step S200, storing the public messenger message in the authentication server;
步骤S210,当某个客户端有上网需求时,发送包含该客户端ID信息的上网请求信息给认证设备;Step S210, when a certain client has a need to access the Internet, send the Internet access request information including the client ID information to the authentication device;
步骤S220,认证设备将接收的该客户端的上网请求信息转发给认证服务器;Step S220, the authentication device forwards the received Internet access request information of the client to the authentication server;
步骤S230,认证服务器对该客户端的上网请求信息进行认证;其主要认证过程也同上述,这里不再赘述;Step S230, the authentication server authenticates the client's Internet access request information; the main authentication process is also the same as above, and will not be repeated here;
步骤S240,认证服务器对该客户端的上网请求消息进行认证通过后,发送广播消息信令(Broadcast-Message)和存储的公共信使消息给认证设备,其中所述的广播消息信令(Broadcast-Message)是通过封装在标准报文Extended-RADIUS-Packet-Type中传送的;Step S240, after the authentication server authenticates the client's Internet access request message, it sends the broadcast message signaling (Broadcast-Message) and the stored public messenger message to the authentication device, wherein the broadcast message signaling (Broadcast-Message) It is transmitted by encapsulating in the standard message Extended-RADIUS-Packet-Type;
步骤S250,认证设备接收到广播消息信令(Broadcast-Message)后,响应该广播消息信令,将接收到的公共信使消息发送给该客户端,从而完成公共信使消息的发送过程。In step S250, after receiving the broadcast message signaling (Broadcast-Message), the authentication device responds to the broadcast message signaling and sends the received public messenger message to the client, thereby completing the sending process of the public messenger message.
上述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be regarded as protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100031326A CN100396060C (en) | 2004-02-06 | 2004-02-06 | Methods to Implement Messenger Message Delivery |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100031326A CN100396060C (en) | 2004-02-06 | 2004-02-06 | Methods to Implement Messenger Message Delivery |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1652529A CN1652529A (en) | 2005-08-10 |
CN100396060C true CN100396060C (en) | 2008-06-18 |
Family
ID=34867539
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100031326A Expired - Fee Related CN100396060C (en) | 2004-02-06 | 2004-02-06 | Methods to Implement Messenger Message Delivery |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100396060C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105338517B (en) * | 2014-06-26 | 2019-06-11 | 华为技术有限公司 | Method, mobile broadband device and host for sending a message |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001086469A1 (en) * | 2000-05-12 | 2001-11-15 | Chikka Pte Ltd | Method and system for inviting and creating accounts for prospective users of an instant messaging system |
WO2002077840A1 (en) * | 2001-03-26 | 2002-10-03 | Tencent (Bvi) Limited | Instant messaging system and method |
WO2002093959A1 (en) * | 2001-05-11 | 2002-11-21 | Nokia Corporation | Mobile instant messaging and presence service |
WO2003058464A1 (en) * | 2001-12-28 | 2003-07-17 | Simdesk Technologies, Inc | Instant messaging system |
-
2004
- 2004-02-06 CN CNB2004100031326A patent/CN100396060C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001086469A1 (en) * | 2000-05-12 | 2001-11-15 | Chikka Pte Ltd | Method and system for inviting and creating accounts for prospective users of an instant messaging system |
WO2002077840A1 (en) * | 2001-03-26 | 2002-10-03 | Tencent (Bvi) Limited | Instant messaging system and method |
WO2002093959A1 (en) * | 2001-05-11 | 2002-11-21 | Nokia Corporation | Mobile instant messaging and presence service |
WO2003058464A1 (en) * | 2001-12-28 | 2003-07-17 | Simdesk Technologies, Inc | Instant messaging system |
Also Published As
Publication number | Publication date |
---|---|
CN1652529A (en) | 2005-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111799867B (en) | Mutual trust authentication method and system between charging equipment and charging management platform | |
US10237732B2 (en) | Mobile device authentication in heterogeneous communication networks scenario | |
Simpson | PPP challenge handshake authentication protocol (CHAP) | |
EP2566204B1 (en) | Authentication method and device, authentication centre and system | |
US6377691B1 (en) | Challenge-response authentication and key exchange for a connectionless security protocol | |
JP4728258B2 (en) | Method and system for managing access authentication for a user in a local management domain when the user connects to an IP network | |
CN103188207B (en) | A cross-domain single sign-on implementation method and system | |
US11265167B2 (en) | Methods and systems for network security using a cryptographic firewall | |
US20080160959A1 (en) | Method for Roaming User to Establish Security Association With Visited Network Application Server | |
CN107708112A (en) | A kind of encryption method suitable for MQTT SN agreements | |
US10873497B2 (en) | Systems and methods for maintaining communication links | |
CN1647451B (en) | Apparatus, method and system for monitoring information in a network environment | |
JPH11355266A (en) | Device and method for user authentication | |
CN109936515B (en) | Access configuration method, information providing method and device | |
WO2016109609A1 (en) | System and method for providing authenticated communications from a remote device to a local device | |
US9143482B1 (en) | Tokenized authentication across wireless communication networks | |
ES2366649T3 (en) | METHOD AND DEVICE FOR PRACTICE OF AUTHENTICATION OF DOMAIN AND PRIVILEGE OF NETWORK ACCESS. | |
CN107733660A (en) | A kind of password method for retrieving | |
JP3770173B2 (en) | Common key management system and common key management method | |
CN100396060C (en) | Methods to Implement Messenger Message Delivery | |
CN102790712B (en) | Web service security treatment method and system | |
CN114531234B (en) | Distributed system and equipment registration and verification method thereof | |
CN103297239B (en) | A kind of client side detection method and device | |
CN114172742A (en) | Hierarchical authentication method of power Internet of things terminal equipment based on node map and edge authentication | |
CN107395764B (en) | Method and system for data exchange between devices in different data domains |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080618 |