Cloud disk push method, device, storage medium and electronic device for electronic receipt

By submitting application token bucket requests to the network cloud disk and generating target tokens, the problem of low efficiency of electronic return push is solved, efficient and low-cost file push is achieved, and customers' high-capacity storage needs are met.

CN115412503BActive Publication Date: 2024-12-03INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202211041607.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-29
Publication Date
2024-12-03
Estimated Expiration
2042-08-29

AI Technical Summary

Technical Problem

The existing electronic order push method is low in efficiency, traditional email attachments have small capacity and high cost, and dedicated SFTP is expensive, making it difficult to meet customers' batch push needs.

Method used

By submitting a request token bucket to the network cloud disk, generating a target token and enabling corresponding permissions, uploading an electronic return file to the cloud disk, achieving efficient file push.

Benefits of technology

It improves the push efficiency of electronic order return, meets customers' high-capacity storage needs, and reduces push costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115412503B_ABST
    Figure CN115412503B_ABST
Patent Text Reader

Abstract

The present application discloses a cloud disk push method, device, storage medium and electronic device for electronic receipts. It relates to the field of cloud computing technology. The method includes: submitting a request for a token bucket to a network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store electronic receipt files, and there is at least one token bucket; when it is determined that the token bucket is successfully applied for, generating a target token corresponding to the token bucket, wherein the target token is used to operate the token bucket; opening the token authority of the target token, wherein the token authority includes at least one of the following: download, delete, upload; uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority. Through this application, the problem of low push efficiency of electronic receipts in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud computing technology, and more specifically, to a cloud disk push method, device, storage medium and electronic device for electronic receipts. Background Art

[0002] The most traditional bank receipts generally require customers to go to bank branches to print them out. With the rapid development of the Internet and mobile communication technology, online channels have brought great convenience to customers. The service concept of creating a bank near you has become more and more popular, and the service mode of the banking business system is gradually changing from offline to online. Therefore, more and more customers require to obtain bank receipts through online channels. With the current external output mode, online receipts basically use email delivery and dedicated FTP to serve customers.

[0003] However, the traditional way of delivering receipts through online emails can no longer meet the needs of customers for obtaining batch push receipts from banks due to the small attachment capacity allowed and the limitations of various anti-spam policies of mail servers. Another traditional online delivery mode of electronic vouchers, dedicated line SFTP, is not adopted by most small and medium-sized customers due to the high threshold and cost of establishing dedicated lines. Therefore, the efficiency of pushing electronic receipts is low at this stage.

[0004] With regard to the problem of low push efficiency of electronic receipts in related technologies, no effective solution has been proposed so far. Summary of the invention

[0005] The main purpose of the present application is to provide a cloud disk push method, device, storage medium and electronic device for electronic receipts, so as to solve the problem of low push efficiency of electronic receipts in related technologies.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a cloud disk push method for electronic receipts is provided. The method includes: submitting a request for applying for a token bucket to a network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store electronic receipt files, and there is at least one token bucket; when it is determined that the token bucket is successfully applied for, generating a target token corresponding to the token bucket, wherein the target token is used to operate the token bucket; opening the token permissions of the target token, wherein the token permissions include at least one of the following: download, delete, upload; uploading the target receipt file to the target token bucket in the network cloud disk according to the token permissions.

[0007] Furthermore, before submitting a request for applying for a token bucket to the network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, the method also includes: receiving the ID information sent by the client and the network disk capacity demand corresponding to the ID information; and sending the ID information and the network disk capacity demand to the network cloud disk.

[0008] Furthermore, when it is determined that the token bucket is successfully applied for, generating a target token corresponding to the token bucket includes: when it is determined that the token bucket is successfully applied for, obtaining interface information connected to the network cloud disk; determining the key for managing the token bucket based on the interface information; and generating the target token based on the private key in the key.

[0009] Further, opening the token authority of the target token includes: opening the operation authority for the data in the token bucket, wherein the operation authority is used to read and / or write the data in the token bucket; and using the operation authority as the token authority.

