CN114637938A - Page rendering method, device, equipment and medium - Google Patents

Page rendering method, device, equipment and medium Download PDF

Info

Publication number
CN114637938A
CN114637938A CN202210274823.8A CN202210274823A CN114637938A CN 114637938 A CN114637938 A CN 114637938A CN 202210274823 A CN202210274823 A CN 202210274823A CN 114637938 A CN114637938 A CN 114637938A
Authority
CN
China
Prior art keywords
page
page data
content information
service platform
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210274823.8A
Other languages
Chinese (zh)
Inventor
宋吉庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202210274823.8A priority Critical patent/CN114637938A/en
Publication of CN114637938A publication Critical patent/CN114637938A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

The disclosure provides a page rendering method, a page rendering device, page rendering equipment and a page rendering medium, which can be applied to the technical field of computers and the financial field. The page rendering method comprises the following steps: receiving a page service request instruction, wherein the page service request instruction comprises page service content information; determining a page data transmission mode by identifying page service content information; acquiring page data required for displaying page service content information from a target service platform according to a page data transmission mode; determining page configuration parameters according to the page data, wherein the page configuration parameters are obtained from a configuration management system by executing a task script; and according to the page configuration parameters, rendering the page data to display the page data.

Description

Page rendering method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page rendering method, apparatus, device, medium, and program product.
Background
The page display content of the traditional all-in-one terminal device is single, and the page display content is usually displayed according to the service function required to be displayed and a fixed page style, so that when a new function page is required to be added, the style of the new function page and the access mode of the new function service data need to be developed. Moreover, once the rendering template of the newly added function page is developed, the modification or the updating of the rendering parameters is difficult to carry out.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a page rendering method, apparatus, device, medium, and program product.
According to an aspect of the present disclosure, there is provided a page rendering method including:
receiving a page service request instruction, wherein the page service request instruction comprises page service content information;
determining a page data transmission mode by identifying page service content information;
acquiring page data required for displaying page service content information from a target service platform according to a page data transmission mode;
determining page configuration parameters according to the page data, wherein the page configuration parameters are obtained from a configuration management system by executing a task script; and
and according to the page configuration parameters, rendering the page data to display the page data.
According to the embodiment of the disclosure, determining the page data transmission mode according to the page content information comprises the following steps:
determining that the page data transmission mode is page jump transmission under the condition that the page content information does not include confidential information;
and under the condition that the page content information comprises confidential information, determining the page data transmission mode to be transmission through an encryption interface and/or encrypted file transmission.
According to the embodiment of the disclosure, acquiring page data required for displaying page service content information from a target service platform according to a page data transmission mode comprises the following steps:
under the condition that the page data transmission mode is determined to be page jump transmission, sending an access request instruction to a target service platform, wherein the access request instruction comprises uniform resource locator address information;
and acquiring page data from the target service platform according to the uniform resource locator address information.
According to the embodiment of the disclosure, acquiring page data required for displaying page service content information from a target service platform according to a page data transmission mode comprises the following steps:
under the condition that the transmission mode of the page data is determined to be through the encryption interface, sending a first page data request instruction to the target service platform, wherein the first page data request instruction comprises first key information;
and receiving first page data returned by the target service platform, wherein the first page data is obtained by encrypting the first page data to be transmitted by the target service platform according to the first key information.
According to the embodiment of the disclosure, the displaying of the page data by rendering the page data according to the page configuration parameters includes:
calling a target page template from a configuration management system according to the page configuration parameters;
and according to the target page template, rendering the page data to display the page data.
Another aspect of the present disclosure provides a page rendering apparatus including: the device comprises a receiving module, a first determining module, an obtaining module, a second determining module and a displaying module. The receiving module is used for receiving a page service request instruction, wherein the page service request instruction comprises page service content information. The first determining module is used for determining the page data transmission mode by identifying the page service content information. And the acquisition module is used for acquiring page data required for displaying the page service content information from the target service platform according to the page data transmission mode. And the second determining module is used for determining page configuration parameters according to the page data, wherein the page configuration parameters are obtained from the configuration management system by executing the task script. And the display module is used for displaying the page data by rendering the page data according to the page configuration parameters.
According to an embodiment of the present disclosure, the first determination module includes a first determination unit and a second determination unit. The first determining unit is configured to determine that the page data transmission mode is page skip transmission when the page content information does not include the confidential information. And the second determining unit is used for determining that the page data transmission mode is transmission through an encryption interface and/or encrypted file transmission under the condition that the page content information comprises the confidential information.
According to an embodiment of the present disclosure, an acquisition module includes a first sending unit and a first acquisition unit. The first sending unit is used for sending an access request instruction to the target service platform under the condition that the transmission mode of the page data is determined to be page jump transmission, wherein the access request instruction comprises uniform resource locator address information. And the first acquisition unit is used for acquiring the page data from the target service platform according to the uniform resource locator address information.
According to an embodiment of the present disclosure, the acquisition module includes a second transmitting unit and a first receiving unit. The second sending unit is used for sending a first page data request instruction to the target service platform under the condition that the transmission mode of the page data is determined to be through the encryption interface, wherein the first page data request instruction comprises first key information. The first receiving unit is used for receiving first page data returned by the target service platform, wherein the first page data is obtained by the target service platform through encryption processing on the first page data to be transmitted according to the first key information.
According to an embodiment of the present disclosure, the obtaining module includes a third transmitting unit and a second receiving unit. The third sending unit is configured to send a second page data request instruction to the target service platform when it is determined that the page data transmission mode is transmission through an encrypted file, where the second page data request instruction includes second key information. And the second receiving unit is used for receiving second page data returned by the target service platform, wherein the second page data is obtained by carrying out encryption processing and compression processing on second page data to be transmitted by the target service platform according to the second key information.
According to an embodiment of the present disclosure, a presentation module includes a calling unit and a presentation unit. The calling unit is used for calling the target page template from the configuration management system according to the page configuration parameters. And the display unit is used for displaying the page data by rendering the page data according to the target page template.
Another aspect of the present disclosure provides an electronic device including: one or more processors; memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the above-described page rendering method.
Another aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described page rendering method.
Another aspect of the disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the page rendering method described above.
According to the page data transmission method and device, the page data transmission mode is determined by identifying the page service content information, the page data required by the user for displaying the page service content information is acquired from the target service platform according to the page data transmission mode, and the page data calling mode is flexibly and dynamically selected according to the page service content information. And determining page configuration parameters from the configuration management system according to the page data, and displaying the page data by rendering the page data according to the page configuration parameters. Because the page configuration parameters are obtained from the configuration management system by executing the task script, the rendering effect of the page can be dynamically updated.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, taken in conjunction with the accompanying drawings of which:
FIG. 1 schematically illustrates an application scene diagram of a page rendering method, apparatus, device, medium and program product according to embodiments of the disclosure;
FIG. 2 schematically shows a flow diagram of a page rendering method according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a logical block diagram of a page rendering method according to an embodiment of the present disclosure;
4 a-4 b schematically illustrate page rendering effects according to an embodiment of the disclosure;
fig. 5 schematically shows a block diagram of a structure of a page rendering apparatus according to an embodiment of the present disclosure; and
fig. 6 schematically shows a block diagram of an electronic device adapted to implement a page rendering method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
It should be noted that the page rendering method and apparatus disclosed in the present disclosure may be used in the financial field and the computer technology field, and may also be used in any field other than the financial field and the computer technology field, and the application field of the page rendering method and apparatus disclosed in the present disclosure is not limited.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure, application and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations, necessary confidentiality measures are taken, and the customs of the public order is not violated.
In the technical scheme of the disclosure, before the personal information of the user is acquired or collected, the authorization or the consent of the user is acquired.
The embodiment of the disclosure provides a page rendering method, which includes identifying page service content information, determining a page data transmission mode, and acquiring page data required by a user for displaying the page service content information from a target service platform according to the page data transmission mode, so as to flexibly and dynamically select a page data calling mode according to the page service content information. And determining page configuration parameters from the configuration management system according to the page data, and displaying the page data by rendering the page data according to the page configuration parameters. Because the page configuration parameters are obtained from the configuration management system by executing the task script, the rendering effect of the page can be dynamically updated.
Fig. 1 schematically shows an application scene diagram of a page rendering method according to an embodiment of the present disclosure.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a configuration management system 101, a local core system 102, a third-party service platform 103, a gateway system 104, and an all-in-one terminal device 105.
The local core system 102 is communicatively coupled to the configuration management system 101 through a gateway system 104. The local core system 102 may periodically obtain the page configuration parameters from the configuration management system 101 by executing the task script. The local core system 102 may update the new version of the page configuration parameter in time by comparing the obtained page configuration parameter with the version of the page configuration parameter stored in the local core system 102.
The local core system 102 is in communication connection with the all-in-one terminal device 105, and when a user clicks a page service module on a page of the all-in-one terminal device 105, the local core system 102 receives page service request information.
The local core system 102 is in communication connection with the third-party service platform 103, and can acquire page data required for displaying the page service information from the third-party service platform.
The local core system 102 may be a server that provides various services, such as a back-office management server (for example only) that provides support for web sites browsed by users using the all-in-one terminal device 105. The backend management server may analyze and perform other processing on the received data such as the page request, and feed back a processing result (for example, a web page, information, or data obtained or generated according to a user request) to the all-in-one terminal device 105.
It should be noted that the page rendering method provided by the embodiment of the present disclosure may be generally performed by the local core system 102. Accordingly, the page rendering apparatus provided by the embodiments of the present disclosure may be generally disposed in the local core system 102. The page rendering method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the local core system 102 and can communicate with the all-in-one terminal device 105, the gateway system 104, and the third-party service platform 103. Correspondingly, the page rendering device provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster that is different from the local core system 102 and can communicate with the all-in-one terminal device 105, the gateway system 104, and the third-party service platform 103.
It should be understood that the number of kiosk terminal devices, gateway systems, third party service platforms, local core systems in fig. 1 are merely illustrative. According to the implementation requirement, any number of all-in-one machine terminal devices, gateway systems, third-party service platforms and local core systems can be provided.
The page rendering method of the disclosed embodiment will be described in detail below with reference to fig. 2 to 4 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart of a page rendering method according to an embodiment of the present disclosure.
As shown in fig. 2, the page rendering method of this embodiment includes operations S210 to S250.
In operation S210, a page service request instruction is received, where the page service request instruction includes page service content information.
According to embodiments of the present disclosure, the page service content information may include different types of functional services, such as: convenience services, enterprise services, cross-border services, and the like. The convenience service may also include convenience payment service, endowment service, housing service, credit card service, medical service, educational service, and the like.
In operation S220, a page data transmission manner is determined by identifying page service content information.
According to embodiments of the present disclosure, the content information may be provided by identifying key fields in the page service content information, such as: whether the key field of the page service content comprises secret-related information. The confidential information may include property information, health and physiology information, biometric information, identity information, and the like. For example: sensitive fields in property information may be "account", "authentication", "transaction", and so forth. The page data transmission mode can be determined by identifying whether the sensitive fields are included in the page service content information. For example: when the page service content information includes sensitive fields such as "account number", "transaction", and the like, it may be determined that the page data transmission mode is data encryption transmission, for example: and after the sensitive field is subjected to data encryption processing, page data transmission is carried out.
In operation S230, page data required for displaying the page service content information is acquired from the target service platform according to the page data transmission manner.
According to an embodiment of the present disclosure, for example: the page service content information is paid for a mobile phone, and sensitive fields related to the page service content information can be found by identifying the page service content information, for example: a cell phone number. After the mobile phone number of the user is encrypted, the mobile phone number is encrypted by a target service platform, for example: the method comprises the following steps of acquiring page data required by a user for displaying page service content information from a communication operator platform, wherein the page data can comprise: name data after encryption processing, a mobile phone number, the amount of communication charge to be paid, and the like.
In operation S240, page configuration parameters are determined according to the page data, wherein the page configuration parameters are obtained from the configuration management system by executing the task script.
According to embodiments of the present disclosure, the page configuration parameters may correspond to a customized page rendering template. The configuration management system can store page configuration parameters corresponding to different functional page data, and related personnel can update the page configuration parameters in the configuration management system to obtain a new version of the page rendering template. So that the page rendering template corresponding to the updated page configuration parameters is obtained from the configuration management system by executing the timed task script (quartz timed task) script and is used for rendering the page data.
In operation S250, the page data is displayed by rendering the page data according to the page configuration parameter.
According to the embodiment of the disclosure, taking a mobile phone payment scene as an example, the page data may be name data, a mobile phone number, a communication fee amount required to be paid and the like after encryption processing. Obtaining the page configuration parameters corresponding to the page data from a configuration management system, and performing rendering processing on the page data, for example: and rendering the page data to a page rendering template corresponding to the page configuration parameters to obtain a final display page.
According to the page data transmission method and device, the page data transmission mode is determined by identifying the page service content information, the page data required by the user for displaying the page service content information is acquired from the target service platform according to the page data transmission mode, and the page data calling mode is flexibly and dynamically selected according to the page service content information. And determining page configuration parameters from the configuration management system according to the page data, and displaying the page data by rendering the page data according to the page configuration parameters. Because the page configuration parameters are obtained from the configuration management system by executing the task script, the rendering effect of the page can be dynamically updated.
According to the embodiment of the disclosure, determining the page data transmission mode according to the page content information comprises the following steps:
determining that the page data transmission mode is page jump transmission under the condition that the page content information does not include confidential information;
and under the condition that the page content information comprises confidential information, determining that the page data transmission mode is transmission through an encryption interface and/or encryption file transmission.
According to the embodiment of the disclosure, the identification of the confidential information can be realized by identifying the key fields in the page content information. The confidential information that can be identified may include transaction account information, deposit information, transaction flow information, medical information, food allergy information, medical history information, fingerprint information, voiceprint information, palmprint information, auricle information, iris information, facial recognition feature information, identity information, communication record information, and the like.
According to the embodiment of the present disclosure, in the case that the page content information does not include the confidential information, the page data transmission manner may be page skip transmission, for example: and directly realizing page jump through webpage link to acquire page data.
According to the embodiment of the disclosure, under the condition that the page content information includes the secret-related information, the secret-related information can be transmitted through an interface or a compressed file after being encrypted in a full message.
According to the embodiment of the disclosure, the page transmission mode is determined through the page content information, and the page data required by page display can be acquired from the target service platform under the condition of ensuring the safety of user information.
According to the embodiment of the disclosure, acquiring page data required for displaying page service content information from a target service platform according to a page data transmission mode comprises the following steps:
under the condition that the page data transmission mode is determined to be page jump transmission, sending an access request instruction to a target service platform, wherein the access request instruction comprises uniform resource locator address information;
and acquiring page data from the target service platform according to the uniform resource locator address information.
According to the embodiment of the disclosure, the page jump transmission mode can be a URL jump link. Taking page service content information as an example of an educational service, a target service platform may be a certain public educational resource platform, and an access request instruction sent to the public educational resource platform may include uniform resource locator address information (URL address information), and acquires page data through a jump link of a page, for example: public class packets for XX classes, and so on.
According to the embodiment of the disclosure, the page data which does not contain the confidential information is obtained from the target service platform through the uniform resource locator address, so that the dynamic access to the page data is realized.
According to the embodiment of the disclosure, acquiring page data required for displaying page service content information from a target service platform according to a page data transmission mode comprises the following steps:
under the condition that the transmission mode of the page data is determined to be through the encryption interface, sending a first page data request instruction to the target service platform, wherein the first page data request instruction comprises first key information;
and receiving first page data returned by the target service platform, wherein the first page data is obtained by encrypting the first page data to be transmitted by the target service platform according to the first key information.
According to an embodiment of the present disclosure, the first Key information includes page data request encryption data and Key1 data encrypted by the AES encryption algorithm. The method comprises the steps of determining Key1 data through an AES (advanced encryption Standard) encryption algorithm, encrypting Key1 data through the AES encryption algorithm by utilizing public Key information configured by a local core system, signing a page data request through the RSA encryption algorithm by utilizing private Key information configured by the local core system to obtain signature information, and encrypting the signature information through the AES algorithm by utilizing Key1 data to obtain page data request encrypted data.
According to the embodiment of the disclosure, the target service platform decrypts the Key1 data encrypted by the AES encryption algorithm according to the configured private Key information to obtain the Key1 data. And then, carrying out signature checking operation on the signature information through an RSA algorithm according to the public key information so as to obtain page request data.
According to the embodiment of the disclosure, the target service platform performs the same encryption operation on the first to-be-transmitted page data according to the decrypted page request data, and transmits the first to-be-transmitted page data to the local core system for front-end page display.
According to the embodiment of the disclosure, data transmission is performed in an encryption interface mode under the condition that the page service content information contains secret-related information, so that the information security is guaranteed while the dynamic data transmission is realized.
According to the embodiment of the disclosure, acquiring page data required for displaying page service content information from a target service platform according to a page data transmission mode comprises the following steps:
under the condition that the transmission mode of the page data is determined to be transmission through the encrypted file, sending a second page data request instruction to the target service platform, wherein the second page data request instruction comprises second key information;
and receiving second page data returned by the target service platform, wherein the second page data is obtained by the target service platform performing encryption processing and compression processing on the second page data to be transmitted according to the second key information.
According to an embodiment of the present disclosure, the second Key information page data requests encrypted data and Key2 data encrypted by the AES encryption algorithm. The method comprises the steps of determining Key2 data through an AES (advanced encryption Standard) encryption algorithm, encrypting Key2 data through the AES encryption algorithm by utilizing public Key information configured by a local core system, signing a page data request through the RSA encryption algorithm by utilizing private Key information configured by the local core system to obtain signature information, and encrypting the signature information through the AES algorithm by utilizing Key2 data to obtain page data request encrypted data.
According to the embodiment of the disclosure, the target service platform decrypts the Key2 data encrypted by the AES encryption algorithm according to the configured private Key information to obtain the Key2 data. And then, carrying out signature verification operation on the signature information through an RSA algorithm according to the public key information so as to obtain page request data.
According to the embodiment of the disclosure, the target service platform converts the second page data to be transmitted into the excel format file or the txr format file according to the decrypted page request data, then performs the same encryption operation, and transmits the second page data to be transmitted to the local core system for front-end page display.
According to the embodiment of the disclosure, data transmission is performed in an encrypted file mode under the condition that the page service content information contains secret-related information, so that the data dynamic transmission is realized, the information safety is guaranteed, and the data transmission pressure between a local core system and a target platform is reduced.
According to the embodiment of the disclosure, the displaying of the page data by rendering the page data according to the page configuration parameters includes:
calling a target page template from a configuration management system according to the page configuration parameters;
and according to the target page template, rendering the page data to display the page data.
According to the embodiment of the disclosure, the target page template can be updated by related personnel at regular time through a configuration management system, and can also be customized according to the requirements of users, so as to meet the display requirements of different users. The target page template can comprise page style, page subject, page color and page style. And calling a target page template according to the page configuration parameters, and displaying the page data according to the page style, the page theme, the page color and the page style in the target page template by rendering the page data.
According to the embodiment of the disclosure, the target page template may also include a page style template, a page theme template, a page color template, and a page style template, and the page style template, the page theme template, the page color template, and the page style template may be respectively called from the configuration management system according to the page configuration parameters, and then the page data may be displayed according to a combination template of the page style template, the page theme template, the page color template, and the page style template.
According to the embodiment of the disclosure, the target page template is called from the configuration management system through the page configuration parameters for page rendering, and diversification of the display style of the page data can be realized.
Fig. 3 schematically illustrates a logic block diagram of a page rendering method according to an embodiment of the present disclosure.
As shown in FIG. 3, the page rendering method of this embodiment includes S301 to S311
In operation S301, receiving a page service request instruction, where the page service request instruction includes page service content information;
in operation S302, it is determined whether the page service content information includes the confidential information by identifying the page service content information, and if so, operation S303 is performed, and if not, operation S305 is performed.
In operation S303, sending an access request instruction to the target service platform, where the access request instruction includes uniform resource locator address information;
in operation S304, obtaining page data from the target service platform according to the uniform resource locator address information, where the page data may be used to perform operation S310;
in operation S305, it is determined whether the amount of the page data to be transmitted exceeds a preset threshold, if so, operation S306 is performed, and if not, operation S308 is performed.
In operation S306, a first page data request command is sent to the target service platform, where the first page data request command includes first key information.
In operation S307, receiving first page data returned by the target service platform, where the first page data is obtained by the target service platform encrypting the first page data to be transmitted according to the first key information; the first page data may be used to perform S310.
In operation S308, a second page data request instruction is sent to the target service platform, where the second page data request instruction includes second key information.
In operation S309, receiving second page data returned by the target service platform, where the second page data is obtained by the target service platform performing encryption processing and compression processing on second page data to be transmitted according to second key information; the second page data may be used to perform S310.
In operation S310, determining a page configuration parameter according to the page data, wherein the page configuration parameter is obtained from the configuration management system by executing the task script; the page data may be acquired in any one of operation S304, operation S307, and operation S309.
In operation S311, the page data is displayed by rendering the page data according to the page configuration parameter.
Fig. 4a to 4b schematically show page rendering effect diagrams according to an embodiment of the present disclosure.
As shown in fig. 4a, the service content information of the convenience payment function module displayed in the page includes a gas fee bill service, a fixed phone bill service, a phone fee bill service, an electric fee recharging service, a gas fee recharging service, and a fixed phone recharging service.
According to the embodiment of the disclosure, when a user clicks a convenient payment function module in a page, a page service request instruction is sent to a local core system, and page service content information included in the page service request instruction is convenient payment. The page data transmission mode can be determined to be an encryption interface transmission mode by identifying the 'payment' field. Taking the mobile phone charge as an example, the encrypted page data request may be sent to the communication operator platform, and the communication operator platform obtains the page data request after decryption, and encrypts the page data to be transmitted according to the page data request and transmits the encrypted page data to the local core system through the encryption interface. And after receiving the page data, the local core system carries out decryption processing, determines page configuration parameters according to the page data, carries out rendering processing on the page data according to the page configuration parameters and displays the page data returned from the communication service platform.
As shown in fig. 4b, page data returned from the communication service platform is illustrated. The display page may include payment types, such as: a telephone fee. Number attribution information, for example: and XX. Information of the payment unit, for example: the name of the communications carrier. Cell phone number information, a number input display area which can be operated through a touch screen, and the like.
Based on the page rendering method, the disclosure also provides a page rendering device. The apparatus will be described in detail below with reference to fig. 5.
Fig. 5 schematically shows a block diagram of a structure of a page rendering apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the page rendering apparatus 500 of this embodiment includes a receiving module 510, a first determining module 520, an obtaining module 530, a second determining module 540, and a presenting module 550.
A receiving module 510, configured to receive a page service request instruction, where the page service request instruction includes page service content information. In an embodiment, the receiving module 510 may be configured to perform the operation S210 described above, which is not described herein again.
The first determining module 520 is configured to determine a page data transmission mode by identifying page service content information. In an embodiment, the first determining module 520 may be configured to perform the operation S220 described above, which is not described herein again.
An obtaining module 530, configured to obtain, from the target service platform, page data required for displaying the page service content information according to a page data transmission manner. In an embodiment, the obtaining module 530 may be configured to perform the operation S230 described above, which is not described herein again.
The second determining module 540 is configured to determine the page configuration parameters according to the page data, where the page configuration parameters are obtained from the configuration management system by executing the task script. In an embodiment, the second determining module 540 may be configured to perform the operation S240 described above, and is not described herein again.
And a display module 550, configured to display the page data by rendering the page data according to the page configuration parameter. The display module 550 may be configured to perform the operation S250 described above, and is not described herein again.
According to an embodiment of the present disclosure, the first determination module includes a first determination unit and a second determination unit. The first determining unit is configured to determine that the page data transmission mode is page skip transmission when the page content information does not include the confidential information. And the second determining unit is used for determining that the page data transmission mode is transmission through an encryption interface and/or transmission of an encrypted file under the condition that the page content information comprises confidential information.
According to an embodiment of the present disclosure, an acquisition module includes a first sending unit and a first acquisition unit. The first sending unit is used for sending an access request instruction to the target service platform under the condition that the page data transmission mode is determined to be page jump transmission, wherein the access request instruction comprises uniform resource locator address information. And the first acquisition unit is used for acquiring the page data from the target service platform according to the uniform resource locator address information.
According to an embodiment of the present disclosure, the acquisition module includes a second transmitting unit and a first receiving unit. The second sending unit is used for sending a first page data request instruction to the target service platform under the condition that the transmission mode of the page data is determined to be through the encryption interface, wherein the first page data request instruction comprises first key information. The first receiving unit is used for receiving first page data returned by the target service platform, wherein the first page data is obtained by the target service platform through encryption processing on the first page data to be transmitted according to the first key information.
According to an embodiment of the present disclosure, the obtaining module includes a third transmitting unit and a second receiving unit. The third sending unit is configured to send a second page data request instruction to the target service platform when it is determined that the page data transmission mode is transmission through an encrypted file, where the second page data request instruction includes second key information. And the second receiving unit is used for receiving second page data returned by the target service platform, wherein the second page data is obtained by carrying out encryption processing and compression processing on second page data to be transmitted by the target service platform according to the second key information.
According to an embodiment of the present disclosure, a presentation module includes a calling unit and a presentation unit. The calling unit is used for calling the target page template from the configuration management system according to the page configuration parameters. And the display unit is used for displaying the page data by rendering the page data according to the target page template.
According to the embodiment of the present disclosure, any plurality of the receiving module 510, the first determining module 520, the obtaining module 530, the second determining module 540, and the displaying module 550 may be combined and implemented in one module, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the receiving module 510, the first determining module 520, the obtaining module 530, the second determining module 540 and the displaying module 550 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementations of software, hardware and firmware, or implemented by a suitable combination of any several of them. Alternatively, at least one of the receiving module 510, the first determining module 520, the obtaining module 530, the second determining module 540, the presenting module 550 may be at least partially implemented as a computer program module, which when executed, may perform a corresponding function.
Fig. 6 schematically shows a block diagram of an electronic device adapted to implement a page rendering method according to an embodiment of the present disclosure.
As shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. Processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 601 may also include onboard memory for caching purposes. Processor 601 may include a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 602 and/or RAM 603. It is to be noted that the programs may also be stored in one or more memories other than the ROM 602 and RAM 603. The processor 601 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 600 may also include input/output (I/O) interface 605, input/output (I/O) interface 605 also connected to bus 604, according to an embodiment of the present disclosure. The electronic device 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include ROM 602 and/or RAM 603 and/or one or more memories other than ROM 602 and RAM 603 described above.
Embodiments of the present disclosure include a computer program product comprising a computer program containing program code for performing the method illustrated by the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the page rendering method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 601. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, downloaded and installed through the communication section 609, and/or installed from the removable medium 611. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program, when executed by the processor 601, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the disclosure, and these alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (10)

