Reverse proxy method and device, electronic device, storage medium
A technology of reverse proxy and electronic equipment, applied in the direction of electrical components, electrical digital data processing, special data processing applications, etc., can solve problems such as inability to obtain data, ease of use discounts, and differences in data uniformity, so as to reduce learning and cost of use, the effect of increased ease of use and flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0051]The user can request a file stored in the data center 130a (or 130b) by the browser 111 on the electronic device 110.
[0052]Step S210: The script module 121 receives the file request information transmitted from the browser 111 on the electronic device 110. The file request information includes a file name and a file path. For example, the file request information can be the "Test / Test.txt" that the user entered in the browser address bar, where Test.txt is the file name, TEST / for the file path.
[0053]Step S220: The script module 121 can determine the data center (e.g., data center 130a) where the file is located according to the file request information.
[0054]Step S230: The script module 121 acquires the username and key of accessing the data center 130A in the configuration file 122.
[0055]Step S240: The script module 121 encrypts the file request information, the username, and key to generate a token.
[0056]Step S250: The script module 121 generates an access address of the...
no. 2 example
[0060]The user can request a file via the application 112 on the electronic device 110. The user has a username and password accessing the data center 130A. The file has not been synchronized from the source data center 130b to the data center 130a. Alternatively, the data center 130a is closer to the electronic device operating in the data center 130b at the physical distance / routing distance.
[0061]Step S210: The script module 121 receives the file request information transmitted from the application 112 on the electronic device 110. The file request information includes a file name, a file path, a username and password of the data center 130a.
[0062]Step S220: The script module 121 can determine if the file is stored in the data center 130A based on the username and password of the access data center 130a. Since the file has not synchronized from the source data center 130B to the data center 130a, step S220 can determine the source data center 130b as the data center to obtain t...
no. 3 example
[0069]In the present embodiment, the same file is splitted in the data center 130A and 130B, and the user only has a username and password accessing one of the data centers (e.g., data center 130a).
[0070]Step S210: The script module 121 receives the file request information transmitted from the application 112 on the electronic device 110. The file request information includes a file name, a file path, a username and password of the data center 130a.
[0071]Step S220: The script module 121 can extract some of the data stored in the data center 130a based on the username and password of the access data center 130a, and determine the data center 130b as the data center to obtain the file.
[0072]Step S230: The script module 121 acquires the username and key of accessing the data center 130b in the configuration file 122.
[0073]Step S240: The script module 121 encrypts the file request information, the username, and key to generate a token.
[0074]Step S250: The script module 121 generates an...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com