Method, system for communication among webpage, and application in music searching
A web page and music playback technology, applied in the network field, can solve the problems of wasting bandwidth and untimely response.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] refer to figure 1 , is a flow chart of the method for communicating between web pages according to Embodiment 1 of the present invention.
[0045] S101, after a web page A of the client sends an operation request, it waits for a reply from the server;
[0046] S102, the server receives the operation request and pretends to be processing it, so that the client waits;
[0047] S103, another webpage B of the client sends a trigger request to the server;
[0048] S104, after receiving the trigger request from the client, the server returns a reply corresponding to the operation request of the webpage A to the waiting client;
[0049] S105, the client performs a corresponding operation on the web page A according to the reply.
[0050] The above process realizes the real-time communication between web page A and web page B, which is different from the traditional mode of "the client requests and the server responds immediately". In the present invention, the server does n...
Embodiment 2
[0053] refer to figure 2 , is a flowchart of the method for communication between webpages according to Embodiment 2 of the present invention. Still taking Listening to Music as an example, a user logs in to an online listening to music website on a certain client, opens the song search result page of the website, and a list of songs is displayed on the page. After the user selects the song to listen to, a new page is opened. Play page, this play page is called Music Box.
[0054]S201, when the music box is opened for the first time, it will automatically send a request to the website server indicating that it wants to obtain the song information added by the user.
[0055] The request is the aforementioned operation request, and the request is accompanied by a client ID and a request ID. Wherein, the client ID is used to uniquely identify a client, and may be an account of a registered user, or an ID temporarily generated.
[0056] Preferably, the client's cookie can be u...
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