Network resource transmission method and device, equipment, storage medium and product
By building an acceleration channel, the dedicated line connecting the network access portal of the computer room near the client and the domestic forwarding server and the Internet line of the domestic forwarding server and the data center is solved, and the problems of cross-border network resource transmission are achieved, and more efficient network resource transmission is achieved.
Patent Information
- Application Number
- CN202411727295.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-11
AI Technical Summary
Existing network resource transmission technologies face high latency and insufficient performance problems during cross-border access, resulting in low efficiency of network resource transmission.
By building an acceleration channel consisting of a dedicated connection line connecting the computer room network access portal near the client to the domestic forwarding server and an Internet line connecting the domestic forwarding server to the data center, responding to the client's domain name resolution request, obtaining the original data resources, and determining whether the transmission is needed based on the preset Internet address database. If necessary, the transmission to the data center will be accelerated through the acceleration channel.
It improves the efficiency of network resource transmission, reduces the problems of latency and insufficient performance, and improves user experience and business efficiency.
Smart Images

Figure CN119603269A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network technology, and in particular to network resource transmission methods, devices, equipment, storage media and products. Background Art
[0002] In the era of globalized Internet, the demand for cross-border network access is growing. In this context, the importance of network resource transmission technology is increasing. With the rapid development of global economic integration and Internet technology, the demand of multinational companies and individual users for accessing network resources in different countries and regions is increasing. This not only involves business communication, remote work, and online education, but also entertainment, social interaction and other aspects. However, due to the complexity of international network architecture and data transmission, including differences in network infrastructure in different countries and regions, network congestion, routing strategies and other issues, cross-border network access often faces high latency and insufficient performance, which directly affects user experience and business efficiency.
[0003] Existing network resource transmission technologies often use public acceleration networks for network resource transmission, but face problems of high latency and insufficient performance, resulting in low efficiency of network resource transmission.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of this application is to provide a network resource transmission method, device, equipment, storage medium and product, aiming to solve the technical problem of low efficiency of network resource transmission.
[0006] To achieve the above purpose, the present application proposes a network resource transmission method, the method comprising:
[0007] In response to a domain name resolution request from a client, obtaining an original data resource corresponding to the domain name resolution;
[0008] Based on a preset Internet address library, the domain name resolution request is identified to determine whether the original data resource needs to be transmitted faster;
[0009] If the original data resources need to be transmitted at an accelerated speed, the original data resources will be transmitted to the preset data center at an accelerated speed through a preset acceleration channel, wherein the acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center.
[0010] In one embodiment, the step of accelerating the transmission of the original data resource to a preset data center through a preset acceleration channel includes:
[0011] Encrypting the original data resource to obtain an encrypted network data packet;
[0012] Obtaining Internet address information of the client;
[0013] Adding the Internet address information to the header portion of the encrypted network data packet;
[0014] The encrypted network data packet is accelerated and transmitted to the data center through a preset acceleration channel.
[0015] In one embodiment, after the step of accelerating the transmission of the original data resource to the preset data center through the preset acceleration channel, the following steps are performed:
[0016] When feedback resources are received from the data center, the feedback information is accelerated and transmitted to the client through the acceleration channel.
[0017] In one embodiment, the step of identifying the domain name resolution request based on a preset Internet address library and determining whether the original data resource needs to be transmitted quickly includes:
[0018] If the original data resource does not need to be transmitted at an accelerated rate, the original data resource is sent to the data center via a preset conventional service channel.
[0019] In one embodiment, the step of accelerating the transmission of the original data resource to a preset data center through a preset acceleration channel further includes:
[0020] In response to a channel switching signal, switching the acceleration channel to the regular service channel, wherein the acceleration channel and the regular service channel do not interfere with each other;
[0021] The original data resource is transmitted to the data center via the conventional service channel at an accelerated speed.
[0022] In one embodiment, before the step of accelerating the transmission of the original data resource to the data center through the conventional service channel, the step includes:
[0023] Monitoring the accelerated channel and the conventional service channel;
[0024] If it is identified that the acceleration channel fails, the acceleration channel is switched to the regular service channel, and the original data resource is transmitted to the data center through the regular service channel;
[0025] If it is identified that the conventional service channel fails, the conventional service channel is switched to the acceleration channel, and the original data resource is transmitted to the data center through the acceleration channel.
[0026] In addition, to achieve the above purpose, the present application also proposes a network resource transmission device, the network resource transmission device comprising:
[0027] A response module, used to respond to a domain name resolution request from a client and obtain the original data resource corresponding to the domain name resolution;
[0028] An identification module, used to identify the domain name resolution request based on a preset Internet address library, and determine whether the original data resource needs to be transmitted faster;
[0029] A transmission module is used for accelerating the transmission of the original data resources to a preset data center through a preset acceleration channel if the original data resources need to be accelerated, wherein the acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center.
[0030] In addition, to achieve the above-mentioned purpose, the present application also proposes a network resource transmission device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the network resource transmission method described above.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the network resource transmission method described above are implemented.
[0032] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the network resource transmission method described above are implemented.
[0033] One or more technical solutions proposed in this application have at least the following technical effects:
[0034] Compared with the related art, which often uses a public acceleration network for network resource transmission, but faces the problems of high latency and insufficient performance, resulting in low efficiency of network resource transmission, the present application responds to the domain name resolution request of the client, obtains the original data resource corresponding to the domain name resolution; identifies the domain name resolution request based on the preset Internet address library, and determines whether the original data resource needs to be accelerated; if the original data resource needs to be accelerated, the original data resource is accelerated to the preset data center through the preset acceleration channel, wherein the acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center. It can be understood that the present application adopts the construction of an acceleration channel composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center for network resource transmission. If the original data resource needs to be accelerated, the network resource transmission is realized by transferring the original data resource to the acceleration channel, thereby improving the transmission efficiency of the network resource. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0037] Figure 1 A flowchart of the first embodiment of the network resource transmission method of the present application is provided;
[0038] Figure 2 A flowchart of the second embodiment of the network resource transmission method of the present application is provided;
[0039] Figure 3 A schematic diagram of a simplified flow chart of a network resource transmission method provided in Embodiment 2 of the present application;
[0040] Figure 4 This is a schematic diagram of the module structure of the network resource transmission device according to an embodiment of the present application;
[0041] Figure 5 A schematic diagram of the device structure of the hardware operating environment involved in the network resource transmission method in the embodiment of the present application.
[0042] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0043] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0044] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0045] The main solutions of the embodiments of this application are:
[0046] In response to a domain name resolution request from a client, obtaining an original data resource corresponding to the domain name resolution;
[0047] Based on a preset Internet address library, the domain name resolution request is identified to determine whether the original data resource needs to be transmitted faster;
[0048] If the original data resources need to be transmitted at an accelerated speed, the original data resources will be transmitted to the preset data center at an accelerated speed through a preset acceleration channel, wherein the acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center.
[0049] In this embodiment, the present application uses a network resource transmission device as the execution subject. For ease of description, it is specifically described below as "device".
[0050] Because the existing technology often uses a public acceleration network to transmit network resources, it faces the problems of high latency and insufficient performance, resulting in low efficiency in network resource transmission.
[0051] The present application provides a solution, in response to a domain name resolution request from a client, obtaining the original data resource corresponding to the domain name resolution; based on a preset Internet address library, identifying the domain name resolution request, and determining whether the original data resource needs to be accelerated; if the original data resource needs to be accelerated, the original data resource is accelerated to a preset data center through a preset acceleration channel, wherein the acceleration channel is composed of a dedicated connection line connecting a computer room network access entrance near the client and a domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center. It is understandable that the present application adopts the construction of an acceleration channel composed of a dedicated connection line connecting a computer room network access entrance near the client and a domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center to transmit network resources. If the original data resource needs to be accelerated, the network resource transmission is achieved by transferring the original data resource to the acceleration channel, thereby improving the transmission efficiency of the network resource.
[0052] Based on this, the embodiment of the present application provides a network resource transmission method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the network resource transmission method of the present application.
[0053] In this embodiment, the network resource transmission method includes steps S10 to S30:
[0054] Step S10, in response to the domain name resolution request of the client, obtaining the original data resource corresponding to the domain name resolution;
[0055] It should be noted that the domain name resolution request refers to the process in which a user or device sends a request to the domain name system to convert a domain name into an IP address when accessing an Internet service. The original data resource refers to the initial data packet that has not been processed or optimized during network transmission. These data packets contain basic information about the service or information requested by the user. The Internet address library is a predefined and stored database that contains address information of various services and resources on the Internet, which is used to quickly identify and process domain name resolution requests.
[0056] Step S20, based on a preset Internet address library, identifying the domain name resolution request, and determining whether the original data resource needs to be accelerated in transmission;
[0057] It should be noted that the Internet address library is a predefined and stored database that contains address information of various services and resources on the Internet, which is used to quickly identify and process domain name resolution requests. Through the address library, the device can quickly identify the user's location and the best data center, thereby optimizing the data transmission path. Accelerated transmission refers to the process of increasing the speed of data transmission through specific technical means, such as content distribution network (CDN) or other network optimization technologies. That is, caching data to a geographical location closer to the user, or transmitting data through an optimized network path to reduce delays and increase download speeds.
[0058] Step S30, if the original data resource needs to be accelerated, the original data resource is accelerated to the preset data center through a preset acceleration channel, wherein the acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center.
[0059] It should be noted that an acceleration channel refers to a network path specially set up to increase the speed of data transmission. This usually includes a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server, as well as an Internet line connecting the domestic forwarding server and the data center. Through these dedicated, optimized paths, data can be transmitted from the source server to the user faster. A domestic forwarding server refers to a server located in the country or region where the user is located, which is used to receive data from the source server and forward it to a data center closer to the user or directly to the user. These servers are part of the acceleration channel and help reduce the time and cost of data transmission between international networks. A data center is a facility that houses a large number of servers, which are used to store, process and distribute data. In the context of network resource acceleration, a data center is the destination of data transmission, where the data requested by the user will eventually be processed and sent to the user. Data centers are usually equipped with high-speed network connections and a large amount of storage resources to ensure efficient and stable data transmission.
[0060] In a feasible implementation manner, the step of accelerating the transmission of the original data resource to a preset data center through a preset acceleration channel includes:
[0061] Encrypting the original data resource to obtain an encrypted network data packet;
[0062] Obtaining Internet address information of the client;
[0063] Adding the Internet address information to the header portion of the encrypted network data packet;
[0064] The encrypted network data packet is accelerated and transmitted to the data center through a preset acceleration channel.
[0065] It should be noted that encrypted network data packets refer to data packets that are encrypted for data transmission in the network. The purpose of encryption is to protect the security and privacy of data and prevent data from being stolen or tampered with during transmission. The encrypted data packet contains an encrypted version of the original data, and only the recipient with the correct key can decrypt and access the original data. The client's Internet address information refers to the unique identifier of the client device on the Internet, usually the IP address. This information is used to identify and locate the client device so that the data can be correctly routed to the destination. The packet header part refers to the header of the data packet, which contains information used for network routing and transmission control, such as the source IP address, the destination IP address, the protocol type, etc. The packet header is an important part of the data packet, guiding the transmission path of the data packet in the network and ensuring that the data can be sent and received correctly. The preset acceleration channel refers to a network path specially set up to increase the data transmission speed. It includes a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server, and an Internet line connecting the domestic forwarding server with the data center. Through these dedicated and optimized paths, data can be transmitted from the source server to the user faster. A data center is a facility that stores a large number of servers, which are used to store, process and distribute data. In the context of network resource acceleration, a data center is the destination of data transmission, where the data requested by the user will eventually be processed and sent to the user. Data centers are usually equipped with high-speed network connections and a large amount of storage resources to ensure efficient and stable data transmission.
[0066] For example, the network access entrance of the computer room of the acceleration channel is built based on the global accelerator product component (GA for short) provided by the international public cloud vendor AWS. Relying on the layout of AWS computer rooms covering major cities around the world and the Anycast technology feature provided by the GA product, it can ensure that the access requests of users distributed around the world can be accessed from the nearest AWS computer room, greatly shortening the time it takes for the client access traffic to enter the acceleration channel;
[0067] After the user traffic is connected to the AWS data center, it is aggregated at high speed to the forwarding server deployed at the AWS China Hong Kong site through the specific proxy gateway deployed at AWS and the high-quality backbone network dedicated line between AWS global data centers. The server identifies the client's Internet address information and attaches it to the TCP message header. The entire accelerated transmission process can ensure stable and high-speed communication quality, and the communication content is encrypted throughout the process, without the possibility of data leakage.
[0068] Through this implementation, the present invention not only improves the speed of data transmission, but also enhances the security of data.
[0069] In a feasible implementation manner, the step of accelerating the transmission of the original data resource to the preset data center through the preset acceleration channel includes:
[0070] When feedback resources are received from the data center, the feedback information is accelerated and transmitted to the client through the acceleration channel.
[0071] It should be noted that the data center refers to a facility that stores, processes and distributes large amounts of data, usually including high-performance servers and storage devices, for processing various network services and applications. The feedback information refers to the information returned by the data center to the client after processing the request, which may include the processing result of the request, status code or other relevant information.
[0072] It is understandable that feedback information from the data center is sent back to the client of the original request to complete the entire data request and response cycle.
[0073] In a feasible implementation manner, the step of identifying the domain name resolution request based on a preset Internet address library and determining whether the original data resource needs to be transmitted at an accelerated rate includes:
[0074] If the original data resource does not need to be transmitted at an accelerated rate, the original data resource is sent to the data center via a preset conventional service channel.
[0075] It should be noted that the conventional service channel is a standard network path used to transmit data when special acceleration services are not required. It does not have the optimization and dedicated resources of the acceleration channel, but is suitable for ordinary data transmission needs. The original data resource refers to the initial data packet that has not been processed or optimized during the network transmission process. These data packets contain basic information about the service or information requested by the user. The data center refers to a facility that stores, processes and distributes large amounts of data, usually containing high-performance servers and storage devices for processing various network services and applications.
[0076] It is understandable that directly returning requests from clients that do not need to be accelerated to the regular service IP and directing them to the regular service channel is conducive to efficient use of the acceleration channel.
[0077] In another feasible implementation manner, the step of accelerating the transmission of the original data resource to a preset data center through a preset acceleration channel further includes:
[0078] In response to a channel switching signal, switching the acceleration channel to the regular service channel, wherein the acceleration channel and the regular service channel do not interfere with each other;
[0079] The original data resource is transmitted to the data center via the conventional service channel at an accelerated speed.
[0080] It should be noted that the channel switching signal refers to a signal used to indicate switching from one channel to another in network communication. This signal is usually sent by network equipment or management systems in response to changes in network conditions or the need to optimize data transmission paths. In technical documents, the channel switching signal may involve specific protocols or mechanisms to ensure the continuity and stability of data transmission. The acceleration channel is a specially designed network path for increasing data transmission speed and reducing latency, including but not limited to optimized routing, dedicated servers and high-speed connection dedicated lines. The regular service channel is a standard network path for transmitting data when special acceleration services are not required. The non-interference means that the acceleration channel and the regular service channel are operated independently, and the activities of one channel will not affect the performance or stability of the other channel, ensuring the flexibility and reliability of network services. The original data resource refers to the initial data packet that has not been processed or optimized during network transmission, and contains basic information about the service or information requested by the user. The data center refers to a facility for storing, processing and distributing large amounts of data, usually containing high-performance servers and storage devices for processing various network services and applications.
[0081] It is understandable that, referring to Figure 3 When the device receives a channel switching signal from a network device or management system, it will switch data transmission from the acceleration channel to the regular service channel according to this signal. This switching ensures the flexibility and adaptability of data transmission, allowing the device to select the most appropriate transmission path based on current network conditions and user needs. At the same time, the design of the acceleration channel and the regular service channel ensures that they do not interfere with each other, thereby maintaining the stability and efficiency of network services. The original data resources are sent to the data center through the regular service channel to complete the data transmission process.
[0082] In another feasible implementation manner, before the step of accelerating the transmission of the original data resource to the data center through the conventional service channel, the step includes:
[0083] Monitoring the accelerated channel and the conventional service channel;
[0084] If it is identified that the acceleration channel fails, the acceleration channel is switched to the regular service channel, and the original data resource is transmitted to the data center through the regular service channel;
[0085] If it is identified that the conventional service channel fails, the conventional service channel is switched to the acceleration channel, and the original data resource is transmitted to the data center through the acceleration channel.
[0086] It is understandable that when the device detects a channel failure, it will decide how to switch channels based on the type of failed channel (acceleration channel failure or regular service channel failure). If the acceleration channel fails, the system will automatically switch to the regular service channel and send the original data resources to the data center through this channel. Conversely, if the regular service channel fails, the device will switch to the acceleration channel and use this channel to transmit data. This automatic switching mechanism ensures that data transmission can continue even in the event of a network channel failure, thereby improving the reliability and stability of network services.
[0087] This embodiment provides a network resource transmission method, which adopts an acceleration channel composed of a dedicated line connecting a network access entrance of a computer room near a client and a domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center to transmit network resources. If the original data resources need to be transmitted at an accelerated speed, the network resource transmission is achieved by transferring the original data resources to the acceleration channel, thereby improving the transmission efficiency of the network resources.
[0088] For example, to help understand the implementation process of the network resource transmission method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 2 , Figure 2 A schematic diagram of a flow chart of a network resource transmission method is provided, specifically:
[0089] Based on the Internet address database, the received domain name resolution requests are identified and divided into two categories: those that need to be accelerated and those that do not. For client requests that need to be accelerated, especially those from overseas, the acceleration channel is pointed to through the cname method, and services are provided to the outside in a dual-channel parallel mode; this judgment rule is controlled by the server and is transparent to the user; in addition, a one-click dual-channel configuration switching tool is built on the server side. When any channel fails, a forced external service channel switching can be performed to ensure that external services are not interrupted. The advantage of this mode is that the dual channels do not interfere with each other, and when necessary, user traffic can be switched between the dual channels to provide higher availability guarantees. The switching operation and initiative are on the client side, which is transparent to users and clients.
[0090] Based on the Global Accelerator product component (GA) provided by the international public cloud vendor AWS, we built the network access entrance of the data center of the acceleration channel. Relying on the layout of AWS data centers covering major cities around the world and the Anycast technology feature provided by the GA product, it can ensure that the access requests of users distributed around the world can be accessed from the nearest AWS data center, greatly shortening the time it takes for the client access traffic to enter the acceleration channel;
[0091] After the user traffic is connected to the AWS data center, it is aggregated at high speed to the forwarding server deployed at the AWS Hong Kong site through the high-quality backbone network dedicated line between AWS global data centers through the specific proxy gateway deployed at AWS. The server identifies the client's Internet address information and attaches it to the TCP message header. The entire accelerated transmission process can ensure stable and high-speed communication quality, and the communication content is encrypted throughout the process, without the possibility of data leakage;
[0092] In the Hong Kong-Shenzhen section, the Internet line of a third-party telecom operator is used to forward the client request traffic gathered at the Hong Kong site to Shenzhen, and then the traffic is returned to the client. This reduces the usage of dedicated lines as much as possible, greatly reducing the cost of dedicated lines while ensuring user experience.
[0093] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the network resource transmission method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0094] This application also provides a network resource transmission device, please refer to Figure 4 , the network resource transmission device comprises:
[0095] The response module 10 is used to respond to the domain name resolution request of the client and obtain the original data resource corresponding to the domain name resolution;
[0096] The identification module 20 is used to identify the domain name resolution request based on a preset Internet address library and determine whether the original data resource needs to be transmitted faster;
[0097] The transmission module 30 is used to accelerate the transmission of the original data resources to the preset data center through a preset acceleration channel if the original data resources need to be accelerated. The acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center.
[0098] And / or, the transmission module 30 includes:
[0099] A first encryption module, used to encrypt the original data resource to obtain an encrypted network data packet;
[0100] A first acquisition module, used to acquire the Internet address information of the client;
[0101] A first adding module, used for adding the Internet address information to the header part of the encrypted network data packet;
[0102] The first transmission module is used to accelerate the transmission of the encrypted network data packet to the data center through a preset acceleration channel.
[0103] And / or, the network resource transmission device includes:
[0104] The second transmission module is used to accelerate the transmission of the feedback information to the client through the acceleration channel when receiving the feedback resource from the data center.
[0105] And / or, the network resource transmission device includes:
[0106] The third transmission module is used to send the original data resource to the data center through a preset regular service channel if the original data resource does not need to be accelerated.
[0107] And / or, the transmission module 30 includes:
[0108] A first switching module, configured to switch the acceleration channel to the regular service channel in response to a channel switching signal, wherein the acceleration channel and the regular service channel do not interfere with each other;
[0109] A fourth transmission module is used to accelerate the transmission of the original data resource to the data center through the conventional service channel.
[0110] And / or, the network resource transmission device includes:
[0111] A first monitoring module, used for monitoring the acceleration channel and the regular service channel;
[0112] a fifth transmission module, configured to switch the acceleration channel to the regular service channel if a fault is identified in the acceleration channel, and transmit the original data resource to the data center through the regular service channel;
[0113] The sixth transmission module is used to switch the conventional service channel to the acceleration channel if it is identified that the conventional service channel fails, and transmit the original data resource to the data center through the acceleration channel.
[0114] The network resource transmission device provided by the present application adopts the network resource transmission method in the above embodiment, which can solve the technical problem of poor efficiency of network resource transmission. Compared with the prior art, the beneficial effects of the network resource transmission device provided by the present application are the same as the beneficial effects of the network resource transmission method provided by the above embodiment, and other technical features in the network resource transmission device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0115] The present application provides a network resource transmission device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the network resource transmission method in the above-mentioned embodiment one.
[0116] Reference below Figure 5 , which shows a schematic diagram of the structure of a network resource transmission device suitable for implementing the embodiment of the present application. The network resource transmission device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, tablet computers, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The network resource transmission device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0117] like Figure 5 As shown, the network resource transmission device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the network resource transmission device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the network resource transmission device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a network resource transmission device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0118] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0119] The network resource transmission device provided by the present application adopts the network resource transmission method in the above embodiment, which can solve the technical problem of poor efficiency of network resource transmission. Compared with the prior art, the beneficial effects of the network resource transmission device provided by the present application are the same as the beneficial effects of the network resource transmission method provided by the above embodiment, and other technical features in the network resource transmission device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0120] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0121] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0122] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the network resource transmission method in the above-mentioned embodiment.
[0123] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, 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), 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 this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0124] The computer-readable storage medium may be included in the network resource transmission device; or may exist independently without being assembled into the network resource transmission device.
[0125] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the network resource transmission device, the network resource transmission device:
[0126] In response to a domain name resolution request from a client, obtaining an original data resource corresponding to the domain name resolution;
[0127] Based on a preset Internet address library, the domain name resolution request is identified to determine whether the original data resource needs to be transmitted faster;
[0128] If the original data resources need to be transmitted at an accelerated speed, the original data resources will be transmitted to the preset data center at an accelerated speed through a preset acceleration channel, wherein the acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center.
[0129] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of 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., via the Internet using an Internet service provider).
[0130] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the 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 square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0131] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0132] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned network resource transmission method, and can solve the technical problem of poor efficiency of network resource transmission. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the network resource transmission method provided by the above-mentioned embodiment, and will not be repeated here.
[0133] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned network resource transmission method when executed by a processor.
[0134] The computer program product provided by the present application can solve the technical problem of poor efficiency of network resource transmission. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the network resource transmission method provided by the above embodiment, which will not be repeated here.
[0135] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A network resource transmission method, characterized in that: The method includes: In response to a domain name resolution request from a client, obtaining an original data resource corresponding to the domain name resolution; Based on a preset Internet address library, the domain name resolution request is identified to determine whether the original data resource needs to be transmitted faster; If the original data resources need to be transmitted at an accelerated speed, the original data resources will be transmitted to the preset data center at an accelerated speed through a preset acceleration channel, wherein the acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center.
2. The method according to claim 1, characterized in that The step of accelerating the transmission of the original data resource to the preset data center through the preset acceleration channel includes: Encrypting the original data resource to obtain an encrypted network data packet; Obtaining Internet address information of the client; Adding the Internet address information to the header portion of the encrypted network data packet; The encrypted network data packet is accelerated and transmitted to the data center through a preset acceleration channel.
3. The method according to claim 1, characterized in that The step of accelerating the transmission of the original data resource to the preset data center through the preset acceleration channel includes: When feedback resources are received from the data center, the feedback information is accelerated and transmitted to the client through the acceleration channel.
4. The method according to claim 1, characterized in that The step of identifying the domain name resolution request based on a preset Internet address library and determining whether the original data resource needs to be transmitted at an accelerated rate includes: If the original data resource does not need to be transmitted at an accelerated rate, the original data resource is sent to the data center via a preset conventional service channel.
5. The method according to claim 1, characterized in that The step of accelerating the transmission of the original data resource to the preset data center through the preset acceleration channel also includes: In response to a channel switching signal, switching the acceleration channel to the regular service channel, wherein the acceleration channel and the regular service channel do not interfere with each other; The original data resource is transmitted to the data center via the conventional service channel at an accelerated speed.
6. The method according to claim 5, characterized in that The step of accelerating the transmission of the original data resource to the data center through the conventional service channel includes: Monitoring the accelerated channel and the conventional service channel; If it is identified that the acceleration channel fails, the acceleration channel is switched to the regular service channel, and the original data resource is transmitted to the data center through the regular service channel; If it is identified that the conventional service channel fails, the conventional service channel is switched to the acceleration channel, and the original data resource is transmitted to the data center through the acceleration channel.
7. A network resource transmission device, characterized in that: The device comprises: A response module, used to respond to a domain name resolution request from a client and obtain the original data resource corresponding to the domain name resolution; An identification module, used to identify the domain name resolution request based on a preset Internet address library, and determine whether the original data resource needs to be transmitted faster; A transmission module is used for accelerating the transmission of the original data resources to a preset data center through a preset acceleration channel if the original data resources need to be accelerated, wherein the acceleration channel is composed of a dedicated line connecting the network access entrance of the computer room near the client and the domestic forwarding server and an Internet line connecting the domestic forwarding server and the data center.
8. A network resource transmission device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the network resource transmission method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the network resource transmission method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the network resource transmission method according to any one of claims 1 to 6 are implemented.