CN113536160A - Page link processing method and device, electronic equipment and storage medium - Google Patents

Page link processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113536160A
CN113536160A CN202010318611.6A CN202010318611A CN113536160A CN 113536160 A CN113536160 A CN 113536160A CN 202010318611 A CN202010318611 A CN 202010318611A CN 113536160 A CN113536160 A CN 113536160A
Authority
CN
China
Prior art keywords
page
shared user
link
shared
sharing
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.)
Pending
Application number
CN202010318611.6A
Other languages
Chinese (zh)
Inventor
刘晓斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Guizhou Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guizhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Guizhou Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010318611.6A priority Critical patent/CN113536160A/en
Publication of CN113536160A publication Critical patent/CN113536160A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9558Details of hyperlinks; Management of linked annotations

Abstract

An embodiment of the specification provides a page link processing method, a page link processing device, electronic equipment and a storage medium, after a first page loading request carrying a first page link and sent by a shared user side is received, a shared user identification code is generated according to the obtained shared user information corresponding to the shared user side, the shared user identification code is added into the first page link to generate a second page link, and the second page link is sent to the shared user side so that the shared user side can obtain page content and send the page content to other user sides. Through the embodiment, when the shared user end opens the link shared by the sharing user end, the link is modified, the identification code of the shared person is added to the link, the sharing link carrying the identification code of the shared person is generated, and when the shared person is used as a new sharing user to share the link again, the identity of the new sharing user can be carried in the link.

Description

