US 12,463,964 B2
Method for transmitting message applied to preset server and terminal, and electronic device
Yixing Sun, Beijing (CN); and Jian Wang, Beijing (CN)
Assigned to Beijing Youzhuju Network Technology Co., Ltd., Beijing (CN)
Filed by Beijing Youzhuju Network Technology Co., Ltd., Beijing (CN)
Filed on Sep. 27, 2024, as Appl. No. 18/900,142.
Application 18/900,142 is a continuation of application No. PCT/CN2023/082351, filed on Mar. 17, 2023.
Claims priority of application No. 202210324115.0 (CN), filed on Mar. 29, 2022.
Prior Publication US 2025/0023866 A1, Jan. 16, 2025
Int. Cl. H04L 9/40 (2022.01)
CPC H04L 63/083 (2013.01) [H04L 63/062 (2013.01)] 9 Claims
OG exemplary drawing
 
1. A method for transmitting a message, the method being applied to a preset server which is a pre-deployed server for transmitting a message between a terminal and a cloud server, the method comprising:
receiving a cloud service access request message transmitted by the terminal, wherein the cloud service access request message comprises domain name address information of the preset server;
determining a cloud service interface address to be accessed according to the cloud service access request message;
performing signature verification on the cloud service access request message according to the cloud service interface address, and re-signing the cloud service access request message in case that the verification has passed, to obtain a new cloud service access request message; and
transmitting the new cloud service access request message to the cloud server according to the cloud service interface address,
wherein the cloud service access request message comprises user identification information of the current user and business request data, and the business request data comprises vendor identification information of a cloud vendor corresponding to the cloud server to be accessed by the current user, the performing signature verification on the cloud service access request message according to the cloud service interface address comprises:
determining a signing algorithm corresponding to the cloud server according to the cloud service interface address;
acquiring a first key corresponding to the current user according to the user identification information and the vendor identification information, wherein the first key is pre-generated by the preset server;
generating a first signature by adopting the signing algorithm according to the first key, the user identification information and the business request data; and
performing signature verification on the cloud service access request message according to the first signature;
wherein the re-signing the cloud service access request message to obtain the new cloud service access request message comprises:
acquiring a second key corresponding to the cloud server according to the user identification information and the vendor identification information, wherein the second key is pre-generated by the cloud server;
generating a second signature by adopting the signing algorithm according to the second key, the user identification information and the business request data; and
re-signing the cloud service access request message according to the second signature to obtain the new cloud service access request message.