CN111931088B - Webpage link processing method and device and electronic equipment - Google Patents
Webpage link processing method and device and electronic equipment Download PDFInfo
- Publication number
- CN111931088B CN111931088B CN202011090666.2A CN202011090666A CN111931088B CN 111931088 B CN111931088 B CN 111931088B CN 202011090666 A CN202011090666 A CN 202011090666A CN 111931088 B CN111931088 B CN 111931088B
- Authority
- CN
- China
- Prior art keywords
- link
- character string
- webpage
- encrypted character
- spliced
- 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
Images
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]
- G06F16/9558—Details of hyperlinks; Management of linked annotations
-
- 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
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
- G06F21/6263—Protecting personal data, e.g. for financial or medical purposes during internet communication, e.g. revealing personal data from cookies
Abstract
The invention provides a webpage link processing method, a webpage link processing device and electronic equipment.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a webpage link processing method and device and electronic equipment.
Background
At present, in the process of webpage skipping, some user information needs to be carried from one webpage to another webpage, so that the user information is transmitted through webpage links, but the carried user information is also exposed, and the exposed user information is unsafe network behavior.
Disclosure of Invention
In order to solve the above problem, an embodiment of the present invention provides a method and an apparatus for processing a web page link, and an electronic device.
In a first aspect, an embodiment of the present invention provides a method for processing a web page link, including:
acquiring a webpage jump instruction, wherein the webpage jump instruction carries user information and a webpage classroom link to be jumped; wherein the user information includes: the room identification which the user needs to enter;
encrypting the room identification to obtain an encrypted character string, splicing the encrypted character string into the webpage link to be jumped to obtain the webpage classroom link spliced with the encrypted character string;
when jumping to a web classroom corresponding to the web classroom link spliced with the encrypted character string, acquiring the encrypted character string spliced in the web classroom link, and decrypting the encrypted character string to obtain a room identifier which the user needs to enter;
and generating a room access link based on the room identifier, accessing the room access link to enable the user to enter a room corresponding to the room identifier, and displaying the webpage link spliced with the encrypted character string to the user.
In a second aspect, an embodiment of the present invention further provides a web page link processing apparatus, including:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a webpage jump instruction, and the webpage jump instruction carries user information and a webpage classroom link to be jumped; wherein the user information includes: the room identification which the user needs to enter;
the splicing module is used for encrypting the room identifier to obtain an encrypted character string, splicing the encrypted character string into the webpage link to be jumped to obtain the webpage classroom link spliced with the encrypted character string;
the decryption module is used for acquiring the encrypted character strings spliced in the web classroom links when jumping to the web classroom corresponding to the web classroom link spliced with the encrypted character strings and decrypting the encrypted character strings to obtain a room identifier which the user needs to enter;
and the access module is used for generating a room access link based on the room identifier, accessing the room access link, enabling the user to enter a room corresponding to the room identifier, and displaying the webpage link spliced with the encrypted character string to the user.
In a third aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the method in the first aspect.
In a fourth aspect, embodiments of the present invention also provide an electronic device, which includes a memory, a processor, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor to perform the steps of the method according to the first aspect.
In the solutions provided in the first to fourth aspects of the embodiments of the present invention, encryption operation is performed on user information spliced in a web classroom link to be skipped, and an encrypted character string obtained after the encryption operation is spliced in the web link to be skipped, so that the web link spliced with the encrypted character string is displayed to a user after the user enters a room corresponding to the room identifier.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a web page link processing method according to embodiment 1 of the present invention;
fig. 2 is a schematic structural diagram illustrating a web page link processing apparatus according to embodiment 2 of the present invention;
fig. 3 shows a schematic structural diagram of an electronic device provided in embodiment 3 of the present invention.
Detailed Description
Currently, in the process of webpage jump, when a webpage jumps to another webpage, some user information needs to be carried, so that the user information is transmitted through a webpage link, and thus the user can access to another webpage. However, when the user jumps to another web page, the address bar of the other web page shows the web page link and the user information of the other web page.
The user information may include, but is not limited to: user identification, user name, user rights, and some other information related to the user.
The other information related to the user is related to the scene of the webpage jumped by the user; the scenes of the web page may be, but are not limited to: when a user needs to jump to a network classroom for online learning after logging in an online education website, the user information should include a room identifier that the user needs to enter, in addition to the user identifier, the user name, and the user right.
User information is displayed in a webpage address bar and is easy to see by other users, if a user with lower authority (such as a common user) records the user information recorded in the webpage address bar of a user with higher authority (such as an administrator), the user with lower authority can manually change data in the user information, which is not expected by a webpage, so that the operation can damage a website, and great hidden danger is brought to the safety of the website. Therefore, exposing user information is an insecure network behavior.
Based on this, the embodiment provides a web page link processing method, a web page link processing device and electronic equipment, by performing encryption operation on user information spliced in a web page classroom link to be skipped and splicing an encrypted character string obtained after the encryption operation into the web page link to be skipped, after a user enters a room corresponding to a room identifier, the web page link spliced with the encrypted character string is displayed to the user, so that leakage of user information is avoided, information of the user is guaranteed not to be stolen and used by other malicious users, and the user information security in the web page skipping process is improved.
In the following embodiments of the present application, a scenario in which a user needs to jump to a web classroom for online learning after logging in an online education website is taken as an example, a method, an apparatus, and an electronic device for processing a web link, which are provided in this embodiment, are described.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Example 1
The main execution body of the web page link processing method proposed by the present embodiment is a server.
The server may be any computing device capable of processing a web page link in the prior art, and details are not described here.
Referring to a flowchart of a web page link processing method shown in fig. 1, the web page link processing method provided in this embodiment includes the following specific steps:
step 100, acquiring a webpage jump instruction, wherein the webpage jump instruction carries user information and a webpage classroom link to be jumped; wherein the user information includes: the identity of the room that the user needs to enter.
In the step 100, after the user logs in the online education website by using the user name and the password, the server may acquire the user information of the user and the web classroom link to be skipped after the user logs in since the online education website is operated on the server.
The webpage classroom link to be jumped is preset in the server; and the webpage classroom link to be jumped is used for displaying the webpage classroom to the user after the user logs in, and enabling the user to enter a room corresponding to the room identifier to perform online classroom learning according to the room identifier carried in the user information of the user, which the user needs to enter.
And 102, encrypting the room identifier to obtain an encrypted character string, splicing the encrypted character string into the webpage link to be jumped to obtain the webpage classroom link spliced with the encrypted character string.
In the step 102, the room identifier may be encrypted by using any encryption algorithm in the prior art to obtain an encrypted string, which is not described in detail herein.
Specifically, in order to splice the encrypted character string into the web page link to be jumped, the following steps (1) to (2) may be performed:
(1) acquiring a link address separator;
(2) splicing the encrypted character string behind the webpage link to be jumped, and setting the link address separator between the webpage link to be jumped and the encrypted character string, so that the encrypted character string is spliced into the webpage link to be jumped, and the webpage classroom link spliced with the encrypted character string is obtained.
In the step (1), the link address delimiter is set in the server.
In one embodiment, the link address separator may be an english question mark.
In the step (2), in one embodiment, if the web page link to be skipped is b.html; the link address separator is an English question mark; the encryption string is 1111110123589666; then the web classroom link concatenated with the encrypted string can be: "”。
Here, the encrypted character string 1111110123589666 is user information: "userid =000222& userrole = normalser & roomid =000 d" is a character string obtained after encryption.
Here, in the user information, userid is used to indicate a user identifier; userrole is used to represent user rights; roomid represents a room identification.
And 104, acquiring a character string in front of the link address separator in the webpage link spliced with the encrypted character string as a webpage classroom link address to be jumped.
In the above step 104, the network spliced with the encrypted character stringPage classroom link is "When the encrypted character string is spliced, the character string in front of the link address separator in the webpage link is B.html, so that the B.html is used as the webpage classroom link address to be jumped to access.
And 106, accessing the acquired webpage classroom link address, and jumping to a webpage classroom corresponding to the webpage classroom link.
And 108, when jumping to the web classroom corresponding to the web classroom link spliced with the encrypted character string, acquiring the encrypted character string spliced in the web classroom link, and decrypting the encrypted character string to obtain a room identifier which the user needs to enter.
In step 108, the server may obtain the character string following the link address separator in the web page link spliced with the encrypted character string as the encrypted character string spliced in the web classroom link.
And 110, generating a room access link based on the room identifier, accessing the room access link to enable the user to enter a room corresponding to the room identifier, and displaying the webpage link spliced with the encrypted character string to the user.
In the above step 110, the process of generating the room access link based on the room identifier is the prior art, and is not described herein again.
And displaying the webpage link spliced with the encrypted character string to the user, namely displaying the webpage link spliced with the encrypted character string in an address bar of a webpage interface of the computing equipment which is used by the user and can be used for online learning. Because the encrypted character string is displayed, the user information is hidden, the leakage of the user information is avoided, and the information of the user is ensured not to be stolen and used by other malicious users.
In some cases, a malicious user may steal an encrypted character string in the web link to which the encrypted character string is spliced, and perform a decryption operation on the encrypted character string to obtain user information, so that the web link to which the encrypted character string is spliced is also at risk of being stolen with the user information, and in order to further avoid the risk of stealing the user information due to the fact that the encrypted character string is decrypted, the web link processing method provided in this embodiment may perform the following steps (1) to (3):
(1) acquiring a timestamp of current time information, and generating a corresponding relation between the timestamp and an encrypted character string;
(2) replacing the encrypted character string in the webpage link spliced with the encrypted character string by using the timestamp to obtain the webpage link spliced with the timestamp;
(3) and executing the jump operation of the webpage links spliced with the timestamps, and displaying the webpage links spliced with the timestamps to the user when the jump operation is completed.
In the step (1), the server may obtain the timestamp of the current time information by using a timestamp generator running in the server itself, so as to obtain the timestamp of the current time information.
And caching the corresponding relation between the time stamp and the encrypted character string in a local memory.
In the step (2), the server may replace, by using the timestamp, the character string following the link address separator in the web link to which the encrypted character string is spliced, to obtain the web link to which the timestamp is spliced.
In one embodiment, the timestamp is "1599558858"; the web classroom link concatenated with the encrypted string is ""; then, replacing the encrypted character string in the webpage link spliced with the encrypted character string by using the timestamp to obtain the network spliced with the timestampPage link is "”。
In the step (3), the process of executing the jump operation of the web page link spliced with the timestamp includes: acquiring a character string in front of the link address separator in the webpage link spliced with the timestamp as a webpage classroom link address to be jumped; and accessing the acquired webpage classroom link address, and jumping to a webpage classroom corresponding to the webpage classroom link.
According to the content described in the steps (1) to (3), the encrypted character string spliced with the encrypted character string is replaced by the timestamp of the current time information to obtain the webpage link spliced with the timestamp, so that the webpage link spliced with the timestamp is displayed for the user, and under the condition that the corresponding relation between the timestamp and the encrypted character string is unknown, the user information cannot be obtained by processing the timestamp, so that the user information cannot be leaked even if the timestamp is stolen by a malicious user, the user information cannot be stolen by other malicious users, and the safety of the user information is improved.
Further, in order to enable effective access to the web link spliced with the timestamp when the user triggers the operation instruction of the web link spliced with the timestamp, the web link processing method provided by this embodiment may further perform the following steps (1) to (3):
(1) when the user triggers the operation instruction of the webpage link spliced with the timestamp, acquiring the timestamp in the webpage link spliced with the timestamp;
(2) inquiring an encrypted character string corresponding to the time stamp from the corresponding relation between the time stamp and the encrypted character string, and carrying out decryption operation on the inquired encrypted character string to obtain a room identifier which the user needs to enter;
(3) and generating a room access link based on the room identification, and accessing the room access link to enable the user to enter a room corresponding to the room identification.
In the step (1), the operation instruction may be, but is not limited to: a flush instruction, a jump instruction, and a resume instruction.
And acquiring the character string behind the link address separator in the webpage link spliced with the timestamp as the timestamp.
It can be seen from the process described in the above steps (1) to (3) that, by obtaining the timestamp in the webpage link spliced with the timestamp, the encrypted character string corresponding to the timestamp is queried from the corresponding relationship between the timestamp and the encrypted character string, and then the room identifier that the user needs to enter is obtained according to the encrypted character string, and then a room access link is generated and accessed, so that the user enters the room corresponding to the room identifier for online learning, and when the user triggers an operation instruction for splicing the webpage link spliced with the timestamp, although the webpage link cannot be accessed directly through the webpage link spliced with the timestamp, the encrypted character string corresponding to the timestamp can be queried from the corresponding relationship between the timestamp and the encrypted character string, and then the room identifier that the user needs to enter is obtained, the purpose of effectively accessing the webpage link spliced with the timestamp is achieved.
In summary, according to the web page link processing method provided by this embodiment, the encryption operation is performed on the user information spliced in the web page classroom link to be skipped, and the encrypted character string obtained after the encryption operation is spliced in the web page link to be skipped, so that the web page link spliced with the encrypted character string is displayed to the user after the user enters the room corresponding to the room identifier, thereby avoiding leakage of the user information, ensuring that the user information is not stolen and used by other malicious users, improving the user information security during the web page skipping process, and improving the user experience.
Example 2
A web page link processing apparatus proposed in this embodiment is configured to execute the web page link processing method proposed in embodiment 1.
Referring to fig. 2, a schematic structural diagram of a web page link processing apparatus, the web page link processing apparatus provided in this embodiment includes:
an obtaining module 200, configured to obtain a webpage jump instruction, where the webpage jump instruction carries user information and a webpage classroom link to be jumped; wherein the user information includes: the room identification which the user needs to enter;
a splicing module 202, configured to encrypt the room identifier to obtain an encrypted character string, and splice the encrypted character string into the web page link to be skipped to obtain the web page classroom link spliced with the encrypted character string;
the decryption module 204 is configured to, when jumping to a web classroom corresponding to the web classroom link to which the encrypted character string is spliced, obtain the encrypted character string spliced in the web classroom link, and decrypt the encrypted character string to obtain a room identifier that the user needs to enter;
and the access module 206 is configured to generate a room access link based on the room identifier, access the room access link, enable the user to enter a room corresponding to the room identifier, and display the web page link spliced with the encrypted character string to the user.
The splicing module 202 is configured to splice the encrypted character string into the web page link to be skipped to obtain the web page classroom link spliced with the encrypted character string, and includes:
acquiring a link address separator;
splicing the encrypted character string behind the webpage link to be jumped, and setting the link address separator between the webpage link to be jumped and the encrypted character string, so that the encrypted character string is spliced into the webpage link to be jumped, and the webpage classroom link spliced with the encrypted character string is obtained.
The web page link processing apparatus provided in this embodiment further includes:
the address acquisition module is used for acquiring a character string in the webpage link spliced with the encrypted character string, wherein the character string is in front of the link address separator and serves as a webpage classroom link address to be jumped;
and the second access module is used for accessing the acquired webpage classroom link address and jumping to the webpage classroom corresponding to the webpage classroom link.
In summary, according to the web page link processing device provided in this embodiment, the encryption operation is performed on the user information spliced in the web classroom link to be skipped, and the encrypted character string obtained after the encryption operation is spliced in the web page link to be skipped, so that the web page link spliced with the encrypted character string is displayed to the user after the user enters the room corresponding to the room identifier, thereby avoiding leakage of the user information, ensuring that the user information is not stolen and used by other malicious users, improving the user information security during the web page skipping process, and improving the user experience.
Example 3
The present embodiment proposes a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the steps of the web page link processing method described in embodiment 1 above. For specific implementation, refer to method embodiment 1, which is not described herein again.
In addition, referring to the schematic structural diagram of an electronic device shown in fig. 3, the present embodiment further provides an electronic device, where the electronic device includes a bus 51, a processor 52, a transceiver 53, a bus interface 54, a memory 55, and a user interface 56. The electronic device comprises a memory 55.
In this embodiment, the electronic device further includes: one or more programs stored on the memory 55 and executable on the processor 52, configured to be executed by the processor for performing the following steps (1) to (4):
(1) acquiring a webpage jump instruction, wherein the webpage jump instruction carries user information and a webpage classroom link to be jumped; wherein the user information includes: the room identification which the user needs to enter;
(2) encrypting the room identification to obtain an encrypted character string, splicing the encrypted character string into the webpage link to be jumped to obtain the webpage classroom link spliced with the encrypted character string;
(3) when jumping to a web classroom corresponding to the web classroom link spliced with the encrypted character string, acquiring the encrypted character string spliced in the web classroom link, and decrypting the encrypted character string to obtain a room identifier which the user needs to enter;
(4) and generating a room access link based on the room identifier, accessing the room access link to enable the user to enter a room corresponding to the room identifier, and displaying the webpage link spliced with the encrypted character string to the user.
A transceiver 53 for receiving and transmitting data under the control of the processor 52.
Where a bus architecture (represented by bus 51) is used, bus 51 may include any number of interconnected buses and bridges, with bus 51 linking together various circuits including one or more processors, represented by processor 52, and memory, represented by memory 55. The bus 51 may also link various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further in this embodiment. A bus interface 54 provides an interface between the bus 51 and the transceiver 53. The transceiver 53 may be one element or may be multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. For example: the transceiver 53 receives external data from other devices. The transceiver 53 is used for transmitting data processed by the processor 52 to other devices. Depending on the nature of the computing system, a user interface 56, such as a keypad, display, speaker, microphone, joystick, may also be provided.
The processor 52 is responsible for managing the bus 51 and the usual processing, running a general-purpose operating system as described above. And memory 55 may be used to store data used by processor 52 in performing operations.
Alternatively, processor 52 may be, but is not limited to: a central processing unit, a singlechip, a microprocessor or a programmable logic device.
It will be appreciated that the memory 55 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (ddr Data Rate SDRAM, ddr SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 55 of the systems and methods described in this embodiment is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 55 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 551 and application programs 552.
The operating system 551 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 552 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. A program implementing the method of an embodiment of the present invention may be included in the application 552.
In summary, according to the computer-readable storage medium and the electronic device provided by the embodiment, the encryption operation is performed on the user information spliced in the web classroom link to be skipped, and the encrypted character string obtained after the encryption operation is spliced in the web link to be skipped, so that the web link spliced with the encrypted character string is displayed to the user after the user enters the room corresponding to the room identifier, thereby avoiding leakage of the user information, ensuring that the user information is not stolen and used by other malicious users, improving the user information security during the web page skipping process, and improving the user experience.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (7)
1. A web page link processing method is characterized by comprising the following steps:
acquiring a webpage jump instruction, wherein the webpage jump instruction carries user information and a webpage classroom link to be jumped; wherein the user information includes: the room identification which the user needs to enter;
encrypting the room identification to obtain an encrypted character string, splicing the encrypted character string into the webpage link to be jumped, and setting a link address separator between the webpage link to be jumped and the encrypted character string to obtain the webpage classroom link spliced with the encrypted character string;
acquiring a timestamp of current time information, and generating a corresponding relation between the timestamp and the encrypted character string;
replacing the encrypted character string in the webpage link spliced with the encrypted character string by using the timestamp to obtain the webpage link spliced with the timestamp;
when jumping to a web classroom corresponding to the web classroom link spliced with the timestamp, inquiring an encrypted character string corresponding to the timestamp from the corresponding relation between the timestamp and the encrypted character string, and decrypting the inquired encrypted character string to obtain a room identifier which the user needs to enter; and generating a room access link based on the room identifier, accessing the room access link, enabling the user to enter a room corresponding to the room identifier, and displaying the webpage link spliced with the timestamp to the user.
2. The method as claimed in claim 1, wherein the step of splicing the encrypted string into the web page link to be jumped, setting a link address separator between the web page link to be jumped and the encrypted string, and obtaining the web classroom link spliced with the encrypted string comprises:
acquiring a link address separator;
splicing the encrypted character string behind the webpage link to be jumped, and setting the link address separator between the webpage link to be jumped and the encrypted character string, so that the encrypted character string is spliced into the webpage link to be jumped, and the webpage classroom link spliced with the encrypted character string is obtained.
3. The method of claim 1, further comprising:
when the user triggers the operation instruction of the webpage link spliced with the timestamp, acquiring the timestamp in the webpage link spliced with the timestamp;
inquiring an encrypted character string corresponding to the time stamp from the corresponding relation between the time stamp and the encrypted character string, and carrying out decryption operation on the inquired encrypted character string to obtain a room identifier which the user needs to enter;
and generating a room access link based on the room identification, and accessing the room access link to enable the user to enter a room corresponding to the room identification.
4. A web page link processing apparatus, comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a webpage jump instruction, and the webpage jump instruction carries user information and a webpage classroom link to be jumped; wherein the user information includes: the room identification which the user needs to enter;
the splicing module is used for encrypting the room identifier to obtain an encrypted character string, splicing the encrypted character string into the webpage link to be jumped, and setting a link address separator between the webpage link to be jumped and the encrypted character string to obtain the webpage classroom link spliced with the encrypted character string;
the decryption module is used for acquiring a timestamp of current time information and generating a corresponding relation between the timestamp and the encrypted character string; replacing the encrypted character string in the webpage link spliced with the encrypted character string by using the timestamp to obtain the webpage link spliced with the timestamp; when jumping to a web classroom corresponding to the web classroom link spliced with the timestamp, inquiring an encrypted character string corresponding to the timestamp from the corresponding relation between the timestamp and the encrypted character string, and decrypting the inquired encrypted character string to obtain a room identifier which the user needs to enter;
and the access module is used for generating a room access link based on the room identifier, accessing the room access link, enabling the user to enter a room corresponding to the room identifier, and displaying the webpage link spliced with the timestamp to the user.
5. The apparatus as claimed in claim 4, wherein the splicing module is configured to splice the encrypted string into the web page link to be jumped, and set a link address separator between the web page link to be jumped and the encrypted string to obtain the web page classroom link spliced with the encrypted string, and the splicing module comprises:
acquiring a link address separator;
splicing the encrypted character string behind the webpage link to be jumped, and setting the link address separator between the webpage link to be jumped and the encrypted character string, so that the encrypted character string is spliced into the webpage link to be jumped, and the webpage classroom link spliced with the encrypted character string is obtained.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of the claims 1-3.
7. An electronic device comprising a memory, a processor, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor to perform the steps of the method of any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011090666.2A CN111931088B (en) | 2020-10-13 | 2020-10-13 | Webpage link processing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011090666.2A CN111931088B (en) | 2020-10-13 | 2020-10-13 | Webpage link processing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111931088A CN111931088A (en) | 2020-11-13 |
CN111931088B true CN111931088B (en) | 2021-01-26 |
Family
ID=73334476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011090666.2A Active CN111931088B (en) | 2020-10-13 | 2020-10-13 | Webpage link processing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111931088B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565293A (en) * | 2020-12-23 | 2021-03-26 | 平安养老保险股份有限公司 | Information security management method and device, computer equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901223A (en) * | 2009-05-25 | 2010-12-01 | 灰熊(北京)科技有限公司 | Method for realizing hall and rooms for playing webpage board game |
CN103546432A (en) * | 2012-07-12 | 2014-01-29 | 腾讯科技(深圳)有限公司 | Method and system for realizing cross-domain jumping, browser and domain name servers |
CN104572837A (en) * | 2014-12-10 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Method and device for providing authentication information on webpage |
CN108040065A (en) * | 2017-12-22 | 2018-05-15 | 平安养老保险股份有限公司 | Webpage redirect after exempt from login method, device, computer equipment and storage medium |
-
2020
- 2020-10-13 CN CN202011090666.2A patent/CN111931088B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901223A (en) * | 2009-05-25 | 2010-12-01 | 灰熊(北京)科技有限公司 | Method for realizing hall and rooms for playing webpage board game |
CN103546432A (en) * | 2012-07-12 | 2014-01-29 | 腾讯科技(深圳)有限公司 | Method and system for realizing cross-domain jumping, browser and domain name servers |
CN104572837A (en) * | 2014-12-10 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Method and device for providing authentication information on webpage |
EP3232335A1 (en) * | 2014-12-10 | 2017-10-18 | Baidu Online Network Technology (Beijing) Co., Ltd. | Method and device for providing authentication information on web page |
CN108040065A (en) * | 2017-12-22 | 2018-05-15 | 平安养老保险股份有限公司 | Webpage redirect after exempt from login method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111931088A (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108322461B (en) | Method, system, device, equipment and medium for automatically logging in application program | |
CN101779436B (en) | Tracking the origins of data and controlling data transmission | |
CN110958239B (en) | Method and device for verifying access request, storage medium and electronic device | |
CN110851800B (en) | Code protection method, device, system and readable storage medium | |
CN115277143B (en) | Data security transmission method, device, equipment and storage medium | |
CN110889131B (en) | File sharing system | |
CN109286620B (en) | User right management method, system, device and computer readable storage medium | |
CN115580413B (en) | Zero-trust multi-party data fusion calculation method and device | |
CN114598481A (en) | Authorization authentication method, device, electronic equipment and storage medium | |
CN111931088B (en) | Webpage link processing method and device and electronic equipment | |
CN109325360B (en) | Information management method and device | |
CN108235067B (en) | Authentication method and device for video stream address | |
US10742615B2 (en) | Partial encryption of a static webpage | |
CN111400771A (en) | Target partition checking method and device, storage medium and computer equipment | |
CN107026841B (en) | Method and device for publishing works in network | |
US10102384B2 (en) | Digital content execution control mechanism | |
CN110855656A (en) | Plug-in flow proxy method, device and system capable of realizing application server protection | |
KR20200000645A (en) | Apparatus for providing web control interface and operating method thereof | |
Shotts | PhoneGap for enterprise | |
Jemel et al. | Security enhancement of HTML5 local data storage | |
CN115834254B (en) | Network content security protection method and device, storage medium and electronic equipment | |
JP2014102612A (en) | Alternation detection device and alternation detection method | |
JP2015197743A (en) | Information processing device, information processing system, program, and processing method | |
CN114401115B (en) | Method, system, device and medium for detecting tamper of anti-detected webpage | |
CN114338192B (en) | Web request security processing method, device, equipment and medium |
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 |