CN113067710A - Online user query method and device, computer equipment and storage medium - Google Patents

Online user query method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113067710A
CN113067710A CN202110287144.XA CN202110287144A CN113067710A CN 113067710 A CN113067710 A CN 113067710A CN 202110287144 A CN202110287144 A CN 202110287144A CN 113067710 A CN113067710 A CN 113067710A
Authority
CN
China
Prior art keywords
user
online
message
state
offline
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.)
Pending
Application number
CN202110287144.XA
Other languages
Chinese (zh)
Inventor
李守强
田野
梁彧
傅强
王杰
杨满智
蔡琳
金红
陈晓光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eversec Beijing Technology Co Ltd
Original Assignee
Eversec Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Eversec Beijing Technology Co Ltd filed Critical Eversec Beijing Technology Co Ltd
Priority to CN202110287144.XA priority Critical patent/CN113067710A/en
Publication of CN113067710A publication Critical patent/CN113067710A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/141Indication of costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Abstract

The invention discloses an online user query method, an online user query device, computer equipment and a storage medium, wherein the method comprises the following steps: collecting a charging request sent by a network access server to a remote user dialing authentication service server; determining a target form according to the charging request, wherein the target form is used for recording the online and offline states of the user; responding to an online state query request sent by a client, and determining the online and offline states of a user according to a target table; and sending a feedback message to the client according to the up-down line state. The invention can collect the charging request between the network access server and the remote user dialing authentication service server, wherein the charging request comprises the on-line and off-line states of the user. When the client sends the online state query request, the query result is fed back to the client according to the user information recorded in the target table, and the function of querying the online and offline states of the user is provided for the client. Further, the method is beneficial to further analysis of deep packet inspection and optimization of analysis results.

Description

