CN113377605A - Access monitoring method, device, server and computer readable storage medium - Google Patents

Access monitoring method, device, server and computer readable storage medium Download PDF

Info

Publication number
CN113377605A
CN113377605A CN202110185278.0A CN202110185278A CN113377605A CN 113377605 A CN113377605 A CN 113377605A CN 202110185278 A CN202110185278 A CN 202110185278A CN 113377605 A CN113377605 A CN 113377605A
Authority
CN
China
Prior art keywords
information
target
query request
access
event
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
CN202110185278.0A
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.)
Beijing SoundAI Technology Co Ltd
Original Assignee
Beijing SoundAI 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 Beijing SoundAI Technology Co Ltd filed Critical Beijing SoundAI Technology Co Ltd
Priority to CN202110185278.0A priority Critical patent/CN113377605A/en
Publication of CN113377605A publication Critical patent/CN113377605A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The application provides an access monitoring method, an access monitoring device, a server and a computer readable storage medium, and belongs to the technical field of computers. When a medical and health event occurs, a health state query request which is sent by target applets included in different application programs and used for requesting to query health states related to the occurring medical and health event is received to determine the access amount corresponding to each source information, so that according to the access amount corresponding to each source information, when the access amount corresponding to any source information does not meet a first target condition, alarm information is generated to alarm the abnormal access of the target applets in the application programs corresponding to any source information, the monitoring of the access condition is realized, the abnormal access condition is timely processed, and the normal access of the target applets in each application program is ensured.

Description