Page link processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a page link, an electronic device, and a storage medium.
Background
With the development of network technology, information and services provided by web pages are more and more abundant, and many times, users want to share web page contents with other people when browsing web pages.
At present, when a user shares web page content, the user may copy a web page link, and then send the web page link to a person who wants to share the web page link through a mail or other application programs (such as WeChat, QQ, MSN, and Fei), or the user may log in websites such as a microblog, a person, and a Baidu Bar, and share the web page link to another person in the websites.
However, in the existing methods for sharing web page links, a web page link is obtained first, then the web page link is shared to others through a social account, and the shared web page link only carries an identity of an original sharer, so that only the identity of the original sharer can be identified through the web page link, when a shared user shares the web page link with other users, the identity of the sharer is still the original sharer, and a new identity of the shared user cannot be taken when the web page link is shared again.
Disclosure of Invention
An embodiment of the present specification aims to provide a page link processing method, an apparatus, an electronic device, and a storage medium, so as to solve a problem that a new identity of a sharing user cannot be brought when a web page link is shared again.
To solve the above technical problem, one embodiment of the present specification is implemented as follows:
in a first aspect, an embodiment of the present specification provides a page link processing method, including:
receiving a first page loading request sent by a shared user end, wherein the first page loading request carries a first page link shared by the shared user end to the shared user end;
responding to the first page loading request, acquiring shared user information corresponding to a shared user end, and generating a shared user identification code according to the shared user information;
adding the identifier code of the shared user in the first page link to obtain a second page link, and sending the second page link to the shared user end, so that the shared user end loads the page content shared by the sharing user end to the shared user end according to the second page link; the second page link is also used for sharing the page content from the shared user terminal to other user terminals.
In a second aspect, another embodiment of the present specification provides a page link processing apparatus, including:
the receiving module is used for receiving a first page loading request sent by a shared user end, wherein the first page loading request carries a first page link shared by the sharing user end to the shared user end;
The generating module is used for responding to the first page loading request, acquiring shared user information corresponding to the shared user terminal, and generating a shared user identification code according to the shared user information;
the processing module is used for adding the identifier of the shared user in the first page link to obtain a second page link, and sending the second page link to the shared user end so that the shared user end loads the page content shared by the sharing user end to the shared user end according to the second page link; the second page link is also used for sharing the page content from the shared user terminal to other user terminals.
In a third aspect, a further embodiment of the present specification provides an electronic device for page link processing, including: memory, a processor and computer executable instructions stored on the memory and executable on the processor, the computer executable instructions when executed by the processor implementing the steps of the method of page link processing as described above in the first aspect.
In a fourth aspect, a further embodiment of the present specification provides a computer-readable storage medium for storing computer-executable instructions which, when executed by a processor, implement the steps of the method of page link processing as described in the first aspect above.
In an embodiment of the present disclosure, after receiving a first page loading request carrying a first page link and sent by a shared user, a shared user identifier is generated according to the obtained shared user information corresponding to the shared user, the shared user identifier is added to the first page link to generate a second page link, and the second page link is sent to the shared user to enable the shared user to obtain page content and send the page content to other users. Through the embodiment, when the shared user end opens the link shared by the sharing user end, the link is modified, the identification code of the shared person is added to the link, the sharing link carrying the identification code of the shared person is generated, and when the shared person is used as a new sharing user to share the link again, the identity of the new sharing user can be carried in the link.
Drawings
In order to more clearly illustrate the technical solutions in one or more embodiments of the present disclosure, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and for those skilled in the art, other drawings can be obtained according to these drawings without any creative effort.
Fig. 1 is a first flowchart of a page link processing method according to an embodiment of the present disclosure;
fig. 2 is a second flowchart of a page link processing method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a browser and server module provided in one embodiment of the present disclosure;
fig. 4 is an application diagram of a page link processing method according to an embodiment of the present specification;
fig. 5 is a block diagram of a page link processing apparatus according to an embodiment of the present specification;
fig. 6 is a schematic block diagram of a page link processing device according to an embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
In view of the problem that the identity of the new sharing user cannot be brought up when the web link is shared again in the prior art, an embodiment of the present specification provides a page link processing method to solve the problem, so that the identity of the new sharing user is brought up when the web link is shared again.
Fig. 1 is a schematic flowchart of a page link processing method according to an embodiment of the present specification, and as shown in fig. 1, the flowchart includes the following steps:
step S102, receiving a first page loading request sent by a shared user end, wherein the first page loading request carries a first page link shared by the shared user end to the shared user end;
step S104, responding to the first page loading request, acquiring shared user information corresponding to a shared user end, and generating a shared user identification code according to the shared user information;
step S106, adding the identifier of the shared user in the first page link to obtain a second page link, and sending the second page link to the shared user end, so that the shared user end loads the page content shared by the sharing user end to the shared user end according to the second page link; the second page link is also used for sharing the page content from the shared user terminal to other user terminals.
In an embodiment of the present disclosure, after receiving a first page loading request carrying a first page link and sent by a shared user, a shared user identifier is generated according to the obtained shared user information corresponding to the shared user, the shared user identifier is added to the first page link to generate a second page link, and the second page link is sent to the shared user to enable the shared user to obtain page content and send the page content to other users. Through the embodiment, when the shared user end opens the link shared by the sharing user end, the link is modified, the identification code of the shared person is added to the link, the sharing link carrying the identification code of the shared person is generated, and when the shared person is used as a new sharing user to share the link again, the identity of the new sharing user can be carried in the link.
In the step S102, a first page loading request sent by the shared user is received, where the first page loading request carries a first page link shared by the sharing user to the shared user.
Specifically, the sharing client is a client that actively shares the web page link, the shared client is a client that receives the web page link, the first page link is a web page link shared by the sharing client to the shared client, and the sharing client can share the first page link to the shared client on social software such as WeChat, QQ, and the like. The first page link carries an identifier of the sharing client, for example, the identifier of the sharing client is converted into a parameter that can be carried by the link, and the parameter is placed into the first page link, the first page loading request is sent to the server after the shared client clicks the received page link (namely, the first page link), and the first page loading request carries the first page link.
In an embodiment, when the first page link is a URL link, the sharing user information corresponding to the sharing user end may be information that can represent a user identifier, such as a registered user name of the user, a mobile phone number of the user, and the like, and the sharing user information of the sharing user end may be converted according to a preset conversion rule, where the preset conversion rule may be random code conversion, mapping rule conversion, and the like, and the sharer identification code is obtained after the conversion, and is carried in an information fragment after the directory in the URL link. The sharing user side sends the URL link to the shared user side through platforms such as WeChat and QQ, after the shared user clicks the URL link, the browser analyzes the domain name or the host name of the server in the URL link, generates a first page loading request carrying the URL link and sends the first page loading request to the corresponding server, and the first page loading request is used for loading the page corresponding to the URL link in the browser.
In the step S102, in response to the first page loading request, the shared user information corresponding to the shared user is obtained, and the identifier of the shared user is generated according to the shared user information.
The shared user information corresponding to the shared user side can be information which can represent user identification, such as a registered user name of the user, a mobile phone number of the user and the like, after the server receives the first page loading request, the server obtains the shared user information of the shared user side, and the shared user information of the shared user side is converted into the identification code of the shared user according to preset conversion rules, such as random code conversion, mapping rule conversion and the like.
After receiving the first page loading request, the server also needs to judge the validity of the request. For example, it may be determined whether the first page load request is an attack request that is frequently sent, and if the sending frequency of the first page load request is high, it indicates that the first page load request is an attack request, and the server may not process the first page load request. And if the page requested by the first page loading request does not exist in the server, the first page link carried in the first page loading request is an invalid link, and the server does not process the invalid link.
Before the step S104, at least one of the following steps is further included: extracting a sharer identification code corresponding to the sharing user terminal from the first page link, and judging whether the sharer identification code is located in a preset identification code white list or not; determining a content type corresponding to the page content, and judging whether the content type is a preset content type; and determining a content valid time period corresponding to the page content, and judging whether the sending time of the first page loading request is within the content valid time period.
The preset identification code white list is a white list pre-stored in the service, the users in the white list are users verified by the server, and the server generates the identification code white list according to the information of the users with real and effective registration information and stores the identification code white list in the database. And if the sharer identification code is not in the preset identification code white list, the server directly opens the page without generating a second page link. And if the sharer identification code is located in a preset identification code white list, the server generates a second page link. In an embodiment, after determining the content type corresponding to the page content, whether the content type is a preset marketing content is determined, and if so, the server generates a second page link. Specifically, the content valid time period of each page is preset in the server, the content valid time period is usually a time interval, the sending time of the first page loading request is compared with the content valid time period of the page preset in the server, and if the sending time of the first page loading request is not in the preset content valid time period, the server directly opens the page without generating a second page link. And if the sending time of the first page loading request is within the preset content valid time period, indicating that the page content requested by the first page loading request is within the valid period, and generating a second page link by the server.
In a specific application, the sharer identification code carried in the first page link, the content type corresponding to the page content, and the content valid time period corresponding to the page content may all be selected to be judged according to corresponding conditions, and only one or more of the sharer identification code carried in the first page link, the content type corresponding to the page content, and the content valid time period corresponding to the page content may be judged according to specific needs. When one or more of the sharer identification code carried in the first page link, the content type corresponding to the page content, and the content valid period corresponding to the page content are judged, the step S104 is executed if each judgment result is yes.
In the above step, obtaining shared user information corresponding to the shared user includes: if the shared user side sends a first page loading request through a first type of network, acquiring shared user information from a specific field of the first page loading request; and if the shared user side sends the first page loading request through the second type of network, sending an information reporting instruction to the shared user side, wherein the information reporting instruction is used for indicating the shared user side to report the information of the shared user.
The first type of network may be a network transmitted by a base station, such as 2G, 3G, 4G, 5G, provided by an operator, and the process of acquiring shared user information from a specific field of the first page loading request is specifically to directly acquire a mobile phone number of a user or a login user name of the user from a field of a browser header "x-up-capturing-line-id" or the like. The second type of network may be a wired network or a wifi network, and the like, which are transmitted through an optical fiber, and for the second type of network, the server may send an information reporting instruction to the shared user end, and the reporting instruction may be sent to a reporting page of the user end by the server, so that the user fills information of the shared user end in the reporting page.
In the step S106, the identifier of the shared user is added to the first page link to obtain a second page link, and the second page link is sent to the shared user, so that the shared user loads the page content shared by the sharing user to the shared user according to the second page link. The second page link is also used for sharing the page content from the shared user terminal to other user terminals.
After the shared user information is acquired, the shared user information of the shared user terminal is converted into the identifier of the shared user according to preset conversion rules, such as random code conversion, mapping rule conversion and the like. And adding the shared person identification code into the first page link to obtain a second page link, namely adding the shared person identification code into the information fragment of the URL link, and sending the newly generated second page link to the shared user end. In one example, the sharer identification code carried in the first page link may be replaced with the generated sharee identification code.
The method in this embodiment further includes: the server receives a second page loading request sent by the shared user side, the second page loading request carries the second page link, and the server returns page data corresponding to the page content to the shared user side according to the second page loading request, so that the shared user side loads the page content.
Specifically, the shared user initiates a second page loading request for the newly generated second page link, and requests to load the corresponding page. The shared user terminal can send a second page loading request to the server through the page redirection technology.
After the step S106, receiving a page sharing request sent by the shared user, where the page sharing request carries a second page link; and sharing the second page link to the user side corresponding to the page sharing request according to the page sharing request.
Specifically, the page sharing request is a page sharing request generated when the shared user shares the second page link to other users through the client, and after receiving the page sharing request, the server forwards the second page link to the corresponding client according to the page sharing request.
Therefore, after the shared user side obtains the sharing link (namely, the second page link) carrying the own identification code, the shared link can be shared with other users, so that the new identity of the sharing user is brought into the link when the link is shared again.
Further, the method in this embodiment further includes recording at least one of the sharer identification code, the sharee identification code, the first page link, the second page link, the sharing frequency of the page content, and the sharing time of the page content carried in the first page link.
And after the sharing times of the page content are that the second page link is generated once, adding 1 time to the sharing times, wherein the sharing time of the page content is the generation time of the second page link. The server can record the sharer identification code, the sharee identification code, the first page link, the second page link, the sharing times of the page content and the sharing time of the page content in a form of a table. The items to be recorded may also be selected as needed, and the embodiment of the present invention is not particularly limited.
In this embodiment, before returning the page data corresponding to the page content to the shared user side according to the second page loading request, the method further includes: and judging whether the shared person identification code carried in the second page loading request is matched with the shared user information.
After receiving the link sent by the browser, the server compares the identifier code of the shared user in the link with the information of the current login user according to a preset flow, and if the identifier code of the shared user in the link is inconsistent with the information of the current login user, the information of the current user is acquired, and a new link is generated.
In an embodiment of the present disclosure, after receiving a first page loading request carrying a first page link and sent by a shared user, a shared user identifier is generated according to the obtained shared user information corresponding to the shared user, the shared user identifier is added to the first page link to generate a second page link, and the second page link is sent to the shared user to enable the shared user to obtain page content and send the page content to other users. Through the embodiment, when the shared user end opens the link shared by the sharing user end, the link is modified, the identification code of the shared person is added to the link, the sharing link carrying the identification code of the shared person is generated, and when the shared person is used as a new sharing user to share the link again, the identity of the new sharing user can be carried in the link.
Fig. 2 is a second flowchart of a page link processing method according to an embodiment of the present disclosure, and as shown in fig. 2, the process includes the following steps:
step S202, a shared user end sends a first page loading request to a server, wherein the first page loading request carries a first page link shared by the sharing user end to the shared user end;
step S204, after judging the sharer identification code, the page content and the aging of the page content in the first page link, the server acquires shared user information corresponding to the shared user terminal through a specific field or an information reporting instruction, generates a sharer identification code according to the shared user information, and adds the sharer identification code in the first page link to obtain a second page link;
step S206, the server sends the second page link to the shared user terminal;
step S208, the shared user end sends a second page loading request carrying a second page link to the server;
step S210, after judging that the shared user identification code carried in the second page loading request is matched with the shared user information, the server returns page data corresponding to the page content to the shared user end according to the second page loading request;
Step S212, the shared user end loads page content;
in step S214, the shared client shares the second page link to other clients through multiple sharing means.
In this step, the shared user can send the second page link to the new shared user through any means such as "QQ, WeChat, SMS, circle of friends".
In an embodiment, a browser is taken as an example to be run on a user of a sharee, fig. 3 is a schematic block diagram of the browser and a server provided in an embodiment of the present disclosure, as shown in fig. 3, the browser may include an open trigger and a page opener, the open trigger is responsible for requesting a page to be opened from the server, and the page opener is responsible for opening a newly generated page with a new user identifier. The server may include: page filter, resolver, querier, logger, page generator, checker, verifier, counter. The page filter is responsible for receiving a page opening request sent by the page opening trigger, the analyzer is responsible for analyzing a sharer who gives a page to a user, the querier is responsible for querying a user of the current page, the logger is responsible for controlling the user of the current page to log in, the page generator is responsible for packaging an identification code of the current user as an identification code of the sharer into a new page URL address, the checker is responsible for checking the validity of the page, the checker checks the validity of information of the sharer, and the counter is responsible for recording a sharing chain, sharing times and sharing time of the page.
Fig. 4 is an application schematic diagram of the page link processing method provided in an embodiment of the present specification, and as shown in fig. 4, after the sharing client shares the page link, a specific process of opening the page link by the shared client is as follows:
s401, the browser sends a first page loading request to the server. Specifically, after the shared user end clicks the sharing link, the browser sends a first page loading request to the server by opening the trigger;
s402, the server judges whether the content type corresponding to the page content requested by the first page loading request is a preset content type. Specifically, after the server receives a first page loading request, the page filter judges whether a content type corresponding to the content of a page requested by the first page loading request is a preset content type; if not, directly opening the page;
s403, if yes, the checker judges whether the sending time of the first page loading request is within the content valid time period; if not, directly opening the page;
s404, if yes, the analyzer judges whether the sharer identification code can be analyzed, and the page cannot be directly opened through analysis;
s405, the verifier checks whether the sharer identification code is valid, and if not, the page is directly opened;
S406, if yes, the querier inquires the shared user information and generates the shared user identification code. Specifically, if the user accesses a page using a first type network, the shared user information is acquired from a specific field of the first page load request. If the user uses the second type network access, the logger can require the user to report the shared user information; and after the information of the shared user is acquired, generating a corresponding identifier code of the shared user.
S407, adding the identification code of the sharee to the first page link. Specifically, the page generator adds the sharee identification code generated based on the shared user information to the first page link to generate a second page link.
S408, the counter records the related data. Specifically, the counter records and records a sharer identification code, a sharee identification code, a first page link, a second page link, sharing times of page contents and sharing time of the page contents, wherein the sharer identification code, the sharee identification code, the first page link, the second page link and the sharing times of the page contents are carried in the first page link;
s409, the server sends the second page link address to the browser, and the browser sends a second page loading request to the server based on a redirection technology;
and S410, allowing the user side to load the page corresponding to the second page loading request by the server. After the server receives the redirected second page loading request, the filter judges whether the content type corresponding to the page content is a preset content type, the checker checks whether the shared person identification code carried in the second page loading request is matched with the shared user information, and if so, the page is directly opened.
Fig. 5 is a schematic block diagram of a page link processing apparatus according to an embodiment of the present disclosure. As shown in fig. 5, an embodiment of the present specification provides a page link processing apparatus, including:
the receiving module 501 is configured to receive a first page loading request sent by a shared user, where the first page loading request carries a first page link shared by the sharing user to the shared user;
the generating module 502 is configured to, in response to the first page loading request, obtain shared user information corresponding to a shared user, and generate a shared user identifier according to the shared user information;
the processing module 503 is configured to add the identifier of the shared user to the first page link to obtain a second page link, and send the second page link to the shared user, so that the shared user loads the page content shared by the sharing user to the shared user according to the second page link; the second page link is also used for sharing the page content from the shared user terminal to other user terminals.
Optionally, the page link processing apparatus further includes a determining module 504, configured to extract the sharer identifier corresponding to the sharing client from the first page link, and determine whether the sharer identifier is located in a preset identifier white list; determining a content type corresponding to the page content, and judging whether the content type is a preset content type; and determining a content valid time period corresponding to the page content, and judging whether the sending time of the first page loading request is within the content valid time period.
Optionally, the generating module 502 is further configured to, if the shared user sends a first page loading request through the first type of network, obtain the shared user information from a specific field of the first page loading request; and if the shared user side sends the first page loading request through the second type of network, sending an information reporting instruction to the shared user side, wherein the information reporting instruction is used for indicating the shared user side to report the information of the shared user.
Optionally, the processing module 503 further includes a returning unit 5031, configured to receive a second page loading request sent by the shared user end, where the second page loading request carries a second page link; and returning page data corresponding to the page content to the shared user terminal according to the second page loading request, so that the shared user terminal loads the page content.
Optionally, the processing module 503 further includes a sharing unit 5032, configured to receive a page sharing request sent by the shared user end, where the page sharing request carries the second page link; and sharing the second page link to the user side corresponding to the page sharing request according to the page sharing request.
Optionally, the processing module 503 further includes a recording unit 5033, configured to record at least one of the sharer identification code carried in the first page link, the sharee identification code, the first page link, the second page link, the sharing frequency of the page content, and the sharing time of the page content.
Optionally, the processing module 503 further includes a determining unit 5034, configured to determine whether the identifier of the sharee carried in the second page loading request matches with the shared user information.
In an embodiment of the present specification, after receiving a first page loading request carrying a first page link and sent by a shared user, a shared user identifier is generated according to the obtained shared user information corresponding to the shared user, the shared user identifier is added to the first page link, and a second page link is generated for the shared user to obtain page content and send the page content to other users. Through the embodiment, when the shared user end opens the link shared by the sharing user end, the link is modified, the identification code of the shared person is added to the link, the sharing link carrying the identification code of the shared person is generated, and when the shared person is used as a new sharing user to share the link again, the identity of the new sharing user can be carried in the link.
The page link processing device provided in an embodiment of the present specification can implement the processes in the foregoing method embodiments, and achieve the same functions and effects, which are not repeated here.
Further, an embodiment of the present specification further provides a page link processing apparatus device, and fig. 6 is a schematic structural diagram of the page link processing apparatus device provided in the embodiment of the present specification, as shown in fig. 6, the apparatus includes: memory 601, processor 602, bus 603, and communication interface 604. The memory 601, processor 602, and communication interface 604 communicate via the bus 603. the communication interface 604 may include input and output interfaces including, but not limited to, a keyboard, mouse, display, microphone, and the like.
In fig. 6, the memory 601 stores thereon computer-executable instructions executable on the processor 602, and when executed by the processor 602, the following process is implemented:
receiving a first page loading request sent by a shared user end, wherein the first page loading request carries a first page link shared by the shared user end to the shared user end;
responding to the first page loading request, acquiring shared user information corresponding to a shared user end, and generating a shared user identification code according to the shared user information;
adding the identifier code of the shared user in the first page link to obtain a second page link, and sending the second page link to the shared user end, so that the shared user end loads the page content shared by the sharing user end to the shared user end according to the second page link; the second page link is also used for sharing the page content from the shared user terminal to other user terminals.
Optionally, when the computer executable instruction is executed by the processor, extracting the sharer identification code corresponding to the sharing user terminal from the first page link, and judging whether the sharer identification code is located in a preset identification code white list; determining a content type corresponding to the page content, and judging whether the content type is a preset content type; and determining a content valid time period corresponding to the page content, and judging whether the sending time of the first page loading request is within the content valid time period.
Optionally, when the computer executable instruction is executed by the processor, if the shared user sends a first page loading request through the first type of network, obtaining the shared user information from a specific field of the first page loading request; and if the shared user side sends the first page loading request through the second type of network, sending an information reporting instruction to the shared user side, wherein the information reporting instruction is used for indicating the shared user side to report the information of the shared user.
Optionally, when the computer executable instruction is executed by the processor, receiving a second page loading request sent by the shared user side, where the second page loading request carries a second page link; and returning page data corresponding to the page content to the shared user terminal according to the second page loading request, so that the shared user terminal loads the page content.
Optionally, when the computer executable instruction is executed by the processor, receiving a page sharing request sent by the shared user side, where the page sharing request carries the second page link; and sharing the second page link to the user side corresponding to the page sharing request according to the page sharing request.
Optionally, when being executed by the processor, the computer-executable instructions record at least one of the sharer identification code, the sharee identification code, the first page link, the second page link, the sharing frequency of the page content, and the sharing time of the page content, which are carried in the first page link.
Optionally, when executed by the processor, the computer-executable instruction determines whether the identifier of the sharee carried in the second page loading request matches the information of the shared user.
In an embodiment of the present specification, after receiving a first page loading request carrying a first page link and sent by a shared user, a shared user identifier is generated according to the obtained shared user information corresponding to the shared user, the shared user identifier is added to the first page link, and a second page link is generated for the shared user to obtain page content and send the page content to other users. Through the embodiment, when the shared user end opens the link shared by the sharing user end, the link is modified, the identification code of the shared person is added to the link, the sharing link carrying the identification code of the shared person is generated, and when the shared person is used as a new sharing user to share the link again, the identity of the new sharing user can be carried in the link.
The page link processing device provided in an embodiment of the present specification can implement the processes in the foregoing method embodiments, and achieve the same functions and effects, which are not repeated here.
Further, another embodiment of the present specification also provides a computer-readable storage medium for storing computer-executable instructions, which when executed by a processor implement the following process:
receiving a first page loading request sent by a shared user end, wherein the first page loading request carries a first page link shared by the shared user end to the shared user end;
responding to the first page loading request, acquiring shared user information corresponding to a shared user end, and generating a shared user identification code according to the shared user information;
adding the identifier code of the shared user in the first page link to obtain a second page link, and sending the second page link to the shared user end, so that the shared user end loads the page content shared by the sharing user end to the shared user end according to the second page link; the second page link is also used for sharing the page content from the shared user terminal to other user terminals.
Optionally, when the computer executable instruction is executed by the processor, extracting the sharer identification code corresponding to the sharing user terminal from the first page link, and judging whether the sharer identification code is located in a preset identification code white list; determining a content type corresponding to the page content, and judging whether the content type is a preset content type; and determining a content valid time period corresponding to the page content, and judging whether the sending time of the first page loading request is within the content valid time period.
Optionally, when the computer executable instruction is executed by the processor, if the shared user sends a first page loading request through the first type of network, obtaining the shared user information from a specific field of the first page loading request; and if the shared user side sends the first page loading request through the second type of network, sending an information reporting instruction to the shared user side, wherein the information reporting instruction is used for indicating the shared user side to report the information of the shared user.
Optionally, when the computer executable instruction is executed by the processor, receiving a second page loading request sent by the shared user side, where the second page loading request carries a second page link; and returning page data corresponding to the page content to the shared user terminal according to the second page loading request, so that the shared user terminal loads the page content.
Optionally, when the computer executable instruction is executed by the processor, receiving a page sharing request sent by the shared user side, where the page sharing request carries the second page link; and sharing the second page link to the user side corresponding to the page sharing request according to the page sharing request.
Optionally, when being executed by the processor, the computer-executable instructions record at least one of the sharer identification code, the sharee identification code, the first page link, the second page link, the sharing frequency of the page content, and the sharing time of the page content, which are carried in the first page link.
Optionally, when executed by the processor, the computer-executable instruction determines whether the identifier of the sharee carried in the second page loading request matches the information of the shared user.
In an embodiment of the present specification, after receiving a first page loading request carrying a first page link and sent by a shared user, a shared user identifier is generated according to the obtained shared user information corresponding to the shared user, the shared user identifier is added to the first page link, and a second page link is generated for the shared user to obtain page content and send the page content to other users. Through the embodiment, when the shared user end opens the link shared by the sharing user end, the link is modified, the identification code of the shared person is added to the link, the sharing link carrying the identification code of the shared person is generated, and when the shared person is used as a new sharing user to share the link again, the identity of the new sharing user can be carried in the link.
An embodiment of the present specification provides a computer-readable storage medium that can implement the respective processes in the foregoing method embodiments and achieve the same functions and effects, which are not repeated here.
The computer-readable storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A page link processing method is applied to a server and is characterized by comprising the following steps:
receiving a first page loading request sent by a shared user end, wherein the first page loading request carries a first page link shared by the shared user end to the shared user end;
responding to the first page loading request, acquiring shared user information corresponding to the shared user terminal, and generating a shared user identification code according to the shared user information;
Adding the identifier code of the shared user to the first page link to obtain a second page link, and sending the second page link to the shared user end, so that the shared user end loads the page content shared by the sharing user end to the shared user end according to the second page link; the second page link is also used for the shared user side to share the page content to other user sides.
2. The method according to claim 1, further comprising at least one of the following steps before acquiring the shared user information corresponding to the shared user in response to the first page loading request:
extracting a sharer identification code corresponding to the sharing user terminal from the first page link, and judging whether the sharer identification code is located in a preset identification code white list or not;
determining a content type corresponding to the page content, and judging whether the content type is a preset content type;
and determining a content valid time period corresponding to the page content, and judging whether the sending time of the first page loading request is within the content valid time period.
3. The method according to claim 1, wherein obtaining shared user information corresponding to the shared user includes:
if the shared user side sends the first page loading request through a first type of network, acquiring the shared user information from a specific field of the first page loading request;
and if the shared user side sends the first page loading request through a second type of network, sending an information reporting instruction to the shared user side, wherein the information reporting instruction is used for indicating the shared user side to report the shared user information.
4. The method of claim 1, further comprising:
receiving a second page loading request sent by the shared user side, wherein the second page loading request carries the second page link;
and returning page data corresponding to the page content to the shared user terminal according to the second page loading request, so that the shared user terminal loads the page content.
5. The method according to any one of claims 1-4, further comprising:
Receiving a page sharing request sent by the shared user side, wherein the page sharing request carries the second page link;
and sharing the second page link to the user side corresponding to the page sharing request according to the page sharing request.
6. The method according to any one of claims 1-4, further comprising:
recording at least one of a sharer identification code carried in the first page link, the sharee identification code, the first page link, the second page link, the sharing times of the page content and the sharing time of the page content.
7. The method according to claim 4, before returning the page data corresponding to the page content to the shared user side according to the second page loading request, further comprising:
and judging whether the shared person identification code carried in the second page loading request is matched with the shared user information.
8. A page link processing apparatus, comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a first page loading request sent by a shared user end, and the first page loading request carries a first page link shared by the shared user end to the shared user end;
The generating module is used for responding to the first page loading request, acquiring shared user information corresponding to the shared user terminal, and generating a shared user identification code according to the shared user information;
the processing module is used for adding the identifier code of the shared user in the first page link to obtain a second page link, and sending the second page link to the shared user end, so that the shared user end loads the page content shared by the sharing user end to the shared user end according to the second page link; the second page link is also used for the shared user side to share the page content to other user sides.
9. An electronic device for page link processing, comprising a memory and a processor, wherein the memory stores computer-executable instructions, and the computer-executable instructions, when executed on the processor, can implement the steps of the page link processing method according to any one of claims 1 to 7.
10. A storage medium having stored thereon computer-executable instructions, which when executed by a processor, are capable of implementing the steps of the page link processing method of any one of claims 1 to 7.
CN202010318611.6A 2020-04-21 2020-04-21 Page link processing method and device, electronic equipment and storage medium Pending CN113536160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010318611.6A CN113536160A (en) 2020-04-21 2020-04-21 Page link processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010318611.6A CN113536160A (en) 2020-04-21 2020-04-21 Page link processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113536160A true CN113536160A (en) 2021-10-22