Online user query method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the information processing technology in the field of communication, in particular to an online user query method, an online user query device, computer equipment and a storage medium.
Background
With the continuous development of fixed network broadband services, operators and supervision departments use Deep Packet Inspection (DPI) probe technology to analyze data, which is of great significance.
However, the above probe technology analysis process can only analyze the data of the user, and cannot acquire the online state of the user in real time, which results in poor analysis effect. How to acquire the online state of the user becomes a problem to be solved urgently.
Disclosure of Invention
The invention provides an online user query method, an online user query device, computer equipment and a storage medium, which are used for realizing the query of the online state of a user.
In a first aspect, an embodiment of the present invention provides an online user query method, including:
collecting a charging request sent by a network access server to a remote user dialing authentication service server;
determining a target form according to the charging request, wherein the target form is used for recording the online and offline states of the user;
responding to an online state query request sent by a client, and determining the online and offline states of a user according to a target table;
and sending a feedback message to the client according to the up-down line state.
In a second aspect, an embodiment of the present invention further provides an online user query apparatus, including:
the charging request acquisition module is used for acquiring a charging request sent by the network access server to the remote user dialing authentication service server;
the online state recording module is used for determining a target form according to the charging request, and the target form is used for recording the online and offline states of the user;
the query request response module is used for responding to an online state query request sent by the client and determining the online and offline states of the user according to the target table;
and the query result feedback module is used for sending feedback information to the client according to the online and offline states.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the online user query method according to the embodiment of the present application.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the online user query method according to the embodiment of the present application.
The online user query method provided by the embodiment of the invention collects a charging request sent by a network access server to a remote user dialing authentication service server; determining a target form according to the charging request, wherein the target form is used for recording the online and offline states of the user; responding to an online state query request sent by a client, and determining the online and offline states of a user according to a target table; and sending a feedback message to the client according to the up-down line state. Compared with the situation that the online state of the user cannot be obtained at present, the embodiment of the invention can collect the charging request between the network access server and the remote user dialing authentication service server, wherein the charging request comprises the online and offline state of the user, the target form can be determined according to the online and offline state of the user in the charging request, and the target form records the information of the current online user. When the client sends the online state query request, the online and offline state of the user queried by the online state query request is judged according to the user information recorded in the target table, and the query result is fed back to the client, so that the online and offline state of the user is acquired, and the function of querying the online and offline state of the user is provided for the client. Further, the method is beneficial to further analysis of deep packet inspection and optimization of analysis results.
Drawings
FIG. 1 is a system architecture diagram applicable to an online user query method in accordance with a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating an online user query method according to a first embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an online user query device according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a system architecture diagram applicable to the online User query method according to an embodiment of the present invention, and includes a Network Access Server 110 (NAS), a Remote Authentication Dial In User Service (RADIUS) Server 120, a computer device 130, and a client 140. Wherein, the user dials up or down through the network access server 110. After receiving the dialing request of the user, the network access server 110 sends a message to the remote user dialing authentication service server 120 to perform operations such as authentication charging. The computer device 130 is configured to collect a charging request sent by the network access server 110 to the remote user dial-up authentication service server 120, obtain a top-bottom line state of the user based on the charging request, and generate a target table. The client 140 queries the user for the online and offline status by sending an online status query request to the computer device 130. The computer device 130 feeds back the online and offline status of the user of the query to the client 140 according to the target table.
Fig. 2 is a flowchart of an online user query method according to an embodiment of the present invention, where the present embodiment is applicable to a situation where an online status of a user in the internet is obtained, and the method may be executed by a computer device, and the computer device may be a server or a personal computer. The method specifically comprises the following steps:
step 210, collect the charging request sent by the network access server to the remote user dial-up authentication service server.
In the user authentication process of the remote user dial-up authentication service, the network access server NAS sends an authentication request to the RADIUS server, and the authentication request carries account information, such as a user name and a password. And the RADIUS server authenticates the user according to the user name and the password. And if the user passes the authentication, sending an authentication reply to the network access server NAS. And after receiving the authentication reply and confirming that the authentication is passed, the network access server NAS sends an accounting request to the RADIUS server. The parameters carried in the charging request include: account information of the user, an internet address (IP) address of the user, a mapped public network address, a starting port, an ending port, an online state and a offline state and the like.
Illustratively, step 210 may be implemented by:
and step 211, collecting a message sent by the network access server to the remote user dialing authentication service server.
There are many types of messages between the network access server and the remote user dial-up authentication service server, and different protocols use different types of messages. The message can be acquired in a transmission channel between the network access server and the remote user dialing authentication service server.
And step 212, judging whether the message is a message of a remote user dialing authentication service protocol according to the accessed port of the message.
The remote subscriber dial-up authentication service server port may provide for the transmission of certain protocol messages. The port configured to receive the message of the remote authentication dial in user protocol (also called RADIUS protocol) can be obtained by the remote authentication dial in user service server, and the port identification of the port is obtained.
If the message sent by the network access server is used to access the port indicated by the port identifier, the message is a remote user dial-up authentication service protocol message, and step 213 is executed. If the message sent by the network access server is used for the access port not being the port marked by the port identification, the message is not the message of the remote user dialing authentication service protocol, and the step 211 is returned to be executed.
Step 213, if the message is the message of the remote user dialing authentication service protocol, analyzing the message according to the remote user dialing authentication service protocol to obtain the message type of the message.
According to the message structure of the message, the message of the remote user dialing authentication service protocol can be analyzed, and the message type in the message is obtained.
Step 214, if the message type is the charging request type, the message is obtained as the charging request.
Illustratively, the remote user dialing authentication service protocol specifies that the message 0-7bit is used for indicating the message type, and if the message type (code) is "1", the message type is an access request message. If the message type (code) is "2", it indicates that the message type is an access success response message. If the message type (code) is "3", it indicates that the message type is an access failure response message. If the message type (code) is "4", it represents a charging request message. If the message type (code) is "5", it represents a charging response message. Therefore, if the message type in the message is identified to be "4", the message is represented as the charging request type, and the message is acquired as the charging request.
The communication protocol of message adaptation can be accurately obtained through the port number, if the communication protocol of message adaptation is the RADIUS protocol, the RADIUS protocol is used for analyzing the message, whether the message type carried in the message is the charging Request type is further judged, and the charging-Request (Accounting-Request) is accurately identified.
And step 220, determining a target form according to the charging request, wherein the target form is used for recording the online and offline states of the user.
And acquiring the online and offline state of the user from the charging request, and correcting the target table according to the online and offline state.
Illustratively, step 220 may be implemented by:
and 221, acquiring user information according to the charging request, wherein the user information comprises account information, an internet protocol address allocated by the user or a vertical state.
The length of the field containing the attribute field (AVPs field) is variable in the specification of the remote user dialing authentication service protocol to the message. The attribute field is used to record user information. The User information comprises account information including a User Name and a Password, and an internet protocol Address (frame-IP-Address) allocated by the User is a network Address of the User.
Step 222, determining identification information according to the user information.
And using a parameter which can uniquely identify the user as identification information from the user information.
Optionally, the internet protocol address allocated by the user in the user information is used as the identification information of the user.
The internet protocol Address (frame-IP-Address) assigned by the user may be used as the identification information.
And step 223, recording the online and offline states of the user in the target table by taking the identification information as an index.
And after the identification information is determined, storing the user information by taking the identification information as an index. The user information includes the online and offline status of the user.
Optionally, if the online and offline state in the charging request is an online state, adding a record corresponding to the identification information in the target table; if the online and offline state in the charging request is the offline state, deleting the record corresponding to the identification information in the target table; and if the charging request contains the updated parameters, updating the parameters in the record corresponding to the identification information in the target table.
And if the up-down line state is the on-line state, adding a record in the target table, wherein the record is used for recording the user information. The record is indexed by identification information in the user information. And if the online and offline state is the offline state, the user is converted from the online state to the offline state. The users in the online state are recorded in the target table, and the corresponding records of the users can be determined through the indexes. And if the up-down state is the down-line state, deleting the record. In addition, the charging request may also carry updated parameters, such as an updated internet address, an updated port number, or an updated user name. At this time, the record is determined according to the identification information, and the parameters in the record are updated.
Through the collection for a period of time, the record of the current online user is recorded in the target table.
Step 230, in response to the online status query request sent by the client, determining the online and offline status of the user according to the target table.
Clients may be installed in operators and regulatory bodies for initiating online status query requests to computer devices. The online status query request is used for querying whether a certain user is online. After receiving the online state query request sent by the client, the computer device queries whether the online state query request exists in the target table or not and the user identifier carried in the online state query request, and further determines the online and offline states of the user.
Illustratively, step 230 may be implemented by:
step 231, start the server of Hypertext Transfer Protocol (HTTP).
And starting a server supporting the hypertext transfer protocol, wherein the server can receive the online state query request sent by the client through the hypertext transfer protocol. The server is run in a computer device. The type of the online state query request is a message of a hypertext transfer protocol.
Step 232, receiving an online status query request sent by the client.
The client can send the online state query request to the server through a POST mode in the hypertext transfer protocol. And the server analyzes the uploading parameters in the XML format in the online state query request, and the uploading parameters record the user identification to be queried.
Step 233, if the online status query request is received, determining the online and offline status of the user according to the target table.
In one implementation, the presence query request carries the user identifier to be queried. Accordingly, step 233 may be implemented by: judging whether the target table contains a user identifier to be inquired; if the target table contains the user identification to be inquired, determining that the online and offline state of the user is an online state; and if the target table does not contain the user identification to be inquired, determining that the online and offline state of the user is the offline state.
And if the target identifier exists in the target table, determining that the online and offline state of the user is the online state. And if the target identifier does not exist in the target table, determining that the online and offline state of the user is the offline state.
And 240, sending a feedback message to the client according to the online and offline states.
The online user query method provided by the embodiment of the invention collects a charging request sent by a network access server to a remote user dialing authentication service server; determining a target form according to the charging request, wherein the target form is used for recording the online and offline states of the user; responding to an online state query request sent by a client, and determining the online and offline states of a user according to a target table; and sending a feedback message to the client according to the up-down line state. Compared with the situation that the online state of the user cannot be obtained at present, the embodiment of the invention can collect the charging request between the network access server and the remote user dialing authentication service server, wherein the charging request comprises the online and offline state of the user, the target form can be determined according to the online and offline state of the user in the charging request, and the target form records the information of the current online user. When the client sends the online state query request, the online and offline state of the user queried by the online state query request is judged according to the user information recorded in the target table, and the query result is fed back to the client, so that the online and offline state of the user is acquired, and the function of querying the online and offline state of the user is provided for the client. Further, the method is beneficial to further analysis of deep packet inspection and optimization of analysis results.
Example two
Fig. 3 is a schematic structural diagram of an online user query device according to a second embodiment of the present invention, where the present embodiment is applicable to a situation of obtaining an online status of a user in the internet, and the device may be executed by a computer device, and the computer device may be a server or a personal computer. The device specifically includes: a charging request collection module 310, an online status recording module 320, a query request response module 330, and a query result feedback module 340.
A charging request collection module 310, configured to collect a charging request sent by a network access server to a remote user dial-up authentication service server;
the online state recording module 320 is configured to determine a target table according to the charging request, where the target table is used to record an online and offline state of the user;
the query request response module 330 is configured to respond to an online status query request sent by a client, and determine an online status and an offline status of a user according to a target table;
and the query result feedback module 340 is configured to send a feedback message to the client according to the online and offline states.
On the basis of the foregoing embodiment, the charging request collecting module 310 is configured to:
collecting a message sent by a network access server to a remote user dialing authentication service server;
judging whether the message is a message of a remote user dialing authentication service protocol or not according to the port accessed by the message;
if the message is the message of the remote user dialing authentication service protocol, analyzing the message according to the remote user dialing authentication service protocol to acquire the message type of the message;
and if the message type is the charging request type, acquiring the message as the charging request.
On the basis of the above embodiment, the online status recording module 320 is configured to:
acquiring user information according to the charging request, wherein the user information comprises account information, an internet protocol address or an up-down line state distributed by a user;
determining identification information according to the user information;
and in the target table, the identification information is used as an index to record the online and offline states of the user respectively.
On the basis of the above embodiment, the online status recording module 320 is configured to:
and taking the internet protocol address allocated by the user in the user information as the identification information of the user.
On the basis of the above embodiment, the online status recording module 320 is configured to:
if the online and offline state in the charging request is the online state, adding a record corresponding to the identification information in the target table;
if the online and offline state in the charging request is the offline state, deleting the record corresponding to the identification information in the target table;
and if the charging request contains the updated parameters, updating the parameters in the record corresponding to the identification information in the target table.
On the basis of the above embodiment, determining the online and offline status of the user according to the target table in response to the online status query request sent by the client includes:
starting a server side of a hypertext transfer protocol;
receiving an online state query request sent by a client;
and if the online state query request is received, determining the online and offline states of the user according to the target table.
On the basis of the above embodiment, the online status query request carries the user identifier to be queried, and the query result feedback module 340 is configured to:
judging whether the target table contains a user identifier to be inquired;
if the target table contains the user identification to be inquired, determining that the online and offline state of the user is an online state;
and if the target table does not contain the user identification to be inquired, determining that the online and offline state of the user is the offline state.
In the online user query device provided in the embodiment of the present invention, the charging request collection module 310 collects a charging request sent by the network access server to the remote user dial authentication service server; the online state recording module 320 determines a target table according to the charging request, wherein the target table is used for recording the online and offline states of the user; the query request response module 330 responds to the online status query request sent by the client, and determines the online and offline status of the user according to the target table; the query result feedback module 340 sends a feedback message to the client according to the online and offline status. Compared with the situation that the online state of the user cannot be obtained at present, the embodiment of the invention can collect the charging request between the network access server and the remote user dialing authentication service server, wherein the charging request comprises the online and offline state of the user, the target form can be determined according to the online and offline state of the user in the charging request, and the target form records the information of the current online user. When the client sends the online state query request, the online and offline state of the user queried by the online state query request is judged according to the user information recorded in the target table, and the query result is fed back to the client, so that the online and offline state of the user is acquired, and the function of querying the online and offline state of the user is provided for the client. Further, the method is beneficial to further analysis of deep packet inspection and optimization of analysis results.
The online user query device provided by the embodiment of the invention can execute the online user query method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a computer apparatus according to a third embodiment of the present invention, as shown in fig. 4, the computer apparatus includes a processor 40, a memory 41, an input device 42, and an output device 43; the number of processors 40 in the computer device may be one or more, and one processor 40 is taken as an example in fig. 4; the processor 40, the memory 41, the input device 42 and the output device 43 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 4.
The memory 41 serves as a computer-readable storage medium, and may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the online user query method in the embodiment of the present invention (for example, the charging request collection module 310, the online status recording module 320, the query request response module 330, and the query result feedback module 340 in the online user query device). The processor 40 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 41, that is, implements the above-described online user query method.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to a computer device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 42 is operable to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the computer apparatus. The output device 43 may include a display device such as a display screen.
Example four
A fourth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for online user query, the method including:
collecting a charging request sent by a network access server to a remote user dialing authentication service server;
determining a target form according to the charging request, wherein the target form is used for recording the online and offline states of the user;
responding to an online state query request sent by a client, and determining the online and offline states of a user according to a target table;
and sending a feedback message to the client according to the up-down line state.
On the basis of the above embodiment, the collecting of the charging request sent by the network access server to the remote user dial-up authentication service server includes:
collecting a message sent by a network access server to a remote user dialing authentication service server;
judging whether the message is a message of a remote user dialing authentication service protocol or not according to the port accessed by the message;
if the message is the message of the remote user dialing authentication service protocol, analyzing the message according to the remote user dialing authentication service protocol to acquire the message type of the message;
and if the message type is the charging request type, acquiring the message as the charging request.
On the basis of the above embodiment, determining the target table according to the charging request includes:
acquiring user information according to the charging request, wherein the user information comprises account information, an internet protocol address or an up-down line state distributed by a user;
determining identification information according to the user information;
and in the target table, the identification information is used as an index to record the online and offline states of the user respectively.
On the basis of the above embodiment, determining the identification information according to the user information includes:
and taking the internet protocol address allocated by the user in the user information as the identification information of the user.
On the basis of the above embodiment, in the target table, with the identification information as an index, the top and bottom line states of the user are respectively recorded, including:
if the online and offline state in the charging request is the online state, adding a record corresponding to the identification information in the target table;
if the online and offline state in the charging request is the offline state, deleting the record corresponding to the identification information in the target table;
and if the charging request contains the updated parameters, updating the parameters in the record corresponding to the identification information in the target table.
On the basis of the above embodiment, determining the online and offline status of the user according to the target table in response to the online status query request sent by the client includes:
starting a server side of a hypertext transfer protocol;
receiving an online state query request sent by a client;
and if the online state query request is received, determining the online and offline states of the user according to the target table.
On the basis of the above embodiment, the determining, by the online status query request, the online status of the user according to the target table, where the online status query request carries the user identifier to be queried, includes:
judging whether the target table contains a user identifier to be inquired;
if the target table contains the user identification to be inquired, determining that the online and offline state of the user is an online state;
and if the target table does not contain the user identification to be inquired, determining that the online and offline state of the user is the offline state.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the above method operations, and may also perform related operations in the online user query method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An online user query method, comprising:
collecting a charging request sent by a network access server to a remote user dialing authentication service server;
determining a target form according to the charging request, wherein the target form is used for recording the online and offline states of the user;
responding to an online state query request sent by a client, and determining the online and offline states of a user according to the target table;
and sending a feedback message to the client according to the up-down line state.
2. The method of claim 1, wherein collecting the charging request sent by the network access server to the remote user dial-up authentication service server comprises:
collecting a message sent by a network access server to a remote user dialing authentication service server;
judging whether the message is a message of a remote user dialing authentication service protocol or not according to a port accessed by the message;
if the message is the message of the remote user dialing authentication service protocol, analyzing the message according to the remote user dialing authentication service protocol to obtain the message type of the message;
and if the message type is the charging request type, acquiring the message as the charging request.
3. The method of claim 1, wherein determining a target table based on the charging request comprises:
acquiring user information according to the charging request, wherein the user information comprises account information, an internet protocol address or an up-down line state distributed by a user;
determining identification information according to the user information;
and in the target table, the identification information is used as an index to record the online and offline states of the user respectively.
4. The method of claim 3, wherein determining identification information based on user information comprises:
and taking the internet protocol address distributed by the user in the user information as the identification information of the user.
5. The method according to claim 3, wherein the recording of the user's upper and lower line states in the target table with the identification information as an index comprises:
if the online and offline state in the charging request is the online state, adding a record corresponding to the identification information in the target table;
if the online and offline state in the charging request is the offline state, deleting the record corresponding to the identification information in the target table;
and if the charging request contains the updated parameters, updating the parameters in the record corresponding to the identification information in the target table.
6. The method according to claim 1, wherein the determining the online and offline status of the user according to the target table in response to the online status query request sent by the client comprises:
starting a server side of a hypertext transfer protocol;
receiving an online state query request sent by a client;
and if the online state query request is received, determining the online and offline state of the user according to the target table.
7. The method according to claim 6, wherein the online status query request carries a user identifier to be queried, and accordingly, the determining the online and offline status of the user according to the target table includes:
judging whether the target table contains the user identification to be inquired;
if the target table contains the user identification to be inquired, determining that the online and offline state of the user is an online state;
and if the target table does not contain the user identification to be inquired, determining that the online and offline state of the user is the offline state.
8. An online user query device, comprising:
the charging request acquisition module is used for acquiring a charging request sent by the network access server to the remote user dialing authentication service server;
the online state recording module is used for determining a target form according to the charging request, and the target form is used for recording the online and offline states of the user;
the query request response module is used for responding to an online state query request sent by a client and determining the online and offline states of a user according to the target table;
and the query result feedback module is used for sending a feedback message to the client according to the online and offline states.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the online user query method of any one of claims 1 to 7 when executing the program.
10. A storage medium containing computer-executable instructions for performing the online user query method of any of claims 1-7 when executed by a computer processor.
CN202110287144.XA 2021-03-17 2021-03-17 Online user query method and device, computer equipment and storage medium Pending CN113067710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110287144.XA CN113067710A (en) 2021-03-17 2021-03-17 Online user query method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110287144.XA CN113067710A (en) 2021-03-17 2021-03-17 Online user query method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113067710A true CN113067710A (en) 2021-07-02