Access monitoring method, device, server and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an access monitoring method, an access monitoring apparatus, a server, and a computer-readable storage medium.
Background
In recent years, large-scale medical and health events occur frequently, and great threat is brought to the life safety of people. In the process of dealing with the medical and health events, people can inquire the health state related to the epidemic prevention of themselves and other people through small programs related to the medical and health events in a plurality of application programs, such as health and health treasures, and the health state obtained through inquiry is used as a certificate for the scenes that people recover from work and reproduce or come in and go out of public places and the like.
However, in the process of using such an applet, a series of reasons such as defects of the applet platform itself and the applet version in a specific scene easily occur, which cause the applet to be abnormal and unable to be used normally.
Disclosure of Invention
The embodiment of the application provides an access monitoring method, an access monitoring device, a server and a computer readable storage medium, which can monitor the access condition of a target applet used in a medical and health event and ensure the normal access of the target applet in each application program. The technical scheme provided by the application is as follows:
in one aspect, an access monitoring method is provided, and the method includes:
receiving a health state query request sent by a target small program, wherein the health state query request is used for requesting to query the health state related to a medical and health event, the health state query request carries source information, and the source information is used for indicating an application program to which the target small program which sends the health state query request belongs;
acquiring the access amount corresponding to each source information according to the source information of each health state query request;
and if the access amount corresponding to any source information in the access amounts corresponding to each source information does not meet the first target condition, generating alarm information, wherein the alarm information is used for indicating that the target applet in the application program corresponding to any source information is abnormal.
In a possible implementation manner, if, in the access amount corresponding to each piece of source information, the access amount corresponding to any piece of source information does not satisfy the first target condition, the generating of the alarm information includes:
determining proportion information corresponding to each source information based on the access amount corresponding to each source information, wherein the proportion information is used for indicating the proportion of the access amount corresponding to each source information in the total access amount corresponding to each source information;
and if the proportion information corresponding to any source information does not meet the target proportion information, generating the alarm information.
In a possible implementation manner, after generating the warning information if the access volume corresponding to any source information in the access volumes corresponding to each source information does not satisfy the first target condition, the method further includes:
and sending the alarm information to a server corresponding to the application program indicated by the any source information.
In one possible implementation, the method further includes:
receiving an appointment request sent by the target applet, wherein the appointment request is used for requesting an appointment of a biological sample collection event, the biological sample collection event refers to an event for collecting a biological sample related to the medical and health event, the appointment request carries first event information of the biological sample collection event, and the first event information comprises at least one of collection time and collection place;
determining the reservation quantity corresponding to the first event information based on the first event information carried by the reservation request;
if the reservation quantity corresponding to the first event information is larger than a first target threshold value, determining second event information, wherein the second event information and the first event information are different in at least one of acquisition time and acquisition place, the second event information is event information of which the reservation quantity is smaller than a second target threshold value, and the second target threshold value is smaller than or equal to the first target threshold value;
the second event information is sent to the target applet.
In a possible implementation manner, after determining, based on first event information carried by the reservation request, a reservation number corresponding to the first event information, the method further includes:
if the reservation quantity corresponding to the first event information is larger than a first target threshold value, generating first prompt information, wherein the first prompt information is used for prompting that the reservation quantity corresponding to the first event information is larger than the first target threshold value;
and sending the first prompt message to the target applet.
In one possible implementation, the health status query request and the reservation request are received through a target interface for being invoked by the target applet in the plurality of applications.
In one possible implementation, the method further includes:
in response to receiving the health status query request each time, performing validity check on the health status query request;
if the health state query request passes the validity check, executing a step of receiving a health state query request sent by a target applet;
if the health state query request does not pass the validity check, intercepting the health state query request, and sending second prompt information to the target applet, wherein the second prompt information is used for prompting that the health state query request is intercepted.
In one possible implementation, the health status query request carries a user identifier;
the method comprises the following steps:
responding to the received health state query request every time, and determining a query frequency corresponding to a user identifier based on the user identifier carried by the health state query request;
if the query frequency is less than a third target threshold, executing a step of receiving the health status query request;
if the query frequency is greater than or equal to a third target threshold, intercepting the health state query request, and sending second prompt information to the target applet, wherein the second prompt information is used for prompting that the health state query request is intercepted.
In one aspect, an access monitoring apparatus is provided, the apparatus comprising:
the system comprises a receiving module, a judging module and a processing module, wherein the receiving module is used for receiving a health state query request sent by a target small program, the health state query request is used for requesting to query the health state related to a medical and health event, the health state query request carries source information, and the source information is used for indicating an application program to which the target small program sending the health state query request belongs;
the acquisition module is used for acquiring the access amount corresponding to each source information according to the source information of each health state query request;
and the generating module is used for generating alarm information if the access amount corresponding to any source information in the access amounts corresponding to each source information does not meet the first target condition, wherein the alarm information is used for indicating that the target applet in the application program corresponding to any source information is abnormal.
In a possible implementation manner, the generating module is configured to determine, based on the access amount corresponding to each piece of source information, proportion information corresponding to each piece of source information, where the proportion information is used to indicate a proportion of the access amount corresponding to each piece of source information in a total access amount corresponding to each piece of source information; and if the proportion information corresponding to any source information does not meet the target proportion information, generating the alarm information.
In one possible implementation, the apparatus further includes:
and the first sending module is used for sending the alarm information to a server corresponding to the application program indicated by the any source information.
In a possible implementation manner, the receiving module is further configured to receive an appointment request sent by the target applet, where the appointment request is used to request an appointment for a biological sample collection event, where the biological sample collection event refers to an event for collecting a biological sample related to the healthcare event, and the appointment request carries first event information of the biological sample collection event, where the first event information includes at least one of a collection time and a collection place;
the device also includes:
the first determining module is used for determining the reservation quantity corresponding to the first event information based on the first event information carried by the reservation request;
the first determining module is further configured to determine second event information if the reservation quantity corresponding to the first event information is greater than a first target threshold, where the second event information and the first event information are different in at least one of acquisition time and acquisition place, the second event information is event information whose reservation quantity is less than a second target threshold, and the second target threshold is less than or equal to the first target threshold;
and the second sending module is used for sending the second event information to the target applet.
In a possible implementation manner, the generating module is further configured to generate first prompt information if the reserved quantity corresponding to the first event information is greater than a first target threshold, where the first prompt information is used to prompt that the reserved quantity corresponding to the first event information is greater than the first target threshold;
the second sending module is further configured to send the first prompt message to the target applet.
In one possible implementation, the health status query request and the reservation request are received through a target interface for being invoked by the target applet in the plurality of applications.
In one possible implementation, the apparatus further includes:
the checking module is used for responding to the received health state query request every time and checking the validity of the health state query request;
the receiving module is further configured to execute a step of receiving a health status query request sent by a target applet if the health status query request passes the validity check;
the intercepting module is used for intercepting the health state query request if the health state query request does not pass the validity check;
and the third sending module is used for sending second prompt information to the target applet, wherein the second prompt information is used for prompting that the health state query request is intercepted.
In one possible implementation, the health status query request carries a user identifier;
the device also includes:
the second determining module is used for responding to the health state query request received each time and determining the query frequency corresponding to the user identification based on the user identification carried by the health state query request;
the receiving module is further configured to execute a step of receiving the health status query request if the query frequency is less than a third target threshold;
the intercepting module is further configured to intercept the health status query request if the query frequency is greater than or equal to a third target threshold;
the third sending module is further configured to send a second prompt message to the target applet, where the second prompt message is used to prompt that the health status query request is intercepted.
In one aspect, a server is provided that includes one or more processors and one or more memories having at least one program code stored therein, the program code being loaded and executed by the one or more processors to perform the operations performed by the access monitoring method.
In one aspect, a computer-readable storage medium having at least one program code stored therein is provided, the program code being loaded and executed by a processor to implement the operations performed by the access monitoring method.
In one aspect, a computer program product is provided that includes computer code that is loaded and executed by a processor to perform the operations performed by the access monitoring method.
According to the scheme provided by the application, when a medical and health event occurs, a health state query request which is sent by target applets included in different application programs and used for requesting to query health states related to the occurring medical and health event is received to determine the access amount corresponding to each source information, so that according to the access amount corresponding to each source information, when the access amount corresponding to any source information does not meet a first target condition, alarm information is generated to alarm the abnormal access of the target applets in the application programs corresponding to any source information, the monitoring of the access condition is realized, the abnormal access condition is processed in time, and the normal access of the target applets in each application program is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of an access monitoring method according to an embodiment of the present application;
fig. 2 is a flowchart of an access monitoring method according to an embodiment of the present application;
fig. 3 is a flowchart of an access monitoring method according to an embodiment of the present application;
fig. 4 is a flowchart of an access monitoring method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an access monitoring apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of an access monitoring method provided in an embodiment of the present application, and referring to fig. 1, the implementation environment includes: a terminal 101 and a server 102.
The terminal 101 is at least one of a smart phone, a Personal Digital Assistant (PDA), a tablet pc, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4) player, and a laptop. The terminal 101 and the server 102 are connected by a wireless communication method, which is not limited in the present embodiment. The terminal 101 can be installed and run with various applications, such as a page search application, an instant messaging application, a payment application, a medical application, and the like, and the various applications can be embedded with target applets, so that a user can inquire health states of the user and others related to medical and health events through the target applets in the various applications, or can reserve biological sample collection events for the user and others. For a target applet in any application program of the multiple application programs, a user triggers the target applet in the any application program, the terminal 101 responds to a triggering operation of the user and displays a function selection interface, the function selection interface is provided with a plurality of function entries, so that the user triggers different access requests including a health state query request, a reservation request, a result query request and the like by triggering different function entries, the triggered access request is sent to the server 102, and a result returned by the server 102 based on the access request is received.
The terminal 101 may be generally referred to as one of a plurality of terminals, and the embodiment of the present application is illustrated by the terminal 101. Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals may be only a few, or the number of the terminals may be several tens or hundreds, or more, and the number of the terminals 101 and the type of the device are not limited in the embodiment of the present application.
The server 102 may be at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 102 and the terminal 101 are connected by wired or wireless communication, which is not limited in the embodiment of the present application. The server 102 receives an access request, such as a health status query request, a reservation request, a result query request, and the like, sent by the terminal 101. If the server 102 receives the health state query request, the server 102 acquires a health state related to the medical and health event corresponding to the user identifier carried by the health state query request, and further transmits the acquired health state to the terminal 101; if the server 102 receives the reservation request, the server 102 returns a corresponding reservation result (including a reservation success and a reservation failure) to the terminal 101 according to the event information carried by the reservation request. Optionally, the number of the servers may be more or less, and the embodiment of the present application does not limit this. Of course, the server 102 may also include other functional servers to provide more comprehensive and diverse services.
Fig. 2 is a flowchart of an access monitoring method provided in an embodiment of the present application, and referring to fig. 2, the method includes:
201. the server receives a health state query request sent by a target applet, wherein the health state query request is used for requesting to query health states related to medical and health events, the health state query request carries source information, and the source information is used for indicating an application program to which the target applet sending the health state query request belongs.
202. And the server queries the source information of the request according to each health state and acquires the access amount corresponding to each source information.
203. And if the access amount corresponding to any source information in the access amounts corresponding to each source information does not meet the first target condition, the server generates alarm information, wherein the alarm information is used for indicating that the target applet in the application program corresponding to any source information is abnormal.
According to the scheme provided by the embodiment of the application, when a medical and health event occurs, the health state query request which is sent by target applets included in different application programs and used for requesting to query the health state related to the occurring medical and health event is received to determine the access amount corresponding to each source information, so that according to the access amount corresponding to each source information, when the access amount corresponding to any source information does not meet a first target condition, alarm information is generated to alarm the abnormal access of the target applets in the application programs corresponding to any source information, the monitoring of the access condition is realized, the abnormal access condition is processed in time, and the normal access of the target applets in each application program is ensured.
In a possible implementation manner, if, in the access amount corresponding to each piece of source information, the access amount corresponding to any piece of source information does not satisfy the first target condition, the generating of the alarm information includes:
determining proportion information corresponding to each source information based on the access amount corresponding to each source information, wherein the proportion information is used for indicating the proportion of the access amount corresponding to each source information in the total access amount corresponding to each source information;
and if the proportion information corresponding to any source information does not meet the target proportion information, generating the alarm information.
In a possible implementation manner, after generating the warning information if the access volume corresponding to any source information in the access volumes corresponding to each source information does not satisfy the first target condition, the method further includes:
and sending the alarm information to a server corresponding to the application program indicated by the any source information.
In one possible implementation, the method further includes:
receiving an appointment request sent by the target applet, wherein the appointment request is used for requesting an appointment of a biological sample collection event, the biological sample collection event refers to an event for collecting a biological sample related to the medical and health event, the appointment request carries first event information of the biological sample collection event, and the first event information comprises at least one of collection time and collection place;
determining the reservation quantity corresponding to the first event information based on the first event information carried by the reservation request;
if the reservation quantity corresponding to the first event information is larger than a first target threshold value, determining second event information, wherein the second event information and the first event information are different in at least one of acquisition time and acquisition place, the second event information is event information of which the reservation quantity is smaller than a second target threshold value, and the second target threshold value is smaller than or equal to the first target threshold value;
the second event information is sent to the target applet.
In a possible implementation manner, after determining, based on first event information carried by the reservation request, a reservation number corresponding to the first event information, the method further includes:
if the reservation quantity corresponding to the first event information is larger than a first target threshold value, generating first prompt information, wherein the first prompt information is used for prompting that the reservation quantity corresponding to the first event information is larger than the first target threshold value;
and sending the first prompt message to the target applet.
In one possible implementation, the health status query request and the reservation request are received through a target interface for being invoked by the target applet in the plurality of applications.
In one possible implementation, the method further includes:
in response to receiving the health status query request each time, performing validity check on the health status query request;
if the health state query request passes the validity check, executing a step of receiving a health state query request sent by a target applet;
if the health state query request does not pass the validity check, intercepting the health state query request, and sending second prompt information to the target applet, wherein the second prompt information is used for prompting that the health state query request is intercepted.
In one possible implementation, the health status query request carries a user identifier;
the method comprises the following steps:
responding to the received health state query request every time, and determining a query frequency corresponding to a user identifier based on the user identifier carried by the health state query request;
if the query frequency is less than a third target threshold, executing a step of receiving the health status query request;
if the query frequency is greater than or equal to a third target threshold, intercepting the health state query request, and sending second prompt information to the target applet, wherein the second prompt information is used for prompting that the health state query request is intercepted.
Fig. 3 is a flowchart of an access monitoring method provided in an embodiment of the present application, and referring to fig. 3, the method includes:
301. the server receives a health state query request sent by a target applet, wherein the health state query request is used for requesting to query health states related to medical and health events, the health state query request carries source information, and the source information is used for indicating an application program to which the target applet sending the health state query request belongs.
It should be noted that the target applet can be embedded in various applications, and is an application that can be used without downloading and installing. The user triggers any application program in the multiple application programs, then the target applet is searched from any application program, and then the target applet is triggered, so that the target applet can be used. The target applet comprises a function selection interface, the function selection interface comprises a plurality of function entries, such as a health state query entry, and the user can query the health state of the user related to the medical and health events by triggering the health state query entry. The medical health event is a sudden epidemic, optionally, the medical health event is of another type, which is not limited in the embodiment of the present application.
In a possible implementation manner, the user triggers the health status query entry, the terminal generates a health status query request in response to a triggering operation of the user, and sends the health status query request to the server, so that the server receives the health status query requests sent by the terminals. Wherein, the health status inquiry request carries the user identification.
When the terminal sends the health status query request to the server, the terminal sends the health status query request to a target Interface of the server, that is, an Application Programming Interface (API), so that the server receives the health status query request through the target Interface, and the target Interface is used for being called by the target applet in the plurality of Application programs.
It should be noted that, before receiving the health status query request, the server performs validity check on the health status query request, and in response to receiving the health status query request each time, the server performs validity check on the health status query request, and if the health status query request passes the validity check, receives the health status query request and processes the health status query request; if the health state query request does not pass the validity check, the health state query request is intercepted.
For example, the server may perform validity check on the health status query request based on the access frequency of the user to implement interception of the high frequency request. In a possible implementation manner, the health status query request carries a user identifier, the server determines, in response to receiving the health status query request each time, a query frequency corresponding to the user identifier based on the user identifier carried by the health status query request, and if the query frequency is smaller than a third target threshold, receives the health status query request and processes the health status query request; if the query frequency is greater than or equal to a third target threshold, the health status query request is intercepted. The third target threshold is any positive value, which is not limited in the embodiment of the present application.
The validity of the health state query request received by the server can be ensured by carrying out validity check on the received health state query request, so that the processing resource of the server is prevented from being wasted by illegal requests, and the processing efficiency of the server is improved.
Optionally, after intercepting the health status query request, the server generates second prompt information, and further returns the second prompt information to the target applet that sent the health status query request, where the second prompt information is used to prompt that the health status query request is intercepted, so as to prompt the user based on the condition that the health status query request is intercepted through the second prompt information.
302. And the server queries the source information of the request according to each health state and acquires the access amount corresponding to each source information.
In a possible implementation manner, after receiving the health status query requests, the server obtains source information from each received health status query request, determines the number of health status query requests from target applets in the same application program according to the obtained source information, and then takes the determined number as the access amount corresponding to each source information.
Optionally, after obtaining the access volume corresponding to each piece of source information, the server determines, based on the obtained access volume, an access volume change curve corresponding to each piece of source information, so as to determine whether an access abnormality occurs in a subsequent step directly according to the access volume change curve of each piece of source information.
303. The server determines proportion information corresponding to each source information based on the access amount corresponding to each source information, wherein the proportion information is used for indicating the proportion of the access amount corresponding to each source information in the total access amount corresponding to each source information.
It should be noted that, due to the usage habit of the user, in each time period, the access amount of the target applet in the different application programs is substantially constant, that is, the access amount corresponding to the different source information in each time period is substantially constant, so that the proportional information corresponding to each source information is substantially unchanged, and therefore, the abnormal access condition can be detected by detecting the proportional information corresponding to each source information. Taking the target applet used in any medical and health event as an example, each user needs to inquire the health status of the user through the target applet every morning, and then the inquired result is taken as a certificate for entering the work place, and according to the use habit of the user, the target small programs used by the user every day are basically the target small programs in the same application program, thus, during each morning work, the corresponding access volume of the target applet in each application is substantially constant, taking the access conditions of the target applets in the application program 1 and the application program 2 as an example, the ratio of the access amounts of the application program 1 and the application program 2 in the morning shift time is about 7:2, and then whether the access abnormal condition occurs in the application program 1 and the application program 2 can be determined through the ratio of the access amounts of the application program 1 and the application program 2 in the morning shift time.
In a possible implementation manner, after determining the access amount corresponding to each source information, the server may determine the total access amount corresponding to each source information, and then determine the proportion information corresponding to each source information according to the ratio of the access amount corresponding to each source information to the total access amount corresponding to each source information.
304. And if the proportion information corresponding to any source information does not meet the target proportion information, the server generates the alarm information, wherein the alarm information is used for indicating that the target small program in the application program corresponding to any source information is abnormal.
Still taking the access situation of the target applet in the application 1 and the application 2 in the morning on-duty time every day as an example, the ratio of the access quantities of the application 1 and the application 2 in the morning on-duty time every day is approximately 7:2, and if the difference between the ratio of the access quantities of the application 1 and the application 2 in the morning on-duty time every day and the 7:2 exceeds a fourth target threshold, the server generates alarm information. For example, if the ratio of the access amounts of the application 1 and the application 2 is 15:2 in the morning on duty, the server can determine that the target applet in the application 1 is abnormal, and then the server generates alarm information for indicating that the target applet in the application 1 is abnormal.
In a possible implementation manner, after the server generates the alarm information, the server sends the alarm information to the server corresponding to the application program indicated by any source information, so that a relevant technician corresponding to the server receiving the alarm information can timely obtain the access abnormal condition of the application program and timely check the access abnormal condition, thereby ensuring normal access of the user.
According to the scheme provided by the embodiment of the application, when a medical and health event occurs, the health state query request which is sent by target applets included in different application programs and used for requesting to query the health state related to the occurring medical and health event is received to determine the access amount corresponding to each source information, so that according to the access amount corresponding to each source information, when the access amount corresponding to any source information does not meet a first target condition, alarm information is generated to alarm the abnormal access of the target applets in the application programs corresponding to any source information, the monitoring of the access condition is realized, the abnormal access condition is processed in time, and the normal access of the target applets in each application program is ensured.
The process shown in fig. 3 is described by taking an example of monitoring the access condition of the target applet based on the health status query function provided by the target applet, and in a more possible implementation manner, the target applet can also provide a reservation function, see fig. 4, where fig. 4 is a flowchart of an access monitoring method provided in an embodiment of the present application, and the method includes:
401. the server receives an appointment request sent by the target applet, wherein the appointment request is used for requesting an appointment of a biological sample collection event, the biological sample collection event refers to an event for collecting a biological sample related to the medical and health event, the appointment request carries first event information of the biological sample collection event, and the first event information comprises at least one of collection time and collection place.
It should be noted that, among the plurality of function entries included in the function selection interface of the target applet, an appointment entry is also included, and a user can make an appointment for a biological sample collection event by triggering the appointment entry. Taking an epidemic situation caused by the spread of the new coronavirus as an example, the biological sample collection event is a nucleic acid collection event, optionally, the biological sample collection event also includes other types, which is not limited in the embodiment of the present application.
In a possible implementation manner, a user triggers the reservation entry, the terminal responds to a triggering operation of the user to display event information to be selected, the user selects from the event information to be selected, the terminal responds to the selecting operation of the user to determine the event information selected by the user as first event information, then a reservation request is generated based on the first event information, and the reservation request is sent to the server, so that the server receives the reservation request sent by each terminal. Wherein, the reservation request carries the user identification.
When the terminal sends the reservation request to the server, the reservation request is sent to a target interface of the server, namely, a target API interface, so that the server receives the reservation request through the target interface, and the target interface is used for being called by the target applet in the plurality of application programs.
It should be noted that, before receiving the reservation request, the server performs validity check on the reservation request, and in response to receiving the reservation request each time, the server performs validity check on the reservation request, and if the reservation request passes the validity check, the server receives the reservation request and processes the reservation request; if the reservation request does not pass the validity check, the reservation request is intercepted.
For example, the server may check the validity of the reservation request based on the access frequency of the user to intercept the high-frequency request. In a possible implementation manner, the reservation request carries a user identifier, the server responds to each time of receiving the reservation request, determines a query frequency corresponding to the user identifier based on the user identifier carried by the reservation request, and receives and processes the reservation request if the query frequency is less than a third target threshold; and if the query frequency is greater than or equal to a third target threshold value, intercepting the reservation request. The third target threshold is any positive value, which is not limited in the embodiment of the present application.
The validity of the received reservation request can be ensured by checking the validity of the received reservation request, so that the processing resource of the server is prevented from being wasted by illegal requests, and the processing efficiency of the server is improved.
Optionally, after intercepting the reservation request, the server generates third prompt information, and further returns the third prompt information to the target applet that sent the reservation request, where the third prompt information is used to prompt that the reservation request is intercepted, so as to prompt the user based on the situation that the reservation request is intercepted through the third prompt information.
402. And the server determines the reserved quantity corresponding to the first event information based on the first event information carried by the reservation request.
It should be noted that, after receiving each reservation request and making a reservation for the user successfully, the server updates the reservation quantity corresponding to the first event information according to the first event information carried in the reservation request. For example, the server receives a new reservation request and makes a reservation for the user successfully, the event information carried by the reservation request comprises two items of acquisition time and acquisition place, the acquisition time is 13:00-15:00 in 12 and 29 months in 2020, the acquisition place is the site A, the existing reservation number of the site A is 159 in the time period of 13:00-15:00 in 29 days in 12 and 29 months in 2020, the server updates the reservation number of the site A to 160 in the time period of 13:00-15:00 in 29 days in 12 and 29 months in 2020, and stores the updated reservation number.
In a possible implementation manner, after receiving the reservation request, the server acquires the reservation quantity corresponding to the stored first event information according to the first event information carried by the reservation request.
403. If the reserved quantity corresponding to the first event information is larger than a first target threshold value, the server determines second event information, wherein the second event information and the first event information are different in at least one of acquisition time and acquisition place, the second event information is event information of which the reserved quantity is smaller than a second target threshold value, and the second target threshold value is smaller than or equal to the first target threshold value.
In a possible implementation manner, if the reserved number corresponding to the first event information is greater than the first target threshold, the server obtains the reserved number corresponding to the other event information, and further determines the second event information from the other event information. The first target threshold and the second target threshold are any positive integer values, which is not limited in the embodiment of the present application.
For example, the first target threshold is 150, taking the first event information carried by the reservation request received by the server as including two items of acquisition time and acquisition place, the acquisition time is 13:00-15:00 in 12/29/2020, the acquisition place is a place a, and the existing reserved number of the place a is 160 as an example, since the existing reserved number of the place a is already greater than the first target threshold, the server acquires the reserved number corresponding to other event information, whereas the server acquires the acquisition time is 15:00-17:00 in 29/12/2020, the reserved number corresponding to the event information of the acquisition place a is 10, the acquisition time is 13:00-15:00 in 29/12/2020, the reserved number corresponding to the event information of the acquisition place B is 100, the acquisition time is 15:00-17:00 in 29/12/2020, the reserved number corresponding to the event information of the acquisition place C is 50, the acquisition time is 15:00-17:00 in 12/29/2020, the number of reservations corresponding to the event information of the acquisition location a is less, and the second target threshold is 100, the server determines the event information of the acquisition location a in 29/15: 00 in 12/2020 as the second event information.
It should be noted that, the above example is described by taking the event information with a smaller number of priority recommendation reservations as an example, and in a more possible implementation manner, the server may also recommend the user according to the preference information of the user. For example, the user may set, through the target applet, preference information of the user, which is to preferentially recommend a collection location closer to the target applet, preferentially recommend the same collection time, and the like, so that the determination is performed subsequently according to the preference information of the user when determining the second event information.
The user is recommended according to the preference information of the user, the will of the user can be fully considered, the recommended second event information can meet the requirements of the user, and the user experience is improved.
404. The server sends the second event information to the target applet.
It should be noted that, after the server sends the second event information to the target applet, the terminal displays the second event information in the interface corresponding to the target applet, and the user may directly re-determine the second event information as the event information carried in the reservation request, or re-select the event information, which is not limited in this embodiment of the application.
In a possible implementation manner, if the reserved number corresponding to the first event information is greater than a first target threshold, first prompt information is generated and sent to the target applet, where the first prompt information is used to prompt that the reserved number corresponding to the first event information is greater than the first target threshold, so that a user can timely obtain a situation that the reserved number of the event information reserved by the user is too large.
Optionally, the server sends the first prompt information to the target applet firstly, and then sends the second event information to the target applet, so that the user knows the condition that the reservation quantity of the event information reserved by the user is too large firstly, and then recommends for the user, thereby better conforming to the use habit of the user and improving the user experience.
According to the scheme provided by the embodiment of the application, when a medical and health event occurs, the reservation request which is sent by the target applet and used for requesting reservation of the biological sample collection event related to the occurring medical and health event is received, the reservation number corresponding to the first event information carried by the reservation request is further determined, and when the reservation number corresponding to the first event information is too large, the second event information is recommended to the user, so that the user directly reserves the biological sample collection event corresponding to the second event information, the user does not need to search the event information again, the user operation is simplified, the user can be ensured to finish biological sample collection more quickly, and the user experience is improved.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 5 is a schematic structural diagram of an access monitoring apparatus provided in an embodiment of the present application, and referring to fig. 5, the apparatus includes:
a receiving module 501, configured to receive a health status query request sent by a target applet, where the health status query request is used to request to query a health status related to a medical and health event, and the health status query request carries source information, where the source information is used to indicate an application program to which the target applet that sends the health status query request belongs;
an obtaining module 502, configured to obtain, according to the source information of each health status query request, an access amount corresponding to each source information;
a generating module 503, configured to generate alarm information if, in the access quantities corresponding to each piece of source information, an access quantity corresponding to any piece of source information does not satisfy a first target condition, where the alarm information is used to indicate that the target applet in the application program corresponding to any piece of source information is abnormal.
According to the device provided by the embodiment of the application, when a medical and health event occurs, the health state query request which is sent by target applets included in different application programs and is used for requesting to query the health state related to the occurring medical and health event is received to determine the access amount corresponding to each source information, so that according to the access amount corresponding to each source information, when the access amount corresponding to any source information does not meet a first target condition, alarm information is generated to alarm the abnormal access of the target applets in the application programs corresponding to any source information, the monitoring of the access condition is realized, the abnormal access condition is processed in time, and the normal access of the target applets in each application program is ensured.
In a possible implementation manner, the generating module 503 is configured to determine, based on the access amount corresponding to each piece of source information, proportion information corresponding to each piece of source information, where the proportion information is used to indicate a proportion of the access amount corresponding to each piece of source information in a total access amount corresponding to each piece of source information; and if the proportion information corresponding to any source information does not meet the target proportion information, generating the alarm information.
In one possible implementation, the apparatus further includes:
and the first sending module is used for sending the alarm information to a server corresponding to the application program indicated by the any source information.
In a possible implementation manner, the receiving module 501 is further configured to receive an appointment request sent by the target applet, where the appointment request is used to request an appointment for a biological sample collection event, where the biological sample collection event refers to an event for collecting a biological sample related to the healthcare event, and the appointment request carries first event information of the biological sample collection event, where the first event information includes at least one of a collection time and a collection place;
the device also includes:
the first determining module is used for determining the reservation quantity corresponding to the first event information based on the first event information carried by the reservation request;
the first determining module is further configured to determine second event information if the reservation quantity corresponding to the first event information is greater than a first target threshold, where the second event information and the first event information are different in at least one of acquisition time and acquisition place, the second event information is event information whose reservation quantity is less than a second target threshold, and the second target threshold is less than or equal to the first target threshold;
and the second sending module is used for sending the second event information to the target applet.
In a possible implementation manner, the generating module 503 is further configured to generate first prompt information if the reserved quantity corresponding to the first event information is greater than a first target threshold, where the first prompt information is used to prompt that the reserved quantity corresponding to the first event information is greater than the first target threshold;
the second sending module is further configured to send the first prompt message to the target applet.
In one possible implementation, the health status query request and the reservation request are received through a target interface for being invoked by the target applet in the plurality of applications.
In one possible implementation, the apparatus further includes:
the checking module is used for responding to the received health state query request every time and checking the validity of the health state query request;
the receiving module 501 is further configured to execute a step of receiving a health status query request sent by a target applet if the health status query request passes the validity check;
an interception module for intercepting the health status query request if the health status query request fails the validity check
And the third sending module is used for sending second prompt information to the target applet, wherein the second prompt information is used for prompting that the health state query request is intercepted.
In one possible implementation, the health status query request carries a user identifier;
the device also includes:
the second determining module is used for responding to the health state query request received each time and determining the query frequency corresponding to the user identification based on the user identification carried by the health state query request;
the receiving module 501 is further configured to execute a step of receiving the health status query request if the query frequency is less than a third target threshold;
the intercepting module is further configured to intercept the health status query request if the query frequency is greater than or equal to a third target threshold;
the third sending module is further configured to send a second prompt message to the target applet, where the second prompt message is used to prompt that the health status query request is intercepted.
It should be noted that: the access monitoring apparatus provided in the foregoing embodiment is only illustrated by dividing the functional modules when monitoring the access condition of the target applet, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the server is divided into different functional modules to complete all or part of the functions described above. In addition, the access monitoring device and the access monitoring method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 600 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 601 and one or more memories 602, where at least one program code is stored in the one or more memories 602, and is loaded and executed by the one or more processors 601 to implement the access monitoring method provided by the foregoing method embodiments. Of course, the server 600 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 600 may also include other components for implementing the functions of the device, which is not described herein again.
In an exemplary embodiment, a computer readable storage medium, such as a memory including program code, which is executable by a processor to perform the access monitoring method in the above embodiments, is also provided. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which comprises computer program code that is loaded and executed by a processor of a server to perform the method steps of the access monitoring method provided in the above embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by hardware associated with program code, and the program may be stored in a computer readable storage medium, where the above mentioned storage medium may be a read-only memory, a magnetic or optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. An access monitoring method, the method comprising:
receiving a health state query request sent by a target small program, wherein the health state query request is used for requesting to query the health state related to a medical and health event, the health state query request carries source information, and the source information is used for indicating an application program to which the target small program which sends the health state query request belongs;
acquiring the access amount corresponding to each source information according to the source information of each health state query request;
and if the access amount corresponding to any source information in the access amounts corresponding to each source information does not meet the first target condition, generating alarm information, wherein the alarm information is used for indicating that the target applet in the application program corresponding to any source information is abnormal.
2. The method according to claim 1, wherein if the access volume corresponding to any source information in the access volumes corresponding to each source information does not satisfy the first target condition, generating the alarm information includes:
determining proportion information corresponding to each source information based on the access amount corresponding to each source information, wherein the proportion information is used for indicating the proportion of the access amount corresponding to each source information in the total access amount corresponding to each source information;
and if the proportion information corresponding to any source information does not meet the target proportion information, generating the alarm information.
3. The method according to claim 1, wherein if the access volume corresponding to any source information in the access volumes corresponding to each source information does not satisfy the first target condition, after generating the alarm information, the method further comprises:
and sending the alarm information to a server corresponding to the application program indicated by the any source information.
4. The method of claim 1, further comprising:
receiving an appointment request sent by the target applet, wherein the appointment request is used for requesting an appointment of a biological sample collection event, the biological sample collection event refers to an event for collecting a biological sample related to the medical and health event, the appointment request carries first event information of the biological sample collection event, and the first event information comprises at least one of collection time and collection place;
determining the reservation quantity corresponding to the first event information based on the first event information carried by the reservation request;
if the reservation quantity corresponding to the first event information is larger than a first target threshold value, determining second event information, wherein the second event information and the first event information are different in at least one of acquisition time and acquisition place, the second event information is event information of which the reservation quantity is smaller than a second target threshold value, and the second target threshold value is smaller than or equal to the first target threshold value;
sending the second event information to the target applet.
5. The method according to claim 4, wherein after determining the reserved number corresponding to the first event information based on the first event information carried in the reservation request, the method further comprises:
if the reserved quantity corresponding to the first event information is larger than a first target threshold, generating first prompt information, wherein the first prompt information is used for prompting that the reserved quantity corresponding to the first event information is larger than the first target threshold;
and sending the first prompt message to the target applet.
6. The method of claim 4, wherein the health status query request and the reservation request are received through a target interface, the target interface for invocation by the target applet of the plurality of applications.
7. The method of claim 1, further comprising:
in response to receiving the health status query request each time, performing validity check on the health status query request;
if the health state query request passes the validity check, executing a step of receiving a health state query request sent by a target applet;
if the health state query request does not pass the validity check, intercepting the health state query request, and sending second prompt information to the target applet, wherein the second prompt information is used for prompting that the health state query request is intercepted.
8. The method of claim 7, wherein the health status query request carries a user identification;
the method comprises the following steps:
responding to the received health state query request every time, and determining a query frequency corresponding to a user identifier based on the user identifier carried by the health state query request;
if the query frequency is less than a third target threshold, executing a step of receiving the health status query request;
and if the query frequency is greater than or equal to a third target threshold value, intercepting the health state query request, and sending second prompt information to the target applet, wherein the second prompt information is used for prompting that the health state query request is intercepted.
9. An access monitoring apparatus, the apparatus comprising:
the system comprises a receiving module, a judging module and a processing module, wherein the receiving module is used for receiving a health state query request sent by a target small program, the health state query request is used for requesting to query the health state related to a medical and health event, the health state query request carries source information, and the source information is used for indicating an application program to which the target small program sending the health state query request belongs;
the acquisition module is used for acquiring the access amount corresponding to each source information according to the source information of each health state query request;
and a generating module, configured to generate warning information if, in the access amounts corresponding to each piece of source information, an access amount corresponding to any piece of source information does not satisfy a first target condition, where the warning information is used to indicate that the target applet in the application program corresponding to any piece of source information is abnormal.
10. A server, comprising one or more processors and one or more memories having stored therein at least one program code, the program code loaded into and executed by the one or more processors to perform operations performed by an access monitoring method according to any one of claims 1 to 8.
11. A computer-readable storage medium having stored therein at least one program code, the program code being loaded and executed by a processor to perform operations performed by an access monitoring method according to any one of claims 1 to 8.
CN202110185278.0A 2021-02-10 2021-02-10 Access monitoring method, device, server and computer readable storage medium Pending CN113377605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110185278.0A CN113377605A (en) 2021-02-10 2021-02-10 Access monitoring method, device, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110185278.0A CN113377605A (en) 2021-02-10 2021-02-10 Access monitoring method, device, server and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113377605A true CN113377605A (en) 2021-09-10

