Information display method and device, electronic equipment and readable medium
By decrypting on the client side and combining the target encoding information generated by the dynamic encoding table with the encrypted rendering protocol, the problem of data theft in online reading methods is solved, and the security of data transmission and rendering processes is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-26
- Publication Date
- 2026-03-31
Smart Images

Figure CN113946843B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to an information display method, apparatus, electronic device, and readable medium. Background Technology
[0002] Compared to traditional print media, electronic data uses computer technology to digitally record information such as text, images, audio, and video. With the rapid development of online services, electronic data can be displayed in real time on various online clients through online reading, bringing a convenient reading experience. Due to the copyability and shareability of electronic data, its copyright security has become particularly important. With the popularization and promotion of online reading, preventing the theft of online reading content has become a key issue that needs to be addressed in its technical implementation. However, current online reading methods all use plaintext to send electronic data. Electronic data is standard content rendering data, and clients can directly render and present it after receiving plaintext. This makes it easy for the content rendering data to be stolen during the process of acquiring electronic data, and directly used by hackers, thus compromising the security of data transmission. Summary of the Invention
[0003] This invention provides a method, apparatus, readable storage medium, and electronic device for displaying information, in order to solve or partially solve the problems of data being easily stolen and low data security in the prior art during data transmission.
[0004] This invention discloses a method for displaying information, comprising:
[0005] In response to detecting user actions that access the target page, obtain rendering protocol data and rendering content data that match the target page;
[0006] The rendering protocol data is decrypted to obtain the target encrypted rendering protocol, and the rendering content data is decrypted to obtain the target encoding information generated according to the preset dynamic encoding table.
[0007] Content is rendered according to the target encryption rendering protocol and the target encoding information, and page information corresponding to the target encoding information is displayed on the target page.
[0008] Optionally, the rendering protocol data and the rendering content data are encrypted data according to a data transmission encryption algorithm. After obtaining the rendering protocol data and rendering content data matching the target page, the method further includes:
[0009] Obtain a data transmission decryption algorithm that matches the data transmission encryption algorithm.
[0010] Optionally, decrypting the rendering protocol data to obtain the target encrypted rendering protocol includes:
[0011] The data transmission decryption algorithm is used to decrypt the rendering protocol data to obtain the corresponding target encrypted rendering protocol and the protocol decryption data that matches the target encrypted rendering protocol.
[0012] Optionally, the step of decrypting the rendered content data to obtain target encoding information generated according to a preset dynamic encoding table includes:
[0013] The data transmission decryption algorithm is used to decrypt the rendered content data to obtain the corresponding target encoding information.
[0014] Optionally, the step of rendering content according to the target encryption rendering protocol and the target encoding information, and displaying page information corresponding to the target encoding information on the target page, includes:
[0015] The target encoding information is matched with the dynamic encoding table to obtain page information corresponding to the target page, and the mapping relationship between the page information and the target encoding information;
[0016] Match the target encrypted rendering protocol with the mapping relationship to obtain the initial encrypted rendering protocol corresponding to the target encrypted rendering protocol;
[0017] The initial encrypted rendering protocol is decrypted using the protocol decryption data to obtain the content rendering protocol, and the page information is rendered using the content rendering protocol to display the page information on the target page.
[0018] Optionally, the rendering protocol data is generated in the following manner:
[0019] Obtain page information corresponding to the target page, as well as a dynamic encoding table for the page information, and determine the content rendering protocol corresponding to the page information;
[0020] The content rendering protocol is encrypted using a preset protocol encryption algorithm to generate an initial encrypted rendering protocol and protocol decryption data corresponding to the content rendering protocol.
[0021] The initial encrypted rendering protocol is matched with the dynamic encoding table to obtain the target encrypted rendering protocol corresponding to the initial encrypted rendering protocol.
[0022] The target encrypted rendering protocol and the decrypted data of the protocol are encrypted using a preset data transmission encryption algorithm to generate rendering protocol data.
[0023] Optionally, the rendered content data is generated in the following manner:
[0024] Obtain the page information corresponding to the target page, and the dynamic encoding table for the page information;
[0025] Extract the target encoding information that matches the page information from the dynamic encoding table;
[0026] The target encoded information is encrypted using a preset data transmission encryption algorithm to generate rendered content data.
[0027] This invention also discloses an information display device, comprising:
[0028] The data acquisition module is used to respond to user operations that are detected accessing the target page, and to acquire rendering protocol data and rendering content data that match the target page.
[0029] The data decryption module is used to decrypt the rendering protocol data to obtain the target encrypted rendering protocol, and to decrypt the rendering content data to obtain the target encoding information generated according to the preset dynamic encoding table.
[0030] The content rendering module is used to render content according to the target encryption rendering protocol and the target encoding information, and to display page information corresponding to the target encoding information on the target page.
[0031] Optionally, the rendering protocol data and the rendering content data are data encrypted according to a data transmission encryption algorithm, and the device further includes:
[0032] The decryption algorithm acquisition module is used to acquire a data transmission decryption algorithm that matches the data transmission encryption algorithm.
[0033] Optionally, the data decryption module includes:
[0034] The rendering protocol decryption submodule is used to decrypt the rendering protocol data using the data transmission decryption algorithm to obtain the corresponding target encrypted rendering protocol and the protocol decryption data that matches the target encrypted rendering protocol.
[0035] Optionally, the data decryption module includes:
[0036] The rendering content decryption submodule is used to decrypt the rendering content data using the data transmission decryption algorithm to obtain the corresponding target encoding information.
[0037] Optionally, the content rendering module includes:
[0038] The information matching submodule is used to match the target encoding information with the dynamic encoding table to obtain page information corresponding to the target page, as well as the mapping relationship between the page information and the target encoding information;
[0039] The rendering protocol acquisition submodule is used to match the target encrypted rendering protocol with the mapping relationship to obtain the initial encrypted rendering protocol corresponding to the target encrypted rendering protocol.
[0040] The page information rendering submodule is used to decrypt the initial encrypted rendering protocol through the protocol decryption data to obtain the content rendering protocol, and to render the page information using the content rendering protocol to display the page information on the target page.
[0041] Optionally, the rendering protocol data is generated through the following modules:
[0042] The information determination module is used to obtain page information corresponding to the target page, as well as a dynamic encoding table for the page information, and to determine the content rendering protocol corresponding to the page information.
[0043] The protocol encryption module is used to encrypt the content rendering protocol using a preset protocol encryption algorithm, and generate an initial encrypted rendering protocol and protocol decryption data corresponding to the content rendering protocol.
[0044] The protocol matching module is used to match the initial encrypted rendering protocol with the dynamic encoding table to obtain the target encrypted rendering protocol corresponding to the initial encrypted rendering protocol.
[0045] The rendering protocol data generation module is used to encrypt the target encrypted rendering protocol and the decrypted data of the protocol using a preset data transmission encryption algorithm to generate rendering protocol data.
[0046] Optionally, the rendered content data is generated through the following modules:
[0047] The encoding table determination module is used to obtain page information corresponding to the target page and a dynamic encoding table for the page information.
[0048] The encoding information extraction module is used to extract target encoding information that matches the page information from the dynamic encoding table;
[0049] The rendering content data generation module is used to encrypt the target encoded information using a preset data transmission encryption algorithm to generate rendering content data.
[0050] This invention discloses an electronic device, characterized in that it includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0051] The memory is used to store computer programs;
[0052] When the processor executes a program stored in the memory, it implements the method described in the embodiments of the present invention.
[0053] This invention discloses one or more computer-readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the methods described in this invention.
[0054] The embodiments of the present invention have the following advantages:
[0055] In this embodiment of the invention, the client can respond to a detected user operation accessing a target page by obtaining rendering protocol data and rendering content data matching the target page. Then, it can decrypt the data to obtain the target encrypted rendering protocol corresponding to the rendering protocol data and the target encoding information corresponding to the rendering content data. The target encoding information can be generated based on a preset dynamic encoding table. The client can then render content according to the target encrypted rendering protocol and the target encoding information. Thus, during the user's content browsing process, the client obtains the corresponding encrypted data after detecting the access operation and decrypts it to obtain the corresponding encrypted rendering protocol and the data to be rendered. During content rendering, multiple encryption methods enhance data transmission security while combining rendering and decryption. Rendering the content to be rendered after decrypting the rendering protocol ensures the security of the rendering process. Attached Figure Description
[0056] Figure 1 This is a flowchart of the steps of an information display method provided in an embodiment of the present invention;
[0057] Figure 2 This is a structural block diagram of an information display device provided in an embodiment of the present invention;
[0058] Figure 3 This is a structural block diagram of an electronic device for displaying information provided in an embodiment of the present invention;
[0059] Figure 4 This is a schematic diagram of the structure of a readable medium for displaying information provided in an embodiment of the present invention. Detailed Implementation
[0060] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0061] As an example, with the rapid development of network technology, electronic data can be displayed in real time on various network clients through online reading. Users can browse relevant content, such as text, images, and videos, through these clients. However, in related technologies, online reading often involves sending electronic data in plaintext. This data is rendered as standard content, and the client can directly render and present it after receiving it. This makes it easy for web crawlers to scrape the data during the process of acquiring electronic data, leading to data leakage and significantly reducing the security of data transmission.
[0062] One of the core concepts of this invention is that when the client detects a user accessing content, it obtains rendering protocol data and rendering content data corresponding to the accessed content. The rendering protocol data and rendering content data can be encrypted data from the server. The client can first decrypt the rendering protocol data to obtain the target encrypted rendering protocol, and then decrypt the rendering content data to obtain the target encoding information. Finally, it renders the content based on the target encrypted rendering protocol and the target encoding information. Thus, during the user's content browsing process, the client can detect the access operation, obtain the corresponding encrypted data, and decrypt it to obtain the corresponding encrypted rendering protocol and the data to be rendered. During content rendering, multiple encryptions enhance data transmission security while combining rendering and decryption. By decrypting the rendering protocol before rendering the content, the security of the rendering process is ensured.
[0063] Specifically, refer to Figure 1 The diagram illustrates a flowchart of an information display method provided in an embodiment of the present invention, which may specifically include the following steps:
[0064] Step 101: In response to detecting user operations accessing the target page, obtain rendering protocol data and rendering content data that match the target page;
[0065] In this embodiment of the invention, data communication between a client and a server is involved. The client can be an application running on a user terminal. The user can browse text, images, videos, etc. through the application. After the client detects the user's access operation on the relevant content, it can generate a corresponding data acquisition request and send it to the server. The server returns the corresponding data so that the client can render it and display it on the graphical user interface provided by the terminal for the user to browse.
[0066] In the specific implementation, the client can respond to the user operation that accesses the target page, and obtain the rendering protocol data and rendering content data that match the target page. The rendering content data can be the content data corresponding to the target page. For example, if the content of the target page is text, the rendering content data can be the data to be rendered corresponding to the text; if the content of the target page is an image, the rendering content data can be the data to be rendered corresponding to the image; if the content of the target page is a video, the rendering content data can be the data to be rendered corresponding to the video. In addition, if the target page information includes at least two of these, the rendering content data can be changed accordingly.
[0067] Rendering protocol data can include protocol data on how to render content data, such as data on how to render text characters, images, and videos. Both the rendering protocol data and the rendering content data can be encrypted using a data transmission encryption algorithm. Encrypting the data transmitted between the client and server ensures the security of data transmission.
[0068] In an optional embodiment of the present invention, the rendering protocol data can be generated as follows: After receiving a data acquisition request sent by the client, the server can first obtain the page information corresponding to the target page and the dynamic encoding table for the page information, and determine the content rendering protocol corresponding to the page information. Then, the server uses a preset protocol encryption algorithm to encrypt the content rendering protocol, generating an initial encrypted rendering protocol and protocol decryption data corresponding to the content rendering protocol. The server then matches the initial encrypted rendering protocol with the dynamic encoding table to obtain the target encrypted rendering protocol corresponding to the initial encrypted rendering protocol. Finally, the server uses a preset data transmission encryption algorithm to encrypt the target encrypted rendering protocol and protocol decryption data to generate the rendering protocol data.
[0069] Specifically, for the corresponding page information, developers can design a dynamic encoding table on the server side. The dynamic encoding table can include the mapping relationship between page information and dynamic encoding. Different page information can correspond to different dynamic encodings. For example, if the page information is characters, the characters can be randomly assigned to dynamic encoding n; if the content is an image, the image can be randomly assigned to dynamic encoding m; if the content is video, the video can be randomly assigned to dynamic encoding l, and so on. Thus, during data interaction between the server and the client, the transmitted content is mapped through the dynamic encoding table to ensure the security of data transmission.
[0070] In the specific implementation, in addition to determining the page information corresponding to the target page, the server can also determine the content rendering protocol used to render the page information. Different page information can correspond to different content rendering protocols. For example, the content rendering protocol can include protocol data on how the client renders each text character, protocol data on how the client renders each image, protocol data on how the client renders each video, etc.
[0071] For the content rendering protocol, it can be encrypted according to a preset encryption algorithm. This involves randomly encrypting the protocol data corresponding to different page information within the content rendering protocol to obtain the initial encrypted rendering protocol and the decryption data used to decrypt it. Furthermore, to ensure data rendering consistency, the initial encrypted rendering protocol can be matched with a dynamic encoding table. Similarly, the dynamic encoding table for the same page information can be matched with the initial encrypted rendering protocol to determine the target encrypted rendering protocol for that page information. For example, for text characters, the corresponding dynamic encoding table and the encrypted protocol data used to render each text character can be matched to obtain encrypted protocol data including the text character corresponding to each dynamic encoding – the target encrypted protocol data. The process for images and videos is similar and will not be elaborated further here.
[0072] In addition, the server can obtain the page information corresponding to the target page, along with a dynamic encoding table for that page information. It can then extract the target encoding information that matches the page information from the dynamic encoding table, and finally encrypt the target encoding information using a preset data transmission encryption algorithm to generate the rendered content data. For example, if the target page information is text, each character in the text can be matched against the dynamic encoding table to determine the dynamic encoding corresponding to each character, thus obtaining the target encoding information for the entire target page.
[0073] After obtaining the target encrypted rendering protocol, protocol decryption data, and target encoding information, the server can use a data transmission encryption algorithm to encrypt the target encrypted rendering protocol and protocol decryption data to generate rendering protocol data, encrypt the target encoding information to generate rendering content data, and send it to the client so that the client can decrypt and render it to display the corresponding page information.
[0074] Step 102: Decrypt the rendering protocol data to obtain the target encrypted rendering protocol, and decrypt the rendering content data to obtain the target encoding information generated according to the preset dynamic encoding table.
[0075] In the specific implementation, since the rendering protocol data and the rendering content data are encrypted using a data transmission encryption algorithm, after receiving the rendering protocol data and the rendering content data, the client can obtain the data transmission decryption algorithm that matches the data transmission encryption algorithm. Then, the client uses the data transmission decryption algorithm to decrypt the rendering protocol data to obtain the corresponding target encrypted rendering protocol and the protocol decryption data that matches the target encrypted rendering protocol. The client also uses the data transmission decryption algorithm to decrypt the rendering content data to obtain the corresponding target encoding information. Thus, by encrypting the data transmitted between the client and the server, not only is the integrity and security of the data guaranteed, but authentication can also be performed during transmission to ensure that the data transmission comes from a specific sender.
[0076] Optionally, for the data transmission encryption and decryption algorithms, symmetric encryption technology can be used, where the same key is used for both encryption and decryption; alternatively, asymmetric encryption technology can be used. By configuring public and private keys, the server can use the public key to encrypt the target encryption rendering protocol, protocol decryption data, and target encoded information, while the client uses the private key to decrypt them and obtain the corresponding data. Thus, by encrypting the data transmitted between the client and the server, not only can the integrity and security of the data be guaranteed, but authentication can also be performed during transmission to ensure that the data transmission originates from a specific sender.
[0077] Step 103: Render the content according to the target encryption rendering protocol and the target encoding information, and display the page information corresponding to the target encoding information on the target page.
[0078] In this embodiment of the invention, the target encrypted rendering protocol is a rendering protocol encrypted using a random encryption algorithm. It may include protocol data for rendering the text characters corresponding to each dynamic encoding. The protocol decryption data may be data corresponding to the random encryption algorithm used to decrypt the rendering protocol. The target encoding information may be the page information of the target page after being mapped by a dynamic encoding table.
[0079] In the specific implementation, the client can first match the target encoding information with the dynamic encoding table to obtain the page information corresponding to the target page, as well as the mapping relationship between the page information and the target encoding information. Then, the client matches the target encrypted rendering protocol with the mapping relationship to obtain the initial encrypted rendering protocol corresponding to the target encrypted rendering protocol. Next, the client decrypts the initial encrypted rendering protocol through the protocol decryption data to obtain the content rendering protocol, and uses the content rendering protocol to render the page information and display the page information on the target page.
[0080] Specifically, the client can use a decryption-as-you-go approach to render and display the target page. This includes first determining the page content corresponding to the target encoding information by mapping the target encoding information to the dynamic encoding table recorded in the dynamic encoding table. For example, the client can look up the corresponding text characters, images, and videos in the dynamic encoding table using the dynamic encoding. Simultaneously, after determining the page information, the client can also obtain the mapping relationship between the page information and the target encoding information to match the target encrypted rendering protocol with the mapping relationship, thus obtaining the initial encrypted rendering protocol corresponding to the target encrypted rendering protocol. For example, refer to Table 1 below for the dynamic encoding table:
[0081] Page content Dynamic coding Page content ① 101 Page content ② 102 Page content ③ 103 Page content ④ 104 … …
[0082] Table 1
[0083] After decryption by the client, the target encoded information includes 101, 103, 104, etc. These dynamic codes can then be used to obtain the corresponding page information from the dynamic encoding table, such as page content ①, page content ③, and page content ④, with corresponding mapping relationships like "page content ①-101", "page content ③-103", and "page content ④-104". The target encrypted rendering protocol includes encrypted data on how to render the page content corresponding to each dynamic code. Since the target encrypted rendering protocol data can correspond to dynamic codes, the corresponding initial encrypted rendering protocol can be extracted based on the dynamic codes, thereby obtaining the encrypted data on how to render each page content, such as how to render page content ①, page content ③, and page content ④. After obtaining the initial encrypted rendering protocol, it can be decrypted using the protocol decryption data to obtain the corresponding content rendering protocol. Then, the client can render the page information based on the content rendering protocol and display the corresponding page information, such as text, images, and videos, on the target page for user browsing. Thus, in the content rendering process, rendering and decryption are combined. Not only is the content to be rendered encrypted, but the rendering protocol is also encrypted. Decryption is performed separately during the rendering process. On the one hand, data transmission security is ensured by encrypting the transmitted data; on the other hand, data security during the rendering process is ensured by encrypting the rendering protocol and the content to be rendered. This multi-layered data encryption effectively guarantees the security of page data.
[0084] In an embodiment of the present invention, the client can, in response to detecting a user operation to access a target page, obtain rendering protocol data and rendering content data that match the target page. Then, it can first perform decryption to obtain a target encrypted rendering protocol corresponding to the rendering protocol data and protocol decryption data, and a target encoding information corresponding to the rendering content data. The target encoding information can be information generated according to a preset dynamic encoding table. Then, the client can perform content rendering according to the target encrypted rendering protocol, encrypted data, and target encoding information. Thus, during the process of the user browsing content, after the client detects an access operation, it can obtain corresponding encrypted data, decrypt it to obtain the corresponding encrypted rendering protocol and the data to be rendered. During the content rendering process, while improving data security through multiple encryption, the rendering and decryption are combined to encrypt the rendering protocol and the content to be rendered, further ensuring data security and guaranteeing the user's browsing experience.
[0085] To enable those skilled in the art to better understand the technical solutions of the embodiments of the present invention, an example is described below.
[0086] Optionally, in the embodiments of the present application, the target page is used as a web page for exemplary illustration, and corresponding text information is displayed on the web page. For example, the embodiments of the present application can be applied to the scenario where a user reads a novel on a web page. In this scenario, the client can request relevant data of the novel from the server and render and display the corresponding text content on the web page. It can be understood that the embodiments of the present invention can also be applied to other scenarios, such as reading a novel in a reading application, browsing encrypted data (including text, pictures, and videos, etc.) on a web page, etc. The present invention does not limit this.
[0087] Specifically, for text characters, developers can design a set of dynamic encoding tables S, which include the dynamic encoding corresponding to each character. For example, "Zhang" randomly corresponds to dynamic encoding 101 or 102, etc. At the same time, for text characters, a corresponding text rendering protocol B can be designed, and the text rendering protocol B can include rendering data on how the client renders each text character.
[0088] To improve the security of data transmission, through a random encryption algorithm H, a series of random encryptions can be performed on the values corresponding to the rendering data of each character in the text rendering protocol B to obtain a random encrypted text rendering protocol C and random protocol decryption data O. Then, the random encrypted text rendering protocol C can be matched with the dynamic encoding table S to obtain a random encrypted text rendering protocol X. The random encrypted text rendering protocol X can include the encrypted data on how the client renders each character corresponding to the dynamic encoding, such as the encrypted rendering data of the text character "Zhang" corresponding to "101", etc.
[0089] During the process of a user browsing an encrypted article through a client, the client can generate a data acquisition request in response to the user's access operation and send it to the server. After receiving the data acquisition request, the server can first integrate the random encryption text rendering protocol X and the corresponding random protocol decryption data O into a data protocol D in a fixed form, and obtain the text information to be sent. Then, it can be converted into the corresponding target encoding information E using the dynamic encoding table S, such as converting "Zhang Zhang" into "101101", etc., and integrating the target encoding information E into the data protocol F in a fixed form. During the data sending process, the server can encrypt the data protocol D and the data protocol F through the encryption algorithm I and then send them to the client. After receiving the data sent by the server, the client can decrypt it using the decryption algorithm J corresponding to the encryption algorithm I. After decryption, the corresponding random encryption text rendering protocol X, random protocol decryption data O, and target encoding information E can be obtained. Next, the client can parse the content in the target encoding information E, find the corresponding encrypted rendering data in the random encryption rendering protocol X, and use the random protocol decryption data O to decrypt and execute the rendering logic while decrypting. Thus, during the process of the user browsing the content, the client can detect the access operation and obtain the corresponding encrypted data, decrypt it to obtain the corresponding encrypted rendering protocol and the data to be rendered. During the content rendering process, the combination of rendering and decryption not only encrypts the content to be rendered but also encrypts the rendering protocol. After decrypting separately during the rendering process, on the one hand, the transmitted data is encrypted to ensure the security of data transmission. On the other hand, the rendering protocol and the content to be rendered are encrypted to ensure the security of data during the rendering process. The security of the page data is effectively ensured through multiple data encryption methods.
[0090] It should be noted that for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that the embodiments of the present invention are not limited by the described action sequences because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily essential for the embodiments of the present invention.
[0091] Refer to Figure 2 , which shows the structural block diagram of a display device for information provided in an embodiment of the present invention, and specifically may include the following modules:
[0092] A data acquisition module 201, configured to obtain rendering protocol data and rendering content data matching the target page in response to detecting a user operation for accessing the target page;
[0093] The data decryption module 202 is used to decrypt the rendering protocol data to obtain the target encrypted rendering protocol, and to decrypt the rendering content data to obtain the target encoding information generated according to the preset dynamic encoding table.
[0094] The content rendering module 203 is used to perform content rendering according to the target encryption rendering protocol and the target encoding information, and to display page information corresponding to the target encoding information on the target page.
[0095] In an optional embodiment of the present invention, the rendering protocol data and the rendering content data are data encrypted according to a data transmission encryption algorithm, and the apparatus further includes:
[0096] The decryption algorithm acquisition module is used to acquire a data transmission decryption algorithm that matches the data transmission encryption algorithm.
[0097] In an optional embodiment of the present invention, the data decryption module 202 includes:
[0098] The rendering protocol decryption submodule is used to decrypt the rendering protocol data using the data transmission decryption algorithm to obtain the corresponding target encrypted rendering protocol and the protocol decryption data that matches the target encrypted rendering protocol.
[0099] In an optional embodiment of the present invention, the data decryption module 202 includes:
[0100] The rendering content decryption submodule is used to decrypt the rendering content data using the data transmission decryption algorithm to obtain the corresponding target encoding information.
[0101] In an optional embodiment of the present invention, the content rendering module 203 includes:
[0102] The information matching submodule is used to match the target encoding information with the dynamic encoding table to obtain page information corresponding to the target page, as well as the mapping relationship between the page information and the target encoding information;
[0103] The rendering protocol acquisition submodule is used to match the target encrypted rendering protocol with the mapping relationship to obtain the initial encrypted rendering protocol corresponding to the target encrypted rendering protocol.
[0104] The page information rendering submodule is used to decrypt the initial encrypted rendering protocol through the protocol decryption data to obtain the content rendering protocol, and to render the page information using the content rendering protocol to display the page information on the target page.
[0105] In an optional embodiment of the present invention, the rendering protocol data is generated through the following module:
[0106] The information determination module is used to obtain page information corresponding to the target page, as well as a dynamic encoding table for the page information, and to determine the content rendering protocol corresponding to the page information.
[0107] The protocol encryption module is used to encrypt the content rendering protocol using a preset protocol encryption algorithm, and generate an initial encrypted rendering protocol and protocol decryption data corresponding to the content rendering protocol.
[0108] The protocol matching module is used to match the initial encrypted rendering protocol with the dynamic encoding table to obtain the target encrypted rendering protocol corresponding to the initial encrypted rendering protocol.
[0109] The rendering protocol data generation module is used to encrypt the target encrypted rendering protocol and the decrypted data of the protocol using a preset data transmission encryption algorithm to generate rendering protocol data.
[0110] In an optional embodiment of the present invention, the rendered content data is generated through the following modules:
[0111] The encoding table determination module is used to obtain page information corresponding to the target page and a dynamic encoding table for the page information.
[0112] The encoding information extraction module is used to extract target encoding information that matches the page information from the dynamic encoding table;
[0113] The rendering content data generation module is used to encrypt the target encoded information using a preset data transmission encryption algorithm to generate rendering content data.
[0114] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0115] In addition, embodiments of the present invention also provide an electronic device, such as... Figure 3 As shown, it includes a processor 301, a communication interface 302, a memory 303, and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 communicate with each other through the communication bus 304.
[0116] Memory 303 is used to store computer programs;
[0117] When processor 301 executes a program stored in memory 303, it performs the following steps:
[0118] In response to detecting user actions that access the target page, obtain rendering protocol data and rendering content data that match the target page;
[0119] The rendering protocol data is decrypted to obtain the target encrypted rendering protocol, and the rendering content data is decrypted to obtain the target encoding information generated according to the preset dynamic encoding table.
[0120] Content is rendered according to the target encryption rendering protocol and the target encoding information, and page information corresponding to the target encoding information is displayed on the target page.
[0121] In an optional embodiment of the present invention, the rendering protocol data and the rendering content data are data encrypted according to a data transmission encryption algorithm. After obtaining the rendering protocol data and rendering content data matching the target page, the method further includes:
[0122] Obtain a data transmission decryption algorithm that matches the data transmission encryption algorithm.
[0123] In an optional embodiment of the present invention, the step of decrypting the rendering protocol data to obtain the target encrypted rendering protocol includes:
[0124] The data transmission decryption algorithm is used to decrypt the rendering protocol data to obtain the corresponding target encrypted rendering protocol and the protocol decryption data that matches the target encrypted rendering protocol.
[0125] In an optional embodiment of the present invention, the step of decrypting the rendered content data to obtain target encoding information generated according to a preset dynamic encoding table includes:
[0126] The data transmission decryption algorithm is used to decrypt the rendered content data to obtain the corresponding target encoding information.
[0127] In an optional embodiment of the present invention, the step of rendering content according to the target encryption rendering protocol and the target encoding information, and displaying page information corresponding to the target encoding information on the target page, includes:
[0128] The target encoding information is matched with the dynamic encoding table to obtain page information corresponding to the target page, and the mapping relationship between the page information and the target encoding information;
[0129] Match the target encrypted rendering protocol with the mapping relationship to obtain the initial encrypted rendering protocol corresponding to the target encrypted rendering protocol;
[0130] The initial encrypted rendering protocol is decrypted using the protocol decryption data to obtain the content rendering protocol, and the page information is rendered using the content rendering protocol to display the page information on the target page.
[0131] In an optional embodiment of the present invention, the rendering protocol data is generated in the following manner:
[0132] Obtain page information corresponding to the target page, as well as a dynamic encoding table for the page information, and determine the content rendering protocol corresponding to the page information;
[0133] The content rendering protocol is encrypted using a preset protocol encryption algorithm to generate an initial encrypted rendering protocol and protocol decryption data corresponding to the content rendering protocol.
[0134] The initial encrypted rendering protocol is matched with the dynamic encoding table to obtain the target encrypted rendering protocol corresponding to the initial encrypted rendering protocol.
[0135] The target encrypted rendering protocol and the decrypted data of the protocol are encrypted using a preset data transmission encryption algorithm to generate rendering protocol data.
[0136] In an optional embodiment of the present invention, the rendered content data is generated in the following manner:
[0137] Obtain the page information corresponding to the target page, and the dynamic encoding table for the page information;
[0138] Extract the target encoding information that matches the page information from the dynamic encoding table;
[0139] The target encoded information is encrypted using a preset data transmission encryption algorithm to generate rendered content data.
[0140] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0141] The communication interface is used for communication between the aforementioned terminal and other devices.
[0142] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0143] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0144] like Figure 4 As shown, in another embodiment of the present invention, a computer-readable storage medium 401 is also provided, which stores instructions that, when executed on a computer, cause the computer to perform the information display method described in the above embodiments.
[0145] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute the information display method described in the above embodiments.
[0146] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0147] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0148] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0149] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A display method of information, characterized by, include: In response to detecting user actions that access the target page, obtain rendering protocol data and rendering content data that match the target page; The rendering protocol data is decrypted to obtain the target encrypted rendering protocol, and the rendering content data is decrypted to obtain the target encoding information generated according to the preset dynamic encoding table. Content is rendered according to the target encryption rendering protocol and the target encoding information, and page information corresponding to the target encoding information is displayed on the target page. The rendering protocol data is generated in the following manner: Obtain page information corresponding to the target page, as well as a dynamic encoding table for the page information, and determine the content rendering protocol corresponding to the page information, wherein different page information corresponds to different dynamic encoding and different page information corresponds to different content rendering protocols. The content rendering protocol is encrypted using a preset protocol encryption algorithm to generate an initial encrypted rendering protocol and protocol decryption data corresponding to the content rendering protocol. The initial encrypted rendering protocol is matched with the dynamic encoding table to obtain the target encrypted rendering protocol corresponding to the initial encrypted rendering protocol. The target encrypted rendering protocol and the decrypted data of the protocol are encrypted using a preset data transmission encryption algorithm to generate rendering protocol data.
2. The method of claim 1, wherein, The rendering protocol data and the rendering content data are encrypted using a data transmission encryption algorithm. After obtaining the rendering protocol data and rendering content data matching the target page, the method further includes: Obtain a data transmission decryption algorithm that matches the data transmission encryption algorithm.
3. The method of claim 2, wherein, The step of decrypting the rendering protocol data to obtain the target encrypted rendering protocol includes: The data transmission decryption algorithm is used to decrypt the rendering protocol data to obtain the corresponding target encrypted rendering protocol and the protocol decryption data that matches the target encrypted rendering protocol.
4. The method of claim 2, wherein, The step of decrypting the rendered content data to obtain target encoding information generated according to a preset dynamic encoding table includes: The data transmission decryption algorithm is used to decrypt the rendered content data to obtain the corresponding target encoding information.
5. The method of claim 3, wherein, The step of rendering content based on the target encryption rendering protocol, the protocol decryption data, and the target encoding information, and displaying page information corresponding to the target encoding information on the target page, includes: The target encoding information is matched with the dynamic encoding table to obtain page information corresponding to the target page, and the mapping relationship between the page information and the target encoding information; Match the target encrypted rendering protocol with the mapping relationship to obtain the initial encrypted rendering protocol corresponding to the target encrypted rendering protocol; The initial encrypted rendering protocol is decrypted using the protocol decryption data to obtain the content rendering protocol, and the page information is rendered using the content rendering protocol to display the page information on the target page.
6. The method of claim 1, wherein, The rendered content data is generated in the following manner: Obtain the page information corresponding to the target page, and the dynamic encoding table for the page information; Extract the target encoding information that matches the page information from the dynamic encoding table; The target encoded information is encrypted using a preset data transmission encryption algorithm to generate rendered content data.
7. An information display device, characterized by comprising: include: The data acquisition module is used to respond to user operations that are detected accessing the target page, and to acquire rendering protocol data and rendering content data that match the target page; The data decryption module is used to decrypt the rendering protocol data to obtain the target encrypted rendering protocol, and to decrypt the rendering content data to obtain the target encoding information generated according to the preset dynamic encoding table. The content rendering module is used to render content according to the target encryption rendering protocol and the target encoding information, and to display page information corresponding to the target encoding information on the target page. The rendering protocol data is generated through the following modules: The information determination module is used to obtain page information corresponding to the target page, as well as a dynamic encoding table for the page information, and to determine the content rendering protocol corresponding to the page information, wherein different page information corresponds to different dynamic encoding and different page information corresponds to different content rendering protocols. The protocol encryption module is used to encrypt the content rendering protocol using a preset protocol encryption algorithm, and generate an initial encrypted rendering protocol and protocol decryption data corresponding to the content rendering protocol. The protocol matching module is used to match the initial encrypted rendering protocol with the dynamic encoding table to obtain the target encrypted rendering protocol corresponding to the initial encrypted rendering protocol. The rendering protocol data generation module is used to encrypt the target encrypted rendering protocol and the decrypted data of the protocol using a preset data transmission encryption algorithm to generate rendering protocol data.
8. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 1-6.
9. One or more computer-readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Page view rendering method, device and equipment and readable storage medium
CN111046309A
Page display method and device, electronic equipment and storage medium
CN111539025A