[0010] Furthermore, before uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, the method also includes: generating a customer receipt file belonging to the ID information; signing the customer receipt file to obtain a signed receipt file; naming the signed receipt file according to preset naming information to obtain a target receipt file, wherein the naming information of the target receipt file includes at least: ID information, receipt label information, and receipt date information.

[0011] Furthermore, after uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, the method also includes: generating a customer token, wherein the customer token is used by the customer to query and / or download the target receipt file in the network cloud disk; and sending the customer token to the client.

[0012] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a cloud disk push device for electronic receipts is provided. The device includes: a submission unit, which is used to submit a request for applying for a token bucket to the network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store electronic receipt files, and there is at least one token bucket; a first generation unit, which is used to generate a target token corresponding to the token bucket when it is determined that the token bucket is successfully applied, wherein the target token is used to operate the token bucket; an activation unit, which is used to activate the token authority of the target token, wherein the token authority includes at least one of the following: download, delete, upload; a first upload unit, which is used to upload the target receipt file to the target token bucket in the network cloud disk according to the token authority.

[0013] Furthermore, the device also includes: a receiving unit, used to receive the ID information sent by the client and the network disk capacity requirement corresponding to the ID information; a first sending unit, used to send the ID information and the network disk capacity requirement to the network cloud disk.

[0014] Furthermore, the first generation unit includes: an acquisition module, used to obtain interface information connected to the network cloud disk when it is determined that the token bucket is successfully applied for; a first determination module, used to determine the key for managing the token bucket according to the interface information; and a generation module, used to generate a target token according to a private key in the key.

[0015] Furthermore, the activation unit includes: an activation module for activating operation permissions for data in the token bucket, wherein the operation permissions are used to read and / or write data in the token bucket; and a second determination module for using the operation permissions as token permissions.

[0016] Furthermore, the device also includes: a second generation unit, used to generate a customer receipt file belonging to the ID information before uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority; a signature unit, used to sign the customer receipt file to obtain the signed receipt file; a naming unit, used to name the signed receipt file according to preset naming information to obtain the target receipt file, wherein the naming information of the target receipt file includes at least: ID information, receipt label information, and receipt date information.

[0017] Furthermore, the device also includes: a second generating unit, used to generate a customer token, wherein the customer token is used by the customer to query and / or download the target receipt file in the network cloud disk; a second sending unit, used to send the customer token to the client.

[0018] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a cloud disk push system for electronic receipts is provided, including: a client, in response to a network cloud disk registration request initiated by a web page, generates ID information for account registration, determines the storage space corresponding to the ID information in the network cloud disk, determines the network disk capacity requirement corresponding to the ID information according to the storage space, and uploads the network disk capacity requirement and the ID information to the electronic receipt platform; the electronic receipt platform receives the ID information sent by the client and the network disk capacity requirement corresponding to the ID information, and sends the ID information and the network disk capacity requirement to the network cloud disk; the network cloud disk, in response to the application request for the token bucket submitted by the electronic receipt platform, configures the token bucket corresponding to the ID information.

[0019] Through this application, the following steps are adopted: submit a request for a token bucket to the network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store electronic receipt files, and there is at least one token bucket; when it is determined that the token bucket is successfully applied for, generate a target token corresponding to the token bucket, wherein the target token is used to operate the token bucket; open the token permissions of the target token, wherein the token permissions include at least one of the following: download, delete, upload; upload the target receipt file to the target token bucket in the network cloud disk according to the token permissions. Through this application, the problem of low push efficiency of electronic receipts in related technologies is solved, and the effect of improving the push efficiency of electronic receipts is achieved by uploading the target receipt file to the target token bucket in the network cloud disk according to the token permissions. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0021] Figure 1 It is a flow chart of a cloud disk push method of an electronic receipt provided in an embodiment of the present application;

