Server recommending method and device
A recommendation method and server technology, applied in the Internet field, can solve problems such as huge amount of calculation, and achieve the effect of saving system resources and saving search time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] figure 1 A flow chart of a server recommendation method provided by an embodiment of the present invention, as shown in figure 1 As shown, the server recommends methods, including:
[0024] Step 101: receiving a request from a recommendation server, where the request from the recommendation server includes a user IP address;
[0025] Specifically, the user communicates with the server through user devices such as mobile phones, computers, and smart TVs, so that the server can provide the user with the network resources that the user needs, and the network resources include various resources such as download resources, network storage space, and online games;
[0026] In this embodiment, when the user equipment obtains that the user clicks or triggers an operation button to acquire a certain network resource, it sends a request for recommending the server to the preset server, and the preset server receives the request of the recommending server and uses the recommended...
Embodiment 2
[0041] Such as figure 2 As shown, the embodiment of the present invention provides a server recommendation method, including:
[0042] Step 201: establishing a correspondence between a character string IP address and a numeric IP address;
[0043] Specifically, the string IP address is converted into a numeric IP address, for example, the string IP address is converted into a numeric IP address through the ip to long function, which specifically includes: using the "." in the string IP address as a separator, Divide the IP address into 4 segments and convert them into integers, each segment corresponds to an 8-bit binary number, and weight each segment, for example, the weight of the first segment is 224, the weight of the second segment is 216, and the weight of the third segment is 28 , The weight of the last segment is 1; the value of these 4 segments is multiplied by their respective weights and then accumulated, which is the digital IP address corresponding to the strin...
Embodiment 3
[0061] image 3 A schematic diagram of a method for searching the numerical range of the digital IP address that matches the user IP address in the preset digital IP address database provided by the embodiment of the present invention, as shown in image 3 As shown, the method includes:
[0062] Step 301: comparing the number corresponding to the user IP address with the lower limit and upper limit of the preset numerical range in the preset digital IP address database;
[0063] Specifically, for example, as shown in Table 2, [300,500] located in the middle position of [[0,100], [150,200], [300,500], [1000,2000], [5000,8000]] in the embodiment of the present invention is Preset value range, start dichotomy search from the preset value range; in other embodiments, the preset value range can be set as required, and the present invention does not limit it;
[0064] Step 302: When the number corresponding to the user's IP address is greater than or equal to the lower limit value...
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