IP Library Granted Patent US 11,093,300
Granted Patent B1
US 11,093,300 · App. 17/039,876 · Granted Aug 17, 2021

Method, electronic device and computer program product for processing information

Inventors: Ren Wang (Shanghai, CN); Qi Wang (Shanghai, CN); Yun Zhang (Shanghai, CN); Ming Zhang (Shanghai, CN); Weiyang Liu (Shanghai, CN)
Assignee: EMC IP Holding Company LLC
G06F9/54
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,093,300
App. No.
17/039,876
Granted
Aug 17, 2021
Kind
B1
Abstract

An information processing method that includes acquiring access information related to an access performed via an interface, the access information including an action identifier of an action to be executed via the interface, a response identifier for an execution result of the action, and an interface identifier of the interface. The method further includes determining, based on the action identifier, the response identifier, and the interface identifier, a target access identifier corresponding to the access information. The method further includes determining, based on the access information, time information associated with the access. The method further includes storing the target access identifier and the time information in an associated manner. Through this method, the recorded amount of data information is reduced, and disk space requirements and network transmission loads are lowered.

Claims (75)

1. An information processing method, comprising:

acquiring access information related to an access performed via an application programming interface (API), the access information comprising an action identifier of an action to be executed via the API, a response identifier for an execution result of the action, and an interface identifier of the API, wherein the response identifier is code indicating success of the access and the interface identifier is an interface path;

determining, based on the action identifier, the response identifier, and the interface identifier, a target access identifier corresponding to the access information;

determining, based on the access information, time information associated with the access; and

storing the target access identifier and the time information in an associated manner; wherein storing the target access identifier and the time information in the associated manner comprises:

determining whether the target access identifier exists in stored historical access identifiers, the historical access identifiers being related to previous accesses performed via the API; and

when the target access identifier exists in the historical access identifiers, storing the time information in association with the target access identifier.

2. The method according to claim 1 , wherein acquiring the access information comprises:

acquiring the action identifier and the interface identifier from an access request related to the access; and

in response to an end of execution of the action, determining the response identifier.

3. The method according to claim 1 , wherein storing the target access identifier and the time information in the associated manner further comprises:

when the target access identifier does not exist in the stored historical access identifiers,

storing the target access identifier; and

storing the time information in association with the target access identifier.

4. The method according to claim 1 ,

wherein the access information further comprises a start time of the access and end time of the access; and determining, based on the access information, the time information associated with the access further comprises:

determining, based on the start time and the end time, an access duration; and

determining, based on the start time and the access duration, the time information.

5. The method according to claim 1 , further comprising:

storing the target access identifier and the time information from a memory to an external storage apparatus based on at least one selected from a group consisting of:

end time of a preset time period;

a duration in which the API is not accessed exceeding a threshold duration; or

a number of times that the API is accessed exceeds a threshold number of times.

6. The method according to claim 5 , further comprising:

before storing the target access identifier and the time information in the external storage apparatus in a first storage region, setting a second storage region in the memory to store future access identifiers and future time information of future accesses, the second storage region being different from the first storage region storing the target access identifier.

7. An electronic device, comprising:

at least one processor; and

a memory, coupled to the at least one processor and having instructions stored thereon, wherein when executed by the at least one processor, the instructions cause the electronic device to perform the following actions comprising:

acquiring access information related to an access performed via an application programming interface (API), the access information comprising an action identifier of an action to be executed via the API, a response identifier for an execution result of the action, and an interface identifier of the API, wherein the response identifier is code indicating success of the access and the interface identifier is an interface path;

determining, based on the action identifier, the response identifier, and the interface identifier, a target access identifier corresponding to the access information;

determining, based on the access information, time information associated with the access; and

storing the target access identifier and the time information in an associated manner; wherein storing the target access identifier and the time information in the associated manner comprises:

determining whether the target access identifier exists in stored historical access identifiers, the historical access identifiers being related to previous accesses performed via the API; and

when the target access identifier exists in the historical access identifiers, storing the time information in association with the target access identifier.