Family

ID=76561095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110287144.XA Pending CN113067710A (en) 2021-03-17 2021-03-17 Online user query method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113067710A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070881A (en) * 2021-11-11 2022-02-18 北京天融信网络安全技术有限公司 Terminal control method, device, equipment and storage medium
CN115442256A (en) * 2022-08-05 2022-12-06 武汉思普崚技术有限公司 Method and related equipment for monitoring stability test of online and offline of user

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490935A (en) * 2013-09-30 2014-01-01 华为技术有限公司 User conversation monitoring method and device
CN104980292A (en) * 2014-04-02 2015-10-14 中国电信股份有限公司 User online information management method and system
US20170041439A1 (en) * 2005-11-18 2017-02-09 Adobe Systems Incorporated Facilitating the operation of a client/server application while a client is offline or online
CN112187481A (en) * 2019-07-05 2021-01-05 中国电信股份有限公司 User online record management method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170041439A1 (en) * 2005-11-18 2017-02-09 Adobe Systems Incorporated Facilitating the operation of a client/server application while a client is offline or online
CN103490935A (en) * 2013-09-30 2014-01-01 华为技术有限公司 User conversation monitoring method and device
CN104980292A (en) * 2014-04-02 2015-10-14 中国电信股份有限公司 User online information management method and system
CN112187481A (en) * 2019-07-05 2021-01-05 中国电信股份有限公司 User online record management method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114070881A (en) * 2021-11-11 2022-02-18 北京天融信网络安全技术有限公司 Terminal control method, device, equipment and storage medium
CN115442256A (en) * 2022-08-05 2022-12-06 武汉思普崚技术有限公司 Method and related equipment for monitoring stability test of online and offline of user
CN115442256B (en) * 2022-08-05 2023-08-29 武汉思普崚技术有限公司 Method for monitoring stability test of user online and offline and related equipment