1. A page rendering method, comprising:
receiving a page service request instruction, wherein the page service request instruction comprises page service content information;
determining a page data transmission mode by identifying the page service content information;
acquiring page data required for displaying the page service content information from a target service platform according to the page data transmission mode;
determining page configuration parameters according to the page data, wherein the page configuration parameters are obtained from a configuration management system by executing a task script; and
and displaying the page data by rendering the page data according to the page configuration parameters.
2. The method of claim 1, wherein the determining a page data transmission mode according to the page content information comprises:
determining that the page data transmission mode is page jump transmission under the condition that the page content information does not include confidential information;
and under the condition that the page content information comprises confidential information, determining that the page data transmission mode is transmission through an encryption interface and/or encryption file transmission.
3. The method of claim 2, wherein the acquiring, from a target service platform according to the page data transmission manner, page data required for displaying the page service content information comprises:
under the condition that the page data transmission mode is determined to be page jump transmission, sending an access request instruction to the target service platform, wherein the access request instruction comprises uniform resource locator address information;
and acquiring the page data from the target service platform according to the uniform resource locator address information.
4. The method of claim 2, wherein the acquiring, from a target service platform according to the page data transmission manner, page data required for displaying the page service content information comprises:
under the condition that the transmission mode of the page data is determined to be through an encryption interface, sending a first page data request instruction to the target service platform, wherein the first page data request instruction comprises first key information;
and receiving the first page data returned by the target service platform, wherein the first page data is obtained by encrypting the first page data to be transmitted by the target service platform according to the first key information.
5. The method of claim 2, wherein the acquiring, from a target service platform according to the page data transmission manner, page data required for displaying the page service content information comprises:
under the condition that the transmission mode of the page data is determined to be transmission through an encrypted file, sending a second page data request instruction to the target service platform, wherein the second page data request instruction comprises second key information;
and receiving the second page data returned by the target service platform, wherein the second page data is obtained by the target service platform performing encryption processing and compression processing on second page data to be transmitted according to the second key information.
6. The method of claim 1, wherein the displaying the page data by rendering the page data according to the page configuration parameter comprises:
calling a target page template from the configuration management system according to the page configuration parameters;
and according to the target page template, rendering the page data to display the page data.
7. A page rendering apparatus, comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a page service request instruction, and the page service request instruction comprises page service content information;
the first determining module is used for determining a page data transmission mode by identifying the page service content information;
the acquisition module is used for acquiring page data required for displaying the page service content information from a target service platform according to the page data transmission mode;
the second determining module is used for determining page configuration parameters according to the page data, wherein the page configuration parameters are obtained from a configuration management system by executing a task script; and
and the display module is used for displaying the page data by rendering the page data according to the page configuration parameters.
8. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-6.
9. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 6.
CN202210274823.8A 2022-03-18 2022-03-18 Page rendering method, device, equipment and medium Pending CN114637938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210274823.8A CN114637938A (en) 2022-03-18 2022-03-18 Page rendering method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210274823.8A CN114637938A (en) 2022-03-18 2022-03-18 Page rendering method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114637938A true CN114637938A (en) 2022-06-17