[0022] Figure 2 It is a schematic diagram of the operation of applying for a token bucket from a network cloud disk by an electronic receipt platform according to a cloud disk push method of an electronic receipt provided in an embodiment of the present application;

[0023] Figure 3 This is a schematic diagram of the business operation of uploading an electronic receipt to a cloud disk according to the cloud disk push method of the electronic receipt provided in an embodiment of the present application;

[0024] Figure 4 It is a schematic diagram of the operation of reading an electronic receipt according to the cloud disk push method of the electronic receipt provided in the embodiment of the present application;

[0025] Figure 5 It is a schematic diagram of a cloud disk push device for an electronic receipt provided in an embodiment of the present application;

[0026] Figure 6 This is a schematic diagram of the network architecture of the cloud disk push electronic device of the electronic receipt provided in the embodiment of the present application. DETAILED DESCRIPTION

[0027] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0031] Object storage: It uses a single file as a management unit, has unified file persistence storage and file lifecycle management, unified file access rights and channel management, and can shield specific physical storage details from users.

[0032] Bucket: A virtual storage unit. The underlying layer of the bucket is object storage OAAS. The life cycle of stored file data is managed uniformly by the object storage platform. A single management unit has a capacity limit.

[0033] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0034] The present invention is described below in conjunction with preferred implementation steps. Figure 1 : is a flow chart of a cloud disk push method for an electronic receipt provided in an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0035] Step S101, submit a request for applying for a token bucket to the network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store electronic receipt files, and there is at least one token bucket.

[0036] For example, before the electronic system submits a request to apply for a token bucket to the network cloud disk, the customer registers the network cloud disk to obtain an APPID, so that the customer can use the APPID to log in to the bank's corresponding network cloud disk client or web page.

[0037] The specific operation steps are: before submitting a request for applying for a token bucket to the network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, the method also includes: receiving the ID information sent by the client and the network disk capacity demand corresponding to the ID information; sending the ID information and the network disk capacity demand to the network cloud disk.

[0038] For example, customer A initiates a network cloud disk registration request on the cloud disk client, and generates the cloud disk account ID information corresponding to customer A on the web page. If customer A requires a network disk capacity of 20G, the cloud disk account ID information corresponding to customer A and the 20G capacity requirement are sent to the bank's electronic receipt platform based on the client. The capacity requirement corresponding to the cloud disk account registered by the customer is received in real time through the electronic receipt platform, further satisfying the efficient transmission of subsequent customer receipts.

[0039] Step S102: when it is determined that the token bucket is successfully applied for, a target token corresponding to the token bucket is generated, wherein the target token is used to operate the token bucket.

[0040] Step S103, opening the token authority of the target token, wherein the token authority includes at least one of the following: download, delete, upload.

[0041] Optionally, in the cloud disk push method of the electronic receipt provided in the embodiment of the present application, when it is determined that the token bucket is applied for successfully, generating a target token corresponding to the token bucket includes: when it is determined that the token bucket is applied for successfully, obtaining interface information connected to the network cloud disk; determining the key for managing the token bucket according to the interface information; and generating the target token according to the private key in the key.

[0042] For example, in the electronic receipt platform, a pair of RSA2048 keys is generated by connecting to the network cloud disk through an interface. Each time a new bucket management unit is opened, the owner token (corresponding to the target token in this application) can be generated using the private key of the bucket management unit. The security of the receipt data file is guaranteed by encrypting the target token, ensuring the invisibility of the receipt file to other customers.

[0043] Specifically, opening the token authority of the target token includes the following steps: opening the operation authority for the data in the token bucket, wherein the operation authority is used to read and / or write the data in the token bucket; and using the operation authority as the token authority.

[0044] Among them, Figure 2 As shown, the electronic receipt platform connects to the network cloud disk to open data file read and write access permissions. Each time a new bucket management unit is opened, the electronic receipt can generate an owner token using the private key. Using the owner token, the data file can be uploaded, downloaded, and deleted for a single bucket.

[0045] Step S104, upload the target receipt file to the target token bucket in the network cloud disk according to the token authority.

[0046] Specifically, the present application can also upload the target receipt file to the target token bucket in the network cloud disk through the upload permission of the token.

[0047] Optionally, in the cloud disk push method for electronic receipts provided in an embodiment of the present application, before uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, the method also includes: generating a customer receipt file to which the ID information belongs; signing the customer receipt file to obtain a signed receipt file; naming the signed receipt file according to preset naming information to obtain a target receipt file, wherein the naming information of the target receipt file includes at least: ID information, receipt label information, and receipt date information.

[0048] Specifically, Figure 3 As shown, the electronic receipt platform generates a receipt file and uses a distributed electronic receipt platform to generate a corporate receipt for each corporate transaction of the customer, and completes the electronic signature, electronic seal verification code, etc. The signed receipt file is named with APPID+return label+date to obtain the target receipt file of this application. At the same time, it also ensures that when the electronic receipt is subsequently distributed to the network cloud disk, the cloud disk ownership information of the customer's receipt can be clearly identified.

[0049] Optionally, in the cloud disk push method for electronic receipts provided in an embodiment of the present application, after uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, the method also includes: generating a customer token, wherein the customer token is used by the customer to query and / or download the target receipt file in the network cloud disk; and sending the customer token to the client.

[0050] Specifically, Figure 4 As shown, the customer uses APPID to log in to the network cloud disk client. The customer uses the reader token generated by the electronic receipt platform (corresponding to the customer token in this application) to query the receipt through the interface or client. The customer can also directly download the receipt through the interface or client to the local for review, auditing, reconciliation, and archiving, further improving the efficiency of pushing receipt files.

[0051] In summary, the cloud disk push method of the electronic receipt provided in the embodiment of the present application is to submit a request for a token bucket to the network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store the electronic receipt file, and there is at least one token bucket; when it is determined that the token bucket is successfully applied for, a target token corresponding to the token bucket is generated, wherein the target token is used to operate the token bucket; the token permissions of the target token are opened, wherein the token permissions include at least one of the following: download, delete, upload; upload the target receipt file to the target token bucket in the network cloud disk according to the token permissions. Through this application, the problem of low push efficiency of electronic receipts in the related art is solved, and the effect of improving the push efficiency of electronic receipts is achieved by uploading the target receipt file to the target token bucket in the network cloud disk according to the token permissions.

[0052] Optionally, according to an embodiment of the present application, a cloud disk push system for electronic receipts is also provided, including: a client, in response to a network cloud disk registration request initiated by a web page, generates ID information for account registration, determines the storage space corresponding to the ID information in the network cloud disk, determines the network disk capacity requirement corresponding to the ID information based on the storage space, and uploads the network disk capacity requirement and the ID information to the electronic receipt platform; the electronic receipt platform receives the ID information sent by the client and the network disk capacity requirement corresponding to the ID information, and sends the ID information and the network disk capacity requirement to the network cloud disk; the network cloud disk, in response to the application request for the token bucket submitted by the electronic receipt platform, configures the token bucket corresponding to the ID information.

[0053] Specifically, the electronic receipt platform applies to the network cloud disk for a management unit - bucket (also known as the token bucket in this application), and the network cloud disk responds to the token bucket application submitted by the electronic receipt platform. For example, in the network cloud disk, 20 token buckets are configured for the cloud disk account ID information corresponding to customer A and the capacity requirement of 20G to meet the customer's network disk capacity requirement, further ensuring that customers with large-capacity electronic receipt requirements have sufficient storage space, thereby improving customer product satisfaction.

[0054] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0055] The embodiment of the present application also provides a cloud disk push device for electronic receipts. It should be noted that the cloud disk push device for electronic receipts in the embodiment of the present application can be used to execute the cloud disk push method for electronic receipts provided in the embodiment of the present application. The cloud disk push device for electronic receipts provided in the embodiment of the present application is introduced below.

