Data request method and device, electronic equipment and storage medium

By moving the domain name resolution task to the business server, the client receives the Internet Protocol address to request data content, solving the problems of long domain name resolution time and low success rate, and achieving faster data acquisition and higher success rate.

CN120658706APending Publication Date: 2025-09-16BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410288599.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-13
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

The client's domain name resolution is at risk of having its resolution results hijacked, and it takes a long time and has a low success rate.

Method used

The domain name resolution task is placed on the business server, and the client receives the Internet Protocol address returned by the business server to request data content.

Benefits of technology

It avoids the hijacking of domain name resolution results, shortens resolution time and improves success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658706A_ABST
    Figure CN120658706A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data request method and device, electronic equipment and a storage medium, and the method applied to a client comprises the steps: sending a data request to a business server, so as to enable the business server to determine the address description information of to-be-requested data according to the data request; receiving a first internet protocol address sent by the business server; wherein the first Internet protocol address is obtained by performing network side domain name resolution on the address description information through the business server; and requesting the data content of the to-be-requested data according to the first internet protocol address. The risk that the analysis result is hijacked can be avoided, and the problems of long analysis time and low success rate can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a data request method, device, electronic device, and storage medium. Background Art

[0002] When a client requests data, domain name resolution is typically performed by the local Domain Name System (DNS) over the carrier's network. This resolution method not only carries the risk of the resolution result being hijacked by the carrier, but also has issues like long resolution times and a low success rate. Summary of the Invention

[0003] The embodiments of the present disclosure provide a data request method, device, electronic device, and storage medium, which can avoid the risk of parsing results being hijacked and solve the problems of long parsing time and low success rate.

[0004] In a first aspect, an embodiment of the present disclosure provides a data request method, applied to a client, comprising:

[0005] Sending the data request to the business service end, so that the business service end determines the address description information of the requested data according to the data request;

[0006] Receiving a first Internet Protocol address sent by the business server; wherein the first Internet Protocol address is obtained by the business server performing network-side domain name resolution on the address description information;

[0007] A request is made for the data content of the to-be-requested data according to the first Internet Protocol address.

[0008] In a second aspect, an embodiment of the present disclosure provides a data request method, which is applied to a server, including:

[0009] Receive a data request from a client, and determine address description information of the requested data according to the data request;

[0010] Performing network-side domain name resolution on the address description information to obtain a first Internet Protocol address;

[0011] The first Internet Protocol address is sent to the client, so that the client requests the data content of the to-be-requested data according to the first Internet Protocol address.

[0012] In a third aspect, an embodiment of the present disclosure further provides a data request device, applied to a client, comprising:

[0013] A first sending module is used to send a data request to a business service end, so that the business service end determines address description information of the requested data according to the data request;

[0014] A first receiving module is configured to receive a first Internet Protocol address sent by the service server; wherein the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the service server;

[0015] The content request module is used to request the data content of the data to be requested according to the first Internet Protocol address.

[0016] In a fourth aspect, an embodiment of the present disclosure further provides a data request device, which is applied to a server, comprising:

[0017] A second receiving module is configured to receive a data request sent by a client and determine address description information of the requested data according to the data request;

[0018] A domain name resolution module, configured to perform network-side domain name resolution on the address description information to obtain a first Internet Protocol address;

[0019] The second sending module is configured to send the first Internet Protocol address to the client, so that the client requests the data content of the to-be-requested data according to the first Internet Protocol address.

[0020] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0021] one or more processors;

[0022] a storage device for storing one or more programs,

