CN112256713A - Method, device and equipment for dynamically updating duration time and readable storage medium - Google Patents

Method, device and equipment for dynamically updating duration time and readable storage medium Download PDF

Info

Publication number
CN112256713A
CN112256713A CN202011143974.7A CN202011143974A CN112256713A CN 112256713 A CN112256713 A CN 112256713A CN 202011143974 A CN202011143974 A CN 202011143974A CN 112256713 A CN112256713 A CN 112256713A
Authority
CN
China
Prior art keywords
duration
request
target interface
time interval
interface
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
CN202011143974.7A
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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202011143974.7A priority Critical patent/CN112256713A/en
Publication of CN112256713A publication Critical patent/CN112256713A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/235Update request formulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to the technical field of information management of financial science and technology, and discloses a method, a device, equipment and a computer readable storage medium for dynamically updating duration, wherein when any interface receives a request initiated by a client, a target interface is determined and the current time point is recorded; determining validity of the request based on the current time point and the validity duration of the target interface; and the request is valid, the duration of the target interface is determined based on a preset dynamic updating process, and the duration is returned to the client. Therefore, the required duration of the effective request is re-determined based on the preset dynamic updating process, the flexible adjustment of the duration is realized, and the duration requirements of various interfaces are met.

Description

Method, device and equipment for dynamically updating duration time and readable storage medium
Technical Field
The present invention relates to the field of information management technology of financial technology (Fintech), and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for dynamically updating a duration.
Background
With the development of computer technology, more and more technologies are applied in the financial field, and the traditional financial industry is gradually changing to financial technology (Fintech), but higher requirements are also put forward on the technologies due to the requirements of the financial industry on safety and real-time performance.
A fixed validity duration is set in a general website mapping cookie (data stored on the user's local terminal), and/or a fixed duration is set in session, a database. However, the validity period or the duration of the fixed duration cannot be flexibly adjusted, and the duration requirements of different interfaces are difficult to meet.
Disclosure of Invention
The invention provides a method, a device and equipment for dynamically updating duration and a computer readable storage medium, aiming at realizing flexible adjustment of the duration and meeting the duration requirements of various interfaces.
In order to achieve the above object, the present invention provides a method for dynamically updating a duration, the method comprising:
after receiving a request initiated by a client, any interface determines a target interface and records the current time point;
determining validity of the request based on the current time point and the validity duration of the target interface;
and the request is valid, the duration of the target interface is determined based on a preset dynamic updating process, and the duration is returned to the client.
Optionally, the determining the duration of the target interface based on the preset dynamic update process includes:
inquiring request records stored in a database;
the historical request record of the target interface does not exist in the request record, and the duration of the target interface is set as a specified duration;
and the request records comprise historical request records of the target interface, time intervals in the historical request records are obtained, and the duration of the target interface is determined according to a preset dynamic updating process based on the time intervals.
Optionally, the obtaining a time interval in the history request record, and determining a duration of the target interface according to a preset dynamic update procedure based on the time interval includes:
acquiring a historical time interval queue of the target interface from the historical request record, and marking a time interval from the time when the target interface is accessed to the next time when any interface is accessed as a new time interval of the target interface;
storing the new time interval into a new time interval queue, and determining the duration of the target interface based on the time interval queue, wherein the time interval queue comprises the historical time interval queue and the new time interval queue.
Optionally, the determining a duration of the target interface based on the time interval queue includes:
calculating the average interval and standard deviation of the time intervals in the time interval queue;
and determining the sum of the average interval and three times of standard deviation as the duration of the target interface.
Optionally, the determining a duration of the target interface based on the time interval queue includes:
sequencing all intervals in the time interval queue to obtain a sequencing result;
determining an interval specifying a ranking as a duration of the target interface based on the ranking result.
Optionally, after determining the validity of the request based on the current time point and the validity duration of the target interface, the method further includes:
the request is invalid, and prompt information of the request is sent out or a webpage corresponding to the request is logged out; or
And if the request is valid, executing the operation corresponding to the request.
Optionally, after any interface receives a request initiated by the client, determining a target interface and recording a current time point, the method further includes:
recording a time interval between a current time point of the request and a last request time of a corresponding client access, wherein an interface accessed by the last request is the target interface.
In addition, to achieve the above object, the present invention further provides a dynamic update duration device, including:
the first determining module is used for determining a target interface and recording the current time point after any interface receives a request initiated by a client;
a second determining module, configured to determine validity of the request based on the current time point and a valid duration of the target interface;
and the third determining module is used for determining the duration of the target interface based on a preset dynamic updating process when the request is valid, and returning the duration to the client.
In addition, to achieve the above object, the present invention further provides a dynamic update duration device, which includes a processor, a memory and a dynamic update duration program stored in the memory, where the dynamic update duration program is executed by the processor to implement the steps of the method for dynamically updating duration as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, which stores thereon a dynamically updated duration program, and when the dynamically updated duration program is executed by a processor, the method for dynamically updating the duration includes the steps.
Compared with the prior art, the method, the device, the equipment and the computer readable storage medium for dynamically updating the duration time provided by the invention have the advantages that after any interface receives a request initiated by a client, a target interface is determined and the current time point is recorded; determining validity of the request based on the current time point and the validity duration of the target interface; and the request is valid, the duration of the target interface is determined based on a preset dynamic updating process, and the duration is returned to the client. Therefore, the required duration of the effective request is re-determined based on the preset dynamic updating process, the flexible adjustment of the duration is realized, and the duration requirements of various interfaces are met.
Drawings
FIG. 1 is a schematic diagram of a hardware architecture of a device for dynamically updating duration according to embodiments of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for dynamically updating duration of a resume period of time according to the present invention;
FIG. 3 is a functional block diagram of a device for dynamically updating duration according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The dynamic update duration device mainly related to the embodiment of the invention is a network connection device capable of realizing network connection, and the dynamic update duration device can be a server, a cloud platform and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a device for dynamically updating duration time according to embodiments of the present invention. In this embodiment of the present invention, the device for dynamically updating duration may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, an input port 1003, an output port 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the input port 1003 is used for data input; the output port 1004 is used for data output, the memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to FIG. 1, memory 1005 of FIG. 1, which is one type of readable computer readable storage medium, may include an operating system, a network communication module, an application program module, and a dynamic update lifetime program. In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; the processor 1001 may call the dynamic update duration program stored in the memory 1005 and execute the method for dynamically updating the duration provided by the embodiment of the present invention.
The embodiment of the invention provides a method for dynamically updating a duration.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a method for dynamically updating a duration according to the present invention.
In this embodiment, the method for dynamically updating duration is applied to a device for dynamically updating duration, and the method includes:
step S101, after receiving a request initiated by a client, any interface determines a target interface and records the current time point;
any interface described in this embodiment may be any one of a plurality of interfaces provided by a website, an application program, and the like. For example, a website set by a bank includes a login interface, an authentication interface, an inquiry interface, a transfer interface, a payment interface, and the like. The request in this embodiment corresponds to the interface, that is, the request may include a login request and an authentication request. The client comprises intelligent interaction equipment such as a computer and a mobile terminal, wherein the mobile terminal comprises a mobile phone, an ipad, a notebook computer and the like.
Generally, a request is generated through a client based on the interactive operation of a user, and the request is sent to a dynamic update duration device, after receiving the request sent by the client, the dynamic update duration device determines a target interface for sending the request and records a current time point, wherein the target interface is one of the arbitrary interfaces.
Step S102, determining the validity of the request based on the current time point and the valid duration of the target interface;
the request includes a cookie uploaded by the client, where the cookie is a small text file saved on the client by the server (the content in the cookie is typically encrypted), and the cookie may also contain relevant user information. That is, the cookie is a short piece of text that the server stores on the local machine and also sends the cookie previously returned by the server when the client sends a request to the server. And the Cookie stores the original duration of the client, and after the original duration is obtained based on the Cookie, the effective duration is determined based on the modification time of the Cookie and the original duration, wherein the effective duration is equal to the sum of the modification time and the original duration.
After the effective duration is determined, judging whether the current time is within the effective duration, and if the current time is within the effective duration, judging that the request is effective; otherwise, if the current time is not within the valid duration, the request is determined to be invalid.
Step S103, the request is valid, the duration of the target interface is determined based on a preset dynamic updating process, and the duration is returned to the client.
In this embodiment, in order to flexibly adjust the duration of the duration and meet the duration requirements of various interfaces, a dynamic update process is preset. It can be understood that the editing time consumption of the corresponding pages of different interfaces is different, the security requirements of different interfaces are also different, and the access frequencies of different interfaces are also different, for example, the time consumption for logging in an interface is longer than that for verifying an interface, and the security requirement for a payment interface is higher than that for querying an interface. If all the interfaces are set to have the same duration, the requirements of each interface are difficult to meet. Thus, a scheme for dynamically updating the duration is needed.
Specifically, a request record stored in a database is queried; in this embodiment, the dynamic update duration device generates a corresponding history request record each time after receiving a request sent by the client, and stores the history request record in the database. The historical request record includes a request time, a time interval of a last request corresponding to the request. Where the last request may be a request made by any client to any interface. For example, if the system includes A, B, C, D four interfaces, and interface a receives a request 1 sent by a certain client at a certain historical time, then records a request time 1 of the request 1, and determines a corresponding time interval of the previous request according to the request time 1 and the request time 0 based on a request time 0 of the previous request (for example, indicated as request 0) of the request 1, where the time interval is a difference between the request time 1 and the request time 0. And marking the time interval and the request time as historical request records and storing the historical request records in a database.
The historical request record of the target interface does not exist in the request record, and the duration of the target interface is set as a specified duration; if there is no history request record of the target interface, the target interface may be a new interface accessed for the first time, or the administrator clears the corresponding request record, so that the specified duration may be determined as the duration, where the specified duration is set as needed, for example, the specified duration is set to 15min, 20min, 30min, and the like.
And the request records comprise historical request records of the target interface, time intervals in the historical request records are obtained, and the duration of the target interface is determined according to a preset dynamic updating process based on the time intervals. If the historical request record of the target interface exists, it indicates that data for determining the duration according to a preset dynamic update process exists, so that the time interval in the historical request record is obtained, and the duration of the target interface is determined according to the preset dynamic update process based on the time interval. The time intervals in the history request record may be more than three or even a large number.
Specifically, a historical time interval queue of the target interface is obtained from the historical request record, and a time interval from the time when the target interface is accessed to the next time when any interface is accessed is marked as a new time interval of the target interface;
generally, since the system generally performs the initialization process, and the history request records before and after initialization are generally saved as two files, the time interval can be divided into the history time interval and the new time interval by taking the initialization time point as a boundary. The historical time interval is the time interval between each historical request received by the target interface before the initialization time point and the next request corresponding to each historical request received by any interface; the new time interval is a time interval between each history request received by the target interface after the initialization time point and a next request corresponding to each history request received by any interface.
Based on this, after receiving an interface request every time, recording a time interval between a current time point of the request and a last request time of a corresponding client access, wherein an interface accessed by the last request is the target interface. For generating a time interval queue based on the time interval.
For example, the time interval queue is represented by Q, and Q isixRepresenting the historical time interval of the i interface, i represents the interface number, x is the request sequence number, for example, the i interface is interface A, and the first time interval before (x-1) interface A before the system initialization time point can be respectively represented as QA1,QA2...QA(x-1)That is, the interface A has x-1 historical request records before the system initialization time point.
With QijAnd the time interval of sending the next request to any interface at the jth time of the ith interface after the system initialization time point is represented, wherein i is the number of the interface, and j is the number of times of sending the next request by a certain interface.
Assuming that a website system has only four interfaces a, B, C, D, and a client logs in interface a at 10:00 and then accesses interface B at 10:05, the first time interval of interface a is 10:05-10:00 ═ 5 minutes, i.e., QA1Recording the data into a database;
a client logs on to interface a at 11:00 and then accesses interface C at 10:01, the second first time interval of interface a is 11:01-11:00 ═ 1 minute, i.e., QA2Recording the data to a database;
a client logs on interface a at 10:00 and then accesses interface D at 10:10, the third first time interval of interface a is 10:10-10:00 ═ 10 minutes, i.e. QA3Recording the data to a database;
if a client accesses interface C at 10:01, followed by interface B at 10:08, the first time interval of interface C is 10:08-10:01 ═ 7 minutes, i.e. QC1Recording the data to a database;
a client accesses interface C at 10:08, followed by 10:09 and another interface C, the second first time interval of interface C is 10:09-10:08 ═ 1 minute, i.e., QC2Recording the data to a database;
the above is history request record, and the history time interval queue of each interface is obtained by initialization: qA,QB,QC,QDWherein Q isAQueue has 3 records, QBQueue has 0 records, QCQueue has 2 records, QDThe queue has 0 records.
After the website system is initialized, a client logs in an interface A at 10:00 and then accesses an interface B at 10:03, namely QijWhere i is interface A and j is the first new time interval of interface A, recorded as QA①
And storing the new time interval into a new time interval queue, and determining the duration of the target interface based on the new time interval queue. In this embodiment, the interface a is determined as a target interface, and the historical time interval Q of the interface a is determinedA1、QA2、QA3And a new time interval QA①Adding to said time interval queue Q, i.e. said queue time interval Q comprises QA1、QA2、QA3、QA①
The embodiment provides two ways of determining the duration of the target interface based on the time interval queue, where the first way is:
calculating the average interval and standard deviation of the time intervals in the time interval queue;
wherein the average interval is an average value of the time intervals, and the average interval is represented as μ, the calculation formula of the average interval is:
Figure BDA0002738326360000081
where n represents the number of time intervals.
The standard deviation θ is calculated as:
Figure BDA0002738326360000082
after determining the mean interval and the standard deviation, a triple standard deviation of 3 σ is determined based on a three sigma criterion. And determining the sum of the average interval and three times of standard deviation as the duration of the target interface.
The three sigma criterion is also called Lauda criterion, which is that firstly, a group of detection data is supposed to only contain random errors, the detection data is calculated to obtain standard deviation, an interval is determined according to a certain probability, the errors exceeding the interval are considered not to belong to the random errors but to be coarse errors, and the data containing the errors are rejected. Based on the three-sigma criterion, in the present embodiment, the probability of each time interval being distributed in (μ -3 σ, μ +3 σ) is 0.9974, and the probability of each time interval being distributed in (0, μ -3 σ) is 0.0013, and the total probability is 0.9987.
The second method comprises the following steps: sequencing all intervals in the time interval queue to obtain a sequencing result; determining an interval specifying a ranking as a duration of the target interface based on the ranking result. For example, the times are respectively sorted according to a rule from large to small, and a certain proportion of the data duration is taken. For example, the time queue is 100s, 99s, 98s, …, 2s, 1s, and if the duration of the first 5% ratio is taken as the duration, the duration 96s of the 5 th name is taken as the duration of the target interface.
Further, after the duration of the target interface is determined, comparing the duration with a maximum value and a minimum value of a preset duration, if the duration is greater than or equal to the minimum value and less than or equal to the maximum value, judging that the duration is an effective duration, and returning the duration to the client sending the request so that the client can store the duration in the cookie.
Further, after determining the validity of the request based on the current time point and the validity duration of the target interface, the method further includes:
the request is invalid, and prompt information of the request is sent out or a webpage corresponding to the request is logged out; it is understood that the request invalidation does not perform the corresponding request operation based on security considerations.
And if the request is valid, executing the operation corresponding to the request. For example, if the request is a query, a corresponding query result is returned to the client for the user to view.
Based on the scheme, after any interface receives a request initiated by a client, a target interface is determined and the current time point is recorded; determining validity of the request based on the current time point and the validity duration of the target interface; and the request is valid, the duration of the target interface is determined based on a preset dynamic updating process, and the duration is returned to the client. Therefore, the required duration of the effective request is re-determined based on the preset dynamic updating process, the flexible adjustment of the duration is realized, and the duration requirements of various interfaces are met.
In addition, the embodiment further provides a device for dynamically updating the duration. Referring to fig. 3, fig. 3 is a functional block diagram of a device for dynamically updating duration according to a first embodiment of the present invention.
In this embodiment, the dynamic update duration device is a virtual device, and is stored in the memory 1005 of the dynamic update duration device shown in fig. 1, so as to implement all functions of the dynamic update duration program: the system comprises a client, a target interface and a plurality of interfaces, wherein the client is used for sending a request to the target interface; the validity of the request is determined based on the current time point and the validity duration of the target interface; and when the request is valid, determining the duration of the target interface based on a preset dynamic update process, and returning the duration to the client.
Specifically, the dynamic update duration device includes:
the first determining module 10 is configured to determine a target interface and record a current time point after any interface receives a request initiated by a client;
a second determining module 20, configured to determine validity of the request based on the current time point and a validity duration of the target interface;
a third determining module 30, configured to determine, based on a preset dynamic update process, a duration of the target interface when the request is valid, and return the duration to the client.
Inquiring request records stored in a database;
the historical request record of the target interface does not exist in the request record, and the duration of the target interface is set as a specified duration;
and the request records comprise historical request records of the target interface, time intervals in the historical request records are obtained, and the duration of the target interface is determined according to a preset dynamic updating process based on the time intervals.
The third determining module is further configured to:
acquiring a historical time interval queue of the target interface from the historical request record, and marking a time interval from the time when the target interface is accessed to the next time when any interface is accessed as a new time interval of the target interface;
storing the new time interval into a new time interval queue, and determining the duration of the target interface based on the time interval queue, wherein the time interval queue comprises the historical time interval queue and the new time interval queue.
The third determining module is further configured to:
calculating the average interval and standard deviation of the time intervals in the time interval queue;
and determining the sum of the average interval and three times of standard deviation as the duration of the target interface.
The third determining module is further configured to:
sequencing all intervals in the time interval queue to obtain a sequencing result;
determining an interval specifying a ranking as a duration of the target interface based on the ranking result.
The second determination module is further to:
the request is invalid, and prompt information of the request is sent out or a webpage corresponding to the request is logged out; or
And if the request is valid, executing the operation corresponding to the request.
The first determination module is further to:
recording a time interval between a current time point of the request and a last request time of a corresponding client access, wherein an interface accessed by the last request is the target interface.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a dynamic update duration program is stored on the computer-readable storage medium, and when the dynamic update duration program is executed by a processor, the steps of the method for dynamically updating a duration as described above are implemented, which are not described herein again.
Compared with the prior art, the method, the device, the equipment and the computer readable storage medium for dynamically updating the duration time provided by the invention have the advantages that after any interface receives a request initiated by a client, a target interface is determined and the current time point is recorded; determining validity of the request based on the current time point and the validity duration of the target interface; and the request is valid, the duration of the target interface is determined based on a preset dynamic updating process, and the duration is returned to the client. Therefore, the required duration of the effective request is re-determined based on the preset dynamic updating process, the flexible adjustment of the duration is realized, and the duration requirements of various interfaces are met.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, and optical disk) as described above, and includes several instructions for enabling a terminal device to execute the method according to the embodiments of the present invention.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention, and all equivalent structures or flow transformations made by the present specification and drawings, or applied directly or indirectly to other related arts, are included in the scope of the present invention.

Claims (10)

1. A method for dynamically updating a duration, the method comprising:
after receiving a request initiated by a client, any interface determines a target interface and records the current time point;
determining validity of the request based on the current time point and the validity duration of the target interface;
and the request is valid, the duration of the target interface is determined based on a preset dynamic updating process, and the duration is returned to the client.
2. The method of claim 1, wherein determining the duration of the target interface based on a predetermined dynamic update procedure comprises:
inquiring request records stored in a database;
the historical request record of the target interface does not exist in the request record, and the duration of the target interface is set as a specified duration;
and the request records comprise historical request records of the target interface, time intervals in the historical request records are obtained, and the duration of the target interface is determined according to a preset dynamic updating process based on the time intervals.
3. The method of claim 2, wherein the obtaining of the time interval in the historical request record and the determining of the duration of the target interface according to the preset dynamic update procedure based on the time interval comprises:
acquiring a historical time interval queue of the target interface from the historical request record, and marking a time interval from the time when the target interface is accessed to the next time when any interface is accessed as a new time interval of the target interface;
storing the new time interval into a new time interval queue, and determining the duration of the target interface based on the time interval queue, wherein the time interval queue comprises the historical time interval queue and the new time interval queue.
4. The method of claim 3, wherein determining the duration of the target interface based on the time interval queue comprises:
calculating the average interval and standard deviation of the time intervals in the time interval queue;
and determining the sum of the average interval and three times of standard deviation as the duration of the target interface.
5. The method of claim 3, wherein determining the duration of the target interface based on the time interval queue comprises:
sequencing all intervals in the time interval queue to obtain a sequencing result;
determining an interval specifying a ranking as a duration of the target interface based on the ranking result.
6. The method according to any one of claims 1-5, wherein after determining the validity of the request based on the current time point and the validity duration of the target interface, further comprising:
the request is invalid, and prompt information of the request is sent out or a webpage corresponding to the request is logged out; or
And if the request is valid, executing the operation corresponding to the request.
7. The method according to any one of claims 1 to 5, wherein after any interface receives the request initiated by the client, determining the target interface and recording the current time point, further comprising:
recording a time interval between a current time point of the request and a last request time of a corresponding client access, wherein an interface accessed by the last request is the target interface.
8. A dynamic update duration device, comprising:
the first determining module is used for determining a target interface and recording the current time point after any interface receives a request initiated by a client;
a second determining module, configured to determine validity of the request based on the current time point and a valid duration of the target interface;
and the third determining module is used for determining the duration of the target interface based on a preset dynamic updating process when the request is valid, and returning the duration to the client.
9. A dynamically updated duration device comprising a processor, a memory and a dynamically updated duration program stored in the memory, the dynamically updated duration program when executed by the processor implementing the steps of the method of dynamically updating duration as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a dynamically updated duration program, which when executed by a processor, performs the steps of the method of dynamically updating a duration as claimed in any one of claims 1 to 7.
CN202011143974.7A 2020-10-22 2020-10-22 Method, device and equipment for dynamically updating duration time and readable storage medium Pending CN112256713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011143974.7A CN112256713A (en) 2020-10-22 2020-10-22 Method, device and equipment for dynamically updating duration time and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011143974.7A CN112256713A (en) 2020-10-22 2020-10-22 Method, device and equipment for dynamically updating duration time and readable storage medium