Family

ID=77570599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110185278.0A Pending CN113377605A (en) 2021-02-10 2021-02-10 Access monitoring method, device, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113377605A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486415A (en) * 2014-12-15 2015-04-01 新浪网技术(中国)有限公司 Determining method and device for working state of monitoring object
CN107578113A (en) * 2017-09-14 2018-01-12 上海冉煜健康管理咨询有限公司 It is a kind of to preengage the health management system arranged of medical center
CN107704765A (en) * 2017-08-28 2018-02-16 深圳市诚壹科技有限公司 A kind of interface access method, server and computer-readable recording medium
CN109976973A (en) * 2019-02-19 2019-07-05 深圳点猫科技有限公司 Abnormality monitoring method and electronic equipment on a kind of small routine line
CN110460584A (en) * 2019-07-16 2019-11-15 北京奇艺世纪科技有限公司 Access request processing method, device, electronic equipment and computer-readable medium
CN110535777A (en) * 2019-08-12 2019-12-03 新华三大数据技术有限公司 Access request control method, device, electronic equipment and readable storage medium storing program for executing
CN111131347A (en) * 2018-10-31 2020-05-08 珠海横琴盛达兆业科技投资有限公司 Method for monitoring user access amount of WeChat applet based on java background application
CN111708637A (en) * 2020-06-18 2020-09-25 深圳市金斧子网络科技有限公司 Data processing method and device and computer readable medium
CN111858704A (en) * 2020-06-29 2020-10-30 口碑(上海)信息技术有限公司 Data monitoring method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486415A (en) * 2014-12-15 2015-04-01 新浪网技术(中国)有限公司 Determining method and device for working state of monitoring object
CN107704765A (en) * 2017-08-28 2018-02-16 深圳市诚壹科技有限公司 A kind of interface access method, server and computer-readable recording medium
CN107578113A (en) * 2017-09-14 2018-01-12 上海冉煜健康管理咨询有限公司 It is a kind of to preengage the health management system arranged of medical center
CN111131347A (en) * 2018-10-31 2020-05-08 珠海横琴盛达兆业科技投资有限公司 Method for monitoring user access amount of WeChat applet based on java background application
CN109976973A (en) * 2019-02-19 2019-07-05 深圳点猫科技有限公司 Abnormality monitoring method and electronic equipment on a kind of small routine line
CN110460584A (en) * 2019-07-16 2019-11-15 北京奇艺世纪科技有限公司 Access request processing method, device, electronic equipment and computer-readable medium
CN110535777A (en) * 2019-08-12 2019-12-03 新华三大数据技术有限公司 Access request control method, device, electronic equipment and readable storage medium storing program for executing
CN111708637A (en) * 2020-06-18 2020-09-25 深圳市金斧子网络科技有限公司 Data processing method and device and computer readable medium
CN111858704A (en) * 2020-06-29 2020-10-30 口碑(上海)信息技术有限公司 Data monitoring method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111049705B (en) Method and device for monitoring distributed storage system
US20140052856A1 (en) Naming of distributed business transactions
US20170357524A1 (en) Automated software configuration management
CN110708212B (en) Method and device for tracking call link in distributed system
US20160224400A1 (en) Automatic root cause analysis for distributed business transaction
CN109543891B (en) Method and apparatus for establishing capacity prediction model, and computer-readable storage medium
CN111597065B (en) Method and device for collecting equipment information
CN112130996A (en) Data monitoring control system, method and device, electronic equipment and storage medium
CN111885184A (en) Method and device for processing hot spot access keywords in high concurrency scene
CN111464589A (en) Intelligent contract processing method, computer equipment and storage medium
CN109828830B (en) Method and apparatus for managing containers
CN112598529B (en) Data processing method and device, computer readable storage medium and electronic equipment
CN111488373B (en) Method and system for processing request
CN113238815A (en) Interface access control method, device, equipment and storage medium
CN114070847A (en) Current limiting method, device, equipment and storage medium of server
CN113377605A (en) Access monitoring method, device, server and computer readable storage medium
CN113360182B (en) Method and apparatus for system performance diagnostics
CN114827157A (en) Cluster task processing method, device and system, electronic equipment and readable medium
CN111459737B (en) Problem positioning method, device, computer equipment and storage medium
CN113282455A (en) Monitoring processing method and device
CN112328450A (en) Data monitoring method and device, computer equipment and storage medium
CN115460101B (en) Network service management method, device, equipment and storage medium
US20230049322A1 (en) Information processing method, device, system, and computer-readable storage medium
JP4827261B2 (en) Message processing apparatus and method
CN114090311A (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination