WO2020042793A1 - 一种基于扫码操作的页面访问方法、装置及系统 - Google Patents

一种基于扫码操作的页面访问方法、装置及系统 Download PDF

Info

Publication number
WO2020042793A1
WO2020042793A1 PCT/CN2019/096275 CN2019096275W WO2020042793A1 WO 2020042793 A1 WO2020042793 A1 WO 2020042793A1 CN 2019096275 W CN2019096275 W CN 2019096275W WO 2020042793 A1 WO2020042793 A1 WO 2020042793A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
service
business
encrypted
address
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.)
Ceased
Application number
PCT/CN2019/096275
Other languages
English (en)
French (fr)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2020042793A1 publication Critical patent/WO2020042793A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Definitions

  • One or more of this specification relate to the field of Internet technologies, and in particular, to a method, a device, and a system for accessing pages based on code scanning operations.
  • the application of two-dimensional codes is becoming more and more widespread.
  • Users can use mobile terminals to scan two-dimensional codes to
  • the remote server requests a business page, where the business page is a page used to interact with the user, and providing corresponding business services to the user based on the business page rendered on the mobile terminal has become essential in people's daily life portion.
  • consumers use smartphones to scan payment codes to complete offline mobile payments
  • buyers use smartphones to scan merchants' QR codes to complete online product browsing and purchases.
  • the process in which the mobile terminal scans the two-dimensional code to request a service page from the remote server is specifically: after the mobile terminal scans the two-dimensional code, it sends a first acquisition request to the remote server, and the remote server responds to the first acquisition request to the first server.
  • the mobile terminal returns the service address.
  • the mobile terminal opens the service address and sends a second acquisition request to the remote server.
  • the remote server returns service data to the mobile terminal in response to the second acquisition request.
  • the business data is rendered to get the business page.
  • a remote server sends a service address and service data to the client at the same time, and The business data is encrypted and transmitted.
  • the client After receiving the business address and business data, the client first caches the business data to a local cache.
  • the corresponding business data is directly obtained from the local cache. This can not only ensure the security of business data transmission, but also reduce the number of network requests from the client to the remote server.
  • One or more embodiments of the present specification provide a page access method based on a code scanning operation, and the page providing method includes:
  • the client For the scanning operation of the monitored graphic code, the client sends a data acquisition request to the remote server;
  • the client generates a service page according to the service address and service data corresponding to the unique identifier obtained from the local cache.
  • One or more embodiments of the present specification provide a page access method based on a code scanning operation, and the page providing method includes:
  • the remote server receives a data acquisition request sent by a client, where the data acquisition request is generated by the client based on a monitored graphic code scanning operation;
  • the remote server obtains a service address and encrypted service data in response to the data acquisition request
  • One or more embodiments of the present specification provide a page access device based on a code scanning operation.
  • the page providing device includes:
  • a request sending module configured to send a data acquisition request to a remote server for a scanned graphic code scanning operation
  • An information receiving module configured to receive a service address and encrypted service data returned by the remote server in response to the data acquisition request
  • a page generating module is configured to generate a service page according to the service address and the encrypted service data.
  • One or more embodiments of the present specification provide a page access device based on a code scanning operation.
  • the page providing device includes:
  • a request receiving module configured to receive a data acquisition request sent by a client, wherein the data acquisition request is generated by the client based on a monitored graphic code scanning operation;
  • An information obtaining module configured to obtain a service address and encrypted service data in response to the data obtaining request
  • An information sending module configured to send the service address and the encrypted service data to the client, so that the client caches the encrypted service data in a local cache and according to the service An address and the encrypted business data obtained from the local cache generate a business page.
  • One or more embodiments of the present specification provide a page access device based on a scan operation, including: a processor; and
  • a memory arranged to store computer-executable instructions which, when executed, cause the processor to:
  • the service address includes a unique identifier of the service data
  • One or more embodiments of the present specification provide a page access device based on a scan operation, including: a processor; and
  • a memory arranged to store computer-executable instructions which, when executed, cause the processor to:
  • One or more embodiments of the present specification provide a storage medium for storing computer-executable instructions that, when executed, implement the following processes:
  • the service address includes a unique identifier of the service data
  • One or more embodiments of the present specification provide a storage medium for storing computer-executable instructions that, when executed, implement the following processes:
  • the method, device, and system for page access based on code scanning operations send a data acquisition request to a remote server for the monitored graphic code scanning operation; and receive the remote server in response to the data acquisition
  • the business address and encrypted business data returned by the request, and the encrypted business data is cached in the local cache; according to the business address and the business data obtained from the local cache and corresponding to the unique identifier in the business address To generate a business page.
  • the remote server sends the business address and service data to the client at the same time as the client ’s data acquisition request, and the service data is encrypted and transmitted.
  • the client receives the service address and After the business data, the business data is cached in the local cache first.
  • the corresponding business data is directly obtained from the local cache. This can not only ensure the security of business data transmission, but also reduce the number of clients. Number of network requests to the remote server.
  • FIG. 1 is a schematic diagram of an application scenario of a page access system based on a code scanning operation provided by one or more embodiments of the present specification
  • FIG. 2 is a first schematic flowchart of a page access method based on a code scanning operation provided by one or more embodiments of the present specification
  • FIG. 3 is a schematic flowchart of a second method for a page access method based on a code scanning operation provided by one or more embodiments of the present specification
  • FIG. 4 is a first schematic diagram of information interaction based on a code scanning operation-based page access method provided by one or more embodiments of the present specification
  • FIG. 5 is a schematic diagram of a second type of information interaction based on a code scanning operation-based page access method provided by one or more embodiments of the present specification
  • FIG. 6 is a third schematic diagram of information interaction based on a code scanning operation-based page access method provided by one or more embodiments of the present specification.
  • FIG. 7 is a fourth schematic diagram of information interaction based on a code scanning operation-based page access method provided by one or more embodiments of the present specification.
  • FIG. 8 is a third schematic flowchart of a page access method based on a code scanning operation provided by one or more embodiments of the present specification.
  • FIG. 9 is a schematic diagram of a module composition of a page access device based on a code scanning operation provided on a client according to one or more embodiments of the present specification.
  • FIG. 10 is a schematic diagram of a module composition of a page access device based on a code scanning operation provided in a remote server according to one or more embodiments of the present specification;
  • FIG. 11 is a schematic structural composition diagram of a page access system based on a code scanning operation provided by one or more embodiments of the present specification
  • FIG. 12 is a schematic structural diagram of a page access device based on a code scanning operation provided by one or more embodiments of the present specification.
  • One or more embodiments of the present specification provide a method, a device, and a system for accessing a page based on code scanning operations.
  • a remote server sends a service address and service data to the client at the same time, and sends the service to the client.
  • the data is encrypted and transmitted.
  • the client After receiving the business address and business data, the client first caches the business data in the local cache. When generating the business page based on the business address, the corresponding business data is directly obtained from the local cache. It can not only ensure the security of business data transmission, but also reduce the number of network requests from the client to the remote server.
  • FIG. 1 is a schematic diagram of an application scenario of a page access system based on a code scanning operation provided by one or more embodiments of the present specification.
  • the page providing system includes a client and a remote server, where the client It can be a mobile terminal such as a smart phone or a tablet computer, and the remote server can be a business server used to provide specified business services.
  • the specific process of generating a business page is:
  • the client monitors the scanning operation of the graphic code, it sends a data acquisition request to the remote server.
  • the client can be a smart phone with a code scanning function, and the process of scanning the graphic code to access the business page by the user using the smartphone ,
  • the data acquisition request sent by the smart phone to the remote server carries the code scanning information obtained by parsing from the graphic code;
  • the remote server After receiving the data acquisition request sent by the client, the remote server obtains the business address corresponding to the data acquisition request and the business data used to render the user interaction page, encrypts the business data, and then the business address Return to the client together with the encrypted business data, where the encrypted business data is independent of the business address, and the business address includes the unique identifier of the business data;
  • the client receives the business address and the encrypted business data, and caches the business data into a local cache.
  • the code scanning module in the client receives the business address and business data and caches the business data.
  • the business module in the client accesses the business address, and when the business module loads the business page based on the business address, it directly obtains the corresponding business data from the cache of the code scanning module to render the final business page.
  • FIG. 2 is a schematic diagram of a first process of a page access method based on a code scanning operation provided by one or more embodiments of the present specification.
  • the method in FIG. 2 can be executed by a client in FIG. 1. As shown in FIG. 2, The method includes at least the following steps:
  • the data acquisition request carries scanning code information obtained by scanning the graphic code.
  • the scanning graphic code The obtained code scanning information sends a data acquisition request carrying the code scanning information to a remote server.
  • the code scanning information may be a character string used to generate a graphic code, and the graphic code may be a two-dimensional code or a barcode;
  • the business address includes the unique identifier of the business data.
  • the business address is a web page link used to open a business page.
  • the business address can be a URL or a schema. Cache management of business data, you can add the unique identifier of the business data to the business address, so that when the client renders the business page, the client directly obtains the corresponding business data in the client ’s local cache based on the unique identifier in the business address;
  • S203 Generate a service page according to the received service address and the service data corresponding to the unique identifier in the service address obtained from the local cache, where the service page is a page used to interact with a user, for example, a service
  • the page can be a transfer page, information query page, etc.
  • the business data can include: payer information, payee information, etc.
  • the client accesses the business address and jumps to the corresponding initial business page Because the remote server has returned the business data with the business address and has cached the business data in the local cache, you can directly obtain the business data in the local cache and load the business data to the initial business page Render the final business page.
  • the remote server sends the business address and service data to the client at the same time as the client ’s data acquisition request, and the service data is encrypted and transmitted.
  • the client receives the service address and After the business data, the business data is cached in the local cache first.
  • the corresponding business data is directly obtained from the local cache. This can not only ensure the security of business data transmission, but also reduce the number of clients. Number of network requests to the remote server.
  • the required business data can be quickly and accurately obtained locally.
  • the above business address may include: a link part and business data
  • the unique identifier has a one-to-one correspondence with the business data.
  • the remote server stitches the unique identifier of the business data with the link part and sends it to the client as a business address.
  • the link part is https : //alipay.com/detail.htm
  • the AAAA is the unique identifier of the service data
  • the above S203 generates a service page according to the received service address and the service data corresponding to the unique identifier in the service address obtained from the local cache, which specifically include:
  • S2031 Open the received service address and determine the unique identifier in the service address
  • the location identifier correspondence between the storage location information used to store the service data in the local cache and the unique identifier can be recorded; when the service address is accessed, the corresponding correspondence according to the location identifier
  • the unique identifier in the relationship and business address determines the storage location information of the currently required business data, and reads the corresponding business data from the local cache based on the storage location information;
  • the encrypted business data can be directly stored in the local cache, and then when rendering the business page, the business data read from the local cache needs to be decrypted first; the encrypted business data can also be decrypted first, It is stored in the local cache, so that when rendering business pages, there is no need to decrypt business data;
  • S2033 Render the business page based on the decrypted business data obtained from the local cache. Specifically, update the business page code according to the decrypted business data to obtain the target business page code related to client information. The code renders a business page that is used to interact with the user.
  • the code scanning module in the client buffers the service data into a local cache, and the code scanning module sends the service address to the service module; the service module accesses and opens the service address
  • the service module accesses the local data acquisition service provided by the code scanning module according to the unique identifier, and obtains the unique identifier from the cache of the code scanning module.
  • the business data is encrypted data, the business data needs to be decrypted, and the final business page is rendered based on the decrypted business data.
  • the required business data is directly obtained from the local cache, thereby improving the rendering efficiency of the business page, and in the case of a network exception, Able to show users the corresponding business pages normally.
  • the first information interaction diagram of a page access method based on a code scanning operation specifically includes:
  • the client monitors the code scanning operation, it sends a code scanning request to the remote server.
  • the code scanning module in the client may send a code scanning request to the remote server.
  • the remote server After receiving the code scanning request, the remote server determines an original service address corresponding to the received code scanning request, for example, the original service address is https://alipay.com/detail.htm; and,
  • the remote server determines service data corresponding to the received code scanning request, and determines a unique identifier corresponding to the service data, where the unique identifier may be time stamp information;
  • the remote server adds a unique identifier to the tail of the original business address to obtain the spliced business address, and encrypts the business data to obtain the encrypted business data.
  • the spliced business address includes the link part. (That is, the original service address) and the unique identifier of the service data.
  • the remote server sends the spliced business address and the encrypted business data to the client. Specifically, the remote server may send the spliced business address and the encrypted business data to the code scanning module in the client.
  • the client After receiving the spliced business address and encrypted business data, the client caches the business data in a local cache. Specifically, the encrypted business data can be directly cached in the local cache, or the business data can be cached first. Perform decryption processing and cache the decrypted business data to a local cache;
  • the client opens the received service address, determines the unique identifier in the service address, and obtains the business data corresponding to the unique identifier from the local cache.
  • it can be a code scanning module in the client. Send the spliced business address to the business module in the client, and then when the business module visits the business page corresponding to the business address, determine the unique identifier in the business address, and obtain it from the cache of the code scanning module.
  • the unique identification corresponds to the business data; for example, the business address returned by the remote server is https://alipay.com/detail.htm?
  • data_token $ AAAA, when the service module in the client accesses the service page corresponding to the service address, the unique identifier AAAA in the service address is extracted, and the code scanning module is requested to obtain the service data corresponding to the unique identifier;
  • the client renders a business page based on the business data obtained from the local cache.
  • the business module in the client obtains the business data corresponding to the unique identifier in the business address from the code scanning module and renders the business page. Get the corresponding business page and display it on the client, for example, for the business address https://alipay.com/detail.htm?
  • data_token $ AAAA
  • the service page displayed on the client is a transfer page, so that the user can perform a transfer operation based on the transfer page.
  • a preset aging threshold is set to limit the survival time of business data, and the expired business data is automatically destroyed in time to realize the automatic release of the local cache storage space.
  • the storage time of the service data is greater than a preset aging threshold, where the survival time may be determined based on the cache start time of the service data and the current time stamp, and the preset aging
  • the threshold is the cache valid time
  • encryption and decryption rules can be agreed between the client and the remote server.
  • the encryption algorithm used by the remote server to encrypt the business data is dynamic. In this way, when the client decrypts the service data, the client needs to determine the decryption algorithm corresponding to the encryption algorithm of the service data to be decrypted, and then use the decryption algorithm to decrypt the service data. Based on this, S2032 above
  • the encrypted business data is decrypted to obtain the decrypted business data, which specifically includes:
  • Step 1 Determine a decryption algorithm corresponding to the encrypted business data encryption algorithm according to a preset encryption and decryption rule.
  • a preset encryption and decryption rule can be stored in the client and the remote server in advance.
  • the decryption rule includes: the encryption algorithm identifier, the correspondence between the encryption algorithm and the decryption algorithm, wherein the service address further includes: the encryption algorithm identifier, so that the client determines according to the preset encryption and decryption rules and the encryption algorithm identifier in the service address.
  • the decryption algorithm corresponding to the encrypted business data is
  • the encrypted business data is decrypted to obtain the decrypted business data.
  • the unique identifier and the encryption algorithm identifier can be combined into one, and the timestamp information can be used as the unique identifier of the business data, and the timestamp information can also be used as the encryption algorithm identifier, so that the client can use the time in the service address.
  • the stamp information can obtain the corresponding service data and determine the corresponding decryption algorithm.
  • the above unique identifier includes: time stamp information;
  • the first step above determines the decryption algorithm corresponding to the encryption algorithm of the encrypted service data according to the preset encryption and decryption rules, and specifically includes:
  • the decryption algorithm of the encrypted business data is determined.
  • the remote server when it encrypts the service data, it uses a target encryption algorithm corresponding to the current timestamp to encrypt the service data.
  • the above-mentioned preset encryption and decryption rules include: time period information, encryption algorithms, and decryption algorithms.
  • the remote server determine the encryption algorithm corresponding to the target time period where the current timestamp is located, determine the encryption algorithm as the target encryption algorithm, and then use the target encryption algorithm to service the business.
  • the data is encrypted; correspondingly, for the client, based on the preset encryption and decryption rules and the timestamp information in the business address, the encryption algorithm used for the encrypted business data is determined, and then the decryption used to decrypt the business data is determined algorithm.
  • the second type of information interaction diagram based on the code scanning operation of the page access method.
  • the business page is a Native page, it specifically includes:
  • the code scanning module in the client monitors the code scanning operation, it sends a code scanning request to the remote server.
  • the remote server After receiving the code scanning request, the remote server determines an original service address corresponding to the received code scanning request; and,
  • the remote server determines service data corresponding to the received code scanning request, and determines a unique identifier corresponding to the service data.
  • the remote server adds the unique identifier to the tail of the original service address to obtain the spliced service address, and encrypts the service data to obtain the encrypted service data.
  • the remote server sends the spliced service address and the encrypted service data to the code scanning module in the client;
  • the code scanning module in the client After the code scanning module in the client receives the spliced service address and the encrypted service data, it caches the service data in a local cache;
  • the code scanning module in the client requests the service module to open a service address.
  • S508 The service module in the client determines whether a unique identifier exists in the service address
  • S510 The service module in the client renders a service page based on the obtained service data.
  • the business module is an H5 container, which specifically includes:
  • the code scanning module in the client monitors the code scanning operation, it sends a code scanning request to the remote server.
  • the remote server After receiving the code scanning request, the remote server determines the original service address corresponding to the received code scanning request.
  • the remote server determines service data corresponding to the received code scanning request, and determines a unique identifier corresponding to the service data.
  • the remote server adds the unique identifier to the tail of the original service address to obtain the spliced service address, and encrypts the service data to obtain the encrypted service data.
  • the remote server sends the spliced service address and the encrypted service data to the code scanning module in the client;
  • the code scanning module in the client After receiving the spliced service address and the encrypted service data, the code scanning module in the client buffers the service data into a local cache;
  • the code scanning module in the client requests the H5 container to open the service address.
  • S608 The H5 container in the client determines whether a unique identifier exists in the service address
  • S610 The H5 container in the client renders a service page based on the obtained service data.
  • the business module is an H5 container, which specifically includes:
  • the code scanning module in the client monitors the code scanning operation, it sends a code scanning request to the remote server.
  • the remote server After receiving the code scanning request, the remote server determines the original service address corresponding to the received code scanning request.
  • the remote server determines service data corresponding to the received code scanning request, and determines a unique identifier corresponding to the service data.
  • the remote server adds a unique identifier to the tail of the original service address to obtain the spliced service address, and encrypts the service data to obtain the encrypted service data.
  • the remote server sends the spliced service address and the encrypted service data to the code scanning module in the client;
  • S707 The code scanning module in the client requests the H5 container to open a service address
  • the H5 container in the client accesses the business address and initializes the static page.
  • S711 The H5 container in the client renders a service page based on the obtained service data.
  • the page access method based on code scanning operation sends a data acquisition request to a remote server for a scanned graphic code scanning operation; and receives a data server request returned by the remote server in response to the data acquisition request.
  • Business address and encrypted business data and cache the encrypted business data into a local cache; generate a business page based on the business address and business data corresponding to the unique identifier in the business address obtained from the local cache .
  • the remote server sends the business address and service data to the client at the same time as the client ’s data acquisition request, and the service data is encrypted and transmitted.
  • the client receives the service address and After the business data, the business data is cached in the local cache first.
  • the corresponding business data is directly obtained from the local cache. This can not only ensure the security of business data transmission, but also reduce the number of clients. Number of network requests to the remote server.
  • one or more embodiments of this specification also provide a page access method based on the code scanning operation.
  • the flow chart of the method for page access based on code scanning operation provided by one or more embodiments of the specification.
  • the method in FIG. 8 can be executed by the remote server in FIG. 1. As shown in FIG. 8, the method includes at least the following steps:
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • the above S802 responds to the received data acquisition request to obtain the service address and the encrypted service data, which specifically include:
  • Step 1 determine a link part and business data corresponding to the received data acquisition request; and determine a unique identifier corresponding to the business data;
  • Step 2 Generate a business address according to the determined link part and the unique identifier
  • Step three encrypt the determined service data to obtain encrypted service data.
  • the page access method based on code scanning operation receives a data acquisition request sent by a client, and responds to the data acquisition request to acquire a business address and encrypted business data; the acquired service
  • the address and the encrypted business data are sent to the client, so that the client caches the encrypted business data into a local cache, and according to the uniqueness of the received business address and the service address obtained from the local cache Generate business pages by identifying the corresponding business data.
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • this embodiment in this specification is based on the same inventive concept as the previous embodiment in this specification. Therefore, the specific implementation of this embodiment can refer to the implementation of the foregoing method of page access based on code scanning operations. To repeat.
  • one or more embodiments of the present specification also provide a page access device based on the code scanning operation.
  • the device is set on the client side, and the device is used to execute the page access method based on the code scanning operation described in FIG. 2 to FIG. 7.
  • the device includes:
  • a request sending module 901 configured to send a data acquisition request to a remote server for a scanned graphic code scanning operation
  • An information receiving module 902 configured to receive a service address and encrypted service data returned by the remote server in response to the data acquisition request, wherein the encrypted service data is independent of the service address, and
  • the business address includes a unique identifier of the business data
  • a page generating module 904 is configured to generate a service page according to the service address and service data corresponding to the unique identifier obtained from the local cache.
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • the page generating module 904 is specifically configured to:
  • a business page is rendered.
  • the above device further includes a data deletion module, wherein the data deletion module is configured to:
  • the page generation module 904 is further specifically configured to:
  • decrypt the encrypted service data Based on the determined decryption algorithm, decrypt the encrypted service data to obtain the decrypted service data.
  • the unique identifier includes: time stamp information
  • page generation module 904 is further specifically used for:
  • a decryption algorithm for the encrypted service data is determined according to the target encryption algorithm.
  • the foregoing request sending module 901 is specifically configured to:
  • the page access device based on a code scanning operation sends a data acquisition request to a remote server for a monitored graphic code scanning operation; and receives a data server request returned by the remote server in response to the data acquisition request.
  • Business address and encrypted business data and cache the encrypted business data into a local cache; generate a business page based on the business address and business data corresponding to the unique identifier in the business address obtained from the local cache .
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • this embodiment in this specification is based on the same inventive concept as the first embodiment in this specification. Therefore, the specific implementation of this embodiment can refer to the implementation of the foregoing page access method based on code scanning operations, and the duplicates will not be repeated. To repeat.
  • FIG. 10 is one or Schematic diagram of the module composition of a page access device based on code scanning operations provided by various embodiments.
  • the device is provided on the remote server side.
  • the device is used to perform the method of page access based on code scanning operations described in FIG. 8, as shown in FIG. 10.
  • the device includes:
  • the request receiving module 1001 is configured to receive a data acquisition request sent by a client, where the data acquisition request is generated by the client based on a monitored graphic code scanning operation;
  • An information obtaining module 1002 configured to obtain a service address and encrypted service data in response to the data obtaining request;
  • An information sending module 1003 configured to send the service address and the encrypted service data to the client, so that the client caches the encrypted service data in a local cache and according to the A service page and the encrypted service data obtained from the local cache generate a service page.
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • the foregoing information obtaining module 1002 is specifically configured to:
  • the service data is encrypted to obtain encrypted service data.
  • the page access device based on the code scanning operation in one or more embodiments of the present specification receives a data acquisition request sent by a client, and responds to the data acquisition request to acquire a business address and encrypted business data; the acquired service The address and the encrypted business data are sent to the client, so that the client caches the encrypted business data into a local cache, and according to the uniqueness of the received business address and the service address obtained from the local cache Generate business pages by identifying the corresponding business data.
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • this embodiment in this specification is based on the same inventive concept as the first embodiment in this specification. Therefore, the specific implementation of this embodiment can refer to the implementation of the foregoing page access method based on code scanning operations, and the duplicates are not repeated To repeat.
  • one or more embodiments of this specification also provide a page access system based on code scanning operations.
  • the structure and composition diagram of a page access system based on code scanning operations provided by one or more embodiments of the specification, as shown in FIG. 11, the system includes: a client 20 and a remote server 10;
  • the client 20 is configured to send a data acquisition request to the remote server 10 for the monitored graphic code scanning operation; and receive the service address and encrypted service data returned by the remote server 10, and send the encrypted service Data is cached in a local cache; a business page is generated based on the received business address and the encrypted business data obtained from the local cache, where the encrypted business data is independent of the business address, and the business address includes all The unique identification of the business data;
  • the remote server 10 is configured to receive a data acquisition request sent by the client 20; in response to the data acquisition request, obtain a service address and encrypted service data; and send the obtained service address and encrypted service data to the client 20.
  • a page access system based on a code scanning operation sends a data acquisition request to a remote server for a scanned graphic code scanning operation; and receives a data server request returned by the remote server in response to the data acquisition request.
  • Business address and encrypted business data and cache the encrypted business data into a local cache; generate a business page based on the business address and business data corresponding to the unique identifier in the business address obtained from the local cache .
  • the remote server sends the service address and service data to the client at the same time as the data acquisition request from the client, and the service data is encrypted and transmitted, so that the service data transmission can be guaranteed. Security can also reduce the number of network requests from the client to the remote server.
  • one or more embodiments of the present specification also provide a page access device based on a code scanning operation, and the device is configured to perform the foregoing
  • the method of page access based on code scanning is shown in Figure 12.
  • Page access devices based on code scanning operations may have large differences due to different configurations or performance, and may include one or more processors 1301 and memory 1302.
  • the memory 1302 may store one or more storage applications or data. .
  • the memory 1302 may be a temporary storage or a persistent storage.
  • the application program stored in the memory 1302 may include one or more modules (not shown), and each module may include a series of computer-executable instructions in a page access device based on a code scanning operation.
  • the processor 1301 may be configured to communicate with the memory 1302 and execute a series of computer-executable instructions in the memory 1302 on a page access device based on a scan operation.
  • the page access device based on the code scanning operation may further include one or more power sources 1303, one or more wired or wireless network interfaces 1304, one or more input / output interfaces 1305, one or more keyboards 1306, and the like.
  • the page access device based on the code scanning operation includes a memory and one or more programs.
  • One or more programs are stored in the memory, and one or more programs may include one or one.
  • the above modules, and each module may include a series of computer-executable instructions in a page access device based on a code scanning operation, and configured to be executed by one or more processors.
  • the one or more programs include for performing the following Computer executable instructions:
  • the service address includes a unique identifier of the service data
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • generating a service page according to the service address and service data corresponding to the unique identifier obtained from the local cache includes:
  • a business page is rendered.
  • the computer-executable instructions when executed, further include the following computer-executable instructions:
  • the method further includes:
  • the decrypting the encrypted service data to obtain the decrypted service data includes:
  • decrypt the encrypted service data Based on the determined decryption algorithm, decrypt the encrypted service data to obtain the decrypted service data.
  • the unique identifier includes: time stamp information
  • the determining a decryption algorithm corresponding to the encryption algorithm of the encrypted service data includes:
  • a decryption algorithm for the encrypted service data is determined according to the target encryption algorithm.
  • the sending a data acquisition request to the remote server for the monitored graphic code scanning operation includes:
  • the page access device based on a code scanning operation sends a data acquisition request to a remote server for a monitored graphic code scanning operation; and receives a data server request returned by the remote server in response to the data acquisition request.
  • Business address and encrypted business data and cache the encrypted business data into a local cache; generate a business page based on the business address and business data corresponding to the unique identifier in the business address obtained from the local cache .
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • the page access device based on the code scanning operation includes a memory and one or more programs.
  • One or more programs are stored in the memory, and one or more programs may include one or More than one module, and each module may include a series of computer-executable instructions in a code-based page access device, and configured to be executed by one or more processors.
  • the one or more programs include The following computer-executable instructions:
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • obtaining the service address and the encrypted service data in response to the data acquisition request includes:
  • the service data is encrypted to obtain encrypted service data.
  • a page access device based on a code scanning operation receives a data acquisition request sent by a client, and responds to the data acquisition request to acquire a business address and encrypted business data; the acquired service The address and the encrypted business data are sent to the client, so that the client caches the encrypted business data into a local cache, and according to the uniqueness of the received business address and the service address obtained from the local cache Generate business pages by identifying the corresponding business data.
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • one or more embodiments of this specification also provide a storage medium for storing computer-executable instructions, a specific implementation
  • the storage medium may be a U disk, an optical disk, a hard disk, and the like.
  • the service address includes a unique identifier of the service data
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • the service page is generated according to the service address and service data corresponding to the unique identifier obtained from the local cache.
  • a business page is rendered.
  • the method further includes:
  • the decrypting the encrypted service data to obtain the decrypted service data includes:
  • decrypt the encrypted service data Based on the determined decryption algorithm, decrypt the encrypted service data to obtain the decrypted service data.
  • the unique identifier includes: time stamp information;
  • the determining a decryption algorithm corresponding to the encryption algorithm of the encrypted service data includes:
  • a decryption algorithm for the encrypted service data is determined according to the target encryption algorithm.
  • the sending a data acquisition request to a remote server for a monitored graphic code scanning operation includes:
  • a data acquisition request is sent to a remote server for a monitored graphic code scanning operation; a remote server is received in response to the The business address and encrypted business data returned by the data acquisition request, and the encrypted business data is cached in the local cache; according to the business address and the unique identifier in the business address obtained from the local cache, the corresponding Business data to generate business pages.
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. Security can also reduce the number of network requests from the client to the remote server.
  • the storage medium may be a U disk, an optical disk, a hard disk, and the like.
  • the following processes can be implemented:
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. This can ensure the transmission of service data. Security can also reduce the number of network requests from the client to the remote server.
  • the acquiring a service address and encrypted service data in response to the data acquisition request includes:
  • the service data is encrypted to obtain encrypted service data.
  • the computer-executable instructions stored in the storage medium in one or more embodiments of this specification when executed by the processor, receive a data acquisition request sent by the client, and in response to the data acquisition request, acquire a business address and encrypted business data. ; Send the obtained business address and encrypted business data to the client, so that the client caches the encrypted business data in a local cache, and according to the received business address and the The business data corresponding to the unique identifier in the business address generates a business page.
  • the remote server sends the business address and service data to the client at the same time as the data acquisition request from the client, and encrypts and transmits the service data before transmission. Security can also reduce the number of network requests from the client to the remote server.
  • a programmable logic device Programmable Logic Device (PLD)
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor. , Logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, With the Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory.
  • the controller may take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor. , Logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are
  • controller logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded controllers by logically programming the method steps. Microcontrollers, etc. to achieve the same function. Therefore, such a controller can be regarded as a hardware component, and a device included in the controller for implementing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions can be regarded as a structure that can be both a software module implementing the method and a hardware component.
  • the system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or a product with a certain function.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • one or more embodiments of the present specification may be provided as a method, a system, or a computer program product. Therefore, one or more of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, one or more of this specification may employ computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. form.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, so that the instructions generated by the processor of the computer or other programmable data processing device are used to generate Means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to work in a particular manner such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device, the instructions
  • the device implements the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
  • a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
  • processors CPUs
  • input / output interfaces output interfaces
  • network interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-persistent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information can be stored by any method or technology.
  • Information can be computer-readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media may be used to store information that can be accessed by computing devices.
  • computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.
  • one or more embodiments of the present specification may be provided as a method, a system, or a computer program product. Therefore, one or more of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, one or more of this specification may employ computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. form.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • program modules may also be practiced in a distributed computing environment in which tasks are performed by a remote processing device connected through a communication network.
  • program modules may be located in local and remote computer storage media, including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Storage Device Security (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本说明书一个或多个实施例提供了一种基于扫码操作的页面访问方法、装置及系统,其中,该方法包括:针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;接收远端服务器响应于该数据获取请求而返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中;根据该业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。

Description

一种基于扫码操作的页面访问方法、装置及系统 技术领域
本说明书一个或多个涉及互联网技术领域,尤其涉及一种基于扫码操作的页面访问方法、装置及系统。
背景技术
目前,随着移动互联网技术的快速发展,以及随着移动终端(例如,智能手机)功能的不断升级,同时,二维码的应用越来越广泛,用户可以使用移动终端扫描二维码来向远端服务器请求业务页面,其中,该业务页面为用于与用户进行交互的页面,并基于在移动终端上渲染得到的业务页面为用户提供相应的业务服务已经成为人们日常生活中必不可少的一部分。例如,消费者使用智能手机扫描付款码,以完成线下移动支付,又如,买家使用智能手机扫描商家二维码,以完成线上商品浏览及购买等等。
其中,移动终端扫描二维码来向远端服务器请求业务页面的过程,具体为:移动终端扫描二维码后,向远端服务器发送第一获取请求,远端服务器针对该第一获取请求向移动终端返回业务地址,移动终端接收到该业务地址后,打开该业务地址并向远端服务器发送第二获取请求,远端服务器针对该第二获取请求向移动终端返回业务数据,移动终端基于该业务数据渲染得到业务页面。
由此可知,需要提供一种安全性高且网络请求次数少的基于扫码操作的页面访问方案。
发明内容
本说明书一个或多个实施例的目的是提供一种基于扫码操作的页面访问方法、装置及系统,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,客户端在接收到业务地址和业务数据后,先将业务数据缓存至本地缓存中,在基于业务地址生成业务页面时,直接从本地缓存中获取对应的业务数据,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
为解决上述技术问题,本说明书一个或多个实施例是这样实现的:
本说明书一个或多个实施例提供了一种基于扫码操作的页面访问方法,该页面提供方法包括:
针对监听到的图形码扫描操作,客户端向远端服务器发送数据获取请求;
所述客户端接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
所述客户端根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
本说明书一个或多个实施例提供了一种基于扫码操作的页面访问方法,该页面提供方法包括:
远端服务器接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
所述远端服务器响应于所述数据获取请求,获取业务地址和加密后的业务数据;
所述远端服务器将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
本说明书一个或多个实施例提供了一种基于扫码操作的页面访问装置,该页面提供装置包括:
请求发送模块,用于针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
信息接收模块,用于接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据;
页面生成模块,用于根据所述业务地址和所述加密后的业务数据,生成业务页面。
本说明书一个或多个实施例提供了一种基于扫码操作的页面访问装置,该页面提供装置包括:
请求接收模块,用于接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
信息获取模块,用于响应于所述数据获取请求,获取业务地址和加密后的业务数据;
信息发送模块,用于将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
本说明书一个或多个实施例提供了一种基于扫码操作的页面访问设备,包括:处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
本说明书一个或多个实施例提供了一种基于扫码操作的页面访问设备,包括:处理器;以及
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
响应于所述数据获取请求,获取业务地址和加密后的业务数据;
将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
本说明书一个或多个实施例提供了一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:
针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
本说明书一个或多个实施例提供了一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:
接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
响应于所述数据获取请求,获取业务地址和加密后的业务数据;
将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
本说明书一个或多个实施例中的基于扫码操作的页面访问方法、装置及系统,针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;接收远端服务器响应于该数据获取请求而返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中;根据该业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,客户端在接收到业务地址和业务数据后,先将业务数据缓存至本地缓存中,在基于业务地址生成业务页面时,直接从本地缓存中获取对应的业务数据,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
附图说明
为了更清楚地说明本说明书一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书一个或多个中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本说明书一个或多个实施例提供的基于扫码操作的页面访问系统的应用场景 示意图;
图2为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的第一种流程示意图;
图3为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的第二种流程示意图;
图4为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的第一种信息交互示意图;
图5为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的第二种信息交互示意图;
图6为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的第三种信息交互示意图;
图7为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的第四种信息交互示意图;
图8为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的第三种流程示意图;
图9为本说明书一个或多个实施例提供的设置于客户端的基于扫码操作的页面访问装置的模块组成示意图;
图10为本说明书一个或多个实施例提供的设置于远端服务器的基于扫码操作的页面访问装置的模块组成示意图;
图11为本说明书一个或多个实施例提供的基于扫码操作的页面访问系统的结构组成示意图;
图12为本说明书一个或多个实施例提供的基于扫码操作的页面访问设备的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本说明书一个或多个中的技术方案,下面将结合本说明书一个或多个实施例中的附图,对本说明书一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一个或多个一部分实施例, 而不是全部的实施例。基于本说明书一个或多个中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本说明书一个或多个保护的范围。
本说明书一个或多个实施例提供了一种基于扫码操作的页面访问方法、装置及系统,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,客户端在接收到业务地址和业务数据后,先将业务数据缓存至本地缓存中,在基于业务地址生成业务页面时,直接从本地缓存中获取对应的业务数据,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
图1为本说明书一个或多个实施例提供的基于扫码操作的页面访问系统的应用场景示意图,如图1所示,该页面提供系统包括:客户端和远端服务器,其中,该客户端可以是智能手机、平板电脑等移动终端,该远端服务器可以是用于提供指定业务服务的业务服务器,其中,业务页面生成的具体过程为:
首先,客户端监听到图形码扫描操作后,向远端服务器发送数据获取请求,具体的,该客户端可以是具有扫码功能的智能手机,针对用户使用智能手机扫描图形码访问业务页面的过程,智能手机向远端服务器发送的数据获取请求中携带有从图形码中解析得到的扫码信息;
然后,远端服务器接收到客户端发送的数据获取请求后,获取与该数据获取请求对应的业务地址和用于渲染用户交互页面的业务数据,并将该业务数据进行加密处理,再将业务地址和加密后的业务数据一同返回给客户端,其中,该加密后的业务数据独立于该业务地址,该业务地址包括业务数据的唯一性标识;
最后,客户端接收业务地址和加密后的业务数据,并将该业务数据缓存至本地缓存中,在渲染业务页面时,基于该业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据渲染得到业务页面,其中,该业务页面为用于与用户进行交互的页面,具体的,客户端中的扫码模块接收到业务地址和业务数据并将业务数据进行缓存后,请求客户端中的业务模块访问该业务地址,以及业务模块在基于该业务地址加载业务页面时,直接从扫码模块的缓存中获取相应的业务数据,以渲染得到最终的业务页面。
图2为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的第一种流程示意图,图2中的方法能够由图1中的客户端执行,如图2所示,该方法至少包括以 下步骤:
S201,针对监听到的图形码扫描操作,向远端服务器发送数据获取请求,其中,针对扫码操作,该数据获取请求中携带有扫描图形码得到的扫码信息,具体的,获取扫描图形码得到的扫码信息,向远端服务器发送携带有扫码信息的数据获取请求,该扫码信息可以是生成图形码所用的字符串,该图形码可以是二维码或是条形码;
S202,接收远端服务器响应于上述数据获取请求而返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中,其中,该加密后的业务数据独立于该业务地址,该业务地址包括业务数据的唯一性标识,具体的,该业务地址是用于打开业务页面的网页链接,该业务地址可以是一个URL,也可以是一个schema,为了便于客户端对接收到的业务数据进行缓存管理,可以在业务地址中添加业务数据的唯一性标识,这样客户端在渲染业务页面时,直接根据业务地址中的唯一性标识在客户端本地缓存中获取对应的业务数据;
S203,根据接收到的业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面,其中,该业务页面是用于与用户进行交互的页面,例如,业务页面可以是转账页面、信息查询页面等等,针对转账页面而言,业务数据可以包括:付款方信息、收款方信息等,具体的,客户端访问业务地址并跳转至对应的初始业务页面,由于远端服务器已将业务数据与业务地址一同返回,并且已将该业务数据缓存至本地缓存中,此时可以直接在本地缓存中获取该业务数据,并将该业务数据加载至初始业务页面中渲染得到最终的业务页面。
本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,客户端在接收到业务地址和业务数据后,先将业务数据缓存至本地缓存中,在基于业务地址生成业务页面时,直接从本地缓存中获取对应的业务数据,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
进一步的,为了便于客户端对业务数据进行数据管理,以及在渲染业务页面时,能够快速、准确地从本地获取到所需的业务数据,基于此,上述业务地址可以包括:链接部分和业务数据的唯一性标识,其中,该唯一性标识与业务数据具有一一对应的关系,远端服务器将业务数据的唯一性标识与链接部分拼接后作为业务地址发送给客户端,例如,链接部分为https://alipay.com/detail.htm,则拼接后的业务地址为https://alipay.com/detail.htm?data_token=$AAAA,该AAAA即为业务数据的唯一性标识;
对应的,如图3所示,上述S203根据接收到的业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面,具体包括:
S2031,打开接收到的业务地址,并确定该业务地址中的唯一性标识;
S2032,从本地缓存中,读取与业务地址中的唯一性标识对应的加密后的业务数据,并对该加密后的业务数据进行解密处理,得到解密后的业务数据;
具体的,在向本地缓存中存储业务数据时,可以记录本地缓存中用于存储业务数据的存储位置信息和唯一性标识之间的位置标识对应关系;在访问业务地址时,根据该位置标识对应关系和业务地址中的唯一性标识,确定当前所需的业务数据的存储位置信息,根据该存储位置信息从本地缓存中读取相应的业务数据;
其中,可以直接将加密后的业务数据存储本地缓存中,然后在渲染业务页面时,需要先对从本地缓存中读取的业务数据进行解密处理;还可以先将加密后的业务数据解密后,再存储本地缓存中,这样在渲染业务页面时,无需进行业务数据解密;
S2033,基于从本地缓存中获取且解密后的业务数据,渲染得到业务页面,具体的,根据解密后的业务数据更新业务页面代码得到与客户端信息相关的目标业务页面代码,基于该目标业务页面代码渲染得到用于与用户进行交互的业务页面。
具体的,客户端中的扫码模块接收到业务地址和业务数据后,将该业务数据缓存至本地缓存中,以及扫码模块将该业务地址发送给业务模块;该业务模块访问并打开业务地址中的链接部分,并且业务模块在确定出业务地址中包含唯一性标识时,根据该唯一性标识访问扫码模块提供的本地数据获取的服务,从扫码模块的缓存中获取与该唯一性标识对应的业务数据,若该业务数据为加密数据,则需要对该业务数据进行解密处理,基于解密后的业务数据渲染得到最终的业务页面。
在本说明书提供的一个或多个实施例中,在客户端渲染业务页面时,直接从本地缓存中获取所需的业务数据,从而提高业务页面的渲染效率,并且针对网络异常的情况下,仍能够正常地为用户展示相应的业务页面。
在一个具体实施例中,如图4所示,基于扫码操作的页面访问方法的第一种信息交互示意图,具体包括:
S401,客户端监听到扫码操作后,向远端服务器发送扫码请求,具体的,可以是由客户端中的扫码模块向远端服务器发送扫码请求;
S402,远端服务器接收到扫码请求后,确定与接收到的扫码请求对应的原始业务地址,例如,原始业务地址为https://alipay.com/detail.htm;以及,
S403,远端服务器确定与接收到的扫码请求对应的业务数据,以及确定与该业务数据对应的唯一性标识,其中,该唯一性标识可以是时间戳信息;
S404,远端服务器将唯一性标识添加至原始业务地址的尾端得到拼接后的业务地址,以及对业务数据进行加密处理得到加密后的业务数据,其中,该拼接后的业务地址包括:链接部分(即原始业务地址)和业务数据的唯一性标识,该唯一性标识可以是对业务数据进行加密时的当前时间戳,例如,拼接后的业务地址为https://alipay.com/detail.htm?data_token=$AAAA,该AAAA即为业务数据的唯一性标识;
S405,远端服务器向客户端发送拼接后的业务地址和加密后的业务数据,具体的,可以是将拼接后的业务地址和加密后的业务数据发送给客户端中的扫码模块;
S406,客户端接收到拼接后的业务地址和加密后的业务数据后,将业务数据缓存至本地缓存中,具体的,可以直接将加密后的业务数据缓存至本地缓存,也可以先对业务数据进行解密处理再将解密后的业务数据缓存至本地缓存;
S407,客户端打开接收到的业务地址,确定该业务地址中的唯一性标识,以及从本地缓存中获取与该唯一性标识对应的业务数据,具体的,可以是由客户端中的扫码模块向客户端中的业务模块发送拼接后的业务地址,再由该业务模块在访问该业务地址对应的业务页面时,确定该业务地址中的唯一性标识,以及从扫码模块的缓存中获取与该唯一性标识对应的业务数据;例如,远端服务器返回的业务地址为https://alipay.com/detail.htm?data_token=$AAAA,则客户端中的业务模块访问该业务地址对应的业务页面时,提取出业务地址中的唯一性标识AAAA,并向扫码模块请求获取与该唯一性标识对应的业务数据;
S408,客户端基于从本地缓存中获取的业务数据,渲染得到业务页面,具体的,客户端中的业务模块从扫码模块处获取到与业务地址中的唯一性标识对应的业务数据后,渲染得到相应的业务页面并在客户端显示该业务页面,例如,针对业务地址为https://alipay.com/detail.htm?data_token=$AAAA的情况,在客户端显示的业务页面为转账页面,以便用户基于该转账页面进行转账操作。
进一步的,为了确保本地缓存空间充足,通过设置预设时效阈值,来限定业务数据的存活时间,及时对过期的业务数据进行自动销毁,以实现自动释放本地缓存的存储空 间,基于此,在将接收到的加密后的业务数据缓存至本地缓存中之后,还包括:
针对本地缓存中的每个业务数据,判断该业务数据的存放时间是否大于预设时效阈值,其中,该存活时间可以是根据业务数据的缓存起始时间与当前时间戳确定的,该预设时效阈值即为缓存有效时间;
若是,则删除存放时间大于预设时效阈值的业务数据,具体的,当业务数据的存放时间大于预设时效阈值时,说明该业务数据为超期数据,需要将其从本地缓存中移除。
进一步的,为了提高业务数据的破解难度,进而提高业务数据的安全性,可以在客户端和远端服务器之间约定加解密规则,远端服务器在对业务数据进行加密所选用的加密算法是动态变化的,这样客户端在对业务数据进行解密时,需要先确定与待解密的业务数据的加密算法对应的解密算法,再使用该解密算法对业务数据进行解密处理,基于此,上述S2032对该加密后的业务数据进行解密处理,得到解密后的业务数据,具体包括:
步骤一,根据预设加解密规则,确定与加密后的业务数据的加密算法对应的解密算法,具体的,可以预先在客户端和远端服务器中均存储预设加解密规则,该预设加解密规则包括:加密算法标识、加密算法以及解密算法之间的对应关系,其中,上述业务地址还包括:加密算法标识,这样客户端根据预设加解密规则和业务地址中的加密算法标识,确定加密后的业务数据对应的解密算法;
基于确定出的解密算法,对加密后的业务数据进行解密处理,得到解密后的业务数据。
进一步的,可以将唯一性标识和加密算法标识合二为一,将时间戳信息作为业务数据的唯一性标识,同时也可以将时间戳信息作为加密算法标识,这样客户端根据业务地址中的时间戳信息即可以获取到相应的业务数据,又可以确定出相应的解密算法,对应的,上述唯一性标识包括:时间戳信息;
上述步骤一根据预设加解密规则,确定与加密后的业务数据的加密算法对应的解密算法,具体包括:
根据预设加解密规则,确定与加密后的业务数据的时间戳信息对应的目标加密算法;
根据确定出的目标加密算法,确定加密后的业务数据的解密算法。
具体的,远端服务器在对业务数据进行加密时,利用与当前时间戳对应的目标加密 算法对业务数据进行加密,上述预设加解密规则包括:时间段信息、加密算法以及解密算法之间的对应关系,针对远端服务器而言,根据该预设加解密规则,确定当前时间戳所在的目标时间段对应的加密算法,将该加密算法确定为目标加密算法,再利用该目标加密算法对业务数据进行加密;对应的,针对客户端而言,可以基于预设加解密规则和业务地址中的时间戳信息,确定加密后的业务数据所用的加密算法,进而确定用于解密该业务数据的解密算法。
在一个具体实施例中,针对客户端渲染得到业务页面的过程,可以采用如下三种实现方式,具体为:
如图5所示,基于扫码操作的页面访问方法的第二种信息交互示意图,针对业务页面为Native页面的情况,具体包括:
S501,客户端中的扫码模块监听到扫码操作后,向远端服务器发送扫码请求;
S502,远端服务器接收到扫码请求后,确定与接收到的扫码请求对应的原始业务地址;以及,
S503,远端服务器确定与接收到的扫码请求对应的业务数据,以及确定与该业务数据对应的唯一性标识;
S504,远端服务器将唯一性标识添加至原始业务地址的尾端得到拼接后的业务地址,以及对业务数据进行加密处理得到加密后的业务数据;
S505,远端服务器向客户端中的扫码模块发送拼接后的业务地址和加密后的业务数据;
S506,客户端中的扫码模块接收到拼接后的业务地址和加密后的业务数据后,将业务数据缓存至本地缓存中;
S507,客户端中的扫码模块向业务模块请求打开业务地址;
S508,客户端中的业务模块判断业务地址中是否存在唯一性标识;
S509,客户端中的业务模块若确定存在,则从扫码模块处获取与该唯一性标识对应的业务数据;
S510,客户端中的业务模块基于获取到的业务数据渲染得到业务页面。
如图6所示,基于扫码操作的页面访问方法的第三种信息交互示意图,针对业务页面为动态H5页面的情况,对应的,业务模块为H5容器,具体包括:
S601,客户端中的扫码模块监听到扫码操作后,向远端服务器发送扫码请求;
S602,远端服务器接收到扫码请求后,确定与接收到的扫码请求对应的原始业务地址;以及,
S603,远端服务器确定与接收到的扫码请求对应的业务数据,以及确定与该业务数据对应的唯一性标识;
S604,远端服务器将唯一性标识添加至原始业务地址的尾端得到拼接后的业务地址,以及对业务数据进行加密处理得到加密后的业务数据;
S605,远端服务器向客户端中的扫码模块发送拼接后的业务地址和加密后的业务数据;
S606,客户端中的扫码模块接收到拼接后的业务地址和加密后的业务数据后,将业务数据缓存至本地缓存中;
S607,客户端中的扫码模块向H5容器请求打开业务地址;
S608,客户端中的H5容器判断业务地址中是否存在唯一性标识;
S609,客户端中的H5容器若确定存在,则从扫码模块处获取与该唯一性标识对应的业务数据;
S610,客户端中的H5容器基于获取到的业务数据渲染得到业务页面。
如图7所示,基于扫码操作的页面访问方法的第四种信息交互示意图,针对业务页面为静态H5页面的情况,对应的,业务模块为H5容器,具体包括:
S701,客户端中的扫码模块监听到扫码操作后,向远端服务器发送扫码请求;
S702,远端服务器接收到扫码请求后,确定与接收到的扫码请求对应的原始业务地址;以及,
S703,远端服务器确定与接收到的扫码请求对应的业务数据,以及确定与该业务数据对应的唯一性标识;
S704,远端服务器将唯一性标识添加至原始业务地址的尾端得到拼接后的业务地址,以及对业务数据进行加密处理得到加密后的业务数据;
S705,远端服务器向客户端中的扫码模块发送拼接后的业务地址和加密后的业务数据;
S706,客户端中的扫码模块接收到拼接后的业务地址和加密后的业务数据后,将业务数据缓存至本地缓存中;
S707,客户端中的扫码模块向H5容器请求打开业务地址;
S708,客户端中的H5容器访问业务地址并初始化静态页面;
S709,客户端中的H5容器通过JS代码判断业务地址中是否存在唯一性标识;
S710,客户端中的H5容器若确定存在,则从扫码模块处获取与该唯一性标识对应的业务数据;
S711,客户端中的H5容器基于获取到的业务数据渲染得到业务页面。
本说明书一个或多个实施例中的基于扫码操作的页面访问方法,针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;接收远端服务器响应于该数据获取请求而返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中;根据该业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,客户端在接收到业务地址和业务数据后,先将业务数据缓存至本地缓存中,在基于业务地址生成业务页面时,直接从本地缓存中获取对应的业务数据,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
对应上述图2至图7描述的基于扫码操作的页面访问方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种基于扫码操作的页面访问方法,图8为本说明书一个或多个实施例提供的基于扫码操作的页面访问方法的流程示意图,图8中的方法能够由图1中的远端服务器执行,如图8所示,该方法至少包括以下步骤:
S801,接收客户端发送的数据获取请求,其中,该数据获取请求是客户端基于监听到的图形码扫描操作生成的;
S802,响应于接收到的数据获取请求,获取业务地址和加密后的业务数据;
S803,将获取到的业务地址和加密后的业务数据发送给客户端,以使该客户端将该加密后的业务数据缓存至本地缓存中以及根据接收到的业务地址和从本地缓存中获取的业务数据生成业务页面。
本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时 向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
其中,上述S802响应于接收到的数据获取请求,获取业务地址和加密后的业务数据,具体包括:
步骤一,确定与接收到的数据获取请求对应的链接部分和业务数据;以及确定与该业务数据对应的唯一性标识;
步骤二,根据确定出的链接部分和唯一性标识,生成业务地址;
步骤三,对确定出的业务数据进行加密处理,得到加密后的业务数据。
本说明书一个或多个实施例中的基于扫码操作的页面访问方法,接收客户端发送的数据获取请求,响应于该数据获取请求,获取业务地址和加密后的业务数据;将获取到的业务地址和加密后的业务数据发送给客户端,以使该客户端将该加密后的业务数据缓存至本地缓存中以及根据接收到的业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
需要说明的是,本说明书中该实施例与本说明书中上一实施例基于同一发明构思,因此该实施例的具体实施可以参见前述基于扫码操作的页面访问方法的实施,重复之处不再赘述。
对应上述图2至图7描述的基于扫码操作的页面访问方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种基于扫码操作的页面访问装置,图9为本说明书一个或多个实施例提供的基于扫码操作的页面访问装置的模块组成示意图,该装置设置于客户端侧,该装置用于执行图2至图7描述的基于扫码操作的页面访问方法,如图9所示,该装置包括:
请求发送模块901,用于针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
信息接收模块902,用于接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
数据缓存模块903,用于将所述加密后的业务数据缓存至本地缓存中;
页面生成模块904,用于根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
可选地,上述页面生成模块904,具体用于:
打开所述业务地址,并确定所述业务地址中的唯一性标识;
从所述本地缓存中,读取与所述唯一性标识对应的加密后的业务数据,并对所述加密后的业务数据进行解密处理,得到解密后的业务数据;
基于所述解密后的业务数据,渲染得到业务页面。
可选地,上述装置还包括:数据删除模块,其中,所述数据删除模块,用于:
针对所述本地缓存中的每个所述业务数据,判断该业务数据的存放时间是否大于预设时效阈值;
若是,则删除所述业务数据。
可选地,上述页面生成模块904,还进一步具体用于:
确定与所述加密后的业务数据的加密算法对应的解密算法;
基于确定出的所述解密算法,对所述加密后的业务数据进行解密处理,得到解密后的业务数据。
可选地,所述唯一性标识包括:时间戳信息;
对应的,上述页面生成模块904,更进一步具体用于:
确定与所述加密后的业务数据的所述时间戳信息对应的目标加密算法;
根据所述目标加密算法,确定所述加密后的业务数据的解密算法。
可选地,上述请求发送模块901,具体用于:
获取扫描图形码得到的扫码信息;
向远端服务器发送携带有所述扫码信息的数据获取请求。
本说明书一个或多个实施例中的基于扫码操作的页面访问装置,针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;接收远端服务器响应于该数据获取请求而返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中;根据该业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
需要说明的是,本说明书中该实施例与本说明书中第一实施例基于同一发明构思,因此该实施例的具体实施可以参见前述基于扫码操作的页面访问方法的实施,重复之处不再赘述。
对应上述图8描述的基于扫码操作的页面访问方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种基于扫码操作的页面访问装置,图10为本说明书一个或多个实施例提供的基于扫码操作的页面访问装置的模块组成示意图,该装置设置于远端服务器侧,该装置用于执行图8描述的基于扫码操作的页面访问方法,如图10所示,该装置包括:
请求接收模块1001,用于接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
信息获取模块1002,用于响应于所述数据获取请求,获取业务地址和加密后的业务数据;
信息发送模块1003,用于将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
可选地,上述信息获取模块1002,具体用于:
确定与所述数据获取请求对应的链接部分和业务数据;以及确定与所述业务数据对应的唯一性标识;
根据所述链接部分和所述唯一性标识,生成业务地址;
对所述业务数据进行加密处理,得到加密后的业务数据。
本说明书一个或多个实施例中的基于扫码操作的页面访问装置,接收客户端发送的数据获取请求,响应于该数据获取请求,获取业务地址和加密后的业务数据;将获取到的业务地址和加密后的业务数据发送给客户端,以使该客户端将该加密后的业务数据缓存至本地缓存中以及根据接收到的业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
需要说明的是,本说明书中该实施例与本说明书中第一实施例基于同一发明构思,因此该实施例的具体实施可以参见前述基于扫码操作的页面访问方法的实施,重复之处不再赘述。
对应上述图2至图7描述的基于扫码操作的页面访问方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种基于扫码操作的页面访问系统,图11为本说明书一个或多个实施例提供的基于扫码操作的页面访问系统的结构组成示意图,如图11所示,该系统包括:客户端20和远端服务器10;
上述客户端20,用于针对监听到的图形码扫描操作,向远端服务器10发送数据获取请求;并接收远端服务器10返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中;根据接收到的业务地址和从本地缓存中获取的加密后的业务数据,生成业务页面,其中,该加密后的业务数据独立于该业务地址,所述业务地址包括所述业务数据的唯一性标识;
上述远端服务器10,用于接收客户端20发送的数据获取请求;响应于该数据获取请求,获取业务地址和加密后的业务数据;将获取的业务地址和加密后的业务数据发送给客户端20。
本说明书一个或多个实施例中的基于扫码操作的页面访问系统,针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;接收远端服务器响应于该数据获取请求而返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中;根据该业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求, 同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
进一步地,对应上述图2至图7所示的方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种基于扫码操作的页面访问设备,该设备用于执行上述的基于扫码操作的页面访问方法,如图12所示。
基于扫码操作的页面访问设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器1301和存储器1302,存储器1302中可以存储有一个或一个以上存储应用程序或数据。其中,存储器1302可以是短暂存储或持久存储。存储在存储器1302的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对基于扫码操作的页面访问设备中的一系列计算机可执行指令。更进一步地,处理器1301可以设置为与存储器1302通信,在基于扫码操作的页面访问设备上执行存储器1302中的一系列计算机可执行指令。基于扫码操作的页面访问设备还可以包括一个或一个以上电源1303,一个或一个以上有线或无线网络接口1304,一个或一个以上输入输出接口1305,一个或一个以上键盘1306等。
在一个具体的实施例中,基于扫码操作的页面访问设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对基于扫码操作的页面访问设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:
针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
可选地,计算机可执行指令在被执行时,所述根据所述业务地址和从所述本地 缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面,包括:
打开所述业务地址,并确定所述业务地址中的唯一性标识;
从所述本地缓存中,读取与所述唯一性标识对应的加密后的业务数据,并对所述加密后的业务数据进行解密处理,得到解密后的业务数据;
基于所述解密后的业务数据,渲染得到业务页面。
可选地,计算机可执行指令在被执行时,还包含用于进行以下计算机可执行指令:
在将所述加密后的业务数据缓存至本地缓存中之后,还包括:
针对所述本地缓存中的每个所述业务数据,判断该业务数据的存放时间是否大于预设时效阈值;
若是,则删除所述业务数据。
可选地,计算机可执行指令在被执行时,所述对所述加密后的业务数据进行解密处理,得到解密后的业务数据,包括:
确定与所述加密后的业务数据的加密算法对应的解密算法;
基于确定出的所述解密算法,对所述加密后的业务数据进行解密处理,得到解密后的业务数据。
可选地,计算机可执行指令在被执行时,所述唯一性标识包括:时间戳信息;
所述确定与所述加密后的业务数据的加密算法对应的解密算法,包括:
确定与所述加密后的业务数据的所述时间戳信息对应的目标加密算法;
根据所述目标加密算法,确定所述加密后的业务数据的解密算法。
可选地,计算机可执行指令在被执行时,所述针对监听到的图形码扫描操作,向远端服务器发送数据获取请求,包括:
获取扫描图形码得到的扫码信息;
向远端服务器发送携带有所述扫码信息的数据获取请求。
本说明书一个或多个实施例中的基于扫码操作的页面访问设备,针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;接收远端服务器响应于该数据获取 请求而返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中;根据该业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
在另一个具体的实施例中,基于扫码操作的页面访问设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对基于扫码操作的页面访问设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:
接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
响应于所述数据获取请求,获取业务地址和加密后的业务数据;
将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端根据将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
可选地,计算机可执行指令在被执行时,所述响应于所述数据获取请求,获取业务地址和加密后的业务数据,包括:
确定与所述数据获取请求对应的链接部分和业务数据;以及确定与所述业务数据对应的唯一性标识;
根据所述链接部分和所述唯一性标识,生成业务地址;
对所述业务数据进行加密处理,得到加密后的业务数据。
本说明书一个或多个实施例中的基于扫码操作的页面访问设备,接收客户端发送的数据获取请求,响应于该数据获取请求,获取业务地址和加密后的业务数据;将获取到的业务地址和加密后的业务数据发送给客户端,以使该客户端将该加密后的业务数 据缓存至本地缓存中以及根据接收到的业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
进一步地,对应上述图2至图8所示的方法,基于相同的技术构思,本说明书一个或多个实施例还提供了一种存储介质,用于存储计算机可执行指令,一种具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:
针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面,包括:
打开所述业务地址,并确定所述业务地址中的唯一性标识;
从所述本地缓存中,读取与所述唯一性标识对应的加密后的业务数据,并对所述加密后的业务数据进行解密处理,得到解密后的业务数据;
基于所述解密后的业务数据,渲染得到业务页面。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,还实现以下流程:
在将所述加密后的业务数据缓存至本地缓存中之后,还包括:
针对所述本地缓存中的每个所述业务数据,判断该业务数据的存放时间是否大于预设时效阈值;
若是,则删除所述业务数据。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述对所述加密后的业务数据进行解密处理,得到解密后的业务数据,包括:
确定与所述加密后的业务数据的加密算法对应的解密算法;
基于确定出的所述解密算法,对所述加密后的业务数据进行解密处理,得到解密后的业务数据。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述唯一性标识包括:时间戳信息;
所述确定与所述加密后的业务数据的加密算法对应的解密算法,包括:
确定与所述加密后的业务数据的所述时间戳信息对应的目标加密算法;
根据所述目标加密算法,确定所述加密后的业务数据的解密算法。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述针对监听到的图形码扫描操作,向远端服务器发送数据获取请求,包括:
获取扫描图形码得到的扫码信息;
向远端服务器发送携带有所述扫码信息的数据获取请求。
本说明书一个或多个实施例中的存储介质存储的计算机可执行指令在被处理器执行时,针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;接收远端服务器响应于该数据获取请求而返回的业务地址和加密后的业务数据,并将该加密后的业务数据缓存至本地缓存中;根据该业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据,生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
在另一个具体的实施例中,该存储介质可以为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令在被处理器执行时,能实现以下流程:
接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
响应于所述数据获取请求,获取业务地址和加密后的业务数据;
将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
可选地,该存储介质存储的计算机可执行指令在被处理器执行时,所述响应于所述数据获取请求,获取业务地址和加密后的业务数据,包括:
确定与所述数据获取请求对应的链接部分和业务数据;以及确定与所述业务数据对应的唯一性标识;
根据所述链接部分和所述唯一性标识,生成业务地址;
对所述业务数据进行加密处理,得到加密后的业务数据。
本说明书一个或多个实施例中的存储介质存储的计算机可执行指令在被处理器执行时,接收客户端发送的数据获取请求,响应于该数据获取请求,获取业务地址和加密后的业务数据;将获取到的业务地址和加密后的业务数据发送给客户端,以使该客户端将该加密后的业务数据缓存至本地缓存中以及根据接收到的业务地址和从本地缓存中获取的与业务地址中的唯一性标识对应的业务数据生成业务页面。本说明书一个或多个实施例中,远端服务器针对客户端的数据获取请求,同时向客户端下发业务地址和业务数据,并且将业务数据进行加密处理后传输,这样既能够保证业务数据传输的安全性,又能够减少客户端向远端服务器的网络请求次数。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field  Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HD Cal、JHDL(Java Hardware Description Language)、Lava、Lola、My HDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书一个或多个时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本说明书一个或多个的实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书一个或多个是参照根据本说明书一个或多个实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他 数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本说明书一个或多个的实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书一个或多个可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本说明书一个或多个的实施例而已,并不用于限制本说明书一个或多个。对于本领域技术人员来说,本说明书一个或多个可以有各种更改和变化。凡在本说明书一个或多个的精神和原理之内所作的任何修改、等同替换、改进等,均应包含 在本说明书一个或多个的权利要求范围之内。

Claims (15)

  1. 一种基于扫码操作的页面访问方法,其特征在于,包括:
    针对监听到的图形码扫描操作,客户端向远端服务器发送数据获取请求;
    所述客户端接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
    所述客户端根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面,包括:
    打开所述业务地址,并确定所述业务地址中的唯一性标识;
    从所述本地缓存中,读取与所述唯一性标识对应的加密后的业务数据,并对所述加密后的业务数据进行解密处理,得到解密后的业务数据;
    基于所述解密后的业务数据,渲染得到业务页面。
  3. 根据权利要求1所述的方法,其特征在于,在将所述加密后的业务数据缓存至本地缓存中之后,还包括:
    针对所述本地缓存中的每个所述业务数据,判断该业务数据的存放时间是否大于预设时效阈值;
    若是,则删除所述业务数据。
  4. 根据权利要求2所述的方法,其特征在于,所述对所述加密后的业务数据进行解密处理,得到解密后的业务数据,包括:
    确定与所述加密后的业务数据的加密算法对应的解密算法;
    基于确定出的所述解密算法,对所述加密后的业务数据进行解密处理,得到解密后的业务数据。
  5. 根据权利要求4所述的方法,其特征在于,所述唯一性标识包括:时间戳信息;
    所述确定与所述加密后的业务数据的加密算法对应的解密算法,包括:
    确定与所述加密后的业务数据的所述时间戳信息对应的目标加密算法;
    根据所述目标加密算法,确定所述加密后的业务数据的解密算法。
  6. 根据权利要求1所述的方法,其特征在于,所述针对监听到的图形码扫描操作,向远端服务器发送数据获取请求,包括:
    获取扫描图形码得到的扫码信息;
    向远端服务器发送携带有所述扫码信息的数据获取请求。
  7. 一种基于扫码操作的页面访问方法,其特征在于,包括:
    远端服务器接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
    所述远端服务器响应于所述数据获取请求,获取业务地址和加密后的业务数据;
    所述远端服务器将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
  8. 根据权利要求7所述的方法,其特征在于,所述响应于所述数据获取请求,获取业务地址和加密后的业务数据,包括:
    确定与所述数据获取请求对应的链接部分和业务数据;以及确定与所述业务数据对应的唯一性标识;
    根据所述链接部分和所述唯一性标识,生成业务地址;
    对所述业务数据进行加密处理,得到加密后的业务数据。
  9. 一种基于扫码操作的页面访问装置,其特征在于,包括:
    请求发送模块,用于针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
    信息接收模块,用于接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
    页面生成模块,用于根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
  10. 一种基于扫码操作的页面访问装置,其特征在于,包括:
    请求接收模块,用于接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
    信息获取模块,用于响应于所述数据获取请求,获取业务地址和加密后的业务数据;
    信息发送模块,用于将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
  11. 一种基于扫码操作的页面访问系统,其特征在于,包括:客户端和远端服务器;
    所述客户端,用于针对监听到的图形码扫描操作,向远端服务器发送数据获取请求; 接收所述远端服务器返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中;根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据,生成业务页面,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
    所述远端服务器,用于接收客户端发送的数据获取请求;响应于所述数据获取请求,获取业务地址和加密后的业务数据;将所述业务地址和所述加密后的业务数据发送给所述客户端。
  12. 一种基于扫码操作的页面访问设备,其特征在于,包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
    针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
    接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
    根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
  13. 一种基于扫码操作的页面访问设备,其特征在于,包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
    接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
    响应于所述数据获取请求,获取业务地址和加密后的业务数据;
    将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
  14. 一种存储介质,用于存储计算机可执行指令,其特征在于,所述可执行指令在被执行时实现以下流程:
    针对监听到的图形码扫描操作,向远端服务器发送数据获取请求;
    接收所述远端服务器响应于所述数据获取请求而返回的业务地址和加密后的业务 数据,并将所述加密后的业务数据缓存至本地缓存中,其中,所述加密后的业务数据独立于所述业务地址,所述业务地址包括所述业务数据的唯一性标识;
    根据所述业务地址和从所述本地缓存中获取的与所述唯一性标识对应的业务数据,生成业务页面。
  15. 一种存储介质,用于存储计算机可执行指令,其特征在于,所述可执行指令在被执行时实现以下流程:
    接收客户端发送的数据获取请求,其中,所述数据获取请求是所述客户端基于监听到的图形码扫描操作生成的;
    响应于所述数据获取请求,获取业务地址和加密后的业务数据;
    将所述业务地址和所述加密后的业务数据发送给所述客户端,以使所述客户端将所述加密后的业务数据缓存至本地缓存中以及根据所述业务地址和从所述本地缓存中获取的所述加密后的业务数据生成业务页面。
PCT/CN2019/096275 2018-08-31 2019-07-17 一种基于扫码操作的页面访问方法、装置及系统 Ceased WO2020042793A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811015740.7A CN109145240B (zh) 2018-08-31 2018-08-31 一种基于扫码操作的页面访问方法、装置及系统
CN201811015740.7 2018-08-31

Publications (1)

Publication Number Publication Date
WO2020042793A1 true WO2020042793A1 (zh) 2020-03-05

Family

ID=64826118

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/096275 Ceased WO2020042793A1 (zh) 2018-08-31 2019-07-17 一种基于扫码操作的页面访问方法、装置及系统

Country Status (3)

Country Link
CN (2) CN109145240B (zh)
TW (1) TWI709093B (zh)
WO (1) WO2020042793A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000645A (zh) * 2020-08-24 2020-11-27 浪潮云信息技术股份公司 一种基于分布式数据库的数据库模式构建方法
CN114168870A (zh) * 2021-12-10 2022-03-11 量子云码(福建)科技有限公司 基于二维码的页面引导方法、装置、设备及存储介质
CN114461684A (zh) * 2022-02-11 2022-05-10 腾讯科技(深圳)有限公司 数据校验方法、装置、程序产品、计算机设备和介质
CN115544090A (zh) * 2022-10-12 2022-12-30 中国银行股份有限公司 业务处理方法、装置和系统

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109145240B (zh) * 2018-08-31 2020-06-02 阿里巴巴集团控股有限公司 一种基于扫码操作的页面访问方法、装置及系统
CN111626719B (zh) * 2019-02-28 2024-06-18 北京沃东天骏信息技术有限公司 点击事件处理方法与装置、存储介质、电子设备
CN114840782A (zh) * 2020-05-06 2022-08-02 支付宝(杭州)信息技术有限公司 基于扫码的页面访问方法、装置、电子设备及存储介质
CN111767060A (zh) * 2020-05-19 2020-10-13 支付宝(杭州)信息技术有限公司 多阶段灰度验证方法、装置、电子设备及介质
CN113806648A (zh) * 2020-12-02 2021-12-17 北京沃东天骏信息技术有限公司 一种信息生成的方法、装置和存储介质
CN113157604B (zh) * 2021-05-12 2024-01-30 中国农业银行股份有限公司 基于分布式系统的数据获取方法、装置及相关产品
CN115379013A (zh) * 2022-06-29 2022-11-22 广州博冠信息科技有限公司 数据处理方法、装置和电子设备
CN119449390A (zh) * 2024-01-16 2025-02-14 支付宝(杭州)信息技术有限公司 证据数据的存证方法及装置
CN119561730A (zh) * 2024-11-11 2025-03-04 中国银行股份有限公司 交易归属分配方法、装置和服务器
CN119814356B (zh) * 2024-11-29 2025-12-02 青岛海尔科技有限公司 一种数据安全访问系统、方法及电子装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731465A (zh) * 2015-02-13 2015-06-24 腾讯科技(深圳)有限公司 业务提供方法、装置及系统
CN104869127A (zh) * 2015-06-24 2015-08-26 郑州悉知信息技术有限公司 一种网站登录方法、扫码客户端及服务器
CN107086622A (zh) * 2017-05-08 2017-08-22 上海熊家信息科技有限公司 扫码充电设备以及扫码充电方法、系统
CN109145240A (zh) * 2018-08-31 2019-01-04 阿里巴巴集团控股有限公司 一种基于扫码操作的页面访问方法、装置及系统

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2533161A1 (en) * 2010-11-29 2012-12-12 Hughes Network Systems, LLC Computer networking system and method with javascript injection for web page response time determination
US9569771B2 (en) * 2011-04-29 2017-02-14 Stephen Lesavich Method and system for storage and retrieval of blockchain blocks using galois fields
JP5847440B2 (ja) * 2011-06-01 2016-01-20 キヤノン株式会社 情報処理装置およびその制御方法、並びに制御プログラム
WO2013055413A1 (en) * 2011-10-14 2013-04-18 Michael Luna Wireless traffic management system cache optimization using http headers
US9286295B2 (en) * 2012-10-09 2016-03-15 Robert Beadles Apparatus and method for cloud based storage using a multi-layer scannable tag
CN103024043B (zh) * 2012-12-14 2016-01-27 腾讯科技(深圳)有限公司 一种数据共享方法、服务器及系统
CN103942093B (zh) * 2013-01-23 2018-02-13 阿里巴巴集团控股有限公司 业务处理方法及系统
CN103338255B (zh) * 2013-06-28 2015-07-22 腾讯科技(深圳)有限公司 一种跨终端输入方法、装置及系统
CN103763308A (zh) * 2013-12-31 2014-04-30 北京明朝万达科技有限公司 一种智能终端安全访问网页和下载数据的方法和装置
CN104363284A (zh) * 2014-11-17 2015-02-18 厦门美图之家科技有限公司 一种移动应用的预约提供方法及其服务基站
KR20190044134A (ko) * 2015-12-28 2019-04-29 후아웨이 테크놀러지 컴퍼니 리미티드 웹사이트 액세스 방법, 장치, 및 웹사이트 시스템
CN106933817B (zh) * 2015-12-29 2021-02-12 华为技术有限公司 一种基于b/s结构的内容查询方法及设备、系统
CN107145490B (zh) * 2016-03-01 2020-10-30 腾讯科技(深圳)有限公司 网页加载展示方法及网页加载展示装置
CN105827725A (zh) * 2016-04-27 2016-08-03 腾讯科技(深圳)有限公司 应用操控方法和装置、应用远程操控方法和装置
CN106202373A (zh) * 2016-07-08 2016-12-07 青岛海信传媒网络技术有限公司 多终端数据处理方法及数据服务器
CN105933363B (zh) * 2016-07-14 2017-07-04 京东方科技集团股份有限公司 一种业务处理方法、装置及单向数字电视机顶盒
CN107026836B (zh) * 2016-10-28 2020-03-06 阿里巴巴集团控股有限公司 一种业务实现方法和装置
CN106899570B (zh) * 2016-12-14 2019-11-05 阿里巴巴集团控股有限公司 二维码的处理方法、装置及系统
CN108256929A (zh) * 2016-12-28 2018-07-06 航天信息股份有限公司 一种基于二维码的电子发票开具方法及系统
US10585966B2 (en) * 2017-02-01 2020-03-10 Facebook, Inc. Systems and methods for accessing content
CN107067056A (zh) * 2017-02-14 2017-08-18 阿里巴巴集团控股有限公司 二维码生成方法及其设备和二维码识别方法及其设备
CN106899679B (zh) * 2017-03-07 2020-11-13 腾讯科技(深圳)有限公司 终端处理业务数据的方法及装置
CN107481072A (zh) * 2017-08-08 2017-12-15 威海信帆进出口有限公司 便携式网络开票系统及方法
CN108021954B (zh) * 2017-11-01 2020-06-05 阿里巴巴集团控股有限公司 业务过程的启动方法和装置
CN108304899A (zh) * 2018-01-16 2018-07-20 阿里巴巴集团控股有限公司 基于扫描doi的信息处理方法、装置及设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104731465A (zh) * 2015-02-13 2015-06-24 腾讯科技(深圳)有限公司 业务提供方法、装置及系统
CN104869127A (zh) * 2015-06-24 2015-08-26 郑州悉知信息技术有限公司 一种网站登录方法、扫码客户端及服务器
CN107086622A (zh) * 2017-05-08 2017-08-22 上海熊家信息科技有限公司 扫码充电设备以及扫码充电方法、系统
CN109145240A (zh) * 2018-08-31 2019-01-04 阿里巴巴集团控股有限公司 一种基于扫码操作的页面访问方法、装置及系统

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000645A (zh) * 2020-08-24 2020-11-27 浪潮云信息技术股份公司 一种基于分布式数据库的数据库模式构建方法
CN114168870A (zh) * 2021-12-10 2022-03-11 量子云码(福建)科技有限公司 基于二维码的页面引导方法、装置、设备及存储介质
CN114461684A (zh) * 2022-02-11 2022-05-10 腾讯科技(深圳)有限公司 数据校验方法、装置、程序产品、计算机设备和介质
CN115544090A (zh) * 2022-10-12 2022-12-30 中国银行股份有限公司 业务处理方法、装置和系统

Also Published As

Publication number Publication date
CN111881386B (zh) 2024-03-12
TWI709093B (zh) 2020-11-01
CN109145240A (zh) 2019-01-04
CN111881386A (zh) 2020-11-03
TW202014944A (zh) 2020-04-16
CN109145240B (zh) 2020-06-02

Similar Documents

Publication Publication Date Title
TWI709093B (zh) 基於掃碼操作的頁面存取方法、裝置及系統
KR102200790B1 (ko) 로그인 정보 프로세싱 방법 및 디바이스
CN111047313B (zh) 扫码支付、信息发送和密钥管理方法、装置和设备
CN114066463B (zh) 数字物权凭证的生成方法、装置及设备
US10225238B2 (en) Data security for content delivery networks
US11283614B2 (en) Information verification method, apparatus, and device
WO2021179748A1 (zh) 扫码支付、信息发送及生成收款码的方法、装置和设备
CN112508552B (zh) Nfc便携设备的写入、支付方法、装置以及设备
US10146951B2 (en) Electronic device and method for providing DRM content by electronic device
WO2019100845A1 (zh) 一种密钥管理方法、装置及设备
WO2019095854A1 (zh) 可溯源的多方数据处理方法、装置及设备
CN118350027A (zh) 一种隐私数据的处理方法及装置
CN111415143A (zh) 支付设备及其支付方法和装置
WO2021204067A1 (zh) 可验证声明的转发、获取
CN108564363B (zh) 一种交易处理方法、服务器、客户端及系统
CN111767550B (zh) 数据存储方法和装置
CN112788151B (zh) 数据同步的方法、装置和系统
JP2019046262A (ja) 情報処理装置、情報処理方法、及び情報処理プログラム
HK40039796B (zh) 一种基於扫码操作的页面访问方法、装置及系统
HK40039796A (zh) 一种基於扫码操作的页面访问方法、装置及系统
CN116226900A (zh) 一种数据库访问方法及装置
HK40002576B (zh) 一种基於扫码操作的页面访问方法、装置及系统
HK40002576A (zh) 一种基於扫码操作的页面访问方法、装置及系统
CN118312648A (zh) 一种数据检索方法、装置、电子设备及计算机可读介质
HK1247000B (zh) 一种登录信息处理方法及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19855624

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19855624

Country of ref document: EP

Kind code of ref document: A1