[0056] Figure 5 Schematic diagram of a cloud disk push device for an electronic receipt according to an embodiment of the present application. Figure 5 As shown, the device includes: a submitting unit 501, a first generating unit 502, an opening unit 503, and a first uploading unit 504.

[0057] Specifically, the submitting unit 501 is used to submit a request for applying for a token bucket to the network cloud disk according to the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store the electronic receipt file, and there is at least one token bucket;

[0058] The first generating unit 502 is used to generate a target token corresponding to the token bucket when it is determined that the token bucket is successfully applied for, wherein the target token is used to operate the token bucket;

[0059] An activation unit 503 is used to activate the token authority of the target token, wherein the token authority includes at least one of the following: download, delete, upload;

[0060] The first uploading unit 504 is used to upload the target receipt file to the target token bucket in the network cloud disk according to the token authority.

[0061] In summary, the cloud disk push device for electronic receipts provided in the embodiment of the present application is used, through a submission unit 501, to submit a request for applying for a token bucket to the network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store the electronic receipt file, and there is at least one token bucket; a first generation unit 502 is used to generate a target token corresponding to the token bucket when it is determined that the token bucket is successfully applied for, wherein the target token is used to operate the token bucket; an activation unit 503 is used to activate the token permissions of the target token, wherein the token permissions include at least one of the following: download, delete, upload; a first upload unit 504 is used to upload the target receipt file to the target token bucket in the network cloud disk according to the token permissions, which solves the problem of low push efficiency of electronic receipts in related technologies, and achieves the effect of improving the push efficiency of electronic receipts by uploading the target receipt file to the target token bucket in the network cloud disk according to the token permissions.

[0062] Optionally, in the cloud disk push device for the electronic receipt provided in the embodiment of the present application, the device also includes: a receiving unit for receiving the ID information sent by the client and the network disk capacity requirement corresponding to the ID information; and a first sending unit for sending the ID information and the network disk capacity requirement to the network cloud disk.

[0063] Optionally, in the cloud disk push device for the electronic receipt provided in the embodiment of the present application, the first generation unit includes: an acquisition module, used to obtain interface information connected to the network cloud disk when it is determined that the token bucket is successfully applied for; a first determination module, used to determine the key for managing the token bucket according to the interface information; and a generation module, used to generate a target token based on a private key in the key.

[0064] Optionally, in the cloud disk push device for the electronic receipt provided in the embodiment of the present application, the activation unit includes: an activation module for activating the operation permission for the data in the token bucket, wherein the operation permission is used to read and / or write the data in the token bucket; and a second determination module for using the operation permission as the token permission.

[0065] Optionally, in the cloud disk push device for electronic receipts provided in the embodiment of the present application, the device also includes: a second generation unit, used to generate a customer receipt file belonging to the ID information before uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority; a signature unit, used to sign the customer receipt file to obtain the signed receipt file; a naming unit, used to name the signed receipt file according to preset naming information to obtain the target receipt file, wherein the naming information of the target receipt file includes at least: ID information, receipt label information, and receipt date information.

[0066] Optionally, in the cloud disk push device for electronic receipts provided in an embodiment of the present application, the device also includes: a second generation unit, used to generate a customer token, wherein the customer token is used by the customer to query and / or download the target receipt file in the network cloud disk; a second sending unit, used to send the customer token to the client.

[0067] The cloud disk push device for electronic receipts includes a processor and a memory. The submission unit 501, the first generation unit 502, the activation unit 503, the first upload unit 504, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.

[0068] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the electronic receipt can be pushed to the cloud disk by adjusting the kernel parameters.

[0069] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0070] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, which implements a cloud disk push method for electronic receipts when the program is executed by a processor.

[0071] An embodiment of the present invention provides a processor, which is used to run a program, wherein the cloud disk push method of the electronic receipt is executed when the program is running.

[0072] like Figure 6 As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: submitting a request for applying for a token bucket to a network cloud disk based on ID information registered in an account and a network disk capacity requirement corresponding to the ID information, wherein the token bucket is used to store electronic receipt files, and there is at least one token bucket; when it is determined that the token bucket is successfully applied for, generating a target token corresponding to the token bucket, wherein the target token is used to operate the token bucket; opening token permissions for the target token, wherein the token permissions include at least one of the following: download, delete, upload; uploading the target receipt file to the target token bucket in the network cloud disk according to the token permissions.

[0073] When the processor executes the program, it also implements the following steps: before submitting a request to apply for a token bucket to the network cloud disk based on the ID information registered in the account and the network disk capacity requirement corresponding to the ID information, receiving the ID information sent by the client and the network disk capacity requirement corresponding to the ID information; sending the ID information and the network disk capacity requirement to the network cloud disk.

[0074] When the processor executes the program, the following steps are also implemented: when it is determined that the token bucket is successfully applied for, the interface information connected to the network cloud disk is obtained; the key for managing the token bucket is determined according to the interface information; and the target token is generated according to the private key in the key.

[0075] When executing the program, the processor also implements the following steps: opening the operation authority for the data in the token bucket, wherein the operation authority is used to read and / or write the data in the token bucket; and using the operation authority as the token authority.

[0076] When the processor executes the program, the following steps are also implemented: before uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, a customer receipt file belonging to the ID information is generated; the customer receipt file is signed to obtain a signed receipt file; the signed receipt file is named according to preset naming information to obtain a target receipt file, wherein the naming information of the target receipt file includes at least: ID information, receipt label information, and receipt date information.

[0077] When the processor executes the program, the following steps are also implemented: after uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, a customer token is generated, wherein the customer token is used by the customer to query and / or download the target receipt file in the network cloud disk; and the customer token is sent to the client.

[0078] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0079] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: submitting a request for a token bucket to a network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store electronic receipt files, and there is at least one token bucket; when it is determined that the token bucket is successfully applied for, generating a target token corresponding to the token bucket, wherein the target token is used to operate the token bucket; opening the token permissions of the target token, wherein the token permissions include at least one of the following: download, delete, upload; uploading the target receipt file to the target token bucket in the network cloud disk according to the token permissions.

[0080] When executed on a data processing device, it is also suitable for executing an initialization program with the following method steps: before submitting a request for a token bucket to the network cloud disk based on the ID information of the account registration and the network disk capacity demand corresponding to the ID information, receiving the ID information sent by the client and the network disk capacity demand corresponding to the ID information; sending the ID information and the network disk capacity demand to the network cloud disk.

[0081] When executed on a data processing device, it is also suitable for executing an initialization program with the following method steps: when it is determined that the token bucket is successfully applied for, obtaining interface information connected to the network cloud disk; determining the key for managing the token bucket based on the interface information; and generating a target token based on the private key in the key.

[0082] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: opening operation permissions for data in a token bucket, wherein the operation permissions are used to read and / or write data in the token bucket; and using the operation permissions as token permissions.

[0083] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: before uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, generating a customer receipt file belonging to the ID information; signing the customer receipt file to obtain the signed receipt file; naming the signed receipt file according to preset naming information to obtain the target receipt file, wherein the naming information of the target receipt file includes at least: ID information, receipt label information, and receipt date information.

[0084] When executed on a data processing device, it is also suitable for executing an initialization program having the following method steps: after uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, generating a customer token, wherein the customer token is used by the customer to query and / or download the target receipt file in the network cloud disk; sending the customer token to the client.

