Communication method, Web server and Web communication system
A communication method and server technology, applied in transmission systems, public keys for secure communication, user identity/authority verification, etc., can solve problems such as common connection channel security, and achieve the effect of saving CPU usage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0084] Such as figure 1 As shown, Embodiment 1 of the present invention provides a communication method based on the Websocket protocol, including the following steps:
[0085] S101, the first web server sends a random value to the web browser;
[0086] Specifically, the authentication module is deployed in any web server, the authentication module is used to complete the authentication of the web browser, and the web server is called the first web server, and the first web server receives the web browser The first authentication request sent by the server, if the first Web server has not authenticated the Web browser, then send an unauthenticated message carrying a random value.
[0087] S102. The first Web server receives a second authentication request from the Web browser;
[0088] Specifically, the second authentication request carries a username, the IP address of the web browser, and a first abstract, and the first abstract is used by the web browser to combine the us...
Embodiment 2
[0096] Such as figure 2 As shown, Embodiment 2 of the present invention provides a communication method based on a common Websocket connection protocol, including the following steps:
[0097] S201, the web browser sends a first authentication request to the first web server, and receives an unauthenticated message returned by the first web server, where the unauthenticated message contains a random value; initiates the first authentication request and receives the first web server's returned messages;
[0098] Specifically, the sm.js module of the Web browser initiates the first authentication request. In a specific example, the first authentication request may be:
[0099] https:\\163.com\auth\session(put)
[0100] The first Web server judges the first authentication request, and returns an unauthenticated message carrying a random value if the Web server has not authenticated the browser.
[0101] S202. The web browser initiates a second authentication request.
[0102...
Embodiment 3
[0113] Based on the communication method based on the common connection protocol of Websocket described in embodiment two, such as image 3 As shown, Embodiment 3 of the present invention provides a method for encrypting a Websocket common connection data transmission channel, including the following steps:
[0114] S301, the web browser initiates a public key acquisition request, and the web server returns public key information;
[0115] S302. The Web browser generates a first dynamic password, and the first dynamic password is encrypted and generated by the Web browser according to the public key;
[0116] S303. The web browser initiates a request for obtaining sensitive data to the web server, and the request carries the first dynamic password;
[0117] S304. The web server uses a private key to decrypt the first dynamic password to obtain a second dynamic password;
[0118] S305. The web server acquires sensitive data, encrypts the acquired sensitive data using the seco...
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