Similar Documents

Publication Publication Date Title
US11184411B2 (en) Communication terminal, communication system, log data transmission method, and non-transitory computer-readable medium
CN113067710A (en) Online user query method and device, computer equipment and storage medium
CN110661670A (en) Network equipment configuration management method and device
CN107094088A (en) A kind of loiter network device identification method, device and system
CN111427613A (en) Application program interface API management method and device
KR101395830B1 (en) Session checking system via proxy and checkhing method thereof
CN113300879A (en) Method, system and computer readable medium for zero configuration opening of equipment
CN113067802A (en) User identification method, device, equipment and computer readable storage medium
JP5822748B2 (en) Information processing system and information processing method
CN115665259A (en) Encrypted HTTP request acquisition device, system and method
CN112838933B (en) Information synchronization method, equipment and storage medium in network traffic analysis
CN111865790B (en) Method and device for collecting router information, internet of things equipment and Internet of things system
CN111026637B (en) Method and device for positioning problem code
CN211630177U (en) Equipment data acquisition system
CN109684158B (en) State monitoring method, device, equipment and storage medium of distributed coordination system
CN113014456A (en) Monitoring data transmission system, method, device, equipment and storage medium
CN114745419B (en) Method, device, equipment and storage medium for acquiring terminal MAC address
CN114915576B (en) Method and system for identifying terminal equipment at router
CN112866140B (en) Service matching method, gateway management platform, gateway equipment and server
CN112436993B (en) VPN private line discovery method and device based on configuration file analysis
CN113691423B (en) Drawing method and device of data flow path, storage medium and electronic equipment
JP5312124B2 (en) Network management method and system, and network management system program
CN106936938A (en) Domain name analytic method and system
CN109995698B (en) Asset equipment authentication method, device and system
JP4483286B2 (en) Information collection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210702

RJ01 Rejection of invention patent application after publication