[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the data request method as described in any one of the embodiments of the present disclosure.

[0024] In a sixth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the data request method as described in any one of the embodiments of the present disclosure.

[0025] The technical solution of the disclosed embodiment is applied to a client data request method, which can send a data request to a business server, so that the business server determines the address description information of the requested data based on the data request; receives a first Internet Protocol address sent by the business server; wherein the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the business server; and requests the data content of the requested data based on the first Internet Protocol address. By placing the domain name resolution task on the server, hijacking of the resolution result can be avoided, solving the problem of long domain name resolution time and low success rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.

[0027] Figure 1 A flowchart of a data request method provided in an embodiment of the present disclosure;

[0028] Figure 2 A schematic diagram of signaling interaction of a data request method provided in an embodiment of the present disclosure;

[0029] Figure 3 A flowchart of a data request method provided in an embodiment of the present disclosure;

[0030] Figure 4 A flowchart of a data request method provided in an embodiment of the present disclosure;

[0031] Figure 5 A schematic diagram of the structure of a data request device provided in an embodiment of the present disclosure;

[0032] Figure 6 A schematic diagram of the structure of a data request device provided in an embodiment of the present disclosure;

[0033] Figure 7 A schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0034] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0035] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0036] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0037] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0038] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0039] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0040] Figure 1 This is a flow chart of a data request method provided by an embodiment of the present disclosure. This embodiment of the present disclosure is applicable to scenarios where a client requests data from a server. This method can be performed by a data request device, which can be implemented in software and / or hardware and can be configured in an electronic device, such as a mobile phone or computer.

[0041] like Figure 1 As shown, the data request method provided in this embodiment, when applied to a client, may include:

[0042] S110: Send the data request to the business server, so that the business server determines the address description information of the requested data according to the data request.

[0043] In the disclosed embodiment, the client may send a data request for business data to the business server, and the business data is the requested data. For different businesses, the requested data may vary, for example, the requested data may be feed stream data.

[0044] In the client, a data request may be sent in response to a preset operation, for example, in response to triggering of a data request control, or in response to a preset gesture (such as a swipe up, pull down, etc.), etc., which are not exhaustive here.

[0045] S120: Receive a first Internet Protocol address sent by the service server; wherein the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the service server.

[0046] In the disclosed embodiments, the service server can determine descriptive information of the requested data based on the data request. This descriptive information can be structural information and include address descriptive information of the requested data, and can also include other information items depending on the business. For example, if the requested data is feed data, the descriptive information can also include author descriptive information and release time descriptive information. The address descriptive information can include information such as the domain name.

[0047] After the business service end obtains the address description information, it can rely on its powerful resources and performance to perform network-side domain name resolution to resolve the address description information into a first Internet Protocol Address (IP). The network-side domain name resolution may, for example, include: determining the first Internet Protocol address corresponding to the address description information based on a mapping relationship table cached in at least one DNS on the network side. Afterwards, the business service end may return the first Internet Protocol address together with the description information of the data to be requested to the client; wherein, the description information returned at this time may or may not include the address description information. Accordingly, the client can receive the first Internet Protocol address.

[0048] S130: Request the data content of the requested data according to the first Internet Protocol address.

[0049] In the disclosed embodiments, the client can skip the domain name resolution stage and directly request data content based on the first Internet Protocol address returned by the service server. Once the data content is obtained, it can be rendered on the real-world interface. By moving the domain name resolution task during the data request process to the server, the client can more quickly obtain domain name resolution results, optimize the data request path, avoid the risk of domain name resolution results being hijacked, enable the requested data to be displayed to the client more quickly, and improve the success rate of data acquisition.

[0050] For example, Figure 2 This is a signaling interaction diagram of a data request method provided by an embodiment of the present disclosure. Figure 2 , taking the case where the requested data is feed data as an example, this section describes the process of the client obtaining feed data:

[0051] First, the client can initiate a feed data request to the feed business server through the network library; then, the feed business server can obtain the description information of the feed data from the recommendation server, and can use the Http DNS service to perform network-side domain name resolution based on the first feed item data in the description information to obtain the first Internet Protocol address; then, the business server can return the first Internet Protocol address together with the description information of the feed data to the client; finally, the client can perform TCP connection establishment, SSL handshake and other operations based on the first Internet Protocol address to connect to the content server, and finally obtain the data content of the feed data from the content server.

[0052] The technical solution of the disclosed embodiment can send a data request to a business server, so that the business server can determine the address description information of the requested data based on the data request; receive a first Internet Protocol address sent by the business server; wherein the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the business server; and request the data content of the requested data based on the first Internet Protocol address. By placing the domain name resolution task on the server, DNS hijacking can be avoided, solving the problems of long domain name resolution time and low success rate.