[0085] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0086] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0087] 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 operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0088] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0089] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0090] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0091] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules 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), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0092] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0093] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0094] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for pushing electronic receipts to a cloud disk. It is characterized in that include: Submitting a request for a token bucket to the network cloud disk based on the ID information registered in the account and the network disk capacity requirement corresponding to the ID information, wherein the token bucket is used to store electronic receipt files, and there is at least one token bucket; In the case where it is determined that the token bucket is successfully applied for, generating a target token corresponding to the token bucket, wherein the target token is used to operate the token bucket; Open the token authority of the target token, wherein the token authority includes at least one of the following: download, delete, upload; Upload the target receipt file to the target token bucket in the network cloud disk according to the token authority; When it is determined that the token bucket is successfully applied for, generating a target token corresponding to the token bucket includes: when it is determined that the token bucket is successfully applied for, obtaining interface information connected to the network cloud disk; determining the key for managing the token bucket according to the interface information; and generating the target token according to the private key in the key.

2. The method according to claim 1, It is characterized in that Before submitting a request for applying for a token bucket to the network cloud disk according to the ID information registered with the account and the network disk capacity demand corresponding to the ID information, the method further includes: Receive the ID information sent by the client and the network disk capacity requirement corresponding to the ID information; The ID information and the network disk capacity requirement are sent to the network cloud disk.

3. The method according to claim 2, It is characterized in that The token permissions for opening the target token include: Opening the operation permission for the data in the token bucket, wherein the operation permission is used to read and / or write the data in the token bucket; The operation authority is used as the token authority.

4. The method according to claim 1, It is characterized in that Before uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, the method further includes: Generate a customer receipt file to which the ID information belongs; Signing the customer receipt document to obtain a signed receipt document; The signed receipt file is named according to preset naming information to obtain the target receipt file, wherein the naming information of the target receipt file at least includes: the ID information, receipt label information, and receipt date information.

5. The method according to claim 2, It is characterized in that After uploading the target receipt file to the target token bucket in the network cloud disk according to the token authority, the method further includes: Generate a customer token, wherein the customer token is used by the customer to query and / or download the target receipt file in the network cloud disk; The client token is sent to the client.

6. A cloud disk push system for electronic receipts, It is characterized in that include: The client generates ID information for account registration in response to the network cloud disk registration request initiated by the webpage, determines the storage space corresponding to the ID information in the network cloud disk, determines the network disk capacity requirement corresponding to the ID information according to the storage space, and uploads the network disk capacity requirement and the ID information to the electronic receipt platform; The electronic receipt platform receives the ID information sent by the client and the network disk capacity requirement corresponding to the ID information, and sends the ID information and the network disk capacity requirement to the network cloud disk; The network cloud disk, in response to the application request for the token bucket submitted by the electronic receipt platform, configures the token bucket corresponding to the ID information; The system also includes: when it is determined that the token bucket is successfully applied for, obtaining interface information connected to the network cloud disk; determining a key for managing the token bucket according to the interface information; and generating a target token according to a private key in the key.

7. A cloud disk push device for electronic receipts, It is characterized in that include: A submitting unit, used to submit a request for applying for a token bucket to the network cloud disk according to the ID information of the account registration and the network disk capacity demand corresponding to the ID information, wherein the token bucket is used to store the electronic receipt file, and the token bucket is at least one; A first generating unit, configured to generate a target token corresponding to the token bucket when it is determined that the token bucket is successfully applied for, wherein the target token is used to operate the token bucket; An activation unit, used for activating the token authority of the target token, wherein the token authority includes at least one of the following: download, delete, upload; A first uploading unit, configured to upload a target receipt file to a target token bucket in a network cloud disk according to the token authority; The first generation unit includes: an acquisition module, which is used to obtain interface information connected to the network cloud disk when it is determined that the token bucket is successfully applied for; a first determination module, which is used to determine the key for managing the token bucket according to the interface information; and a generation module, which is used to generate a target token according to a private key in the key.

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a program, wherein the program executes the method according to any one of claims 1 to 5.

9. An electronic device, It is characterized in that The method comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and apparatuses for managing subscriptions on a security element

    CN105830478A

  • Distributed file uploading method and system

    CN112612770A

  • Network traffic limiting method and device, equipment and storage medium

    CN114143265A

  • Token management method and device

    CN114157470A

  • Electronic receipt pushing system based on bank

    CN114611153A