Method and terminal for realizing retry
A terminal, real-time update technology, applied in the Internet field, can solve the problems of calling system avalanche risk, repeated user clicks, etc., to reduce server pressure, avoid traffic impact, and improve stability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0076] Please refer to figure 1 with image 3 , this embodiment is described from the perspective of a computing module, a method for implementing retry, including steps:
[0077] receiving a first message of an interface access request, where the first message includes an identifier of the interface;
[0078] receiving a second message indicating that the interface access is successful, where the second message includes an identifier of the interface;
[0079] Specifically, the client requests the interface, and the interface sends the first message to the computing module when receiving the interface access request;
[0080] When the interface successfully processes the business logic required by the interface access request, sending a second message to the computing module;
[0081] The computing module receives the first message and the second message of the plurality of interfaces;
[0082] S01. Real-time statistics of the number of access requests of each interface c...
Embodiment 2
[0103] The difference between this embodiment and embodiment one is:
[0104] The request success rate of each interface within the preset time corresponds to a cache expiration time;
[0105] Specifically, within a preset time, when the interface receives an access request, it needs to update the corresponding request success rate according to whether the access is successful, and refresh the cache expiration time corresponding to the request success rate while updating the request success rate ;
[0106] Preferably, the cache expiration time is 30 minutes, and within the preset time, if the interface does not receive an access request within 20 minutes, there are 10 minutes left before the request success rate corresponding to the interface expires. At this time, if the interface receives an access request and updates the corresponding request success rate according to the status of the access request, the cache expiration time of the request success rate is refreshed, and ...
Embodiment 3
[0115] Please refer to figure 2 , a terminal 1 for realizing retry, comprising a memory 2, a processor 3 and a computer program stored in the memory 2 and operable on the processor 3, when the processor 3 executes the computer program, the implementation Steps in Example 1.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