Family

ID=78093973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010318611.6A Pending CN113536160A (en) 2020-04-21 2020-04-21 Page link processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113536160A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113868209A (en) * 2021-12-02 2021-12-31 天津联想协同科技有限公司 Network disk-based external link sharing expiration date management method and device and storage medium
CN114168220A (en) * 2021-12-02 2022-03-11 中国建设银行股份有限公司 Data processing and interaction method, device, equipment and storage medium of application program
CN114745421A (en) * 2022-03-30 2022-07-12 北京奇艺世纪科技有限公司 Fission path data recording method, device, server and storage medium
CN115442161A (en) * 2022-11-08 2022-12-06 知安视娱(北京)科技有限公司 Link sharing method and device, computer equipment and storage medium
CN116776016A (en) * 2023-06-06 2023-09-19 广东保伦电子股份有限公司 Implementation method and terminal for accessing browser page without registering specific personnel

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022395A (en) * 2007-03-16 2007-08-22 钱晓东 User information sharing and controlling method based on immediate communication platform
CN101605227A (en) * 2009-07-10 2009-12-16 中兴通讯股份有限公司 A kind of program Notification Method and system that is applied to the CMMB terminal room
CN102541931A (en) * 2010-12-31 2012-07-04 联想(北京)有限公司 Application sharing method and application sharing equipment
CN107169025A (en) * 2017-04-11 2017-09-15 海南凯迪网络资讯股份有限公司 A kind of intelligent-tracking methods, devices and systems shared
CN108259529A (en) * 2016-12-28 2018-07-06 深圳市优朋普乐传媒发展有限公司 A kind of acquisition methods and device of page sharing information
CN108282509A (en) * 2017-04-10 2018-07-13 广州市动景计算机科技有限公司 page sharing method, device and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022395A (en) * 2007-03-16 2007-08-22 钱晓东 User information sharing and controlling method based on immediate communication platform
CN101605227A (en) * 2009-07-10 2009-12-16 中兴通讯股份有限公司 A kind of program Notification Method and system that is applied to the CMMB terminal room
CN102541931A (en) * 2010-12-31 2012-07-04 联想(北京)有限公司 Application sharing method and application sharing equipment
CN108259529A (en) * 2016-12-28 2018-07-06 深圳市优朋普乐传媒发展有限公司 A kind of acquisition methods and device of page sharing information
CN108282509A (en) * 2017-04-10 2018-07-13 广州市动景计算机科技有限公司 page sharing method, device and server
CN107169025A (en) * 2017-04-11 2017-09-15 海南凯迪网络资讯股份有限公司 A kind of intelligent-tracking methods, devices and systems shared

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113868209A (en) * 2021-12-02 2021-12-31 天津联想协同科技有限公司 Network disk-based external link sharing expiration date management method and device and storage medium
CN114168220A (en) * 2021-12-02 2022-03-11 中国建设银行股份有限公司 Data processing and interaction method, device, equipment and storage medium of application program
CN114745421A (en) * 2022-03-30 2022-07-12 北京奇艺世纪科技有限公司 Fission path data recording method, device, server and storage medium
CN114745421B (en) * 2022-03-30 2023-10-10 北京奇艺世纪科技有限公司 Method, device, server and storage medium for recording fission path data
CN115442161A (en) * 2022-11-08 2022-12-06 知安视娱(北京)科技有限公司 Link sharing method and device, computer equipment and storage medium
CN115442161B (en) * 2022-11-08 2023-04-11 知安视娱(北京)科技有限公司 Method and device for improving cloud game resource link sharing security
CN116776016A (en) * 2023-06-06 2023-09-19 广东保伦电子股份有限公司 Implementation method and terminal for accessing browser page without registering specific personnel
CN116776016B (en) * 2023-06-06 2024-02-27 广东保伦电子股份有限公司 Implementation method and terminal for accessing browser page without registering specific personnel