Publications (1)

Publication Number Publication Date
CN112256713A true CN112256713A (en) 2021-01-22

Family

ID=74264765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011143974.7A Pending CN112256713A (en) 2020-10-22 2020-10-22 Method, device and equipment for dynamically updating duration time and readable storage medium

Country Status (1)

Country Link
CN (1) CN112256713A (en)

Similar Documents

Publication Publication Date Title
CN111698228B (en) System access authority granting method, device, server and storage medium
US10992478B2 (en) Blockchain-based digital identity management method
US11196772B2 (en) Data access policies
US8321531B2 (en) Personal criteria verification using fractional information
US7562215B2 (en) System and method for electronic document security
CN110888838B (en) Request processing method, device, equipment and storage medium based on object storage
CN108449348B (en) Online authentication system and method supporting user identity privacy protection
CN116360769A (en) Code generation method, device, equipment and storage medium
CN111932076B (en) Rule configuration and release method and device and computing equipment
CN113761565A (en) Data desensitization method and apparatus
CN115277593B (en) Method and system for safely storing under-chain data based on blockchain
CN111400440A (en) Intention identification method and device
CN116432232A (en) Data desensitizing method, device, computer equipment and computer readable storage medium
CN112256713A (en) Method, device and equipment for dynamically updating duration time and readable storage medium
CN112800033B (en) Data operation request processing method and device, computer equipment and storage medium
CN114490719A (en) Data query method and device, electronic equipment and storage medium
CN113592495A (en) Block chain-based evidence storing method, device and system
US7971065B2 (en) Method and apparatus for path concealment in networks and graphs
CN111966919A (en) Event message processing method, device and equipment
CN112667730B (en) External data verification method, system, equipment and storage medium
CN112733510A (en) Financial certificate generation method, device, equipment and computer readable storage medium
CN115766873A (en) Request data acquisition method and device, storage medium and computer equipment
CN117788180A (en) Method, device, equipment and storage medium for generating risk monitoring rule information
WO2022238948A1 (en) Method and system for transforming personally identifiable information
CN114398654A (en) Product login management method and device, computer equipment and storage medium

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