[0053] The various optional schemes in the data request method provided in the embodiment of the present disclosure and the above-mentioned embodiment can be combined. The data request method provided in this embodiment optimizes the process of requesting data content. For electronic devices whose local performance is higher than the preset performance, the client installed thereon can, in addition to using the first Internet Protocol address to establish a connection with the content server, parse the local side address description information in real time during the process of requesting data content, and establish a connection with the content server based on the parsing situation. Furthermore, the data content can be obtained based on the faster line of the two connection lines, that is, by competing with the two connection lines, the selection of the optimal connection route can be achieved. Among them, the performance higher than the preset performance can include at least one of the network speed higher than the preset network speed, the memory resources greater than the preset memory, and the computing power resources greater than the preset computing power.

[0054] Figure 3 This is a flow chart of a data request method provided by an embodiment of the present disclosure. Figure 3 As shown, the data request method provided in this embodiment may include:

[0055] S310: Send the data request to the business server, so that the business server determines the address description information of the requested data according to the data request.

[0056] S320: Receive the first Internet Protocol address and address description information sent by the business server.

[0057] In this embodiment, the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information on the service server. In addition to feeding the first Internet Protocol address back to the client, the service server may also feed back description information including the address description information to the client. Accordingly, the client may receive the first Internet Protocol address and the address description information.

[0058] S330: Request the data content of the requested data according to the first Internet Protocol address and the address description information.

[0059] Because the first Internet Protocol address is obtained by parsing based on a cached mapping table, it may not be updated in a timely manner to a certain extent, and therefore the quality of the first Internet Protocol address will be affected to a certain extent. In this embodiment, data content can be requested based on the first Internet Protocol, and the address description information can also be subjected to real-time local domain name resolution, and the data content can be requested based on the resolution result. This ensures that the data content can be successfully requested even if the first Internet address is incorrect.

[0060] In some optional implementations, requesting the data content of the requested data based on the first Internet Protocol address and the address description information may include:

[0061] A first connection is established with the content server according to the first Internet Protocol address, and a local domain name resolution is performed on the address description information; based on the establishment of the first connection and the resolution of the local domain name resolution, the data content of the requested data is requested from the content server.

[0062] The establishment of a first connection with the content server based on the first Internet Protocol address can be considered as the establishment of a Transmission Control Protocol (TCP) connection with the content server based on the first Internet Protocol address. The client can perform real-time local domain name resolution based on the address description information through existing methods, and then establish a TCP connection with the content server based on the resolution situation.

[0063] Among them, the process of establishing the first connection and the process of local domain name resolution can be carried out simultaneously to achieve fair competition between the two connection establishment methods. The data content is obtained based on the faster line of the two connection establishment lines, which can optimize the efficiency and success rate of data requests.

[0064] Illustratively, based on the establishment of the first connection and the resolution of the local domain name resolution, the data content of the requested data is requested from the content server, as shown in Table 1.

[0065] Table 1

[0066]

[0067] Referring to Table 1, when the establishment status is successful and the resolution status is resolving, the first Internet Protocol address can be considered correct. At this time, data content can be quickly requested from the content server based on the first connection, and the local domain name resolution process can be canceled.

[0068] When the establishment status is in the process of being established and the resolution status is resolution failure, it can be considered that the local performance is currently poor, and the first connection can be continued to be established.

[0069] If the establishment status is "establishing" and the resolution status is "resolution successful", the first Internet Protocol address may be correct or incorrect. In this case, the second Internet Protocol address obtained by resolution may be compared with the first Internet Protocol address, and data content may be requested from the content server based on the comparison result. Requesting data content from the content server based on the comparison result may include: if the second Internet Protocol address is the same as the first Internet Protocol address, the first Internet Protocol address may be considered correct, and the first connection may be established; if the second Internet Protocol address is different from the first Internet Protocol address, the first Internet Protocol address may be considered incorrect, and a second connection may be established with the content server based on the second Internet Protocol, and the first connection establishment process may be canceled.