8. The electronic device according to claim 7 , wherein acquiring the access information comprises:

acquiring the action identifier and the interface identifier from an access request related to the access; and

in response to an end of execution of the action, determining the response identifier.

9. The electronic device according to claim 7 , wherein storing the target access identifier and the time information in the associated manner further comprises:

when the target access identifier does not exist in the stored historical access identifiers,

storing the target access identifier; and

storing the time information in association with the target access identifier.

10. The electronic device according to claim 7 ,

wherein the access information further comprises start time of the access and end time of the access; determining, based on the access information, the time information associated with the access further comprises:

determining, based on the start time and the end time, an access duration; and

determining, based on the start time and the access duration, the time information.

11. The electronic device according to claim 7 , wherein the actions further comprise:

storing the target access identifier and the time information from a memory to an external storage apparatus based on at least one selected from a group consisting of:

end time of a preset time period;

a duration in which the API is not accessed exceeding a threshold duration; or

a number of times that the API interface is accessed exceeds a threshold number of times.

12. The electronic device according to claim 11 , wherein the actions further comprise:

before storing the target access identifier and the time information in the external storage apparatus in a first storage region, setting a second storage region in the memory to store future access identifiers and future time information of future accesses, the second storage region being different from the first storage region storing the target access identifier.

13. A non-transitory computer readable medium comprising computer readable program code, which when executed by a computer processor enables the computer processor to perform a method, the method comprising:

acquiring access information related to an access performed via an application programming interface (API), the access information comprising an action identifier of an action to be executed via the API, a response identifier for an execution result of the action, and an interface identifier of the API, wherein the response identifier is code indicating success of the access and the interface identifier is an interface path;

determining, based on the action identifier, the response identifier, and the interface identifier, a target access identifier corresponding to the access information;

determining, based on the access information, time information associated with the access; and

storing the target access identifier and the time information in an associated manner, wherein storing the target access identifier and the time information in the associated manner comprises:

determining whether the target access identifier exists in stored historical access identifiers, the historical access identifiers being related to previous accesses performed via the API; and

when the target access identifier exists in the historical access identifiers, storing the time information in association with the target access identifier.

14. The non-transitory computer readable medium according to claim 13 , wherein acquiring the access information comprises:

acquiring the action identifier and the interface identifier from an access request related to the access; and

in response to an end of execution of the action, determining the response identifier.

15. The non-transitory computer readable medium according to claim 13 , wherein storing the target access identifier and the time information in the associated manner further comprises:

when the target access identifier does not exist in the stored historical access identifiers,

storing the target access identifier; and

storing the time information in association with the target access identifier.

16. The non-transitory computer readable medium according to claim 13 ,

wherein the access information further comprises a start time of the access and end time of the access; and determining, based on the access information, the time information associated with the access further comprises:

determining, based on the start time and the end time, an access duration; and

determining, based on the start time and the access duration, the time information.

17. The non-transitory computer readable medium according to claim 13 , the method further comprising:

storing the target access identifier and the time information from a memory to an external storage apparatus based on at least one selected from a group consisting of:

end time of a preset time period;

a duration in which the API is not accessed exceeding a threshold duration; or

a number of times that the API is accessed exceeds a threshold number of times.

Assignments (9)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0523) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0664 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0434) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 060332/0740 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (054475/0609) Recorded Jun 10, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
Reel/Frame 062021/0570 →
RELEASE OF SECURITY INTEREST AT REEL 054591 FRAME 0471 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC
Reel/Frame 058001/0463 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 054475/0609 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0434 →
SECURITY INTEREST Recorded Nov 18, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 054475/0523 →
SECURITY AGREEMENT Recorded Nov 13, 2020
From: EMC IP HOLDING COMPANY LLC; DELL PRODUCTS L.P.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 054591/0471 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 1, 2020
From: WANG, REN; WANG, QI; ZHANG, YUN; ZHANG, MING; LIU, WEIYANG
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 053949/0637 →