CN112069436B - Page display method, system and equipment - Google Patents

Page display method, system and equipment Download PDF

Info

Publication number
CN112069436B
CN112069436B CN202010801535.4A CN202010801535A CN112069436B CN 112069436 B CN112069436 B CN 112069436B CN 202010801535 A CN202010801535 A CN 202010801535A CN 112069436 B CN112069436 B CN 112069436B
Authority
CN
China
Prior art keywords
html5 page
shared
page
applet
html5
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
Application number
CN202010801535.4A
Other languages
Chinese (zh)
Other versions
CN112069436A (en
Inventor
王永天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Youheng Network Technology Co Ltd
Original Assignee
Changsha Youheng Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha Youheng Network Technology Co Ltd filed Critical Changsha Youheng Network Technology Co Ltd
Priority to CN202010801535.4A priority Critical patent/CN112069436B/en
Publication of CN112069436A publication Critical patent/CN112069436A/en
Application granted granted Critical
Publication of CN112069436B publication Critical patent/CN112069436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a page display method, a page display system and page display equipment. The method comprises the following steps: based on an HTML5 page sharing request sent by an applet terminal, sending a temporary token and an HTML5 page to be shared to the applet terminal; responding to an access request of a user to the HTML5 page to be shared, and verifying a temporary token in the access request; and if the verification is passed, sending the HTML5 page to be shared in the login state to the applet terminal. Through the technical scheme, the user can open the HTML5 page in the login state through the applet without logging in, in the jump process, the middle layer is not required to be established, the user does not need to log in the HTML5 again, and therefore page jump and display efficiency are higher, and page display speed is faster.

Description

Page display method, system and equipment
Technical Field
The embodiment of the invention relates to the technical field of Internet, in particular to a page display method, a page display system and page display equipment.
Background
With the development of internet technology, various applications have been developed to meet the diverse needs of users. However, the development of application programs is relatively high in manpower and financial costs, and requires continuous investment and maintenance. To address these drawbacks, applet applications have gained acceptance by more users.
The applet is an application which can be used without downloading, is a innovation with a very high threshold, and through development for nearly two years, a new applet development environment and developer ecology have been constructed. Applet is also an innovation in the chinese IT industry that has truly affected common programmers for many years. However, the applet does not support cookies, and if the applet jumps to the HTML5 page, it is often necessary to build a middle layer to maintain login information. During use, a user who has logged in to the applet also needs to re-log in if he wants to open the HTML5 page via the applet. This approach is very user unfriendly.
Disclosure of Invention
The embodiment of the invention provides a page display method, a page display system and page display equipment, which are used for recommending a proper target object for a requester.
To expose HTML5 pages through applets for quick and friendly implementation.
In a first aspect, an embodiment of the present invention provides a page display method, where the method includes:
based on an HTML5 page sharing request sent by an applet terminal, sending a temporary token and an HTML5 page to be shared to the applet terminal;
Responding to an access request of a user to the HTML5 page to be shared, and verifying a temporary token in the access request;
And if the verification is passed, sending the HTML5 page to be shared in the login state to the applet terminal.
In a second aspect, an embodiment of the present invention provides a page display method, where the method includes:
responding to an HTML5 page sharing operation triggered by a user, and receiving a temporary token and an HTML5 page to be shared, which are provided by the server;
And responding to the access request of the user to the to-be-shared THML page, and if the temporary token carried in the access request passes the verification, displaying the to-be-shared HTML5 page in a login state.
In a third aspect, an embodiment of the present invention provides a page display system, including: an applet end and a service end;
the server side is used for sending a temporary token and an HTML5 page to be shared to the applet side based on an HTML5 page sharing request sent by the applet side; responding to an access request of a user to the HTML5 page to be shared, and verifying a temporary token in the access request; if the verification is passed, sending the HTML5 page to be shared in the login state to the applet terminal;
The client is used for responding to an HTML5 page sharing operation triggered by a user, and the server is used for sending a temporary token and an HTML5 page to be shared to the applet terminal based on an HTML5 page sharing request sent by the applet terminal; responding to an access request of a user to the HTML5 page to be shared, and verifying a temporary token in the access request; and if the verification is passed, sending the HTML5 page to be shared in the login state to the applet terminal.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a processor, and a memory, where the memory is configured to store one or more computer instructions, and the one or more computer instructions implement the page presentation method according to the first aspect when executed by the processor.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including a processor, and a memory, where the memory is configured to store one or more computer instructions, and the one or more computer instructions implement the page presentation method according to the second aspect when executed by the processor.
In the embodiment of the invention, when a user wants to share the HTML5 page through the applet, the user can send an HTML5 page sharing request to the server through the applet, and the server can send a temporary token and the HTML5 page to be shared to the applet. If the user wants to open the HTML5 page to be shared, the server side verifies the temporary token corresponding to the HTML5 page to be shared, and if the verification is passed, the server side sends the HTML5 page to be shared in a login state to the user through the applet side. Through the technical scheme, the user can open the HTML5 page in the login state through the applet without logging in, in the jump process, the middle layer is not required to be established, the user does not need to log in the HTML5 again, and therefore page jump and display efficiency are higher, and page display speed is faster.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the prior art descriptions, and it is obvious that the drawings in the following description are some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a page display method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating another page display method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a page display system according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a working process of the page display system according to the embodiment of the present application;
fig. 5 is a schematic structural diagram of a page display device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device corresponding to the page display device provided in the embodiment shown in fig. 5;
Fig. 7 is a schematic structural diagram of another page display device according to an embodiment of the present application;
Fig. 8 is a schematic structural diagram of an electronic device corresponding to another page display device provided in the embodiment shown in fig. 7.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, the "plurality" generally includes at least two.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
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 product or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such product or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a commodity or system comprising such elements.
In the existing application of jumping to an HTML5 page by the applet, an intermediate layer needs to be established at the applet end, which is used for maintaining login information of the applet end and does not support cookie caching. Therefore, when the user logs in the applet, the user wants to jump to the HTML5 page and needs to log in again, so that the operation process of opening the HTML5 page by the user becomes complicated, and the user experience is affected. In addition, in some application scenarios, the user only looks at the open page, but the user cannot see the specific content in the HTML5 page due to the fact that the user has no registered account or no login account, in other words, the user needs to log in to see the content of the HMTL5 page, which is very unfavorable for content promotion and propaganda.
For ease of understanding, the page presentation method is specifically illustrated below.
Fig. 1 is a flow chart of a page display method provided by an embodiment of the present application, which is applied to a server, as shown in fig. 1, and the method includes the following steps:
101: based on an HTML5 page sharing request sent by an applet terminal, sending a temporary token and an HTML5 page to be shared to the applet terminal.
102: And responding to the access request of the user to the HTML5 page to be shared, and verifying the temporary token in the access request.
103: And if the verification is passed, sending the HTML5 page to be shared in the login state to the applet terminal.
In practical application, each applet end has a corresponding login token (token) for login, and the login token is unique. The temporary token, referred to herein as a temporary token, is used for applet jumping HTML5 page operations. The temporary token has an effective time limit, so that the jump requirement of jumping the applet to the HTML5 page can be met under the condition that the user does not need to log in again.
During the jump process, the server side can verify the temporary token of the applet side which initiates the HTML5 page request. Only if the verification is passed, the HTML5 page to be shared in the login state is sent to the applet. If the verification is not passed, corresponding prompt information is generated. Specifically, the case where the temporary token verification is not passed includes that the temporary token exceeds a valid time and that the temporary token is not legal. For example, the valid time of the generated temporary token is 1 minute, if a user sees the HTML5 page to be shared after receiving the HTML5 page to be shared for 2 minutes, the user clicks the HTML5 page to be shared, the user may prompt that the current information is invalid or that the current page is expired, and so on. For another example, the temporary token in the access request is counterfeit, and after the server side receives the access request, if the temporary token is verified to have no association with the login token of the applet side initiating the request, the corresponding prompt information is sent to the applet side if the temporary token is determined to be illegal.
It should be noted that, the HTML5 page to be shared obtained through the client request is an HTML5 page in the login state. That is, any user who wants to share the content of the HTML5 page can see the content without logging in. For example, the user a requests that the server generate the HTML5 page to be shared, and then the user a shares the connection of the HTML5 to be shared to a circle of friends, a chat group, or a specified receiving object B user. The user B can click the HTML5 page to be shared, and then the user B can see the HTML5 page under the login state of the user A. In order to ensure the information security of the user, the user B only has the authority of viewing the current page, but cannot make setting modification on the page content and cannot see other (not wanted to see by other people) pages of the user A.
In one or more embodiments of the present application, the sending, based on the HTML5 page sharing request sent by the applet end, a temporary token to the applet end includes: acquiring a login token based on an HTML5 page sharing request sent by an applet end; generating the temporary token with the association relation with the login token; and sending the temporary token to the applet end.
In practical application, when a user logs in an applet for the first time, the user needs to input a user name and a login password to log in. After successful login, the server returns a unique corresponding login token, namely token. The client (e.g., applet) may bring Token to certify itself at each request. If the Token is persisted (e.g., stored in a database) at the server, it is a permanent identity Token.
The temporary token, i.e., temporary token, referred to herein is an encrypted string. Since the temporary token is valid for a certain period of time, the temporary token may not have an actual relationship with the token, but may be obtained after any character string is encrypted by an encryption algorithm (e.g., a hash algorithm), and then an association relationship between the temporary token and the token is established. The temporary token does not have an actual relationship with the login token, and it is understood that the temporary token is not generated by encrypting the token or part of the information of the token; the information leakage caused by the fact that the temporary token is cracked can be avoided. Because the temporary token has a certain effective time limit, in other words, the temporary token can be updated frequently according to the requirement and is cracked after the effective time is exceeded, the reliability of the temporary token is not threatened, and the safety and the reliability of the temporary token can be effectively ensured.
In one or more embodiments of the present application, the sending, based on an HTML5 page sharing request sent by an applet end, an HTML5 page to be shared to the applet end includes: generating an initial HTML5 page based on an HTML5 page sharing request sent by the applet end; and sending the initial HTML5 page to the applet end, so that the applet end generates the HTML5 page to be shared based on the association relation between the temporary token and the initial HTML5 page.
In practical application, a user sends an HTML5 page sharing request through an applet end, and a server end generates a corresponding initial HTML5 page according to the request requirement. For example, the user wants to share the HTML5 page of the recruitment nurse, and after receiving the sharing request, the server generates an initial HTML5 page according to the user requirement, and sends the page to the corresponding client. Further, the client generates an HTML5 page to be shared based on the association between the temporary token and the initial HTML 5. Specifically, the client takes the temporary token as a part of the HTML message corresponding to the HTML5 page to be shared. Thus, the jump from the applet to the HTML5 page can be accomplished without relying on an intermediate layer to maintain user login information. The user experience can be effectively improved.
In one or more embodiments of the present application, the verifying the temporary token in response to the user's access request to the HTML5 page to be shared includes: responding to an access request of the HTML5 page to be shared triggered by a user, and acquiring the temporary token carried in the HTML5 page to be shared; and verifying the association relation between the temporary token and the login token and the valid time of the temporary token.
In practical application, after a user sends an access request based on the current HTML5 page to be shared, the server processes the received access request and extracts a temporary token carried in the request. After the temporary token is obtained, the validity time of the current temporary token is verified. It should be noted that, when the temporary token is generated, the valid time is set, and the countdown is started. Only during the validity time, the temporary token is further verified. That is, next, the association relationship between the temporary token and the login token will be verified. The related technical scheme of the association process is described in the foregoing, and specific reference may be made to the foregoing embodiments. And during verification, performing association verification on the temporary token and a login token corresponding to the applet end initiating the HTML5 page to be shared, namely, determining whether the temporary token carried in the current access request is legal or not according to the association between the temporary token and the login token stored during generation of the temporary token by the server end.
Based on the above embodiment, when the user wants to share the HTML5 page through the applet, the HTML5 page sharing request may be sent to the server through the applet, and the server may send the temporary token and the HTML5 page to be shared to the applet. If the user wants to open the HTML5 page to be shared, the server side verifies the temporary token corresponding to the HTML5 page to be shared, and if the verification is passed, the server side sends the HTML5 page to be shared in a login state to the user through the applet side. Through the technical scheme, the user can open the HTML5 page in the login state through the applet without logging in, in the jump process, the middle layer is not required to be established, the user does not need to log in the HTML5 again, and therefore page jump and display efficiency are higher, and page display speed is faster.
Based on the same thought, the embodiment of the application also provides a page display method. Fig. 2 is a flowchart of another page display method according to an embodiment of the present application. The method is mainly applied to the applet end, and comprises the following steps:
201: and receiving a temporary token and an HTML5 page to be shared, which are provided by the server, in response to the user-triggered HTML5 page sharing operation.
202: And responding to the access request of the user to the to-be-shared THML page, and if the temporary token carried in the access request passes the verification, displaying the to-be-shared HTML5 page in a login state.
In practice, each login applet has its unique token. Each time HTML5 is shared, a temporary token is generated, which is valid for a period of time. After the effective time is exceeded, the temporary token needs to be regenerated next time sharing is performed again. Furthermore, the jump from the applet end to the HTML5 page is implemented based on the temporary token without having to log in again.
In one or more embodiments of the present application, in step 201, the receiving the temporary token provided by the server in response to the HTML5 page sharing operation triggered by the user includes: responding to HTML5 page sharing operation triggered by a user, and sending a login token to the server; and receiving the temporary token with the association relation generated by the server based on the login token.
As can be seen from the corresponding embodiment of fig. 1, after the applet end sends the login token to the server end, the applet end receives the temporary token generated by the server end. The temporary token has an association relation with the login token, namely the temporary token and the login token are in one-to-one correspondence in the valid time of the temporary token.
In one or more embodiments of the present application, in response to the HTML5 page sharing operation triggered by the user in step 201, the method for receiving the HTML5 page to be shared specifically includes: responding to an HTML5 page sharing operation triggered by a user, and receiving an initial HTML5 page generated by the server; and establishing an association relation between the temporary token and the initial HTML5 page, and generating the HTML5 page to be shared.
Before the jump is carried out, a temporary token needs to be written into the HTML message, so that an HTML5 page to be shared, which can be directly jumped, is generated. For example, after the user clicks the sharing link of the HTML5 page to be shared, the HTML5 page to be shared in the login state may be directly displayed.
Fig. 3 is a schematic structural diagram of a page display system according to an embodiment of the present application, where the system includes: the device comprises an applet end and a service end.
The server side is used for sending a temporary token and an HTML5 page to be shared to the applet side based on an HTML5 page sharing request sent by the applet side; responding to an access request of a user to the HTML5 page to be shared, and verifying a temporary token in the access request; and if the verification is passed, sending the HTML5 page to be shared in the login state to the applet terminal.
The client is used for responding to the HTML5 page sharing operation triggered by the user and receiving the temporary token and the HTML5 page to be shared provided by the server; and responding to the access request of the user to the to-be-shared THML page, and if the temporary token carried in the access request passes the verification, displaying the to-be-shared HTML5 page in a login state.
For ease of understanding, the operation of the page display system is specifically illustrated below. Fig. 4 is a schematic diagram illustrating a working process of the page display system according to the embodiment of the present application. As can be seen from fig. 4:
The user sends a sharing request for sharing the HTML5 page through the applet end, and the applet end sends a request for generating a temporary token to the server end so as to obtain the temporary token generated by the server end. The applet end sends a generating request for generating the HTML5 to the server end and receives an initial HTML5 page. The applet generates the HTML5 page to be shared based on the temporary token and the initial HTML5 page, which includes setting the temporary token for the initial HTML5 page (e.g., adding the temporary token to the HTML message). Furthermore, when a user accesses an HTML5 page to be shared, the access terminal verifies the temporary token carried in the access request, including effective time verification and verification of the association relationship between the temporary token and the token. If the verification is passed, the server side sends an HTML5 page in a login state to the applet side. Through the scheme, the user can see the HTML5 page in the login state without logging in, so that the jump from the applet to the HTML5 page is smoother, the efficiency is higher, and the user experience can be effectively improved.
Fig. 5 is a schematic structural diagram of a page display device according to an embodiment of the present application, where the device may be applied to a server, and may include: .
The first sending module 51 is configured to send, based on an HTML5 page sharing request sent by an applet end, a temporary token and an HTML5 page to be shared to the applet end.
And the verification module 52 is configured to respond to an access request of the user to the HTML5 page to be shared, and verify the temporary token in the access request.
And the second sending module 53 sends the HTML5 page to be shared in the login state to the applet terminal if the verification is passed.
The first sending module 51 is configured to obtain a login token based on an HTML5 page sharing request sent by the applet end; generating the temporary token with the association relation with the login token; and sending the temporary token to the applet end.
The first sending module 51 is configured to generate an initial HTML5 page based on an HTML5 page sharing request sent by the applet end; and sending the initial HTML5 page to the applet end, so that the applet end generates the HTML5 page to be shared based on the association relation between the temporary token and the initial HTML5 page.
The verification module 52 is configured to obtain the temporary token carried in the HTML5 page to be shared in response to an access request of the HTML5 page to be shared triggered by a user; and verifying the association relation between the temporary token and the login token and the valid time of the temporary token.
The apparatus shown in fig. 5 may perform the steps related to the server in fig. 1, and the detailed implementation process and technical effects are referred to the description in the foregoing embodiments, which are not repeated herein.
In one possible design, the structure of the page display device shown in fig. 5 may be implemented as an electronic device, and as shown in fig. 6, a schematic structural diagram of an electronic device corresponding to the page display device provided in the embodiment shown in fig. 5 may include: the system comprises a processor 61 and a memory 62, wherein the memory 62 is used for storing one or more computer instructions, and the one or more computer instructions realize the steps executed by the server in the previous embodiments when being executed by the processor 61.
Optionally, a communication interface 63 may also be included in the electronic device for communicating with other devices.
In addition, an embodiment of the present invention provides a computer storage medium storing a computer program, where the computer program makes a server execute the page display method in each embodiment.
Fig. 7 is a schematic structural diagram of another page display device according to an embodiment of the present application, where the device may be applied to a server, and may include: .
And the receiving module 71 is configured to receive the temporary token and the HTML5 page to be shared provided by the server in response to the HTML5 page sharing operation triggered by the user.
And the display module 72 is configured to respond to an access request of the user to the page to be shared THML, and if the temporary token carried in the access request passes the verification, display the page to be shared HTML5 in the login state.
The receiving module 71 is configured to send a login token to the server in response to an HTML5 page sharing operation triggered by a user; and receiving the temporary token with the association relation generated by the server based on the login token.
The receiving module 71 is configured to receive an initial HTML5 page generated by the server in response to an HTML5 page sharing operation triggered by a user; and establishing an association relation between the temporary token and the initial HTML5 page, and generating the HTML5 page to be shared.
The apparatus shown in fig. 7 may perform the steps involved in the small-program end in fig. 2, and the detailed implementation and technical effects are referred to the description in the foregoing embodiments, which are not repeated here.
In one possible design, the structure of the information recommending apparatus shown in fig. 7 may be implemented as an electronic device, and as shown in fig. 8, a schematic structural diagram of the electronic device corresponding to the page displaying apparatus provided in the embodiment of fig. 7 may include: the system comprises a processor 81 and a memory 82, wherein the memory 82 is used for storing one or more computer instructions, and the one or more computer instructions realize the steps executed by the server in the previous embodiments when being executed by the processor 81.
Optionally, a communication interface 83 may be included in the electronic device for communicating with other devices.
In addition, an embodiment of the present invention provides a computer storage medium storing a computer program, where the computer program makes a server execute the page display method in each embodiment.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by adding necessary general purpose hardware platforms, or may be implemented by a combination of hardware and software. Based on such understanding, the foregoing aspects, in essence and portions contributing to the art, may be embodied in the form of a computer program product, which 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, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 resource updating apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable resource updating 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 resource updating device 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 resource updating 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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 storage media for a computer 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, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. The page display method is characterized by being applied to a server, and comprises the following steps:
Based on an HTML5 page sharing request sent by an applet end which does not need to be downloaded, sending a temporary token and an HTML5 page to be shared to the applet end;
Responding to an access request of a user to the HTML5 page to be shared, and verifying a temporary token in the access request;
and if the verification is passed, sending the HTML5 page to be shared in the login state to the applet terminal, wherein only the currently shared HTML5 page has the authority to view.
2. The method of claim 1, wherein the sending the temporary token to the applet based on the HTML5 page share request from the applet without download comprises:
Acquiring a login token based on an HTML5 page sharing request sent by an applet end;
Generating the temporary token with the association relation with the login token;
And sending the temporary token to the applet end.
3. The method of claim 2, wherein the sending the HTML5 page to be shared to the applet based on the HTML5 page sharing request sent by the applet includes:
generating an initial HTML5 page based on an HTML5 page sharing request sent by the applet end;
And sending the initial HTML5 page to the applet end, so that the applet end generates the HTML5 page to be shared based on the association relation between the temporary token and the initial HTML5 page.
4. The method of claim 2, wherein verifying the temporary token in response to a user's access request to the HTML5 page to be shared comprises:
Responding to an access request of the HTML5 page to be shared triggered by a user, and acquiring the temporary token carried in the HTML5 page to be shared;
And verifying the association relation between the temporary token and the login token and the valid time of the temporary token.
5. A method for displaying a page, which is applied to a client, the method comprising:
Responding to HTML5 page sharing operation triggered by a user through an applet terminal, and receiving a temporary token and an HTML5 page to be shared, which are provided by a server terminal;
And responding to the access request of the user to the HTML5 page to be shared, and if the temporary token carried in the access request passes the verification, displaying the HTML5 page to be shared in a login state at the applet end, wherein only the authority of viewing the HTML5 page to be shared currently exists.
6. The method of claim 5, wherein the receiving the temporary token provided by the server in response to the HTML5 page sharing operation triggered by the user through the applet includes:
responding to HTML5 page sharing operation triggered by a user through an applet end, and sending a login token to the server end;
and receiving the temporary token with the association relation generated by the server based on the login token.
7. The method of claim 6, wherein the receiving the HTML5 page to be shared in response to the HTML5 page sharing operation triggered by the user through the applet includes:
responding to an HTML5 page sharing operation triggered by a user, and receiving an initial HTML5 page generated by the server;
And establishing an association relation between the temporary token and the initial HTML5 page, and generating the HTML5 page to be shared.
8. A page display system, the system comprising: an applet end and a service end;
The server side is used for sending a temporary token and an HTML5 page to be shared to the applet side based on an HTML5 page sharing request sent by the applet side without downloading; responding to an access request of a user to the HTML5 page to be shared, and verifying a temporary token in the access request; if the verification is passed, sending the HTML5 page to be shared in the login state to the applet terminal; only the currently shared HTML5 page is authorized to view;
The client is used for responding to the HTML5 page sharing operation triggered by the user through the applet end and receiving the temporary token and the HTML5 page to be shared provided by the server; and responding to the access request of the user to the HTML5 page to be shared, and if the temporary token carried in the access request passes the verification, displaying the HTML5 page to be shared in a login state at the applet end, wherein only the authority of viewing the HTML5 page to be shared currently exists.
9. An electronic device, comprising: a processor, a memory for storing one or more computer instructions, wherein the one or more computer instructions when executed by the processor implement the page presentation method of any of claims 1 to 4.
10. An electronic device, comprising: a processor, a memory for storing one or more computer instructions, wherein the one or more computer instructions when executed by the processor implement the page presentation method of any of claims 5 to 7.
CN202010801535.4A 2020-08-11 2020-08-11 Page display method, system and equipment Active CN112069436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010801535.4A CN112069436B (en) 2020-08-11 2020-08-11 Page display method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010801535.4A CN112069436B (en) 2020-08-11 2020-08-11 Page display method, system and equipment

Publications (2)

Publication Number Publication Date
CN112069436A CN112069436A (en) 2020-12-11
CN112069436B true CN112069436B (en) 2024-07-02

Family

ID=73662684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010801535.4A Active CN112069436B (en) 2020-08-11 2020-08-11 Page display method, system and equipment

Country Status (1)

Country Link
CN (1) CN112069436B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116776016B (en) * 2023-06-06 2024-02-27 广东保伦电子股份有限公司 Implementation method and terminal for accessing browser page without registering specific personnel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210005A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 Information interacting method and device
CN109522501A (en) * 2018-11-26 2019-03-26 腾讯科技(深圳)有限公司 Content of pages management method and its device
CN110826048A (en) * 2019-09-26 2020-02-21 北京健康之家科技有限公司 Resource request processing method, device and equipment
CN111181977A (en) * 2019-12-31 2020-05-19 瑞庭网络技术(上海)有限公司 Login method, device, electronic equipment and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1962204A1 (en) * 2007-02-21 2008-08-27 Axalto SA A personal token having enhanced abilities for delivering HTML data
US9047456B2 (en) * 2012-03-20 2015-06-02 Canon Information And Imaging Solutions, Inc. System and method for controlling access to a resource
CN107026847B (en) * 2017-02-09 2020-05-26 阿里巴巴集团控股有限公司 Trust login method, server and system
CN111259358B (en) * 2020-01-07 2022-09-06 数字广东网络建设有限公司 Login method, login device, computer equipment and storage medium
CN111199037B (en) * 2020-01-09 2022-08-02 百度在线网络技术(北京)有限公司 Login method, system and device
CN111382387B (en) * 2020-03-06 2023-10-24 深圳市盟天科技有限公司 Webpage access method, device, equipment and storage medium based on applet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210005A (en) * 2016-06-30 2016-12-07 乐视控股(北京)有限公司 Information interacting method and device
CN109522501A (en) * 2018-11-26 2019-03-26 腾讯科技(深圳)有限公司 Content of pages management method and its device
CN110826048A (en) * 2019-09-26 2020-02-21 北京健康之家科技有限公司 Resource request processing method, device and equipment
CN111181977A (en) * 2019-12-31 2020-05-19 瑞庭网络技术(上海)有限公司 Login method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN112069436A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN111355726B (en) Identity authorization login method and device, electronic equipment and storage medium
US10581806B2 (en) Service providing method, service requesting method, information processing device, and client device
CN104283841A (en) Method, device and system for carrying out service access control on third-party application
CN107733883B (en) Method and device for detecting account numbers registered in batches
CN109286620B (en) User right management method, system, device and computer readable storage medium
CN113239308B (en) Page access method, device, equipment and storage medium
JP2023096089A (en) Pseudonym event certification by group signature
CN110765451A (en) Risk identification method and device and electronic equipment
JP2023542578A (en) Anonymous authentication with token redemption
CN114500119B (en) Method and device for calling block chain service
CN115102744A (en) Data access method and device
CN110445768B (en) Login method and device and electronic equipment
CN112069436B (en) Page display method, system and equipment
CN108235067B (en) Authentication method and device for video stream address
CN106888200B (en) Identification association method, information sending method and device
CN110034922B (en) Request processing method, processing device, request verification method and verification device
CN106470186B (en) A method of accessing third party's resource in a manner of jumping
JP2022544461A (en) Protecting the integrity of communications from client devices
US20160366172A1 (en) Prevention of cross site request forgery attacks
CN111092864A (en) Session protection method, device, equipment and readable storage medium
CN112231691A (en) Equipment login method, device and system
EP4211870B1 (en) Secure attribution using attestation tokens
JP7098065B1 (en) Preventing data manipulation and protecting user privacy in telecommunications network measurements
CN114157420B (en) Token invalidation method and device
CN114024688B (en) Network request method, network authentication method, terminal equipment and server

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