Similar Documents

Publication Publication Date Title
CN113536160A (en) Page link processing method and device, electronic equipment and storage medium
CN104580074A (en) Logging method of client end application and corresponding server of logging method
CN103607385A (en) Method and apparatus for security detection based on browser
CN103166917A (en) Method and system for network equipment identity recognition
US9021085B1 (en) Method and system for web filtering
CN109257451B (en) Corresponding relation analysis method and equipment
CN111698345B (en) Domain name query method, recursive server and storage medium
CN112733001B (en) Method and device for acquiring subscription information and electronic equipment
CN106713242B (en) Data request processing method and processing device
CN113612686A (en) Traffic scheduling method and device and electronic equipment
CN106686151B (en) IP address obtaining method and device
CN110933193B (en) Domain name resolution method and device, electronic equipment and computer readable storage medium
CN114040032A (en) Protocol conversion method, system, storage medium and electronic equipment
CN110633432A (en) Method, device, terminal equipment and medium for acquiring data
CN115426624B (en) Automatic login method, device, equipment and storage medium
CN112104703A (en) Cookie management method, intermediate node and webvpn system
CN111324832A (en) Method, system, device and medium for accessing website through short network address
CN106912064B (en) Network configuration detection and repair method and device for wireless network
CN115834101A (en) Login control method, system, storage medium and electronic equipment
CN112231566B (en) Information pushing method, device, system and readable storage medium
CN111447189B (en) Data access method and device, electronic equipment and storage medium
CN110061864B (en) Method and system for automatically verifying domain name configuration
US20080033961A1 (en) Electronic Document Browsing
CN111275348A (en) Electronic order information processing method, server and electronic order information processing system
CN110647766A (en) Method and system for ensuring file downloading safety of data warehouse

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211022