[0070] If the establishment status is "establishment failed" and the resolution status is "resolving in progress," the first Internet Protocol address can be considered incorrect, and local domain name resolution can be continued. After the second Internet Protocol address is obtained through resolution, a second connection can be established with the content server based on the second Internet Protocol address.

[0071] In these optional implementations, various possible scenarios, including the establishment of the first connection and the resolution of the local domain name resolution, can be addressed separately to achieve fast TCP connection establishment. The client then performs operations such as an SSL handshake to connect to the content server, ultimately obtaining the data content from the content server.

[0072] In some optional implementations, requesting data content of the requested data based on the first Internet Protocol address and the address description information may further include:

[0073] Establishing a first connection with a content server according to a first Internet Protocol address; performing local domain name resolution on the address description information if the first connection is not established within a preset time; and requesting data content of the requested data from the content server according to the establishment of the first connection and the resolution of the local domain name resolution.

[0074] Among them, the preset time can be pre-set according to the actual situation, for example, it can be 1 second, 2 seconds, etc. In these optional implementation methods, since the simultaneous execution of the first connection and the local side domain name resolution requires a large resource overhead, when resources are limited, an unfair competition strategy can be adopted. That is, the first connection can be established with the content server according to the first Internet Protocol address. If the connection is not successfully established within the preset time, the local side domain name resolution and connection establishment can be started at this time, and the two connection lines can be raced. Among them, the racing process of the two connection lines can be referred to the description above.

[0075] The technical solution of the disclosed embodiment optimizes the process of requesting data content. For electronic devices whose local performance is higher than the preset performance, the client installed thereon, in addition to using the first Internet Protocol address to establish a connection with the content server, can also parse the local address description information in real time during the process of requesting data content, and establish a connection with the content server based on the parsed information. Furthermore, the data content can be obtained based on the faster of the two connection lines. That is, by competing with the two connection lines, the optimal connection route can be selected.

[0076] In addition, the data request method provided in the embodiment of the present disclosure and the data request method provided in the above embodiment belong to the same public concept. Technical details not fully described in this embodiment can be referred to the above embodiment, and the same technical features have the same beneficial effects in this embodiment and the above embodiment.

[0077] Figure 4 This is a flow chart of a data request method provided by an embodiment of the present disclosure. This embodiment of the present disclosure is applicable to scenarios where a client requests data from a server. This method can be performed by a data request device, which can be implemented in software and / or hardware and can be configured in an electronic device, such as a server.

[0078] like Figure 4 As shown, the data request method provided in this embodiment, when applied to the server, may include:

[0079] S410: Receive a data request sent by a client, and determine address description information of the requested data according to the data request.

[0080] S420: Perform network-side domain name resolution on the address description information to obtain a first Internet Protocol address.

[0081] S430: Send the first Internet Protocol address to the client, so that the client requests the data content of the requested data according to the first Internet Protocol address.

[0082] In some optional implementations, the data request method may further include: sending the address description information to the client, so that the client requests the data content of the requested data based on the first Internet Protocol address and the address description information.

[0083] In these optional implementations, by sending the address description information to the client, the client can conduct fair or unfair competition between establishing a connection to the content server based on the first Internet Protocol address and establishing a connection based on the local real-time resolution DNS, so as to select the optimal connection route, which is beneficial to improving the efficiency and success rate of data requests.

[0084] The technical solution of the embodiment of the present disclosure receives a data request sent by a client, and determines the address description information of the data to be requested based on the data request; performs network-side domain name resolution on the address description information to obtain a first Internet Protocol address; and sends the first Internet Protocol address to the client, so that the client can request the data content of the requested data based on the first Internet Protocol address. By placing the domain name resolution task on the server side, DNS hijacking can be avoided, and the problems of long domain name resolution time and low success rate can be solved. In addition, the data request method provided by the embodiment of the present disclosure and the data request method applied to the client provided in the above embodiment belong to the same public concept. The technical details not fully described in this embodiment can be found in the above embodiment, and the same technical features have the same beneficial effects in this embodiment and the above embodiment.

[0085] Figure 5 The data request device provided in this embodiment is applicable to the case where a client requests data from a server.

[0086] like Figure 5 As shown, the data request device provided in the embodiment of the present disclosure, applied to a client, may include:

[0087] A first sending module 510 is configured to send a data request to a business server, so that the business server determines address description information of the requested data according to the data request;

[0088] A first receiving module 520 is configured to receive a first Internet Protocol address sent by the service server; wherein the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the service server;

[0089] The content request module 530 is configured to request the data content of the requested data according to the first Internet Protocol address.

[0090] In some optional implementations, the first receiving module can also be used to receive address description information sent by the business server; accordingly, the content request module can be used to request the data content of the requested data based on the first Internet Protocol address and the address description information.

[0091] In some optional implementations, the content request module may be used to:

[0092] Establishing a first connection with the content server according to the first Internet Protocol address, and performing local domain name resolution on the address description information;

[0093] According to the establishment of the first connection and the resolution of the local domain name resolution, the content of the requested data is requested from the content server.

[0094] In some optional implementations, the content request module may be used to:

[0095] If the establishment status is successful and the parsing status is in progress, requesting data content from the content server based on the first connection;

[0096] When the establishment status is in the process of being established and the resolution status is resolution failure, continue to establish the first connection;

[0097] If the establishment status is in the process of establishment and the resolution status is successful, the second Internet Protocol address obtained by resolution is compared with the first Internet Protocol address, and data content is requested from the content server according to the comparison result;

[0098] When the establishment status is failed and the resolution status is resolving, continue with the local domain name resolution.

[0099] In some optional implementations, the content request module may be used to:

[0100] If the second Internet Protocol address is the same as the first Internet Protocol address, continue to establish the first connection;

[0101] In the case where the second Internet Protocol address is different from the first Internet Protocol address, a second connection is established with the content server according to the second Internet Protocol.

[0102] In some optional implementations, the content request module may be used to:

[0103] establishing a first connection with the content server according to the first Internet Protocol address;

[0104] If the first connection is not established within the preset time, performing local domain name resolution on the address description information;

[0105] According to the establishment of the first connection and the resolution of the local domain name resolution, the content of the requested data is requested from the content server.

[0106] The data request device provided in the embodiments of the present disclosure can execute the data request method applied to the client provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0107] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0108] Figure 6 The data request device provided in this embodiment is applicable to the case where a client requests data from a server.

[0109] like Figure 6 As shown, the data request device provided in the embodiment of the present disclosure, applied to the server, may include:

[0110] The second receiving module 610 is configured to receive a data request sent by a client and determine address description information of the requested data according to the data request;

[0111] A domain name resolution module 620 is configured to perform network-side domain name resolution on the address description information to obtain a first Internet Protocol address;

[0112] The second sending module 630 is configured to send the first Internet Protocol address to the client, so that the client can request the data content of the requested data according to the first Internet Protocol address.

[0113] In some optional implementations, the second sending module may also be configured to send the address description information to the client, so that the client can request the data content of the requested data based on the first Internet Protocol address and the address description information.

[0114] The data request device provided in the embodiments of the present disclosure can execute the data request method applied to the server provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0115] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0116] Reference below Figure 7 , which shows an electronic device (eg Figure 7 The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (such as in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 7 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0117] like Figure 7 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. Various programs and data required for the operation of the electronic device 700 are also stored in the RAM 703. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0118] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.

[0119] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 709, or installed from the storage device 708, or installed from the ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the data request method of the embodiment of the present disclosure are performed.

[0120] The electronic device provided by the embodiment of the present disclosure and the data request method provided by the above embodiment belong to the same disclosed concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0121] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon. When the program is executed by a processor, the data request method provided in the above embodiment is implemented.

[0122] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or flash memory (FLASH), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0123] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0124] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0125] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0126] A data request is sent to a business server, so that the business server determines the address description information of the data to be requested according to the data request; a first Internet Protocol address sent by the business server is received; wherein the first Internet Protocol address is obtained by performing a network-side domain name resolution on the address description information by the business server; and a data content of the data to be requested is requested according to the first Internet Protocol address.

[0127] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device:

[0128] Receive a data request sent by a client, and determine address description information of the requested data based on the data request; perform network-side domain name resolution on the address description information to obtain a first Internet Protocol address; and send the first Internet Protocol address to the client, so that the client can request the data content of the requested data based on the first Internet Protocol address.

[0129] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0130] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0131] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the names of the units and modules do not, in certain circumstances, limit the units and modules themselves.

[0132] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), and the like.

[0133] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0134] According to one or more embodiments of the present disclosure, a data request method is provided, which is applied to a client and includes:

[0135] Sending the data request to the business service end, so that the business service end determines the address description information of the requested data according to the data request;

[0136] Receiving a first Internet Protocol address sent by the business server; wherein the first Internet Protocol address is obtained by the business server performing network-side domain name resolution on the address description information;

[0137] A request is made for the data content of the to-be-requested data according to the first Internet Protocol address.

[0138] According to one or more embodiments of the present disclosure, a data request method is provided, further comprising:

[0139] In some optional implementations, receiving the address description information sent by the business server;

[0140] Correspondingly, the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the business server, including:

[0141] A request is made for the data content of the to-be-requested data according to the first Internet Protocol address and the address description information.

[0142] According to one or more embodiments of the present disclosure, a data request method is provided, further comprising:

[0143] In some optional implementations, requesting the data content of the to-be-requested data based on the first Internet Protocol address and the address description information includes:

[0144] Establishing a first connection with a content server according to the first Internet Protocol address, and performing local domain name resolution on the address description information;

[0145] According to the establishment of the first connection and the resolution of the local domain name resolution, the data content of the requested data is requested from the content server.

[0146] According to one or more embodiments of the present disclosure, a data request method is provided, further comprising:

[0147] In some optional implementations, requesting the content of the to-be-requested data from the content server based on the establishment of the first connection and the resolution of the local domain name resolution includes:

[0148] When the establishment status is successful and the parsing status is in progress, requesting the data content from the content server based on the first connection;

[0149] When the establishment status is in the process of being established and the resolution status is resolution failure, continue to establish the first connection;

[0150] When the establishment status is in the process of establishment and the resolution status is successful, comparing the second Internet Protocol address obtained by resolution with the first Internet Protocol address, and requesting the data content from the content server according to the comparison result;

[0151] When the establishment status is establishment failure and the resolution status is resolving, the local side domain name resolution is continued.

[0152] According to one or more embodiments of the present disclosure, a data request method is provided, further comprising:

[0153] In some optional implementations, requesting the data content from the content server according to the comparison result includes:

[0154] If the second Internet Protocol address is the same as the first Internet Protocol address, continue to establish the first connection;

[0155] In a case where the second Internet Protocol address is different from the first Internet Protocol address, a second connection is established with the content server according to the second Internet Protocol.

[0156] According to one or more embodiments of the present disclosure, a data request method is provided, further comprising:

[0157] In some optional implementations, requesting the data content of the to-be-requested data based on the first Internet Protocol address and the address description information includes:

[0158] establishing a first connection with the content server according to the first Internet Protocol address;

[0159] If the first connection is not established within a preset time, performing local domain name resolution on the address description information;

[0160] According to the establishment of the first connection and the resolution of the local domain name resolution, the data content of the requested data is requested from the content server.

[0161] According to one or more embodiments of the present disclosure, a data request method is provided, which is applied to a server and includes:

[0162] Receive a data request from a client, and determine address description information of the requested data according to the data request;

[0163] Performing network-side domain name resolution on the address description information to obtain a first Internet Protocol address;

[0164] The first Internet Protocol address is sent to the client, so that the client requests the data content of the to-be-requested data according to the first Internet Protocol address.

[0165] According to one or more embodiments of the present disclosure, a data requesting device is provided, which is applied to a client and includes:

[0166] A first sending module is used to send a data request to a business service end, so that the business service end determines address description information of the requested data according to the data request;

[0167] A first receiving module is configured to receive a first Internet Protocol address sent by the service server; wherein the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the service server;

[0168] The content request module is used to request the data content of the data to be requested according to the first Internet Protocol address.

