METHOD FOR ACCESSING CLOUD SERVICE AND ACCESS DEVICE
First Claim
1. A method for accessing a cloud service, comprising:
- obtaining, by an access device, an access address and an access account of a to-be-accessed cloud service;
reading, by the access device, a characteristic information set, wherein the characteristic information set stores several pieces of characteristic information, and each piece of characteristic information comprises one cloud service interface type identifier and at least one piece of cloud service interface version information corresponding to the cloud service interface type identifier;
sending, by the access device, a first access request packet to the to-be-accessed cloud service, wherein the first access request packet comprises a cloud service interface type identifier in first characteristic information and the access address, and the first characteristic information is a piece of characteristic information in the characteristic information set; and
in response to determining that a first access response packet returned by the to-be-accessed cloud service based on the first access request packet is received, connecting to the to-be-accessed cloud service based on target cloud service interface version information and the access account, wherein the target cloud service interface version information comprises at least one piece of cloud service interface version information in the first characteristic information, and the first access response packet indicates that an interface type of the to-be-accessed cloud service matches the cloud service interface type identifier in the first characteristic information.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure provides a method for accessing a cloud service and an access device. The method includes: sending, to a to-be-accessed cloud service, an access request packet that includes a cloud service interface type identifier of a piece of characteristic information and an access address of the to-be-accessed cloud service, when an access response packet that is returned by the to-be-accessed cloud service and that indicates successful matching is received, using interface version information corresponding to the cloud service interface type identifier as target cloud service interface version information, and connecting to the to-be-accessed cloud service based on the target cloud service interface version information and the access account. In this case, a degree of complexity of establishing a connection to a cloud service is decreased, and work efficiency is increased.
5 Citations
20 Claims
-
1. A method for accessing a cloud service, comprising:
-
obtaining, by an access device, an access address and an access account of a to-be-accessed cloud service; reading, by the access device, a characteristic information set, wherein the characteristic information set stores several pieces of characteristic information, and each piece of characteristic information comprises one cloud service interface type identifier and at least one piece of cloud service interface version information corresponding to the cloud service interface type identifier; sending, by the access device, a first access request packet to the to-be-accessed cloud service, wherein the first access request packet comprises a cloud service interface type identifier in first characteristic information and the access address, and the first characteristic information is a piece of characteristic information in the characteristic information set; and in response to determining that a first access response packet returned by the to-be-accessed cloud service based on the first access request packet is received, connecting to the to-be-accessed cloud service based on target cloud service interface version information and the access account, wherein the target cloud service interface version information comprises at least one piece of cloud service interface version information in the first characteristic information, and the first access response packet indicates that an interface type of the to-be-accessed cloud service matches the cloud service interface type identifier in the first characteristic information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An access device, comprising:
-
a memory, configured to store a program; and a processor, configured to execute the program stored in the memory, so that the access device performs the following method; obtaining an access address and an access account of a to-be-accessed cloud service; reading a characteristic information set, wherein the characteristic information set stores several pieces of characteristic information, and each piece of characteristic information comprises one cloud service interface type identifier and at least one piece of cloud service interface version information corresponding to the cloud service interface type identifier; sending a first access request packet to the to-be-accessed cloud service, wherein the first access request packet comprises a cloud service interface type identifier in first characteristic information and the access address, and the first characteristic information is a piece of characteristic information in the characteristic information set; and in response to determining that a first access response packet returned by the to-be-accessed cloud service based on the first access request packet is received, connecting to the to-be-accessed cloud service based on target cloud service interface version information and the access account, wherein the target cloud service interface version information is one of at least one piece of cloud service interface version information in the first characteristic information, and the first access response packet indicates that an interface type of the to-be-accessed cloud service matches the cloud service interface type identifier in the first characteristic information. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification