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

Inactive Publication Date: 2016-09-07
LETV HLDG BEIJING CO LTD +1
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a server recommendation method and device, which are used to solve the problem of huge amount of calculatio

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Server recommending method and device
  • Server recommending method and device
  • Server recommending method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a server recommending method and device, and relates to the technical field of the Internet. The method comprises the steps of receiving a server recommending request, wherein the server recommending request includes a user IP address; searching a digital IP address matched with the user IP address and a corresponding server identifier in a preset digital IP address database by a dichotomy, wherein the preset digital IP address database comprises the digital IP addresses which are arranged according to a number sequence, and the corresponding server identifiers; and sending the server identifier corresponding to the digital IP address matched with the user IP address. According to the server recommending method and device provided by the embodiment of the invention, the digital IP address matched with the user IP address and the corresponding server identifier are searched in the preset IP address database by the dichotomy, so that a user selects the server corresponding to the server identifier, and the problem that the calculation amount is huge due to traversal of the IP database is avoided.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of the Internet, and in particular to a server recommendation method and device. Background technique [0002] At present, there are many network operators, and each network operator provides a variety of network services, which leads to the complexity of the current network environment. In order to improve the user experience, when the user needs to establish a communication connection with the network server through the user equipment, the user equipment sends a request for recommending the server to the preset server, and the request for the recommending server includes the user IP address, and the preset server receives the user's IP address. The device sends a recommendation server request, and screens the network server according to the user's IP address contained in the recommendation server request, and recommends a suitable network server to the user device to increase the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08H04L29/12G06F17/30
CPCH04L61/2503H04L67/141G06F16/22G06F16/2453
Inventor 魏泽涛赵月显胡勇陈翔薛伟
Owner LETV HLDG BEIJING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products