[0169] According to one or more embodiments of the present disclosure, a data request device is provided, which is applied to a server and includes:

[0170] A second receiving module is configured to receive a data request sent by a client and determine address description information of the requested data according to the data request;

[0171] A domain name resolution module, configured to perform network-side domain name resolution on the address description information to obtain a first Internet Protocol address;

[0172] The second sending module is configured to send the first Internet Protocol address to the client, so that the client requests the data content of the to-be-requested data according to the first Internet Protocol address.

[0173] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0174] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0175] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A data request method, characterized in that: Applied to the client, including: Sending the data request to the business service end, so that the business service end determines the address description information of the requested data according to the data request; Receiving a first Internet Protocol address sent by the business server; wherein the first Internet Protocol address is obtained by the business server performing network-side domain name resolution on the address description information; A request is made for the data content of the to-be-requested data according to the first Internet Protocol address.

2. The method according to claim 1, characterized in that Also includes: Receiving the address description information sent by the business server; Correspondingly, the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the business server, including: A request is made for the data content of the to-be-requested data according to the first Internet Protocol address and the address description information.

3. The method according to claim 2, characterized in that The requesting the data content of the to-be-requested data according to the first Internet Protocol address and the address description information includes: Establishing a first connection with a content server according to the first Internet Protocol address, and performing local domain name resolution on the address description information; According to the establishment of the first connection and the resolution of the local domain name resolution, the data content of the requested data is requested from the content server.

4. The method according to claim 3, characterized in that The requesting the content of the to-be-requested data from the content server according to the establishment of the first connection and the resolution of the local domain name resolution includes: When the establishment status is successful and the parsing status is in progress, requesting the data content from the content server based on the first connection; When the establishment status is in the process of being established and the resolution status is resolution failure, continue to establish the first connection; When the establishment status is in the process of establishment and the resolution status is successful, comparing the second Internet Protocol address obtained by resolution with the first Internet Protocol address, and requesting the data content from the content server according to the comparison result; When the establishment status is establishment failure and the resolution status is resolving, the local side domain name resolution is continued.

5. The method according to claim 4, characterized in that The requesting the data content from the content server according to the comparison result includes: If the second Internet Protocol address is the same as the first Internet Protocol address, continue to establish the first connection; In a case where the second Internet Protocol address is different from the first Internet Protocol address, a second connection is established with the content server according to the second Internet Protocol.

6. The method according to claim 2, characterized in that The requesting the data content of the to-be-requested data according to the first Internet Protocol address and the address description information includes: establishing a first connection with the content server according to the first Internet Protocol address; If the first connection is not established within a preset time, performing local domain name resolution on the address description information; According to the establishment of the first connection and the resolution of the local domain name resolution, the data content of the requested data is requested from the content server.

7. A data request method, characterized in that: Applied to the server, including: Receive a data request from a client, and determine address description information of the requested data according to the data request; Performing network-side domain name resolution on the address description information to obtain a first Internet Protocol address; The first Internet Protocol address is sent to the client, so that the client requests the data content of the to-be-requested data according to the first Internet Protocol address.

8. A data request device, characterized in that: Applied to the client, including: A first sending module is used to send a data request to a business service end, so that the business service end determines address description information of the requested data according to the data request; A first receiving module is configured to receive a first Internet Protocol address sent by the service server; wherein the first Internet Protocol address is obtained by performing network-side domain name resolution on the address description information by the service server; The content request module is used to request the data content of the data to be requested according to the first Internet Protocol address.

9. A data requesting device, characterized in that: Applied to the server, including: A second receiving module is configured to receive a data request sent by a client and determine address description information of the requested data according to the data request; A domain name resolution module, configured to perform network-side domain name resolution on the address description information to obtain a first Internet Protocol address; The second sending module is configured to send the first Internet Protocol address to the client, so that the client requests the data content of the to-be-requested data according to the first Internet Protocol address.

10. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the data request method according to any one of claims 1 to 6 or claim 7.

11. A storage medium comprising computer-executable instructions, wherein the computer-executable instructions are used to execute the data request method according to any one of claims 1 to 6 or claim 7 when executed by a computer processor.