Family

ID=81950155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210274823.8A Pending CN114637938A (en) 2022-03-18 2022-03-18 Page rendering method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114637938A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633140A (en) * 2022-12-23 2023-01-20 中央广播电视总台 Station caption, clock and auxiliary caption control method, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633140A (en) * 2022-12-23 2023-01-20 中央广播电视总台 Station caption, clock and auxiliary caption control method, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110515678B (en) Information processing method, equipment and computer storage medium
US11588642B2 (en) Method and apparatus for sharing and acquiring information
CN108681676B (en) Data management method and apparatus, system, electronic device, program, and storage medium
CN106254323A (en) The exchange method of a kind of TA and SE, TA, SE and TSM platform
CN113918904A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111245811A (en) Information encryption method and device and electronic equipment
CN114500093A (en) Safe interaction method and system for message information
CN114513373A (en) Trusted data exchange method, device, system, electronic equipment and storage medium
CN114637938A (en) Page rendering method, device, equipment and medium
CN113553302A (en) Credit report acquisition method, system, equipment and storage medium
CN110602700B (en) Seed key processing method and device and electronic equipment
CN115001828A (en) Secure access method, system, electronic device and medium for transaction data
CN111415148A (en) Method and device for non-inductive payment, electronic equipment and storage medium
CN114785560B (en) Information processing method, device, equipment and medium
CN114844694B (en) Information processing method, apparatus, device and storage medium
CN113742663B (en) Watermark file acquisition method and device and electronic equipment
CN114285815B (en) Application jump method and application jump device
CN115879135B (en) Bid data processing method, device, equipment and storage medium
CN112819469B (en) Payment method and system, terminal, server, computer system and medium
CN116471327B (en) Cloud resource processing method, device, equipment and storage medium
CN117376035B (en) Vehicle data transmission method, system, equipment and storage medium
CN114329373A (en) Method and equipment for electronic signature and signature verification of mobile terminal
CN113656782A (en) Method for aggregating identification codes, device for aggregating identification codes and electronic equipment
CN117422423A (en) Loan information processing method, device, equipment and storage medium
CN114338151A (en) Secure communication method based on open platform mobile terminal SDK and native application

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