CN113656713B - Network resource processing method, device and system - Google Patents
Network resource processing method, device and system Download PDFInfo
- Publication number
- CN113656713B CN113656713B CN202110970337.5A CN202110970337A CN113656713B CN 113656713 B CN113656713 B CN 113656713B CN 202110970337 A CN202110970337 A CN 202110970337A CN 113656713 B CN113656713 B CN 113656713B
- Authority
- CN
- China
- Prior art keywords
- target
- data
- resource
- network resource
- identifier
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting 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 releasing 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 an obtained target splicing result to a client. The client analyzes the target splicing result to obtain a target URL and a target data identifier, 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 identifier to the data storage server when an exit instruction for the landing page is received. When the data storage server receives the target user behavior information and the target data identifier, resource data of a target network resource corresponding to the target data identifier is obtained. Based on the above processing, optimization of the target network resources can be achieved.
Description
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 network resources to the client based on service requirements, and correspondingly, a user can browse the network resources through the client. For example, the resource delivery server may push advertisements, music, news, etc., to clients based on business needs.
In the prior art, for the advertisement pushing scenario, the resource delivery server may obtain the URL (Uniform Resource Locator ) of the landing page of the target advertisement to be pushed, and the data of the target advertisement (may be referred to as advertisement data, for example, video, audio, image in the target advertisement, and crowd facing the target advertisement, etc.). Then, the resource delivery server may splice the target URL and the advertisement data in such a way that the URL of the landing page of the target advertisement (which may be referred to as the target URL) is in front and the advertisement data is in back, and send the splice result to the client.
The client analyzes the received splicing result through a kernel browser (webview) according to the sequence from front to back to acquire target URL and 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 (which may be referred to as target user behavior information) of a user in the landing page, and advertisement data to the data storage server. Subsequently, data analysis may be performed on the user behavior information and advertisement data stored in the data storage server to optimize targeted advertisements.
However, since the parsing capability of the kernel browser for parsing the data is limited, if the advertisement data is more, the splicing result may exceed the parsing capability of the kernel browser, and the client cannot parse the portion of the splicing result exceeding the parsing capability of the kernel browser. Furthermore, the client cannot acquire the complete advertisement data, and correspondingly, the data storage server cannot acquire the complete advertisement data, so that optimization of the target advertisement cannot be realized.
Disclosure of Invention
The embodiment of the invention aims to provide a network resource processing method, device and system, so as to improve the probability that a data storage server obtains the resource data of complete target network resources, and the target network resources can be optimized subsequently based on user behavior information and resource data stored in the data storage server. The specific technical scheme is as follows:
in a first aspect of the present invention, there is provided a network resource processing system, the network resource processing system comprising: a resource delivery server, a client and a data storage server, wherein:
the resource delivery server is used for acquiring resource data of target network resources to be pushed, preset identifiers of the resource data, serving as target data identifiers, and Uniform Resource Locator (URL) of a landing page of the target network resources, serving as target URL; splicing the target URL and the target data identifier to obtain a target splicing result, and sending the target splicing result to the client; the length of the target data mark is a designated 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; 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 aiming at the landing page is received, sending target user behavior information of a user in the landing page and the target data identification to the data storage server;
the data storage server is configured to 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.
Optionally, the network resource processing system further includes: the resource is put in the cloud;
the resource delivery server is specifically configured to send the target splicing result to the resource delivery cloud;
the resource release cloud end is used for receiving the target splicing result, 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 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: a client and a data storage server, the method comprising:
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; the length of the target data mark is a designated length;
splicing the target URL and the target data identifier to obtain a target splicing result;
the target splicing result is sent to the client so that the client receives the target splicing result, the target splicing result is analyzed to obtain the target URL and the target data identifier, and the landing page of the target network resource is displayed according to the target URL under the condition that a display instruction for the target network resource is received; and when receiving the exit instruction for the landing page, sending target user behavior information of a user in the landing page and the target data identifier to the data storage server, so that the data storage server acquires resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and takes the acquired resource data as resource data of the target network resource.
Optionally, after the obtaining the resource data of the target network resource to be pushed and the preset identifier of the resource data as the target data identifier, the method further includes:
and storing the resource data of the target network resource and the target data identifier in a preset distributed storage system correspondingly, 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 and takes the resource data as the resource data of the target network resource.
Optionally, the obtaining the resource data of the target network resource to be pushed and the preset identifier of the resource data as the target data identifier includes:
acquiring 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;
taking 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 target data identifier is used as a decryption key, and each encryption result stored in the preset distributed storage system is decrypted according to a preset sequence until an encryption result which can be successfully decrypted is determined to be used as a target encryption result; and taking 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: the resource is put in the cloud;
the sending the target splicing result to the client side comprises the following steps:
the target splicing result is sent 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 also 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: a resource delivery server and a data storage server, the method comprising:
receiving a target splicing result sent by the resource release server; 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 a landing page of the target network resource to be pushed; the target data identifier is a data identifier of resource data of the target network resource; the length of the target data mark is a designated length;
Analyzing the target splicing result to obtain the target URL and the target data identifier;
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 when receiving an exit instruction aiming at the landing page, sending target user behavior information of a user on the landing page and the target data identifier to the data storage server, so that the data storage server acquires resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and taking the acquired resource data as resource data of the target network resource.
In a fourth aspect of the present invention, there is also provided a network resource processing method, the method being applied to a data storage server in a network resource processing system, the network resource processing system further comprising: the method comprises the steps of:
receiving target user behavior information and target data identification sent by the client; the target data mark 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 identifier 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 identifier is a preset identifier of resource data of the target network resource; the length of the target data mark is a designated length; the target user behavior information is: user behavior information of a user in a landing page of the target network resource displayed according to the target URL;
And 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 the 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 to the preset distributed storage system by the resource release server.
Optionally, the target data identifier is a decryption key corresponding to a preset encryption key;
the obtaining the resource data corresponding to the target data identifier as the resource data of the target network resource includes:
respectively decrypting all encryption results stored in a preset distributed storage system according to a preset sequence by taking the target data mark as a decryption key until an encryption result which can be successfully decrypted is determined as a target encryption result; the target encryption result is obtained by encrypting resource data of a target network resource based on a preset encryption key by the resource release server, and the resource data is stored in the preset distributed storage system;
And taking 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 also provided a network resource processing device, the device being applied to a resource delivery server in a network resource processing system, the network resource processing system further including: a client and a data storage server, the apparatus comprising:
the acquisition module is used for acquiring resource data of target network resources 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 resources as a target URL; the length of the target data mark is a designated length;
the splicing module is used for splicing the target URL and the target data identifier to obtain a target splicing result;
the sending module is used for 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; and when receiving the exit instruction for the landing page, sending target user behavior information of a user in the landing page and the target data identifier to the data storage server, so that the data storage server acquires resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and takes the acquired resource data as resource data of the target network resource.
Optionally, the apparatus further includes:
the storage module is used for executing the storage of the resource data of the target network resource and the target data identifier corresponding to 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 acquiring module is specifically configured to acquire 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;
taking 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 target data identifier is used as a decryption key, and each encryption result stored in the preset distributed storage system is decrypted according to a preset sequence until an encryption result which can be successfully decrypted is determined to be used as a target encryption result; and taking 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: the resource is put in the cloud;
the sending module is specifically configured to send 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 sixth aspect of the present invention, there is also provided a network resource processing apparatus, the apparatus being applied to a client in a network resource processing system, the network resource processing system further comprising: a resource delivery server and a data storage server, the apparatus comprising:
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 the target URL and the 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 identifier is a data identifier of resource data of the target network resource; the length of the target data mark is a designated 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 the target user behavior information of the user on the landing page and the target data identifier to the data storage server when receiving the exit instruction for the landing page, so that the data storage server acquires the resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and takes the acquired resource data as the resource data of the target network resource.
In a seventh aspect of the present invention, there is also provided a network resource processing device, the device being applied to a data storage server in a network resource processing system, the network resource processing system further comprising: the device comprises a client and a resource release server, wherein the device comprises:
the receiving module is used for receiving the target user behavior information and the target data identifier sent by the client; the target data mark 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 identifier 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 identifier is a preset identifier of resource data of the target network resource; the length of the target data mark is a designated length; the target user behavior information is: user behavior information of a user in a landing page of the target network resource displayed according to the target URL;
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 acquiring module is specifically configured to acquire, 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 each encryption result stored in a preset distributed storage system according to a preset sequence by using the target data identifier as a decryption key until an encryption result capable of being successfully decrypted is determined as a target encryption result; the target encryption result is obtained by encrypting resource data of a target network resource based on a preset encryption key by the resource release server, and the resource data is stored in the preset distributed storage system;
and taking the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
In yet 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, wherein the processor, the communication interface, and the memory perform communication with each other through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the steps of the network resource processing method according to the second aspect, or any one of the third aspect and the fourth aspect when executing the program stored in the memory.
In yet another aspect of the implementation of the present invention, there is further provided a computer readable storage medium, where a computer program is stored, where the computer program is executed by a processor to implement the network resource processing method of the second aspect, or any one of the third aspect or the fourth aspect.
In a further aspect of the invention there is also provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the network resource processing method of the second aspect, or any of the third aspect or the fourth aspect, above.
The network resource processing method provided by the embodiment of the invention comprises the steps that a resource release server acquires resource data of target network resources to be pushed, a target data identifier of the resource data, and a target URL of a landing page of the target network resources; the length of the target data mark is a designated 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. The client analyzes the received target splicing result to obtain a target URL and a target data identifier; displaying 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 when receiving an exit instruction for the landing page, sending target user behavior information and target data identification of the user in the landing page to a data storage server. When the data storage server receives the target user behavior information and the target data identifier, acquiring resource data corresponding to the target data identifier, and taking the acquired resource data as resource data of target network resources.
Based on the 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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be avoided to a certain extent from exceeding the analysis capability of the client, the success rate of the client for obtaining the target data identifier from the target splicing result can be improved, the probability of the data storage server obtaining the complete resource data of the target network resource can be improved, and the optimization of the target network resource can be realized 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 method for obtaining resource data according to an embodiment of the present invention;
FIG. 4 is a block diagram of another network resource processing system according to an embodiment of the present invention;
FIG. 5 is a flowchart of another method for processing network resources according to an embodiment of the present invention;
FIG. 6 is a flowchart of another method for processing network resources according to an embodiment of the present invention;
FIG. 7 is a flowchart of another method for processing network resources according to an embodiment of the present invention;
FIG. 8 is a flowchart of another network resource processing method according to an 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 device according to an embodiment of the present invention;
fig. 11 is a block diagram of another network resource processing device according to an embodiment of the present invention;
fig. 12 is a block diagram of another network resource processing device according to an embodiment of the present invention;
fig. 13 is a block diagram of an electronic device according to 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 accompanying 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 more advertisement data are available, 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. Furthermore, the client cannot acquire the complete advertisement data, and correspondingly, the data storage server cannot acquire the complete advertisement data, so that optimization of the target advertisement cannot be realized.
Illustratively, in the prior art, after the advertisement data is spliced to the URL, the target splicing result is: "https:// static, iqiyi.com/ext/current/lp/5f34fb809942c 800, 53ea296_1010000216795_1000000000000.htmlmdt= [ CUPID_DBTIME ] & cct= [ CUPID_CLTIME ] & c= … … … … =f 59981ed02073402600c0b89458 aeb 7& ss=1 & sv=3.52.003 & ve= 1&y =1 & iprl=CUPID_PRE_load & prl=0 & abm=127%3-1 & azt= 1000000000670.
The URL in the target splicing result is as follows: "https:// static.iqiyi.com/ext/current/lp/5f34fb809942c800 c53ea296_1010000216795_1000000000000.html? The other characters in the target splicing result are all advertisement data, and … … … … represents part of the advertisement data. Often, advertisement data is large in order of magnitude, and contains thousands of characters, which also results in more characters contained in the target splicing result, and may exceed the resolution capability of the client.
Referring to fig. 1, fig. 1 is a block diagram of a network resource processing system according to an embodiment of the present invention, where the network resource processing system includes: a resource delivery server 101, a client 102, and a data storage server 103, wherein:
the resource delivery server 101 may acquire resource data of a target network resource to be pushed, a preset identifier of the resource data, as a target data identifier, and acquire a URL of a landing page of the target network resource, as a target URL; the length of the target data mark is a designated 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 parse the target splicing result to obtain a target URL and a target data identifier; displaying 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; upon receiving the exit instruction for the landing page, the target user behavior information and the target data identification of the user in the landing page are transmitted 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 invention, the target data identifier is spliced after the URL, for example, aiming at the example, the target splicing result is as follows: "https:// static.iqiyi.com/ext/current/lp/5f34fb809942c800 c53ea296_1010000216795_1000000000000.htmlkey = destination data identification". Wherein, the target data mark is a preset character string with a specified length, and the number of characters contained in the target data mark (i.e. 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 parsing capability of the client 102, the parsing capability of the client 102 may be 2048 characters, and the specified length of the target data identifier may be 200 characters.
Therefore, according to the network resource processing system provided by the embodiment of the invention, the key=target data identifier is spliced after the URL, so that the designated length of the target data identifier can be controlled within a smaller range, and the obtained target splicing result can be avoided to a certain extent from exceeding the analysis capability of the client. The success rate that the client can acquire the target data identification from the target splicing result can be improved, the probability that the data storage server obtains the resource data of the complete target network resource can be improved, and the optimization of the target network resource can be realized based on the user behavior information and the resource data stored in the data storage server.
For other embodiments of the above-described network resource processing system, reference may be made to the following relevant description of method embodiments with respect to resource delivery servers, clients and data storage servers.
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 release server in the network resource processing system, and the network resource processing system further includes: the client and data storage server, the method may include the steps of:
S201: acquiring resource data of a target network resource to be pushed, a preset identifier of the resource data, and acquiring a URL of a landing page of the target network resource as a target URL, wherein the resource data and the preset identifier of the resource data are used as target data identifiers.
The length of the target data identifier is a designated length.
S202: and splicing the target URL and the target data identifier 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 the landing page is received, target user behavior information and a target data identifier of a user in the landing page are sent to the data storage server, so that when the target user behavior information and the target data identifier are received by the data storage server, resource data corresponding to the target data identifier are acquired, and the acquired resource data are used as resource data of target network resources.
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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be avoided from exceeding the analysis 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, the probability of the data storage server obtaining the complete resource data of the target network resource can be improved, and the optimization of the target network resource can be realized 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 crowd targeted by the targeted advertisement, the type of targeted advertisement, URLs of other pages related to the targeted advertisement, pictures in the targeted advertisement, videos, etc. Alternatively, the target network resource may 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, and the like.
The landing page of the target network resource may be a page introducing 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 the commodity by other users, prices of the commodity, purchasing links of the commodity, and the like. Alternatively, when the target network resource is an application advertisement, the landing page of the application may include at least one of: the size of the application, a picture of the application's operation interface, other user's evaluation of the application, and download links to the application, etc.
In one implementation, when a user opens a client, the client may send a network resource request to a resource delivery server. After the resource delivery server receives the network resource request, a target network resource (e.g., a target advertisement) to be pushed to the client may be determined according to the service requirement. Then, the resource release server can acquire the resource data of the target network resource and the target data identification of the resource data, and acquire 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 in back, so as to obtain a target splicing result, and further may 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, and can display a landing page of the target network resource according to the target URL, and 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 for 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 relevant description of the subsequent embodiments.
In one 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 string with a specified length. The preset string of specified length may be set empirically by the technician. That is, the technician may set the corresponding identification of the designated length for each network resource in advance.
When the data storage server receives the target user behavior information and the target data identification, the resource data of the target network resource can be acquired in different modes.
Mode one: the data storage server may send a data request message carrying the target data identification to the resource delivery server.
Correspondingly, when the resource release server receives the data request message, the resource release server can acquire 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 the received resource data corresponding to the target data as resource data of the target network resource.
Mode two: 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 in a preset distributed storage system correspondingly, 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 and takes the resource data 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 be a GFS (Gluster File System, open source distributed file system), but is not limited thereto.
For each network resource, the resource release server can store the resource data of the network resource and the preset identifier to the preset distributed storage system correspondingly. That is, the correspondence between the resource data of each network resource and the preset identifier is recorded in the data storage server.
Correspondingly, the data storage server can determine the resource data corresponding to the target data identifier in the corresponding relation 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 above processing, the data storage server may directly acquire the resource data of the target network resource from the preset distributed storage system. Compared with the mode that the data storage server sends a data request to the resource release server to acquire the resource data of the target network resource, the data acquisition efficiency of the data storage server can be improved.
In one embodiment of the present invention, referring to fig. 3, fig. 3 is a flowchart of a method for obtaining resource data according to 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: encrypting the resource data based on a preset encryption key to obtain a target encryption result.
S303: and using a decryption key corresponding to the encryption key as a target data identifier of the resource data.
S304: storing the target encryption result into a preset distributed storage system, so that when the data storage server receives target user behavior information and target data identifiers sent by the client, the target data identifiers are used as decryption keys, and each encryption result stored in the preset distributed storage system is decrypted according to a preset sequence until an encryption result which can be successfully decrypted is determined to be used as a target encryption result; and taking the resource data obtained by decrypting the target encryption result 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, AES (Advanced Encryption Standard ) algorithm, DES (Data Encryption Standard, data encryption standard) algorithm, or the like. Alternatively, the preset encryption algorithm may be an asymmetric encryption algorithm, for example, an RSA algorithm, an ECC (Elliptic Curves Cryptography, elliptic curve cryptography) algorithm, or the like.
If the preset encryption algorithm is a symmetric encryption algorithm, the encryption key and the decryption key are the same.
If the preset 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 decrypt the target encryption result to obtain the corresponding resource data as the data storage server can obtain the decryption key (i.e. the target data identifier). Some malicious attackers cannot obtain the decryption key, and the encryption result cannot be decrypted to obtain the corresponding resource data, so that the security of the data can be improved.
In one embodiment of the present invention, referring to fig. 4, on the basis of fig. 1, the network resource processing system further includes: the resource is launched into the cloud 104.
Accordingly, step S203 may include the steps of:
the target splicing result is sent 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 the manner in which the fields contained by the data are combined. For example, the data structure of the data may represent 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 be a television, or the client 102 may be a smart speaker.
The number of clients 102 in communication with the resource delivery server 101 may be plural, and the data structures that different clients 102 can handle may be different. 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 its 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 mobile phone, a computer, or other terminals, the data structure of the URL that the client 102 can parse is: protocol field, domain name field, port field, virtual directory field, filename field, anchor field, and parameter 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 absent, 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 may include the steps of:
s501: and receiving a target splicing result sent by the resource release server.
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 identifier is a data identifier of resource data of the target network resource. The length of the target data identifier is a specified length.
S502: and analyzing the target splicing result to obtain a target URL and a target data identifier.
S503: and displaying the landing page of the target network resource according to the target URL under the condition that the display instruction for the target network resource is received.
S504: when an exit instruction for the landing page is received, sending target user behavior information and a target data identifier of a user on the landing page to a data storage server, so that when the data storage server receives the target user behavior information and the target data identifier, acquiring resource data corresponding to the target data identifier, and taking the acquired resource data as resource data of target network resources.
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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be avoided from exceeding the analysis 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, the probability of the data storage server obtaining the complete resource data of the target network resource can be improved, and the optimization of the target network resource can be realized based on the user behavior information and the resource data stored in the data storage server.
In one implementation, the client may send a resource request to the resource delivery server when the user opens the client in step S501. After receiving the resource request, the resource release server can acquire the resource data of the target network resource and the target data identifier of the resource data, and acquire the target URL of the landing page of the target network resource. The resource release server can splice the target URL and the target data identifier to obtain a target splicing result, and further, the target splicing result can be sent to the client.
The specific processing manner of the resource release server can be seen from the relevant description of the foregoing embodiment.
For step S502 and step S503, in one implementation manner, when receiving the target splicing result, the client may parse the target splicing result through a kernel browser (webview) to 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 splice result when it receives the target splice result. Subsequently, when a display instruction aiming at 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 the 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 sliding 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 user behavior information (i.e., 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 includes at least one of: the operation times of the user in the landing page, the time for the user to browse the landing page, and the display size of the landing page in the display interface of the client when the landing page is withdrawn.
The number of operations of the user in the landing page may include: the number of click operations and/or slide operations in the landing page by the user.
Due to 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 drag the landing page, slide up, slide down, zoom in, zoom out, and the like, so as to browse a part of the landing page of the target network resource, which is not currently displayed.
Thus, 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 and/or the display width of the landing page in the display interface of the client.
The behavior information of the user in the landing page of the target network resource can reflect the interest degree 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 can acquire 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 relevant description of the subsequent embodiments.
Referring to fig. 6, fig. 6 is a flowchart of a network resource processing method provided by 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: the method may include the steps of:
S601: and receiving target user behavior information and target data identification sent by the client.
The target data identification is obtained by analyzing a target splicing result by the client. And the target splicing result is obtained by splicing the target URL and the target data identifier 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 resource data of the target network resource. The length of the target data identifier is a specified length. The target user behavior information is: user behavior information of a user in a landing page of a target network resource displayed according to a target URL.
S602: and 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.
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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be avoided from exceeding the analysis 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, the probability of the data storage server obtaining the complete resource data of the target network resource can be improved, and the optimization of the target network resource can be realized based on the user behavior information and the resource data stored in the data storage server.
In step S601, 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 release server can acquire the resource data of the target network resource and the target data identifier of the resource data, and acquire the target URL of the landing page of the target network resource. The resource release server can splice the target URL and the target data identifier to obtain a target splicing result, and further, the target splicing result can be sent 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 can send target user behavior information and target data identification 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 relevant description of the foregoing embodiments.
In step S602, when the data storage server receives the target user behavior information and the target data identifier, the resource data of the target network resource may be acquired in different manners.
Mode one: the data storage server may send a data request message carrying the target data identification to the resource delivery server. Correspondingly, when the resource release server receives the data request message, the resource release server can acquire 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 the received resource data corresponding to the target data as resource data of the target network resource.
Mode two: step S602 may include the steps of:
and acquiring resource data corresponding to the target data identifier from a preset distributed storage system, and taking the resource data as resource data of the target network resource.
The target data identification and the corresponding resource data are stored to a preset distributed storage system for the resource release server.
For each network resource, the resource release server can store the resource data of the network resource and the preset identifier to the preset distributed storage system correspondingly. That is, the correspondence between the resource data of each network resource and the preset identifier is recorded in the data storage server.
Correspondingly, the data storage server can determine the resource data corresponding to the target data identifier in the corresponding relation between the resource data and the identifier recorded in the preset distributed storage system, and acquire the resource data corresponding to the target data identifier as the resource data of the target network resource.
Based on the above processing, the data storage server may directly acquire the resource data of the target network resource from the preset distributed storage system. Compared with the mode that the data storage server sends a data request to the resource release server to acquire the resource data of the target network resource, the data acquisition efficiency of the data storage server can be improved.
In one embodiment of the present invention, the target data identifier is a decryption key corresponding to a preset encryption key. Accordingly, referring to fig. 7, on the basis of fig. 6, step S602 may include the steps of:
s6021: and respectively decrypting all encryption results stored in a preset distributed storage system according to a preset sequence by taking the target data mark as a decryption key until an encryption result which can be successfully decrypted is determined, wherein the encryption result is used as a target encryption result.
The target encryption result is obtained by encrypting the resource data of the target network resource based on a preset encryption key by the resource release server, and the resource data is stored in a preset distributed storage system.
S6022: and taking the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
The preset order may be set empirically by a skilled person, for example, the preset order may be a time sequence of storing each encryption result in a preset distributed storage system, or the preset order may be a random order, but is not limited thereto.
In one implementation manner, 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 the encryption result can be stored in a preset distributed storage system. Correspondingly, the preset distributed storage system stores encryption results corresponding to the resource data of each of the plurality of network resources.
Therefore, the data storage server can select an encryption result which is not subjected to decryption processing 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.
Furthermore, the data storage server can select an encryption result which is not decrypted currently from the preset distributed storage system, decrypt the selected encryption result, and so on until an encryption result which can be successfully decrypted is determined, and a target encryption result is obtained.
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 decrypt the target encryption result to obtain the corresponding resource data as the data storage server can obtain the decryption key (i.e. the target data identifier). Some malicious attackers cannot obtain the decryption key, and the encryption result cannot be decrypted to obtain the corresponding resource data, so that the security of the data can be improved.
Subsequently, the technician may perform data analysis on the resource data and the target user behavior information of the target network resource 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 following steps: the system comprises a resource delivery server, a resource delivery cloud, a client and a data storage server.
For an advertisement application scene, the resource delivery server can acquire advertisement data of target advertisements to be pushed and target data identifiers of the advertisement data, acquire target URLs of landing pages of the target advertisements, and store the advertisement data and the target data identifiers to a preset distributed storage system correspondingly. Then, the resource release server can splice the target URL and the target data identifier to obtain a target splicing result, and 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. Further, in the case where a display instruction for the target advertisement has been received, the client may display the H5 landing page of the target advertisement (i.e., the landing page of the target advertisement) in accordance with the target URL. The client may also send target user behavior information and target data identification of the user in the landing page to the data storage server when receiving the exit instruction for the landing page.
The data storage server can acquire advertisement data corresponding to the target data identifier from a preset distributed storage system when receiving the target user behavior information and the target data identifier, and the advertisement data is 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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be prevented from exceeding the analysis 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 obtaining the complete resource data of the target advertisement can be improved, and the optimization of the target advertisement can be realized 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 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 following steps: the system comprises a resource release server, a client and a data storage server. The method may comprise the steps of:
s901: the resource delivery server acquires resource data of the target network resource to be pushed, a preset identifier of the resource data, and a URL of a landing page of the target network resource, and the URL serves as a target URL.
The length of the target data identifier is a designated length.
S902: and the resource release server splices the target URL and the target data identifier to obtain a target splicing result.
S903: and the resource release 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 for the target network resource.
S906: and when receiving an exit instruction aiming at the landing page, the client transmits target user behavior information and target data identification of the user on the landing page to the data storage server.
S907: 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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be avoided from exceeding the analysis 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, the probability of the data storage server obtaining the complete resource data of the target network resource can be improved, and the optimization of the target network resource can be realized based on the user behavior information and the resource data stored in the data storage server.
Corresponding to the method embodiment of fig. 2, referring to fig. 10, fig. 10 is a block diagram of a network resource processing device provided in the embodiment of the present invention, where the device is applied to a resource release server in a network resource processing system, and the network resource processing system further includes: a client and a data storage server, the apparatus comprising:
An obtaining module 1001, configured to obtain resource data of a target network resource to be pushed, a preset identifier of the resource data, and a URL of a landing page of the target network resource, as a target URL; the length of the target data mark is a designated length;
a splicing module 1002, 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, parses the target splicing result to obtain the target URL and the target data identifier, and displays, when a display instruction for the target network resource has been received, a landing page of the target network resource according to the target URL; and when receiving the exit instruction for the landing page, sending target user behavior information of a user in the landing page and the target data identifier to the data storage server, so that the data storage server acquires resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and takes the acquired resource data as resource data of the target network resource.
Optionally, the apparatus further includes:
the storage module is configured to perform, after the obtaining module 1001 performs obtaining the resource data of the target network resource to be pushed and the preset identifier of the resource data as the target data identifier, perform storing the resource data of the target network resource and the target data identifier corresponding to 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, obtain 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 acquiring module 1001 is specifically configured to acquire 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;
taking 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 target data identifier is used as a decryption key, and each encryption result stored in the preset distributed storage system is decrypted according to a preset sequence until an encryption result which can be successfully decrypted is determined to be used as a target encryption result; and taking 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: the resource is put in the cloud;
the sending module 1003 is specifically configured to send 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.
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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be avoided from exceeding the analysis 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, the probability of the data storage server obtaining the complete resource data of the target network resource can be improved, and the optimization of the target network resource can be realized based on the user behavior information and the resource data stored in the data storage server.
Corresponding to the method embodiment of fig. 5, referring to fig. 11, fig. 11 is a block diagram of a network resource processing device provided in an embodiment of the present invention, where the device is applied to a client in a network resource processing system, and the network resource processing system further includes: a resource delivery server and a data storage server, the apparatus comprising:
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 the target URL and the 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 identifier is a data identifier of resource data of the target network resource; the length of the target data mark is a designated 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 display, when a display instruction for the target network resource has been received, a landing page of the target network resource according to the target URL;
and the sending module 1104 is configured to send, when receiving an exit instruction for the landing page, target user behavior information of a user on the landing page and the target data identifier to the data storage server, so that when the data storage server receives 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 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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be avoided from exceeding the analysis 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, the probability of the data storage server obtaining the complete resource data of the target network resource can be improved, and the optimization of the target network resource can be realized based on the user behavior information and the resource data stored in the data storage server.
Corresponding to the method embodiment of fig. 6, referring to fig. 12, fig. 12 is a block diagram of a network resource processing device according to an embodiment of the present invention, where the device is applied to a data storage server in a network resource processing system, and the network resource processing system further includes: the device comprises a client and a resource release server, wherein the device comprises:
a receiving module 1201, configured to receive target user behavior information and a target data identifier sent by the client; the target data mark 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 identifier 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 identifier is a preset identifier of resource data of the target network resource; the length of the target data mark is a designated length; the target user behavior information is: user behavior information of a user in a 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 acquiring module 1202 is specifically configured to acquire, 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 each encryption result stored in the preset distributed storage system according to a preset sequence with the target data identifier as a decryption key until an encryption result that can be successfully decrypted is determined, where the encryption result is used as a target encryption result; the target encryption result is obtained by encrypting resource data of a target network resource based on a preset encryption key by the resource release server, and the resource data is stored in the preset distributed storage system;
and taking 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 designated length, so that the length of the target data identifier can be controlled within a smaller range, correspondingly, the obtained target splicing result can be avoided from exceeding the analysis 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, the probability of the data storage server obtaining the complete resource data of the target network resource can be improved, and the optimization of the target network resource can be realized based on the user behavior information and the resource data stored in the data storage server.
The embodiment of the invention also provides an electronic device, as shown in fig. 13, which comprises a processor 1301, a communication interface 1302, a memory 1303 and a communication bus 1304, wherein 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;
processor 1301 is configured to implement the network resource processing method according to any of the above embodiments when executing the program stored in memory 1303.
The communication bus mentioned by the above electronic device may be a peripheral component interconnect standard (Peripheral Component Interconnect, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The memory may include random access memory (Random Access Memory, RAM) or 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 aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, there is further provided a computer readable storage medium, in which a computer program is stored, the computer program implementing the network resource processing method according to any one of the foregoing embodiments when executed by a processor.
In yet another embodiment of the present invention, a computer program product comprising instructions, which when run on a computer, causes the computer to perform the network resource processing method according to any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part 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, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more 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)), etc.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, systems, electronic devices, computer readable storage media and computer program product embodiments, the description is relatively simple as it is substantially similar to method embodiments, as relevant to the description of method embodiments.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (15)
1. A network resource processing system, the network resource processing system comprising: a resource delivery server, a client and a data storage server, wherein:
the resource delivery server is used for acquiring resource data of target network resources to be pushed, preset identifiers of the resource data, serving as target data identifiers, and Uniform Resource Locator (URL) of a landing page of the target network resources, serving as target URL; splicing the target URL and the target data identifier to obtain a target splicing result, and sending the target splicing result to the client; the length of the target data mark is a designated 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; 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 aiming at the landing page is received, sending target user behavior information of a user in the landing page and the target data identification to the data storage server;
The data storage server is configured to 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.
2. The network resource processing system of claim 1, wherein the network resource processing system further comprises: the resource is put in the cloud;
the resource delivery server is specifically configured to send the target splicing result to the resource delivery cloud;
the resource release cloud end is used for receiving the target splicing result, 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.
3. A network resource processing method, wherein the method is applied to a resource delivery server in a network resource processing system, and the network resource processing system further comprises: a client and a data storage server, the method comprising:
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; the length of the target data mark is a designated length;
Splicing the target URL and the target data identifier to obtain a target splicing result;
the target splicing result is sent to the client so that the client receives the target splicing result, the target splicing result is analyzed to obtain the target URL and the target data identifier, and the landing page of the target network resource is displayed according to the target URL under the condition that a display instruction for the target network resource is received; and when receiving the exit instruction for the landing page, sending target user behavior information of a user in the landing page and the target data identifier to the data storage server, so that the data storage server acquires resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and takes the acquired resource data as resource data of the target network resource.
4. A method according to claim 3, wherein after the obtaining the resource data of the target network resource to be pushed and the preset identifier of the resource data as the target data identifier, the method further comprises:
And storing the resource data of the target network resource and the target data identifier in a preset distributed storage system correspondingly, 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 and takes the resource data as the resource data of the target network resource.
5. The method of claim 3, wherein the obtaining the resource data of the target network resource to be pushed and the preset identifier of the resource data as the target data identifier includes:
acquiring 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;
taking 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 target data identifier is used as a decryption key, and each encryption result stored in the preset distributed storage system is decrypted according to a preset sequence until an encryption result which can be successfully decrypted is determined to be used as a target encryption result; and taking 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: the resource is put in the cloud;
the sending the target splicing result to the client side comprises the following steps:
the target splicing result is sent 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 method for processing network resources, wherein the method is applied to a client in a network resource processing system, and the network resource processing system further comprises: a resource delivery server and a data storage server, the method comprising:
receiving a target splicing result sent by the resource release server; 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 a landing page of the target network resource to be pushed; the target data identifier is a data identifier of resource data of the target network resource; the length of the target data mark is a designated length;
Analyzing the target splicing result to obtain the target URL and the target data identifier;
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 when receiving an exit instruction aiming at the landing page, sending target user behavior information of a user on the landing page and the target data identifier to the data storage server, so that the data storage server acquires resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and taking the acquired resource data as resource data of the target network resource.
8. A method for processing network resources, wherein the method is applied to a data storage server in a network resource processing system, and the network resource processing system further comprises: the method comprises the steps of:
receiving target user behavior information and target data identification sent by the client; the target data mark 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 identifier 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 identifier is a preset identifier of resource data of the target network resource; the length of the target data mark is a designated length; the target user behavior information is: user behavior information of a user in a landing page of the target network resource displayed according to the target URL;
And 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.
9. The method according to claim 8, wherein the obtaining the 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 to the preset distributed storage system by the resource release server.
10. The method of claim 8, wherein the target data identifier is a decryption key corresponding to a preset encryption key;
the obtaining the resource data corresponding to the target data identifier as the resource data of the target network resource includes:
respectively decrypting all encryption results stored in a preset distributed storage system according to a preset sequence by taking the target data mark as a decryption key until an encryption result which can be successfully decrypted is determined as a target encryption result; the target encryption result is obtained by encrypting resource data of a target network resource based on a preset encryption key by the resource release server, and the resource data is stored in the preset distributed storage system;
And taking the resource data obtained by decrypting the target encryption result as the resource data of the target network resource.
11. A network resource processing device, wherein the device is applied to a resource delivery server in a network resource processing system, and the network resource processing system further comprises: a client and a data storage server, the apparatus comprising:
the acquisition module is used for acquiring resource data of target network resources 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 resources as a target URL; the length of the target data mark is a designated length;
the splicing module is used for splicing the target URL and the target data identifier to obtain a target splicing result;
the sending module is used for 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; and when receiving the exit instruction for the landing page, sending target user behavior information of a user in the landing page and the target data identifier to the data storage server, so that the data storage server acquires resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and takes the acquired resource data as resource data of the target network resource.
12. A network resource processing apparatus, the apparatus being applied to a client in a network resource processing system, the network resource processing system further comprising: a resource delivery server and a data storage server, the apparatus comprising:
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 the target URL and the 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 identifier is a data identifier of resource data of the target network resource; the length of the target data mark is a designated 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 the target user behavior information of the user on the landing page and the target data identifier to the data storage server when receiving the exit instruction for the landing page, so that the data storage server acquires the resource data corresponding to the target data identifier when receiving the target user behavior information and the target data identifier, and takes the acquired resource data as the resource data of the target network resource.
13. A network resource processing device, wherein the device is applied to a data storage server in a network resource processing system, the network resource processing system further comprising: the device comprises a client and a resource release server, wherein the device comprises:
the receiving module is used for receiving the target user behavior information and the target data identifier sent by the client; the target data mark 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 identifier 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 identifier is a preset identifier of resource data of the target network resource; the length of the target data mark is a designated length; the target user behavior information is: user behavior information of a user in a landing page of the target network resource displayed according to the target URL;
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. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 3-6, or claim 7, or claims 8-10 when executing a program stored on a memory.
15. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 3-6, or claim 7, or claims 8-10.
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 CN113656713A (en) | 2021-11-16 |
CN113656713B true 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) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114827674B (en) * | 2022-03-30 | 2023-09-05 | 北京奇艺世纪科技有限公司 | Network resource display method, device and system |
CN114827690B (en) * | 2022-03-30 | 2023-07-25 | 北京奇艺世纪科技有限公司 | Network resource display method, device and system |
Citations (8)
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 |
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8630200B2 (en) * | 2010-06-01 | 2014-01-14 | Meltwater News International Holdings, GmbH | Method and apparatus for embedding information in a short URL |
US9253249B2 (en) * | 2012-07-23 | 2016-02-02 | Via Technologies, Inc. | Hardware resource accessing systems and methods for accessing hardware resources in browser-based operating systems and machine-readable storage medium thereof |
US10289432B2 (en) * | 2017-03-02 | 2019-05-14 | Salesforce.Com, Inc. | Adaptively linking data between independent systems based on a uniform resource locator |
-
2021
- 2021-08-23 CN CN202110970337.5A patent/CN113656713B/en active Active
Patent Citations (8)
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 |
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 |
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)
Title |
---|
基于短链接的URL保护模型研究;张文盛;章红琴;;信息技术与网络安全(12);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113656713A (en) | 2021-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9767300B2 (en) | Managing restricted tagged content elements within a published message | |
US11741264B2 (en) | Security systems and methods for social networking | |
CN109190409B (en) | Method, device, equipment and readable storage medium for recording information propagation path | |
CN110401677B (en) | Method and device for acquiring digital copyright key, storage medium and electronic equipment | |
CN107888656B (en) | Calling method and calling device of server-side interface | |
WO2019134303A1 (en) | Live stream room popularity processing method and apparatus, server and storage medium | |
US20170171166A1 (en) | Anti-hotlinking method and electronic device | |
CN107908632B (en) | Website file processing method and device, website file processing platform and storage medium | |
CN109995876B (en) | File transmission method, device, system and computer storage medium | |
CN113656713B (en) | Network resource processing method, device and system | |
CN112241298A (en) | Page display method and device, storage medium and electronic device | |
CN110046000B (en) | Applet running method and device | |
CN116662941B (en) | Information encryption method, device, computer equipment and storage medium | |
CN108418679B (en) | Method and device for processing secret key under multiple data centers and electronic equipment | |
EP3637737A1 (en) | Method and system for synchronizing user identities | |
CN110753257A (en) | Data display method, display terminal, server, display system, and storage medium | |
CN108733700A (en) | Data processing method, device, system and storage medium | |
CN109120576B (en) | Data sharing method and device, computer equipment and storage medium | |
CN114598671A (en) | Session message processing method, device, storage medium and electronic equipment | |
CN116112172B (en) | Android client gRPC interface security verification method and device | |
CN107729345B (en) | Website data processing method and device, website data processing platform and storage medium | |
WO2016202129A1 (en) | Information processing method, device, terminal and server | |
CN114245161B (en) | Live broadcast push method and device, storage medium and electronic equipment | |
CN112118208B (en) | Method and device for reporting data | |
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 |