[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113656713A - Network resource processing method, device and system - Google Patents

Network resource processing method, device and system Download PDF

Info

Publication number
CN113656713A
CN113656713A CN202110970337.5A CN202110970337A CN113656713A CN 113656713 A CN113656713 A CN 113656713A CN 202110970337 A CN202110970337 A CN 202110970337A CN 113656713 A CN113656713 A CN 113656713A
Authority
CN
China
Prior art keywords
target
data
resource
network resource
url
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110970337.5A
Other languages
Chinese (zh)
Other versions
CN113656713B (en
Inventor
冯丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110970337.5A priority Critical patent/CN113656713B/en
Publication of CN113656713A publication Critical patent/CN113656713A/en
Application granted granted Critical
Publication of CN113656713B publication Critical patent/CN113656713B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a network resource processing method, a device and a system, wherein a resource delivery server acquires resource data of a target network resource, a target data identifier of the resource data and a target URL of a landing page of the target network resource, splices the target URL and the target data identifier, and sends the obtained target splicing result to a client. The client analyzes the target splicing result to obtain a target URL and a target data identification, displays a landing page of the target network resource according to the target URL under the condition that a display instruction for the target network resource is received, and sends target user behavior information and the target data identification to the data storage server when an exit instruction for the landing page is received. And when the data storage server receives the target user behavior information and the target data identification, acquiring resource data of the target network resource corresponding to the target data identification. Based on the above processing, optimization of target network resources can be achieved.

Description

Network resource processing method, device and system
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, and a system for processing network resources.
Background
The resource delivery server can push the network resource to the client based on the service requirement, and correspondingly, the user can browse the network resource through the client. For example, the resource delivery server may push advertisements, music, news, etc. to the client based on business needs.
In the prior art, for a scenario of advertisement push, a Resource delivery server may obtain a URL (Uniform Resource Locator) of a landing page of a target advertisement to be pushed, and data of the target advertisement (which may be referred to as advertisement data, for example, video, audio, and image in the target advertisement, and a crowd to which the target advertisement is directed). Then, the resource delivery server may splice the target URL and the advertisement data in a manner that the URL of the landing page of the target advertisement (which may be referred to as a target URL) is in front and the advertisement data is in the back, and send the splicing result to the client.
The client analyzes the received splicing results according to the sequence from front to back through a kernel browser (webview) to acquire the target URL and the advertisement data. When receiving a display instruction for a target advertisement, the client may display a landing page of the target advertisement according to the target URL, and when receiving an exit instruction for the landing page, send user behavior information of the user in the landing page (which may be referred to as target user behavior information) and advertisement data to the data storage server. Subsequently, data analysis can be performed on the user behavior information and the advertisement data stored in the data storage server to optimize the targeted advertisement.
However, since the core browser has a limited analysis capability for analyzing the data, if there is a lot of advertisement data, the splicing result may exceed the analysis capability of the core browser, and the client cannot analyze the portion of the splicing result that exceeds the analysis capability of the core browser. Accordingly, the data storage server cannot acquire the complete advertisement data, and optimization of the target advertisement cannot be achieved.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, and a system for processing network resources, so as to improve the probability that a data storage server obtains complete resource data of a target network resource, and subsequently, based on user behavior information and resource data stored in the data storage server, implement optimization of the target network resource. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a network resource processing system, including: resource delivery server, client and data storage server, wherein:
the resource delivery server is used for acquiring resource data of a target network resource to be pushed, a preset identifier of the resource data as a target data identifier, and acquiring a Uniform Resource Locator (URL) of a landing page of the target network resource as a target URL; splicing the target URL and the target data identification to obtain a target splicing result, and sending the target splicing result to the client; wherein the length of the target data identifier is a specified length;
the client is used for receiving the target splicing result and analyzing the target splicing result to obtain the target URL and the target data identifier; under the condition that a display instruction for the target network resource is received, displaying a landing page of the target network resource according to the target URL; when an exit instruction aiming at the landing page is received, target user behavior information of a user in the landing page and the target data identification are sent to the data storage server;
and the data storage server is used for receiving the target user behavior information and the target data identification, acquiring resource data corresponding to the target data identification, and using the acquired resource data as the resource data of the target network resource.
Optionally, the network resource processing system further includes: a resource delivery cloud end;
the resource delivery server is specifically configured to send the target splicing result to the resource delivery cloud;
and the resource delivery cloud is used for receiving the target splicing result, modifying the data structure of the target splicing result into the data structure corresponding to the client, and sending the modified target splicing result to the client.
In a second aspect of the present invention, there is also provided a network resource processing method, where the method is applied to a resource delivery server in a network resource processing system, and the network resource processing system further includes: client and data storage server, the method includes:
acquiring resource data of a target network resource to be pushed, a preset identifier of the resource data as a target data identifier, and acquiring a URL of a landing page of the target network resource as a target URL; wherein the length of the target data identifier is a specified length;
splicing the target URL and the target data identification to obtain a target splicing result;
sending the target splicing result to the client, so that the client receives the target splicing result, analyzes the target splicing result to obtain the target URL and the target data identifier, and displays a landing page of the target network resource according to the target URL under the condition that a display instruction for the target network resource is received; when an exit instruction for the landing page is received, target user behavior information of a user in the landing page and the target data identification are sent to the data storage server, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and the obtained resource data are used as resource data of the target network resource.
Optionally, after the resource data of the target network resource to be pushed and the preset identifier of the resource data are obtained and used as the identifier of the target data, the method further includes:
and correspondingly storing the resource data of the target network resource and the target data identifier to a preset distributed storage system, so that when the data storage server receives the target user behavior information and the target data identifier sent by the client, the data storage server acquires the resource data corresponding to the target data identifier from the preset distributed storage system as the resource data of the target network resource.
Optionally, the obtaining resource data of a target network resource to be pushed and a preset identifier of the resource data as a target data identifier includes:
acquiring resource data of target network resources to be pushed;
encrypting the resource data based on a preset encryption key to obtain a target encryption result;
using a decryption key corresponding to the encryption key as a target data identifier of the resource data;
storing the target encryption result into a preset distributed storage system, so that when the data storage server receives the target user behavior information and the target data identifier sent by the client, the data storage server decrypts each encryption result stored in the preset distributed storage system by taking the target data identifier as a decryption key according to a preset sequence until an encryption result which can be successfully decrypted is determined and serves as a target encryption result; and using the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
Optionally, the network resource processing system further includes: a resource delivery cloud end;
the sending the target splicing result to the client includes:
sending the target splicing result to the resource delivery cloud end so that the resource delivery cloud end receives the target splicing result; and modifying the data structure of the target splicing result into a data structure corresponding to the client, and sending the modified target splicing result to the client.
In a third aspect of the present invention, there is further provided a network resource processing method, where the method is applied to a client in a network resource processing system, and the network resource processing system further includes: the method comprises the following steps:
receiving a target splicing result sent by the resource delivery server; the target splicing result is obtained by splicing a target URL and a target data identifier by the resource delivery server; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a data identification of resource data of the target network resource; the length of the target data identifier is a specified length;
analyzing the target splicing result to obtain the target URL and the target data identifier;
under the condition that a display instruction for the target network resource is received, displaying a landing page of the target network resource according to the target URL;
when an exit instruction for the landing page is received, sending target user behavior information of a user on the landing page and the target data identification to the data storage server, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and taking the obtained resource data as the resource data of the target network resource.
In a fourth aspect of the present invention, there is also provided a network resource processing method, where the method is applied to a data storage server in a network resource processing system, and the network resource processing system further includes: client and resource delivery server, the method includes:
receiving target user behavior information and a target data identifier sent by the client; the target data identification is obtained by analyzing a target splicing result by the client; the target splicing result is obtained by splicing the target URL and the target data identification by the resource delivery server and is sent to the client; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a preset identification of resource data of the target network resource; the length of the target data identifier is a specified length; the target user behavior information is as follows: user behavior information of the user in the landing page of the target network resource displayed according to the target URL;
and acquiring resource data corresponding to the target data identifier, and taking the acquired resource data as the resource data of the target network resource.
Optionally, the obtaining resource data corresponding to the target data identifier as the resource data of the target network resource includes:
and acquiring resource data corresponding to the target data identifier from a preset distributed storage system as the resource data of the target network resource, wherein the target data identifier and the corresponding resource data are stored in the preset distributed storage system by the resource delivery server.
Optionally, the target data identifier is a decryption key corresponding to a preset encryption key;
the acquiring resource data corresponding to the target data identifier as the resource data of the target network resource includes:
respectively decrypting each encryption result stored in a preset distributed storage system according to a preset sequence by taking the target data identifier as a decryption key until an encryption result which can be successfully decrypted is determined to serve as a target encryption result; the target encryption result is obtained by encrypting the resource data of the target network resource by the resource delivery server based on a preset encryption key, and is stored in the preset distributed storage system;
and using the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
In a fifth aspect of the present invention, there is further provided a network resource processing apparatus, where the apparatus is applied to a resource delivery server in a network resource processing system, and the network resource processing system further includes: client and data storage server, the device includes:
the acquisition module is used for acquiring resource data of a target network resource to be pushed, a preset identifier of the resource data as a target data identifier, and acquiring a URL of a landing page of the target network resource as a target URL; wherein the length of the target data identifier is a specified length;
the splicing module is used for splicing the target URL and the target data identification to obtain a target splicing result;
a sending module, configured to send the target splicing result to the client, so that the client receives the target splicing result, analyzes the target splicing result to obtain the target URL and the target data identifier, and displays a landing page of the target network resource according to the target URL when a display instruction for the target network resource is received; when an exit instruction for the landing page is received, target user behavior information of a user in the landing page and the target data identification are sent to the data storage server, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and the obtained resource data are used as resource data of the target network resource.
Optionally, the apparatus further comprises:
and the storage module is used for executing the corresponding storage of the resource data of the target network resource and the target data identifier to a preset distributed storage system after the acquisition module executes the acquisition of the resource data of the target network resource to be pushed and the preset identifier of the resource data as the target data identifier, so that the data storage server acquires the resource data corresponding to the target data identifier from the preset distributed storage system as the resource data of the target network resource when receiving the target user behavior information and the target data identifier sent by the client.
Optionally, the obtaining module is specifically configured to obtain resource data of a target network resource to be pushed;
encrypting the resource data based on a preset encryption key to obtain a target encryption result;
using a decryption key corresponding to the encryption key as a target data identifier of the resource data;
storing the target encryption result into a preset distributed storage system, so that when the data storage server receives the target user behavior information and the target data identifier sent by the client, the data storage server decrypts each encryption result stored in the preset distributed storage system by taking the target data identifier as a decryption key according to a preset sequence until an encryption result which can be successfully decrypted is determined and serves as a target encryption result; and using the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
Optionally, the network resource processing system further includes: a resource delivery cloud end;
the sending module is specifically configured to send the target splicing result to the resource delivery cloud, so that the resource delivery cloud receives the target splicing result; and modifying the data structure of the target splicing result into a data structure corresponding to the client, and sending the modified target splicing result to the client.
In a sixth aspect of the present invention, there is further provided a network resource processing apparatus, where the apparatus is applied to a client in a network resource processing system, and the network resource processing system further includes: resource delivery server and data storage server, the device includes:
the receiving module is used for receiving the target splicing result sent by the resource delivery server; the target splicing result is obtained by splicing a target URL and a target data identifier by the resource delivery server; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a data identification of resource data of the target network resource; the length of the target data identifier is a specified length;
the analysis module is used for analyzing the target splicing result to obtain the target URL and the target data identifier;
the display module is used for displaying a landing page of the target network resource according to the target URL under the condition that a display instruction aiming at the target network resource is received;
and the sending module is used for sending target user behavior information of a user on the landing page and the target data identification to the data storage server when receiving an exit instruction aiming at the landing page, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and the obtained resource data is used as the resource data of the target network resource.
In a seventh aspect of the present invention, there is further provided a network resource processing apparatus, where the apparatus is applied to a data storage server in a network resource processing system, and the network resource processing system further includes: client and resource delivery server, the device includes:
the receiving module is used for receiving the target user behavior information and the target data identification sent by the client; the target data identification is obtained by analyzing a target splicing result by the client; the target splicing result is obtained by splicing the target URL and the target data identification by the resource delivery server and is sent to the client; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a preset identification of resource data of the target network resource; the length of the target data identifier is a specified length; the target user behavior information is as follows: user behavior information of the user in the landing page of the target network resource displayed according to the target URL;
and the acquisition module is used for acquiring the resource data corresponding to the target data identifier and taking the acquired resource data as the resource data of the target network resource.
Optionally, the obtaining module is specifically configured to obtain, from a preset distributed storage system, resource data corresponding to the target data identifier as resource data of the target network resource, where the target data identifier and the corresponding resource data are stored in the preset distributed storage system by the resource delivery server.
Optionally, the target data identifier is a decryption key corresponding to a preset encryption key;
the acquisition module is specifically configured to decrypt, according to a preset sequence, each encryption result stored in a preset distributed storage system with the target data identifier as a decryption key, until an encryption result that can be successfully decrypted is determined, and the decryption result is used as a target encryption result; the target encryption result is obtained by encrypting the resource data of the target network resource by the resource delivery server based on a preset encryption key, and is stored in the preset distributed storage system;
and using the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
In another aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the steps of the network resource processing method according to the second aspect, the third aspect, or the fourth aspect when executing the program stored in the memory.
In yet another aspect of the present invention, there is further provided a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the network resource processing method according to the second aspect, or the third aspect, or any one of the fourth aspects.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to perform the network resource processing method of any one of the above second, third or fourth aspects.
In the network resource processing method provided by the embodiment of the invention, a resource delivery server acquires resource data of a target network resource to be pushed, a target data identifier of the resource data, and a target URL of a landing page of the target network resource; the length of the target data identifier is a specified length; and splicing the target URL and the target data identification to obtain a target splicing result, and sending the target splicing result to the client. The client analyzes the received target splicing result to obtain a target URL and a target data identifier; under the condition that a display instruction aiming at the target network resource is received, displaying a landing page of the target network resource according to the target URL; and when an exit instruction aiming at the landing page is received, sending target user behavior information and a target data identifier of the user in the landing page to the data storage server. And when the data storage server receives the target user behavior information and the target data identification, acquiring resource data corresponding to the target data identification, and taking the acquired resource data as resource data of the target network resource.
Based on the above processing, the resource delivery server splices the target data identifier after the URL of the landing page of the target network resource, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled within a small range, and accordingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate that the client can obtain the target data identifier from the target splicing result can be improved, further, the probability that the data storage server obtains the complete resource data of the target network resource can be improved, and subsequently, the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a block diagram of a network resource processing system provided in an embodiment of the present invention;
fig. 2 is a flowchart of a network resource processing method provided in an embodiment of the present invention;
fig. 3 is a flowchart of a resource data obtaining method provided in an embodiment of the present invention;
FIG. 4 is a block diagram of another network resource processing system provided in an embodiment of the present invention;
fig. 5 is a flowchart of another network resource processing method provided in the embodiment of the present invention;
fig. 6 is a flowchart of another network resource processing method provided in the embodiment of the present invention;
fig. 7 is a flowchart of another network resource processing method provided in the embodiment of the present invention;
fig. 8 is a flowchart of another network resource processing method provided in the embodiment of the present invention;
fig. 9 is a flowchart of an example of a network resource processing method provided in an embodiment of the present invention;
fig. 10 is a block diagram of a network resource processing apparatus according to an embodiment of the present invention;
fig. 11 is a block diagram of another network resource processing apparatus provided in the embodiment of the present invention;
fig. 12 is a block diagram of another network resource processing apparatus provided in the embodiment of the present invention;
fig. 13 is a structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In the prior art, because the analysis capability of the kernel browser for analyzing the data is limited, if the advertisement data is more, the splicing result may exceed the analysis capability of the kernel browser, and the client cannot analyze the part of the splicing result exceeding the analysis capability of the kernel browser. Accordingly, the data storage server cannot acquire the complete advertisement data, and optimization of the target advertisement cannot be achieved.
For example, in the prior art, after the advertisement data is spliced to the URL, the target splicing result is: "https:// static.iqiyi.com/ext/CUPID/lp/5f34fb809942c800c53ea296_1010000216795_1000000000000.htmlcdt [ -CUPID _ DBTIME ] & cct [ -CLTIME ] & c … … … … [ -f 59981ed02073402600c0b89458aeeb7& ss ═ 1& sv ═ 3.52.003& ve ═ 1& y ═ 1& iprl ═ CUPID _ PRE _ LOAD & prl ═ 0& abm ═ 127% 3a-1& azt ═ 1000000000670".
Wherein, the URL in the target splicing result is: "https:// static. iqiiyi. com/ext/cupid/lp/5f34fb809942c800c53ea296_1010000216795_1000000000000. html? ", the other characters in the target splicing result are advertisement data," … … … … "represents part of the advertisement data. Generally, the advertisement data is larger in magnitude and contains thousands of characters, which results in that the target splicing result contains more characters and may exceed the resolving capability of the client.
Referring to fig. 1, fig. 1 is a structural diagram of a network resource processing system provided in an embodiment of the present invention, where the network resource processing system includes: resource delivery server 101, client 102 and data storage server 103, wherein:
the resource delivery server 101 may obtain resource data of a target network resource to be pushed, a preset identifier of the resource data, as a target data identifier, and obtain a URL of a landing page of the target network resource, as a target URL; the length of the target data identifier is a specified length; and splicing the target URL and the target data identifier to obtain a target splicing result, and sending the target splicing result to the client 102.
The client 102 may receive the target splicing result, and analyze the target splicing result to obtain a target URL and a target data identifier; under the condition that a display instruction aiming at the target network resource is received, displaying a landing page of the target network resource according to the target URL; and when an exit instruction for the landing page is received, sending target user behavior information and a target data identifier of the user in the landing page to the data storage server 103.
The data storage server 103 may receive the target user behavior information and the target data identifier, acquire resource data corresponding to the target data identifier, and use the acquired resource data as resource data of the target network resource.
Based on the network resource processing system provided by the embodiment of the present invention, the target data identifier is spliced after the URL, for example, for the above example, the target splicing result is: "https:// static. iqiiyi. com/ext/cupid/lp/5f34fb809942c800c53ea296_1010000216795_1000000000000.htmlkey ═ target data identification". Wherein, the target data mark is a preset character string with a specified length, the number of characters contained in the target data mark (namely, the specified length) can be controlled in a small range.
For example, the specified length of the target data identifier may be determined according to the resolution capability of the client 102, the resolution capability of the client 102 may be 2048 characters, and the specified length of the target data identifier may be 200 characters.
Therefore, based on the network resource processing system provided by the embodiment of the invention, the key is spliced into the target data identifier after the URL, the specified length of the target data identifier can be controlled within a smaller range, and the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent. The success rate that the client can obtain the target data identifier from the target splicing result can be improved, the probability that the data storage server obtains the complete resource data of the target network resource can be further improved, and then the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
For other embodiments of the network resource handling system described above, reference may be made to the following description of method embodiments of the resource delivery server, the client and the data storage server.
Referring to fig. 2, fig. 2 is a flowchart of a network resource processing method provided in an embodiment of the present invention, where the method is applied to a resource delivery server in the network resource processing system, and the network resource processing system further includes: a client and a data storage server, the method may include the steps of:
s201: and acquiring resource data of the target network resource to be pushed and a preset identifier of the resource data as a target data identifier, and acquiring a URL of a landing page of the target network resource as a target URL.
Wherein, the length of the target data mark is a designated length.
S202: and splicing the target URL and the target data identification to obtain a target splicing result.
S203: sending a target splicing result to the client so that the client receives the target splicing result, analyzing the target splicing result to obtain a target URL and a target data identifier, and displaying a landing page of the target network resource according to the target URL under the condition that a display instruction aiming at the target network resource is received; when an exit instruction for a landing page is received, target user behavior information and a target data identifier of a user in the landing page are sent to a data storage server, so that the data storage server obtains resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and the obtained resource data are used as resource data of a target network resource.
Based on the network resource processing method provided by the embodiment of the invention, the resource delivery server splices the target data identifier after the URL of the landing page of the target network resource, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled in a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, further, the probability of the data storage server for obtaining complete resource data of the target network resource can be improved, and subsequently, the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
In step S201, the target network resource may be a target advertisement, and the resource data of the target advertisement may include at least one of the following: the target advertisement is targeted to the crowd, the type of the target advertisement, the URL of other pages related to the target advertisement, pictures in the target advertisement, videos, and the like. Alternatively, the target network resource may also be a target video, and the resource data of the target video may include at least one of the following: the type of the target video, the subtitle content of the target video, the scenario profile of the target video, the scenario of the target video, etc.
The landing page of the target network resource may be a page that introduces detailed information of the target network resource. For example, when the target network resource is a commercial advertisement, the landing page of the commercial advertisement may include at least one of: parameters of the commodity, pictures of the commodity, evaluations of other users on the commodity, the price of the commodity, a purchase link of the commodity and the like. Or, when the target network resource is an application advertisement, the landing page of the application may include at least one of the following: the size of the application program, the picture of the operation interface of the application program, the evaluation of other users to the application program, the download link of the application program and the like.
In one implementation, when a user opens a client, the client may send a network resource request to a resource delivery server. After receiving the network resource request, the resource delivery server may determine a target network resource (e.g., a target advertisement) to be pushed to the client according to a service requirement. Then, the resource delivery server may obtain the resource data of the target network resource, the target data identifier of the resource data, and obtain the target URL of the landing page of the target network resource.
For step S202 and step S203, the resource delivery server may splice the target URL and the target data identifier in a manner that the target URL is in front and the target data identifier is behind, to obtain a target splicing result, and may further send the target splicing result to the client.
Correspondingly, the client can analyze the target splicing result to obtain a target URL and a target data identifier, can display a landing page of the target network resource according to the target URL, and can send target user behavior information and the target data identifier of the user in the landing page to the data storage server when receiving an exit instruction aiming at the landing page.
Further, the data storage server may receive the target user behavior information and the target data identifier, and obtain resource data corresponding to the target data identifier (i.e., resource data of the target network resource).
For a specific processing manner of the client and the data storage server, reference may be made to the related descriptions of the subsequent embodiments.
In an embodiment of the present invention, the preset identifier of the resource data of the target network resource (i.e. the target data identifier) may be a preset character string with a specified length. The predetermined string of a specified length may be set empirically by a skilled person. That is, the technician may set, in advance, for each network resource, an identifier of a corresponding specified length.
When receiving the target user behavior information and the target data identifier, the data storage server may obtain resource data of the target network resource in different manners.
The first method is as follows: the data storage server may send a data request message carrying the target data identifier to the resource delivery server.
Correspondingly, when receiving the data request message, the resource delivery server may obtain the resource data corresponding to the target data identifier, and send the resource data corresponding to the target data identifier to the data storage server. The data storage server may identify resource data corresponding to the received target data as resource data of the target network resource.
The second method comprises the following steps: after step S201, the method may further include the steps of:
and storing the resource data of the target network resource and the target data identifier correspondingly to a preset distributed storage system, so that when receiving the target user behavior information and the target data identifier sent by the client, the data storage server acquires the resource data corresponding to the target data identifier from the preset distributed storage system as the resource data of the target network resource.
The preset Distributed storage System may be an HDFS (Hadoop Distributed File System), or the preset Distributed storage System may also be a GFS (global File System, open source Distributed File System), but is not limited thereto.
For each network resource, the resource delivery server may store the resource data of the network resource and the preset identifier in the preset distributed storage system correspondingly. That is, the data storage server records the corresponding relationship between the resource data of each network resource and the preset identifier.
Correspondingly, the data storage server may determine the resource data corresponding to the target data identifier in the corresponding relationship between the resource data recorded in the preset distributed storage system and the preset identifier, and acquire the resource data corresponding to the target data identifier as the resource data of the target network resource.
Based on the processing, the data storage server can directly acquire the resource data of the target network resource from the preset distributed storage system. Compared with a mode that the data storage server sends a data request to the resource delivery server to acquire the resource data of the target network resource, the data acquisition efficiency of the data storage server can be improved.
In an embodiment of the present invention, referring to fig. 3, fig. 3 is a flowchart of a resource data obtaining method provided in an embodiment of the present invention, where the method may include the following steps:
s301: and acquiring resource data of the target network resource to be pushed.
S302: and encrypting the resource data based on a preset encryption key to obtain a target encryption result.
S303: and taking the decryption key corresponding to the encryption key as the target data identifier of the resource data.
S304: storing the target encryption result into a preset distributed storage system, so that when receiving target user behavior information and a target data identifier sent by a client, a data storage server decrypts each encryption result stored in the preset distributed storage system by taking the target data identifier as a decryption key according to a preset sequence until determining an encryption result which can be successfully decrypted as a target encryption result; and the resource data obtained by decrypting the target encryption result is used as the resource data of the target network resource.
The resource delivery server may encrypt the resource data of the target network resource based on a preset encryption algorithm and an encryption key. The preset Encryption algorithm may be a symmetric Encryption algorithm, for example, an AES (Advanced Encryption Standard) algorithm, a DES (Data Encryption Standard) algorithm, or the like. Alternatively, the predetermined encryption algorithm may be an asymmetric encryption algorithm, such as an RSA algorithm, an ECC (Elliptic curve Cryptography) algorithm, and the like.
And if the preset encryption algorithm is a symmetric encryption algorithm, the encryption key and the decryption key are the same.
If the predetermined encryption algorithm is an asymmetric encryption algorithm, the encryption key and the decryption key are different, for example, the encryption key and the decryption key may be a public-private key pair, the public key is used as the encryption key, and the private key is used as the decryption key.
Based on the above processing, the target encryption result is stored in the preset distributed storage system, so that the encrypted resource data stored in the preset distributed storage system can be obtained, and the data storage server can obtain the decryption key (i.e. the target data identifier), so that the target encryption result can be decrypted to obtain the corresponding resource data. And some malicious attackers cannot obtain the decryption key, and cannot decrypt the encryption result to obtain corresponding resource data, so that the security of the data can be improved.
In an embodiment of the present invention, referring to fig. 4, on the basis of fig. 1, the network resource processing system further includes: the resource delivery cloud 104.
Accordingly, step S203 may include the steps of:
sending the target splicing result to the resource delivery cloud 104, so that the resource delivery cloud 104 receives the target splicing result; and modifying the data structure of the target splicing result into a data structure corresponding to the client 102, and sending the modified target splicing result to the client 102.
In one implementation, the resource delivery cloud 104 may be a preset server cluster. The data structure of the data may represent a combination of fields that the data contains. For example, a data structure of data may indicate the fields that the data contains, as well as the arrangement of the fields.
The client 102 may be a terminal such as a mobile phone or a computer, or the client 102 may also be a television, or the client 102 may also be a smart speaker, etc.
There may be a plurality of clients 102 communicating with the resource delivery server 101, and different clients 102 may handle different data structures. Therefore, in order to enable different clients 102 to process the splicing result generated by the resource delivery server 101, for each client 102, a splicing result of the corresponding data structure needs to be generated. Therefore, the data structure of the splicing result can be modified through the resource delivery cloud 104, and the modified splicing result is forwarded, so that the data processing amount of the resource delivery server 101 can be reduced.
For example, when the client 102 may be a terminal such as a mobile phone or a computer, the data structure of the URL that the client 102 can parse is as follows: a protocol field, a domain name field, a port field, a virtual directory field, a filename field, an anchor field, and a parameters field. In the embodiment of the invention, the parameter field is a target data identifier.
If the data structure of the URL in the target concatenation result is not the above data structure, for example, a certain field is missing, or the arrangement order of the fields is not the above arrangement order. The resource delivery cloud 104 may modify the data structure of the URL in the target splicing result to the above data structure.
Referring to fig. 5, fig. 5 is a flowchart of another network resource processing method according to an embodiment of the present invention. The method is applied to the client in the network resource processing system, and the network resource processing system further comprises: the resource delivery server and the data storage server, the method may include the steps of:
s501: and receiving a target splicing result sent by the resource delivery server.
And the target splicing result is obtained by splicing the target URL and the target data identifier by the resource delivery server. The target URL is the URL of the landing page of the target network resource to be pushed. The target data identification is a data identification of resource data of the target network resource. The length of the target data identification is a specified length.
S502: and analyzing the target splicing result to obtain a target URL and a target data identifier.
S503: and under the condition that a display instruction aiming at the target network resource is received, displaying the landing page of the target network resource according to the target URL.
S504: when an exit instruction for a landing page is received, target user behavior information and a target data identifier of a user on the landing page are sent to a data storage server, so that the data storage server obtains resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and the obtained resource data are used as resource data of a target network resource.
Based on the network resource processing method provided by the embodiment of the invention, the resource delivery server splices the target data identifier after the URL of the landing page of the target network resource, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled in a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, further, the probability of the data storage server for obtaining complete resource data of the target network resource can be improved, and subsequently, the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
In step S501, in one implementation, when the user opens the client, the client may send a resource request to the resource delivery server. After receiving the resource request, the resource delivery server can obtain the resource data of the target network resource, the target data identifier of the resource data, and the target URL of the landing page of the target network resource. The resource delivery server can splice the target URL and the target data identification to obtain a target splicing result, and further can send the target splicing result to the client.
For a specific processing manner of the resource delivery server, reference may be made to the related description of the foregoing embodiments.
For step S502 and step S503, in an implementation manner, when receiving the target splicing result, the client may analyze the target splicing result through a kernel browser (webview), obtain a target URL and a target data identifier, and store the target URL and the target data identifier. Subsequently, when receiving a display instruction for the target network resource, the client may display a landing page of the target network resource according to the stored target URL.
In another implementation, the client may store the target splicing result when receiving the target splicing result. Subsequently, when a display instruction for the target network resource is received, the client can analyze the stored target splicing result through the kernel browser to obtain a target URL and a target data identifier. Further, the client may display a landing page of the target network resource according to the target URL.
In step S504, the client may detect a user behavior of the user in the landing page of the target network resource, for example, a click operation behavior of the user on the landing page of the target network resource, a slide operation behavior of the user on the landing page of the target network resource, and the like. Furthermore, when receiving an exit instruction for the landing page of the target network resource, the client may count the user behavior information (i.e., the target user behavior information) of the user in the landing page of the target network resource.
In one embodiment of the invention, the target user behavior information comprises at least one of: the method comprises the steps of operating times of a user in a landing page, the time length of browsing the landing page by the user, and the display size of the landing page in a display interface of a client when the user exits the landing page.
The number of operations of the user in the landing page may include: the number of clicks and/or swipes of the user in the landing page.
Due to the limitations of the client's display screen, the client may only display a portion of the content of the landing page of the target network resource. When the client cannot completely display the landing page of the target network resource, the user can perform dragging operation, upward sliding operation, downward sliding operation, amplifying operation, reducing operation and the like on the landing page so as to browse a currently undisplayed part in the landing page of the target network resource.
Therefore, the display size of the landing page in the display interface of the client may include: the display length of the landing page in the display interface of the client side, and/or the display width of the landing page in the display interface of the client side.
The behavior information of the user in the landing page of the target network resource can reflect the degree of interest of the user in the target network resource, so that the client can count the behavior information of the target user and send the behavior information of the target user to the data storage server. Subsequently, whether the user is interested in the target network resource can be determined according to the target user behavior information so as to optimize the target network resource.
Correspondingly, when receiving the target user behavior information and the target data identifier, the data storage server may obtain the resource data corresponding to the target data identifier as the resource data of the target network resource.
For a specific processing manner of the data storage server, reference may be made to the related description of the subsequent embodiments.
Referring to fig. 6, fig. 6 is a flowchart of a network resource processing method according to an embodiment of the present invention. The method is applied to the data storage server in the network resource processing system, and the network resource processing system further comprises: client and resource delivery server, the method may include the steps of:
s601: and receiving target user behavior information and target data identification sent by the client.
And the target data identifier is obtained by analyzing the target splicing result by the client. And the target splicing result is obtained by splicing the target URL and the target data identification by the resource delivery server and is sent to the client. The target URL is the URL of the landing page of the target network resource to be pushed. The target data identifier is a preset identifier of the resource data of the target network resource. The length of the target data identification is a specified length. The target user behavior information is: and the user behavior information of the user in the landing page of the target network resource displayed according to the target URL.
S602: and acquiring resource data corresponding to the target data identifier, and taking the acquired resource data as the resource data of the target network resource.
Based on the network resource processing method provided by the embodiment of the invention, the resource delivery server splices the target data identifier after the URL of the landing page of the target network resource, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled in a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, further, the probability of the data storage server for obtaining complete resource data of the target network resource can be improved, and subsequently, the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
In step S601, when the user opens the client, the client may send a network resource request to the resource delivery server. After receiving the network resource request, the resource delivery server can acquire the resource data of the target network resource, the target data identifier of the resource data, and the target URL of the landing page of the target network resource. The resource delivery server can splice the target URL and the target data identification to obtain a target splicing result, and further can send the target splicing result to the client.
The client can analyze the received target splicing result to obtain a target URL and a target data identifier, and display a landing page of the target network resource according to the target URL. When receiving an exit instruction for the landing page, the client may send target user behavior information and a target data identifier of the user on the landing page to the data storage server.
For a specific processing manner of the resource delivery server and the client, reference may be made to the related descriptions of the foregoing embodiments.
In step S602, when receiving the target user behavior information and the target data identifier, the data storage server may obtain resource data of the target network resource in different manners.
The first method is as follows: the data storage server may send a data request message carrying the target data identifier to the resource delivery server. Correspondingly, when receiving the data request message, the resource delivery server may obtain the resource data corresponding to the target data identifier, and send the resource data corresponding to the target data identifier to the data storage server.
The data storage server may identify resource data corresponding to the received target data as resource data of the target network resource.
The second method comprises the following steps: step S602 may include the steps of:
and acquiring resource data corresponding to the target data identification from the preset distributed storage system, and using the resource data as resource data of the target network resource.
And the target data identification and the corresponding resource data are stored to a preset distributed storage system for the resource delivery server.
For each network resource, the resource delivery server may store the resource data of the network resource and the preset identifier in the preset distributed storage system correspondingly. That is, the data storage server records the corresponding relationship between the resource data of each network resource and the preset identifier.
Correspondingly, the data storage server may determine the resource data corresponding to the target data identifier in the correspondence between the resource data recorded in the preset distributed storage system and the identifier, and acquire the resource data corresponding to the target data identifier as the resource data of the target network resource.
Based on the processing, the data storage server can directly acquire the resource data of the target network resource from the preset distributed storage system. Compared with a mode that the data storage server sends a data request to the resource delivery server to acquire the resource data of the target network resource, the data acquisition efficiency of the data storage server can be improved.
In an embodiment of the present invention, the target data identifier is a decryption key corresponding to the preset encryption key. Accordingly, referring to fig. 7, on the basis of fig. 6, step S602 may include the following steps:
s6021: and respectively decrypting each encryption result stored in the preset distributed storage system according to a preset sequence by taking the target data identifier as a decryption key until an encryption result which can be successfully decrypted is determined to be used as a target encryption result.
And the target encryption result is obtained by encrypting the resource data of the target network resource by the resource delivery server based on a preset encryption key and storing the encrypted resource data in a preset distributed storage system.
S6022: and the resource data obtained by decrypting the target encryption result is used as the resource data of the target network resource.
The preset sequence may be set by a technician according to experience, for example, the preset sequence may be a time sequence of storing each encryption result to the preset distributed storage system, or the preset sequence may also be a random sequence, but is not limited thereto.
In one implementation, the resource delivery server may use a decryption key corresponding to a preset encryption key as the target data identifier. For each network resource, the resource delivery server encrypts the resource data of the network resource based on a preset encryption algorithm and an encryption key to obtain an encryption result, and then stores the encryption result in a preset distributed storage system. Correspondingly, the preset distributed storage system stores the encryption result corresponding to the respective resource data of the plurality of network resources.
Therefore, the data storage server can select an encryption result which is not decrypted currently from the preset distributed storage system, and decrypt the selected encryption result based on a preset encryption algorithm by taking the target data identifier as a decryption key. If the decryption fails, the data storage server may determine that the encryption result is not the encryption result corresponding to the resource data of the target network resource.
And then, the data storage server can select an encryption result which is not decrypted currently from the preset distributed storage system again, and decrypt the selected encryption result, and so on until the encryption result which can be decrypted successfully is determined, so as to obtain the target encryption result.
Based on the above processing, the target encryption result is stored in the preset distributed storage system, so that the encrypted resource data stored in the preset distributed storage system can be obtained, and the data storage server can obtain the decryption key (i.e. the target data identifier), so that the target encryption result can be decrypted to obtain the corresponding resource data. And some malicious attackers cannot obtain the decryption key, and cannot decrypt the encryption result to obtain corresponding resource data, so that the security of the data can be improved.
Subsequently, the technician may perform data analysis on the resource data of the target network resource and the target user behavior information stored in the data storage server to optimize the target network resource.
Referring to fig. 8, fig. 8 is a flowchart of another network resource processing method according to an embodiment of the present invention. The network resource processing method is applied to a network resource processing system, and the network resource processing system comprises: the system comprises a resource delivery server, a resource delivery cloud, a client and a data storage server.
Aiming at an advertisement application scene, the resource delivery server can acquire advertisement data of a target advertisement to be pushed and a target data identifier of the advertisement data, acquire a target URL of a landing page of the target advertisement, and correspondingly store the advertisement data and the target data identifier to a preset distributed storage system. Then, the resource delivery server can splice the target URL and the target data identifier to obtain a target splicing result, and sends the target splicing result to the client.
The client can analyze the received target splicing result to obtain a target URL and a target data identifier. Further, having received a display instruction for the targeted advertisement, the client may display the H5 landing page of the targeted advertisement (i.e., the landing page of the targeted advertisement) at the targeted URL. The client can also send target user behavior information and target data identification of the user in the landing page to the data storage server when receiving an exit instruction for the landing page.
The data storage server can obtain advertisement data corresponding to the target data identification from a preset distributed storage system when receiving the target user behavior information and the target data identification, and the advertisement data are used as advertisement data of the target advertisement.
Based on the processing, the resource delivery server splices the target data identifier after the URL of the landing page of the target advertisement, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled in a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, further, the probability of the data storage server for obtaining the complete resource data of the target advertisement can be improved, and the target advertisement can be optimized subsequently based on the user behavior information and the resource data stored in the data storage server.
Referring to fig. 9, fig. 9 is a flowchart of an example of a network resource processing method provided in the embodiment of the present invention. The network resource processing method is applied to a network resource processing system, and the network resource processing system comprises: the system comprises a resource delivery server, a client and a data storage server. The method may comprise the steps of:
s901: the resource delivery server acquires resource data of a target network resource to be pushed and a preset identifier of the resource data as a target data identifier, and acquires a URL of a landing page of the target network resource as a target URL.
Wherein, the length of the target data mark is a designated length.
S902: and the resource delivery server splices the target URL and the target data identifier to obtain a target splicing result.
S903: and the resource delivery server sends the target splicing result to the client.
S904: and the client analyzes the target splicing result to obtain a target URL and a target data identifier.
S905: and the client displays the landing page of the target network resource according to the target URL under the condition that the client receives the display instruction aiming at the target network resource.
S906: and when receiving an exit instruction aiming at the landing page, the client sends target user behavior information and a target data identifier of the user on the landing page to the data storage server.
S907: and the data storage server acquires the resource data corresponding to the target data identifier, and takes the acquired resource data as the resource data of the target network resource.
Based on the network resource processing method provided by the embodiment of the invention, the resource delivery server splices the target data identifier after the URL of the landing page of the target network resource, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled in a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, further, the probability of the data storage server for obtaining complete resource data of the target network resource can be improved, and subsequently, the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
Corresponding to the embodiment of the method in fig. 2, referring to fig. 10, fig. 10 is a structural diagram of a network resource processing device provided in the embodiment of the present invention, where the device is applied to a resource delivery server in a network resource processing system, and the network resource processing system further includes: client and data storage server, the device includes:
an obtaining module 1001, configured to obtain resource data of a target network resource to be pushed, a preset identifier of the resource data, as a target data identifier, and obtain a URL of a landing page of the target network resource, as a target URL; wherein the length of the target data identifier is a specified length;
the splicing module 1002 is configured to splice the target URL and the target data identifier to obtain a target splicing result;
a sending module 1003, configured to send the target splicing result to the client, so that the client receives the target splicing result, analyzes the target splicing result to obtain the target URL and the target data identifier, and displays a landing page of the target network resource according to the target URL when a display instruction for the target network resource is received; when an exit instruction for the landing page is received, target user behavior information of a user in the landing page and the target data identification are sent to the data storage server, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and the obtained resource data are used as resource data of the target network resource.
Optionally, the apparatus further comprises:
a storage module, configured to execute, after the obtaining module 1001 obtains resource data of a target network resource to be pushed and a preset identifier of the resource data, and uses the resource data and the preset identifier as a target data identifier, to store the resource data of the target network resource and the target data identifier in a preset distributed storage system, so that when the data storage server receives the target user behavior information and the target data identifier sent by the client, the data storage server obtains the resource data corresponding to the target data identifier from the preset distributed storage system, and uses the resource data as the resource data of the target network resource.
Optionally, the obtaining module 1001 is specifically configured to obtain resource data of a target network resource to be pushed;
encrypting the resource data based on a preset encryption key to obtain a target encryption result;
using a decryption key corresponding to the encryption key as a target data identifier of the resource data;
storing the target encryption result into a preset distributed storage system, so that when the data storage server receives the target user behavior information and the target data identifier sent by the client, the data storage server decrypts each encryption result stored in the preset distributed storage system by taking the target data identifier as a decryption key according to a preset sequence until an encryption result which can be successfully decrypted is determined and serves as a target encryption result; and using the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
Optionally, the network resource processing system further includes: a resource delivery cloud end;
the sending module 1003 is specifically configured to send the target splicing result to the resource delivery cloud, so that the resource delivery cloud receives the target splicing result; and modifying the data structure of the target splicing result into a data structure corresponding to the client, and sending the modified target splicing result to the client.
Based on the network resource processing device provided by the embodiment of the invention, the resource delivery server splices the target data identifier after the URL of the landing page of the target network resource, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled in a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, further, the probability of the data storage server for obtaining complete resource data of the target network resource can be improved, and subsequently, the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
Corresponding to the embodiment of the method in fig. 5, referring to fig. 11, fig. 11 is a structural diagram of a network resource processing apparatus provided in the embodiment of the present invention, where the apparatus is applied to a client in a network resource processing system, and the network resource processing system further includes: resource delivery server and data storage server, the device includes:
a receiving module 1101, configured to receive a target splicing result sent by the resource delivery server; the target splicing result is obtained by splicing a target URL and a target data identifier by the resource delivery server; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a data identification of resource data of the target network resource; the length of the target data identifier is a specified length;
the parsing module 1102 is configured to parse the target splicing result to obtain the target URL and the target data identifier;
a display module 1103, configured to, when a display instruction for the target network resource has been received, display a landing page of the target network resource according to the target URL;
a sending module 1104, configured to send, to the data storage server, target user behavior information of a user on the landing page and the target data identifier when receiving an exit instruction for the landing page, so that the data storage server obtains resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and uses the obtained resource data as resource data of the target network resource.
Based on the network resource processing device provided by the embodiment of the invention, the resource delivery server splices the target data identifier after the URL of the landing page of the target network resource, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled in a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, further, the probability of the data storage server for obtaining complete resource data of the target network resource can be improved, and subsequently, the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
Corresponding to the embodiment of the method in fig. 6, referring to fig. 12, fig. 12 is a structural diagram of a network resource processing apparatus according to an embodiment of the present invention, where the apparatus is applied to a data storage server in a network resource processing system, and the network resource processing system further includes: client and resource delivery server, the device includes:
a receiving module 1201, configured to receive target user behavior information and a target data identifier sent by the client; the target data identification is obtained by analyzing a target splicing result by the client; the target splicing result is obtained by splicing the target URL and the target data identification by the resource delivery server and is sent to the client; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a preset identification of resource data of the target network resource; the length of the target data identifier is a specified length; the target user behavior information is as follows: user behavior information of the user in the landing page of the target network resource displayed according to the target URL;
an obtaining module 1202, configured to obtain resource data corresponding to the target data identifier, and use the obtained resource data as resource data of the target network resource.
Optionally, the obtaining module 1202 is specifically configured to obtain, from a preset distributed storage system, resource data corresponding to the target data identifier as resource data of the target network resource, where the target data identifier and the corresponding resource data are stored in the preset distributed storage system by the resource delivery server.
Optionally, the target data identifier is a decryption key corresponding to a preset encryption key;
the obtaining module 1202 is specifically configured to decrypt, according to a preset sequence, each encryption result stored in a preset distributed storage system with the target data identifier as a decryption key, until an encryption result that can be successfully decrypted is determined, and the decryption result is used as a target encryption result; the target encryption result is obtained by encrypting the resource data of the target network resource by the resource delivery server based on a preset encryption key, and is stored in the preset distributed storage system;
and using the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
Based on the network resource processing device provided by the embodiment of the invention, the resource delivery server splices the target data identifier after the URL of the landing page of the target network resource, and the length of the target data identifier is the specified length, so that the length of the target data identifier can be controlled in a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the resolving capability of the client to a certain extent, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, further, the probability of the data storage server for obtaining complete resource data of the target network resource can be improved, and subsequently, the target network resource can be optimized based on the user behavior information and the resource data stored in the data storage server.
An embodiment of the present invention further provides an electronic device, as shown in fig. 13, including a processor 1301, a communication interface 1302, a memory 1303, and a communication bus 1304, where the processor 1301, the communication interface 1302, and the memory 1303 complete communication with each other through the communication bus 1304;
a memory 1303 for storing a computer program;
the processor 1301 is configured to implement the network resource processing method in any of the foregoing embodiments when executing the program stored in the memory 1303.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the network resource processing method described in any of the above embodiments.
In yet another embodiment, a computer program product containing instructions is provided, which when run on a computer causes the computer to perform the network resource processing method described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, system, electronic device, computer-readable storage medium, and computer program product embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for related points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (15)

1. A network resource processing system, the network resource processing system comprising: resource delivery server, client and data storage server, wherein:
the resource delivery server is used for acquiring resource data of a target network resource to be pushed, a preset identifier of the resource data as a target data identifier, and acquiring a Uniform Resource Locator (URL) of a landing page of the target network resource as a target URL; splicing the target URL and the target data identification to obtain a target splicing result, and sending the target splicing result to the client; wherein the length of the target data identifier is a specified length;
the client is used for receiving the target splicing result and analyzing the target splicing result to obtain the target URL and the target data identifier; under the condition that a display instruction for the target network resource is received, displaying a landing page of the target network resource according to the target URL; when an exit instruction aiming at the landing page is received, target user behavior information of a user in the landing page and the target data identification are sent to the data storage server;
and the data storage server is used for receiving the target user behavior information and the target data identification, acquiring resource data corresponding to the target data identification, and using the acquired resource data as the resource data of the target network resource.
2. The network resource processing system of claim 1, further comprising: a resource delivery cloud end;
the resource delivery server is specifically configured to send the target splicing result to the resource delivery cloud;
and the resource delivery cloud is used for receiving the target splicing result, modifying the data structure of the target splicing result into the data structure corresponding to the client, and sending the modified target splicing result to the client.
3. A network resource processing method is applied to a resource delivery server in a network resource processing system, and the network resource processing system further comprises: client and data storage server, the method includes:
acquiring resource data of a target network resource to be pushed, a preset identifier of the resource data as a target data identifier, and acquiring a URL of a landing page of the target network resource as a target URL; wherein the length of the target data identifier is a specified length;
splicing the target URL and the target data identification to obtain a target splicing result;
sending the target splicing result to the client, so that the client receives the target splicing result, analyzes the target splicing result to obtain the target URL and the target data identifier, and displays a landing page of the target network resource according to the target URL under the condition that a display instruction for the target network resource is received; when an exit instruction for the landing page is received, target user behavior information of a user in the landing page and the target data identification are sent to the data storage server, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and the obtained resource data are used as resource data of the target network resource.
4. The method according to claim 3, wherein after the obtaining resource data of the target network resource to be pushed and the preset identifier of the resource data are used as the target data identifier, the method further comprises:
and correspondingly storing the resource data of the target network resource and the target data identifier to a preset distributed storage system, so that when the data storage server receives the target user behavior information and the target data identifier sent by the client, the data storage server acquires the resource data corresponding to the target data identifier from the preset distributed storage system as the resource data of the target network resource.
5. The method according to claim 3, wherein the obtaining resource data of the target network resource to be pushed and the preset identifier of the resource data as the target data identifier comprises:
acquiring resource data of target network resources to be pushed;
encrypting the resource data based on a preset encryption key to obtain a target encryption result;
using a decryption key corresponding to the encryption key as a target data identifier of the resource data;
storing the target encryption result into a preset distributed storage system, so that when the data storage server receives the target user behavior information and the target data identifier sent by the client, the data storage server decrypts each encryption result stored in the preset distributed storage system by taking the target data identifier as a decryption key according to a preset sequence until an encryption result which can be successfully decrypted is determined and serves as a target encryption result; and using the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
6. The method of claim 3, wherein the network resource processing system further comprises: a resource delivery cloud end;
the sending the target splicing result to the client includes:
sending the target splicing result to the resource delivery cloud end so that the resource delivery cloud end receives the target splicing result; and modifying the data structure of the target splicing result into a data structure corresponding to the client, and sending the modified target splicing result to the client.
7. A network resource processing method is applied to a client in a network resource processing system, and the network resource processing system further comprises: the method comprises the following steps:
receiving a target splicing result sent by the resource delivery server; the target splicing result is obtained by splicing a target URL and a target data identifier by the resource delivery server; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a data identification of resource data of the target network resource; the length of the target data identifier is a specified length;
analyzing the target splicing result to obtain the target URL and the target data identifier;
under the condition that a display instruction for the target network resource is received, displaying a landing page of the target network resource according to the target URL;
when an exit instruction for the landing page is received, sending target user behavior information of a user on the landing page and the target data identification to the data storage server, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and taking the obtained resource data as the resource data of the target network resource.
8. A network resource processing method, applied to a data storage server in a network resource processing system, the network resource processing system further comprising: client and resource delivery server, the method includes:
receiving target user behavior information and a target data identifier sent by the client; the target data identification is obtained by analyzing a target splicing result by the client; the target splicing result is obtained by splicing the target URL and the target data identification by the resource delivery server and is sent to the client; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a preset identification of resource data of the target network resource; the length of the target data identifier is a specified length; the target user behavior information is as follows: user behavior information of the user in the landing page of the target network resource displayed according to the target URL;
and acquiring resource data corresponding to the target data identifier, and taking the acquired resource data as the resource data of the target network resource.
9. The method according to claim 8, wherein the obtaining resource data corresponding to the target data identifier as the resource data of the target network resource comprises:
and acquiring resource data corresponding to the target data identifier from a preset distributed storage system as the resource data of the target network resource, wherein the target data identifier and the corresponding resource data are stored in the preset distributed storage system by the resource delivery server.
10. The method according to claim 8, wherein the target data identifier is a decryption key corresponding to a preset encryption key;
the acquiring resource data corresponding to the target data identifier as the resource data of the target network resource includes:
respectively decrypting each encryption result stored in a preset distributed storage system according to a preset sequence by taking the target data identifier as a decryption key until an encryption result which can be successfully decrypted is determined to serve as a target encryption result; the target encryption result is obtained by encrypting the resource data of the target network resource by the resource delivery server based on a preset encryption key, and is stored in the preset distributed storage system;
and using the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
11. A network resource processing apparatus, wherein the apparatus is applied to a resource delivery server in a network resource processing system, and the network resource processing system further includes: client and data storage server, the device includes:
the acquisition module is used for acquiring resource data of a target network resource to be pushed, a preset identifier of the resource data as a target data identifier, and acquiring a URL of a landing page of the target network resource as a target URL; wherein the length of the target data identifier is a specified length;
the splicing module is used for splicing the target URL and the target data identification to obtain a target splicing result;
a sending module, configured to send the target splicing result to the client, so that the client receives the target splicing result, analyzes the target splicing result to obtain the target URL and the target data identifier, and displays a landing page of the target network resource according to the target URL when a display instruction for the target network resource is received; when an exit instruction for the landing page is received, target user behavior information of a user in the landing page and the target data identification are sent to the data storage server, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and the obtained resource data are used as resource data of the target network resource.
12. A network resource processing apparatus, applied to a client in a network resource processing system, the network resource processing system further comprising: resource delivery server and data storage server, the device includes:
the receiving module is used for receiving the target splicing result sent by the resource delivery server; the target splicing result is obtained by splicing a target URL and a target data identifier by the resource delivery server; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a data identification of resource data of the target network resource; the length of the target data identifier is a specified length;
the analysis module is used for analyzing the target splicing result to obtain the target URL and the target data identifier;
the display module is used for displaying a landing page of the target network resource according to the target URL under the condition that a display instruction aiming at the target network resource is received;
and the sending module is used for sending target user behavior information of a user on the landing page and the target data identification to the data storage server when receiving an exit instruction aiming at the landing page, so that the data storage server obtains resource data corresponding to the target data identification when receiving the target user behavior information and the target data identification, and the obtained resource data is used as the resource data of the target network resource.
13. A network resource processing apparatus, which is applied to a data storage server in a network resource processing system, wherein the network resource processing system further comprises: client and resource delivery server, the device includes:
the receiving module is used for receiving the target user behavior information and the target data identification sent by the client; the target data identification is obtained by analyzing a target splicing result by the client; the target splicing result is obtained by splicing the target URL and the target data identification by the resource delivery server and is sent to the client; the target URL is the URL of a landing page of the target network resource to be pushed; the target data identification is a preset identification of resource data of the target network resource; the length of the target data identifier is a specified length; the target user behavior information is as follows: user behavior information of the user in the landing page of the target network resource displayed according to the target URL;
and the acquisition module is used for acquiring the resource data corresponding to the target data identifier and taking the acquired resource data as the resource data of the target network resource.
14. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 3 to 6, or claim 7, or claims 8 to 10 when executing a program stored in a memory.
15. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of claims 3-6, or 7, or 8-10.
CN202110970337.5A 2021-08-23 2021-08-23 Network resource processing method, device and system Active CN113656713B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110970337.5A CN113656713B (en) 2021-08-23 2021-08-23 Network resource processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110970337.5A CN113656713B (en) 2021-08-23 2021-08-23 Network resource processing method, device and system

Publications (2)

Publication Number Publication Date
CN113656713A true CN113656713A (en) 2021-11-16
CN113656713B CN113656713B (en) 2023-07-21

Family

ID=78481634

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110970337.5A Active CN113656713B (en) 2021-08-23 2021-08-23 Network resource processing method, device and system

Country Status (1)

Country Link
CN (1) CN113656713B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827674A (en) * 2022-03-30 2022-07-29 北京奇艺世纪科技有限公司 Network resource display method, device and system
CN114827690A (en) * 2022-03-30 2022-07-29 北京奇艺世纪科技有限公司 Network resource display method, device and system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11205307A (en) * 1998-01-16 1999-07-30 Canon Inc Information processor, network system, resource identifier conversion method and storage medium
US20110295990A1 (en) * 2010-06-01 2011-12-01 Meltwater News International Holdings, GmbH Method and Apparatus for Embedding Information in a Short URL
US20140025726A1 (en) * 2012-07-23 2014-01-23 Via Technologies, Inc. Hardware resource accessing systems and methods for accessing hardware resources in browser-based operating systems and machine-readable storage medium thereof
US20180253319A1 (en) * 2017-03-02 2018-09-06 Salesforce.Com, Inc. Adaptively linking data between independent systems based on a uniform resource locator
CN109446445A (en) * 2018-10-23 2019-03-08 乐蜜有限公司 A kind of resource acquiring method and device
US10277650B1 (en) * 2016-05-12 2019-04-30 Google Llc Parallel execution of request tracking and resource delivery
US10282479B1 (en) * 2014-05-08 2019-05-07 Google Llc Resource view data collection
CN111414560A (en) * 2019-01-04 2020-07-14 腾讯科技(深圳)有限公司 Shared information processing method and device, related equipment and storage medium
CN112260934A (en) * 2020-10-19 2021-01-22 四川大学 Resource interaction method and system based on education cloud platform
CN112488763A (en) * 2020-11-30 2021-03-12 银盛支付服务股份有限公司 Advertisement putting method and system based on Internet
CN112784184A (en) * 2019-11-08 2021-05-11 上海哔哩哔哩科技有限公司 ADX-based advertisement landing page dynamic generation method, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11205307A (en) * 1998-01-16 1999-07-30 Canon Inc Information processor, network system, resource identifier conversion method and storage medium
US20110295990A1 (en) * 2010-06-01 2011-12-01 Meltwater News International Holdings, GmbH Method and Apparatus for Embedding Information in a Short URL
US20140025726A1 (en) * 2012-07-23 2014-01-23 Via Technologies, Inc. Hardware resource accessing systems and methods for accessing hardware resources in browser-based operating systems and machine-readable storage medium thereof
US10282479B1 (en) * 2014-05-08 2019-05-07 Google Llc Resource view data collection
US10277650B1 (en) * 2016-05-12 2019-04-30 Google Llc Parallel execution of request tracking and resource delivery
US20180253319A1 (en) * 2017-03-02 2018-09-06 Salesforce.Com, Inc. Adaptively linking data between independent systems based on a uniform resource locator
CN109446445A (en) * 2018-10-23 2019-03-08 乐蜜有限公司 A kind of resource acquiring method and device
CN111414560A (en) * 2019-01-04 2020-07-14 腾讯科技(深圳)有限公司 Shared information processing method and device, related equipment and storage medium
CN112784184A (en) * 2019-11-08 2021-05-11 上海哔哩哔哩科技有限公司 ADX-based advertisement landing page dynamic generation method, computer equipment and storage medium
CN112260934A (en) * 2020-10-19 2021-01-22 四川大学 Resource interaction method and system based on education cloud platform
CN112488763A (en) * 2020-11-30 2021-03-12 银盛支付服务股份有限公司 Advertisement putting method and system based on Internet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张文盛;章红琴;: "基于短链接的URL保护模型研究", 信息技术与网络安全, no. 12 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827674A (en) * 2022-03-30 2022-07-29 北京奇艺世纪科技有限公司 Network resource display method, device and system
CN114827690A (en) * 2022-03-30 2022-07-29 北京奇艺世纪科技有限公司 Network resource display method, device and system
CN114827690B (en) * 2022-03-30 2023-07-25 北京奇艺世纪科技有限公司 Network resource display method, device and system
CN114827674B (en) * 2022-03-30 2023-09-05 北京奇艺世纪科技有限公司 Network resource display method, device and system

Also Published As

Publication number Publication date
CN113656713B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
US11132463B2 (en) Security systems and methods for encoding and decoding digital content
US11741264B2 (en) Security systems and methods for social networking
CN109190409B (en) Method, device, equipment and readable storage medium for recording information propagation path
US9767300B2 (en) Managing restricted tagged content elements within a published message
CN110401677B (en) Method and device for acquiring digital copyright key, storage medium and electronic equipment
JP2019503533A5 (en)
WO2019134303A1 (en) Live stream room popularity processing method and apparatus, server and storage medium
CN107908632B (en) Website file processing method and device, website file processing platform and storage medium
US20160119396A1 (en) System Independent Remote Storing of Digital Content
CN113656713B (en) Network resource processing method, device and system
US20220337562A1 (en) Connecting Web Publisher Inventory to Programmatic Exchanges without Third-Party Cookies
CN109241423B (en) Information recommendation method and device, electronic equipment and storage medium
CN112241298A (en) Page display method and device, storage medium and electronic device
US11232488B2 (en) System, devices and methods for identifying mobile devices and other computer devices
CN110753257A (en) Data display method, display terminal, server, display system, and storage medium
CN111222075A (en) Data transmission method based on multiple Webviews, server and storage medium
CN109120576B (en) Data sharing method and device, computer equipment and storage medium
CN113609147A (en) Data sharing method and device and electronic equipment
CN107729345B (en) Website data processing method and device, website data processing platform and storage medium
KR102324802B1 (en) Systems and methods for encryption of content request data
WO2016202129A1 (en) Information processing method, device, terminal and server
CN112118208B (en) Method and device for reporting data
CN115130031A (en) Request processing method and device
CN117033821A (en) Page jump processing method and device
CN116996288A (en) Processing method, device and system for transmission data between devices and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant