[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113793144B - Electronic certificate generation method and device, computer storage medium and electronic equipment - Google Patents

Electronic certificate generation method and device, computer storage medium and electronic equipment Download PDF

Info

Publication number
CN113793144B
CN113793144B CN202110155624.0A CN202110155624A CN113793144B CN 113793144 B CN113793144 B CN 113793144B CN 202110155624 A CN202110155624 A CN 202110155624A CN 113793144 B CN113793144 B CN 113793144B
Authority
CN
China
Prior art keywords
virtual resource
resource data
information
electronic
credential
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110155624.0A
Other languages
Chinese (zh)
Other versions
CN113793144A (en
Inventor
俞正骄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202110155624.0A priority Critical patent/CN113793144B/en
Publication of CN113793144A publication Critical patent/CN113793144A/en
Application granted granted Critical
Publication of CN113793144B publication Critical patent/CN113793144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure belongs to the technical field of computers, and relates to an electronic certificate generation method and device, a computer storage medium and electronic equipment. The method comprises the following steps: determining a plurality of virtual resource data corresponding to the target object, and calculating the plurality of virtual resource data to obtain a plurality of object numbers of the target object; determining a mapping relationship between the plurality of virtual resource data and the plurality of object numbers; and splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relation to obtain basic credential information, and generating a plurality of electronic credentials of the target object according to the basic credential information. In the present disclosure, on one hand, the virtual resource data and the number of objects are split according to the mapping relationship to obtain the basic credential information, so that the accuracy of the basic credential information is improved; on the other hand, a plurality of electronic certificates are generated according to the basic certificate information, so that the flexibility of the electronic certificate generation method is improved, and the application scene of the electronic certificate generation method is enlarged.

Description

Electronic certificate generation method and device, computer storage medium and electronic equipment
Technical Field
The disclosure relates to the field of computer technology, and in particular, to an electronic certificate generation method, an electronic certificate generation device, a computer readable storage medium and electronic equipment.
Background
With the development of electronic commerce technology, consumers have increasingly realized that electronic invoices have the advantages of easy storage, easy retrieval, easy inquiry and the like, and therefore, the form of the invoice has been developed from a traditional paper invoice to an electronic invoice of today. However, the amount paid for purchasing the merchandise may include an amount paid by the individual and an amount paid by the corporation.
In the related art, two invoices are generated for individuals and enterprises, but the commodity payment amount and the commodity purchase amount on the two invoices are the same, in addition, the commodity payment amount on the two invoices is the sum of the individual payment amount and the enterprise payment amount, and the amount on the two invoices is the sum of the individual purchase amount and the enterprise purchase amount, which results in that the purchase amount and the payment amount on the invoices are twice of the actual purchase amount, thus not only causing the error of invoice information, but also causing that tax authorities cannot effectively monitor commodity inventory.
In view of this, there is a need in the art to develop a new electronic certificate generation method and apparatus.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to an electronic certificate generating method, an electronic certificate generating device, a computer-readable storage medium, and an electronic apparatus, and further to overcome at least some of the problems due to the fact that the related art certificate information is inconsistent with the actual purchase information.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to a first aspect of an embodiment of the present invention, there is provided an electronic certificate generation method, the method including: determining a plurality of virtual resource data corresponding to a target object, and calculating the plurality of virtual resource data to obtain a plurality of object numbers of the target object; determining a mapping relationship between the plurality of virtual resource data and the plurality of object numbers; and splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relation to obtain basic credential information, and generating a plurality of electronic credentials of the target object according to the basic credential information.
In an exemplary embodiment of the present invention, the calculating the plurality of virtual resource data to obtain a plurality of object numbers of the target object includes: acquiring total virtual resource data corresponding to the target object, and calculating the plurality of virtual resource data and the total virtual resource data to obtain a plurality of data proportions; and acquiring the total object quantity corresponding to the target object, and respectively calculating the data proportions and the total object quantity to obtain a plurality of object quantities.
In an exemplary embodiment of the present invention, the determining a mapping relationship between the plurality of virtual resource data and the plurality of object numbers includes: acquiring a plurality of certificate acquirer identifiers corresponding to the plurality of virtual resource data, and acquiring the plurality of certificate acquirer identifiers corresponding to the plurality of object numbers; and determining the mapping relation between the plurality of virtual resource data and the plurality of object numbers according to the plurality of certificate acquirer identifiers.
In an exemplary embodiment of the present invention, the acquiring the plurality of credential acquirer identifiers corresponding to the plurality of object numbers includes: determining a plurality of virtual resource data corresponding to the plurality of object numbers; and determining the plurality of credential acquirer identifications identified as the plurality of object numbers.
In an exemplary embodiment of the present invention, the splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relationship to obtain basic credential information includes: splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relation to obtain a plurality of pieces of information to be verified; acquiring the inventory resource quantity of the target object, and comparing the inventory resource quantity with the plurality of information to be verified to obtain a quantity comparison result; and obtaining basic credential information according to the quantity comparison result.
In an exemplary embodiment of the present invention, the obtaining basic credential information according to the number comparison result includes: if the number of the objects in the information to be verified is smaller than or equal to the number of the stock resources, acquiring other credential information corresponding to the target object; and obtaining basic credential information according to the information to be verified and the other credential information.
In an exemplary embodiment of the present invention, after the generating the plurality of electronic certificates of the target object according to the base certificate information, the method further includes: and updating the quantity of the inventory resources according to the quantity of the objects in the information to be verified.
In an exemplary embodiment of the present invention, the splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relationship to obtain basic credential information includes: determining object type information of the target object, and splitting the plurality of virtual resource data and the plurality of object numbers according to the object type information to obtain a plurality of objects to be processed; and determining a plurality of target virtual resource data and a plurality of target object numbers of the plurality of objects to be processed in the plurality of virtual resource data and the plurality of object numbers, and carrying out splitting processing on the plurality of target virtual resource data and the plurality of target object numbers according to the mapping relation to obtain basic credential information.
In an exemplary embodiment of the present invention, the generating a plurality of electronic certificates of the target object according to the basic certificate information includes: and acquiring the credential type information, and generating a common credential and/or a special credential of the target object according to the credential type information.
According to a second aspect of an embodiment of the present invention, there is provided an electronic certificate generation apparatus, the apparatus including: a computing module configured to determine a plurality of virtual resource data corresponding to a target object, and calculate the plurality of virtual resource data to obtain a plurality of object numbers of the target object; a mapping module configured to determine a mapping relationship between the plurality of virtual resource data and the plurality of object numbers; the generation module is configured to split the plurality of virtual resource data and the plurality of object numbers according to the mapping relation to obtain basic credential information, and generate a plurality of electronic credentials of the target object according to the basic credential information.
According to a third aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor and a memory; wherein the memory has stored thereon computer readable instructions which, when executed by the processor, implement the electronic credential generation method of any of the exemplary embodiments described above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the electronic credential generation method in any of the above-described exemplary embodiments.
As can be seen from the above technical solutions, the electronic certificate generation method, the electronic certificate generation device, the computer storage medium and the electronic apparatus in the exemplary embodiment of the present invention have at least the following advantages and positive effects:
In the method and the device provided by the exemplary embodiment of the disclosure, on one hand, the virtual resource data and the number of objects are split according to the mapping relation to obtain the basic credential information, so that the accuracy of the basic credential information is improved; on the other hand, a plurality of electronic certificates are generated according to the basic certificate information, so that the flexibility of the electronic certificate generation method is improved, and the application scene of the electronic certificate generation method is enlarged.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 schematically illustrates a flow diagram of a method of electronic credential generation in an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of calculating a plurality of virtual resource data to obtain a plurality of object numbers of the target object in an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart for determining a mapping relationship between a plurality of virtual resource data and a plurality of object numbers in an embodiment of the disclosure;
FIG. 4 schematically illustrates a flowchart of acquiring a plurality of credential acquirer identifications corresponding to a plurality of object numbers in an embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow diagram for deriving underlying credential information in an embodiment of the present disclosure;
FIG. 6 schematically illustrates a flowchart of obtaining basic credential information based on a quantity comparison result in an embodiment of the present disclosure;
FIG. 7 is a flow diagram schematically illustrating obtaining underlying credential information in an embodiment of the present disclosure;
fig. 8 schematically illustrates a flowchart of a method for generating an electronic certificate in an application scenario in an embodiment of the disclosure;
fig. 9 schematically illustrates a structural diagram of an electronic certificate generating apparatus in an embodiment of the present disclosure;
FIG. 10 schematically illustrates an electronic device for an electronic credential generation method in an embodiment of the disclosure;
fig. 11 schematically illustrates a computer-readable storage medium for an electronic credential generation method in an embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
The terms "a," "an," "the," and "said" are used in this specification to denote the presence of one or more elements/components/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. in addition to the listed elements/components/etc.; the terms "first" and "second" and the like are used merely as labels, and are not intended to limit the number of their objects.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
Aiming at the problems in the related art, the present disclosure proposes an electronic certificate generation method. Fig. 1 shows a flow chart of an electronic certificate generation method, as shown in fig. 1, the electronic certificate generation method at least comprises the following steps:
S110, determining a plurality of virtual resource data corresponding to the target object, and calculating the plurality of virtual resource data to obtain a plurality of object numbers of the target object.
And S120, determining a mapping relation between the plurality of virtual resource data and the plurality of object numbers.
S130, splitting the virtual resource data and the object numbers according to the mapping relation to obtain basic credential information, and generating a plurality of electronic credentials of the target object according to the basic credential information.
In the method and the device provided by the exemplary embodiment of the disclosure, on one hand, the virtual resource data and the number of objects are split according to the mapping relation to obtain the basic credential information, so that the accuracy of the basic credential information is improved; on the other hand, a plurality of electronic certificates are generated according to the basic certificate information, so that the flexibility of the electronic certificate generation method is improved, and the application scene of the electronic certificate generation method is enlarged.
The steps of the electronic certificate generation method are described in detail below.
In step S110, a plurality of virtual resource data corresponding to the target object is determined, and a plurality of object numbers of the target object are calculated from the plurality of virtual resource data.
In the exemplary embodiment of the present disclosure, the target object refers to an article purchased by a user, and may be an article of clothing, an article of food, an article of home, an article of traffic, and particularly a special article under the control of a national tax agency, such as a product oil, but the target object may be any article that may be purchased by a consumer, and the exemplary embodiment is not limited thereto.
The finished oil refers to gasoline, kerosene, diesel oil and other alternative fuels which meet the national product quality standard and have the same purpose, such as ethanol gasoline, biodiesel and the like.
And in the process of buying and selling the finished oil, the whole finished oil inventory of the enterprise is strictly controlled by the national tax bureau, the enterprise can increase the inventory of the finished oil after acquiring the certificate of buying the finished oil, and the enterprise can reduce the inventory of the finished oil of the enterprise after generating the certificate of selling the finished oil.
The plurality of virtual resource data refers to an amount of money to be paid when the plurality of buyers purchase the target object, and the plurality of object numbers refers to a purchase amount when the plurality of buyers purchase the target object.
The units of the number of the plurality of objects may be pieces, units of volumes, for example, liters or milliliters, or strips, and specifically, the units of the number of the plurality of objects correspond to the target objects.
For example, if the target object is lubricating oil, the individual may enjoy the subsidy of the enterprise during the process of purchasing the lubricating oil. Thus, there are two purchasers actually purchasing lubricating oil, respectively businesses and individuals.
At this time, two pieces of virtual resource data, which are 200 elements for the individual purchasing of the lubricating oil and 800 elements for the enterprise purchasing of the lubricating oil, can be obtained. The number of objects can be obtained by calculating the plurality of virtual resource data, and specifically, the number of objects is 200 liters of the number of purchased lubricating oil by an individual and 800 liters of purchased lubricating oil by an enterprise.
In an alternative embodiment, fig. 2 shows a schematic flow chart of calculating a plurality of virtual resource data to obtain a plurality of object numbers of the target object in the electronic certificate generation method, and as shown in fig. 2, the method at least includes the following steps: in step S210, total virtual resource data corresponding to the target object is acquired, and a plurality of data proportions are calculated from the plurality of virtual resource data and the total virtual resource data.
The total virtual resource data refers to the sum of a plurality of virtual resource data, for example, the plurality of virtual resource data includes 100 blocks of virtual resource data, 200 blocks of virtual resource data and 700 blocks of virtual resource data, and the total virtual resource data is the sum of 100 blocks, 200 blocks and 700 blocks, namely 1000 blocks.
The data proportion refers to proportion information of each piece of virtual resource data to the total virtual resource data, and the data proportion can be a number, a percentage or a share number, and the exemplary embodiment is not limited to this.
For example, the virtual resource data includes 100 blocks of virtual resource data, 200 blocks of virtual resource data and 700 blocks of virtual resource data, and the total virtual resource data is 1000 blocks, so that 3 data ratios can be obtained by dividing each virtual resource data by the total virtual resource data, which are respectively 0.1, 0.2 and 0.7.
In step S220, the total number of objects corresponding to the target object is obtained, and the plurality of data proportions and the total number of objects are respectively calculated to obtain a plurality of object numbers.
Wherein the total object number refers to total number information of the plurality of purchase target objects of the purchaser, and the plurality of object numbers refers to number information of the plurality of purchase target objects corresponding to the plurality of virtual resource data.
For example, assuming that the target object is lubricating oil, the user knows the total amount of lubricating oil to be purchased, i.e., the total object number, at the time of purchasing lubricating oil is 1000 liters, and also knows the total amount of money to be paid for purchasing lubricating oil, i.e., the total virtual resource data is 1000 pieces.
However, purchasing the lubricating oil can enjoy preferential subsidies of enterprises where the user is located, wherein the amount paid by the individual and the amount paid by the enterprises, namely a plurality of virtual resource data, can be determined according to the subsidy details, and 200 blocks are paid for the individual and 800 blocks are paid for the enterprises.
However, at this time, it is not known that the enterprises and individuals purchase the lubricating oil respectively, that is, the number of objects is not known, and at this time, it is necessary to calculate the data proportion first, then multiply the total number of objects by the data proportion to obtain the number of objects, and the number of lubricating oils purchased by the individuals is 200L, and the capacity of the enterprises to purchase the lubricating oil is 800L.
In an alternative embodiment, the number of the plurality of objects is obtained by calculating the plurality of virtual resource data, so that the subsequent efficient splitting processing of the plurality of virtual resource data and the number of the plurality of objects is facilitated.
In step S120, a mapping relationship between the plurality of virtual resource data and the plurality of object numbers is determined.
In an exemplary embodiment of the present disclosure, the mapping relationship refers to a correspondence relationship between a plurality of virtual resource data and a plurality of object numbers.
For example, if the target object is lubricating oil, the individual may enjoy the subsidy of the enterprise during the process of purchasing the lubricating oil. Thus, there are two purchasers actually purchasing lubricating oil, respectively businesses and individuals.
At this time, two pieces of virtual resource data, which are 200 elements for the individual purchasing of the lubricating oil and 800 elements for the enterprise purchasing of the lubricating oil, can be obtained. The number of objects can be obtained by calculating the plurality of virtual resource data, and specifically, the number of objects is 200 liters of the number of purchased lubricating oil by an individual and 800 liters of the number of purchased lubricating oil by an enterprise.
The number of 200 liters of objects for the individual to purchase the lubricating oil is obtained by calculating the virtual resource data 200 blocks for the individual to purchase the lubricating oil, so that the mapping relationship between the number of 200 liters of objects and the virtual resource data 200 blocks can be determined, and the mapping relationship between the number of 800 liters of objects and the virtual resource data 800 blocks can be determined.
In an alternative embodiment, fig. 3 is a schematic flow chart of determining a mapping relationship between a plurality of virtual resource data and a plurality of object numbers in an electronic certificate generation method, and as shown in fig. 3, the method at least includes the following steps: in step S310, the credential acquirer identifications corresponding to the plurality of virtual resource data are acquired, and the credential acquirer identifications corresponding to the plurality of object numbers are acquired.
The credential acquirer identifier refers to identification information corresponding to a plurality of buyers purchasing the target object, and the acquirer identifier may be a number, a section of character string, or a section of text, which is not particularly limited in this exemplary embodiment.
For example, the plurality of virtual resource data acquired includes a virtual resource data 200 block, a virtual resource data 800 block, wherein the virtual resource data 200 block is paid personally, and the virtual resource 800 block is paid personally, and thus, the acquirer identifier corresponding to the virtual resource data 200 block may be a number 1 corresponding to the personally, and the acquirer identifier corresponding to the virtual resource data 800 block may be a number 2 corresponding to the personally.
Similarly, the plurality of object numbers includes the object number 200L calculated by the block of the virtual resource data 200, and also includes the object number 800L calculated by the block of the virtual resource data 800. At this time, the acquired acquirer corresponding to the number of objects 200L is identified as a number 1 corresponding to the individual, and the acquired acquirer corresponding to the number of objects 800L is identified as a number 2 corresponding to the enterprise.
In step S320, a mapping relationship between the plurality of virtual resource data and the plurality of object numbers is determined according to the credential acquirer identification.
Wherein, according to the acquirer identification, the mapping relation between a plurality of virtual resource data and a plurality of object numbers can be determined.
For example, the plurality of virtual resource data acquired includes a virtual resource data 200 block and a virtual resource data 800 block, and the acquirer identifier corresponding to the virtual resource data 200 block may be a number 1 corresponding to an individual, and the acquirer identifier corresponding to the virtual resource data 800 block may be a number 2 corresponding to an enterprise.
The plurality of object numbers acquired includes an object number 800L and an object number 200L, and an acquirer corresponding to the object number 200L is identified as a number 1 corresponding to the individual, and an acquirer corresponding to the object number 800L is identified as a number 2 corresponding to the enterprise.
The virtual resource data with the same acquirer identifier and the number of objects have a mapping relationship, namely, the virtual resource data 200 blocks and the number of objects 200L have a mapping relationship, and the virtual resource data 800 blocks and the number of objects 800L have a mapping relationship.
In an alternative embodiment, fig. 4 is a schematic flow chart of acquiring multiple credential acquirer identifiers corresponding to multiple object numbers in an electronic credential generating method, and as shown in fig. 4, the method at least includes the following steps: in step S410, a plurality of virtual resource data corresponding to a plurality of object numbers is determined.
In this case, the plurality of virtual resource data corresponding to the plurality of object numbers exist, and thus the corresponding plurality of virtual resource data can be determined by the plurality of object numbers.
For example, two object numbers 800L and 200L are obtained, respectively, wherein the object number 800L is obtained by calculating the virtual resource data 800 blocks, and the object number 200L is obtained by calculating the virtual resource data 200 blocks, so that the virtual resource data corresponding to the object number 800L is 800 blocks and the virtual resource data corresponding to the object number 200L is 200 blocks.
In step S420, a plurality of credential acquirer identifications, the credential acquirer identification being a plurality of object numbers, is determined.
When obtaining the credential acquirer identifiers corresponding to the number of the plurality of objects, determining a plurality of virtual resource data corresponding to the number of the plurality of objects, determining the credential acquirer identifier corresponding to the virtual resource data, and determining the credential acquirer identifier as the credential acquirer identifier of the number of the plurality of objects.
For example, there are two object numbers and two virtual resource data, specifically, 800 blocks and 200 blocks, and two object numbers 800L and 200L. The virtual resource data 800 block corresponds to the object number 800L, and the virtual resource data 200 block corresponds to the object number 200L.
The credential acquirer identifier corresponding to the 800 blocks of virtual resource data is acquired as 1, the credential acquirer identifier corresponding to the 200 blocks of virtual resource data is acquired as 2, based on which the credential acquirer identifier of the 800L number of objects is 1, and the credential acquirer identifier of the 200L number of objects is 2.
In an alternative embodiment, the method is favorable for splitting a plurality of virtual resource data and a plurality of object numbers in the follow-up process by acquiring the identification of the credential acquirer of the virtual resource data and the identification of the credential acquirer of the object numbers, so that the accuracy of generating the electronic credential is improved.
In step S130, splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relationship to obtain basic credential information, and generating a plurality of electronic credentials of the target object according to the basic credential information.
In the exemplary embodiment of the present disclosure, the electronic certificate refers to a certificate that can be used for reimbursement by a consumer, and the electronic certificate may be an electronic invoice, an electronic receipt, or an electronic consumption record, which is not particularly limited in the exemplary embodiment.
Splitting refers to dividing an entity into different parts, wherein the entity refers to a plurality of virtual resource data and a plurality of object numbers, and the part refers to basic credential information obtained according to one virtual resource data and one object number.
Specifically, the basic credential information refers to information for generating an electronic credential, for example, when the electronic credential is an invoice, the basic credential information may include a business name, a business address, a business phone, an account opening bank account number, a taxpayer identification number, a name of a purchased commodity, the number of purchased commodity, an amount of the purchased commodity, a personal name, and the like.
For example, in the process of purchasing lubricating oil by an individual, an enterprise makes a certain subsidy for the individual, and at this time, two pieces of virtual resource data and two pieces of object numbers can be obtained, specifically including 200 pieces of virtual resource data, 800 pieces of virtual resource data, 200 liters of object numbers and 800 liters of object numbers.
Wherein, 200 liters of object number has a mapping relation with 200 blocks of virtual resource data, and 800 liters of object number has a mapping relation with 800 blocks of virtual resource data.
And splitting the virtual resource data 200 blocks, the virtual resource data 800 blocks, the object number 200 liters and the object number 800 liters according to the two mapping relations to obtain two groups of basic credential information, wherein the first group of basic credential information comprises the object number 800 liters and the virtual resource data 800 blocks, and the second group of basic credential information comprises the object number 200 liters and the virtual resource data 200 blocks.
In an alternative embodiment, fig. 5 shows a schematic flow chart of obtaining basic credential information in an electronic credential generating method, and as shown in fig. 5, the method at least includes the following steps: in step S510, splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relationship to obtain a plurality of information to be verified.
The information to be verified refers to one piece of virtual resource data and one piece of object number, which are obtained by splitting a plurality of pieces of virtual resource data and a plurality of pieces of object number.
For example, there are two virtual resource data and two object numbers, specifically 200 blocks of virtual resource data, 800 blocks of virtual resource data, 200 liters of object numbers, and 800 liters of object numbers. The number of objects 200 liters has a mapping relationship with the virtual resource data 200 blocks, and the number of objects 800 liters has a mapping relationship with the virtual resource data 800 blocks.
Based on the above, the virtual resource data 200 blocks, the virtual resource data 800 blocks, the object number 200 liters and the object number 800 liters are split according to the mapping relation to obtain two pieces of information to be verified, wherein the first piece of information to be verified can be composed of the virtual resource data 200 blocks and the object number 200L, and the second piece of information to be verified can be composed of the virtual resource data 800 blocks and the object number 800L.
In step S520, the number of inventory resources of the target object is obtained, and the number of inventory resources and the plurality of information to be verified are compared to obtain a number comparison result.
The stock resource quantity refers to the storage quantity of the target object stored by the seller selling the target object, the stock resource quantity can be in units of pieces, strips or liters, the specific unit of the stock resource quantity corresponds to the target object, for example, the target object is lubricating oil, the stock resource quantity refers to the storage quantity of the lubricating oil stored in the warehouse, and the specific storage quantity can be 50000 liters.
For example, the target object is lubricating oil, the obtained information to be verified is 800 blocks of virtual resource data and 800L of object quantity, and the quantity of stock resources corresponding to the lubricating oil is 1000L.
And comparing the quantity 1000L of the stock resources with the quantity 800L of the objects in the information to be verified to obtain a quantity comparison result.
In step S530, the base credential information is obtained according to the number comparison result.
And obtaining basic credential information through the quantity comparison result.
For example, if the number of objects in the information to be verified is 800L and the virtual inventory number is 1000L, it is obvious that the number of objects in the information to be verified is smaller than the virtual inventory number, that is, the deposit amount of the target object is enough for the consumer to buy, the basic credential information is obtained.
In an alternative embodiment, the number of objects in the information to be verified is compared with the virtual number of the stock to obtain a number comparison result, then the basic credential information is obtained according to the number comparison result, and the comparison link is additionally arranged, so that the logic of the method for generating the electronic credential is more perfect.
It should be noted that, the number comparison results include three types, the first type is that the number of objects in the information to be verified is greater than the virtual number of the stock, the second type is that the number of objects in the information to be verified is equal to the virtual number of the stock, and the third type is that the number of objects is less than the virtual number of the stock.
In an alternative embodiment, fig. 6 is a schematic flow chart of obtaining basic credential information according to the number comparison result in the electronic credential generating method, and as shown in fig. 6, the method at least includes the following steps: in step S610, if the number of objects in the information to be verified is less than or equal to the number of inventory resources, other credential information corresponding to the target object is obtained.
Other credential information refers to basic credential information excluding virtual resource data and the number of objects, and for example, other credential information may include an address of an enterprise, a telephone of an enterprise, an account opening bank account number, a taxpayer identification number, a name of a purchased commodity, the number of purchased commodities, an amount of purchased commodity, and a personal name.
For example, the target object is lubricating oil, the number of objects in the information to be verified is 800L, the number of stock resources is 1000L, and it is obvious that the number comparison result is that the number of objects 800L in the information to be verified is smaller than the number of stock resources, and other credential information corresponding to the lubricating oil is obtained at this time, for example, an enterprise address, an enterprise phone, an enterprise account opening bank, and an enterprise bank account number of an enterprise purchasing lubricating oil.
In step S620, basic credential information is obtained from the information to be verified and other credential information.
And combining the information to be verified and other credential information into basic credential information.
For example, the obtained information to be verified is 800 blocks of virtual resource data and 800L of object number, and the obtained other credential information is enterprise address, enterprise phone, enterprise account opening bank and enterprise bank account number of the enterprise purchasing the lubricating oil. Based on this, the basic credential information includes a virtual resource data 800 block for purchasing lubricating oil, a number of objects 800L for purchasing lubricating oil, an enterprise address of an enterprise for purchasing lubricating oil, an enterprise phone, an enterprise account opening bank, and an enterprise bank account number.
In addition, if the number of objects is greater than the virtual number of stock, a preset error message is displayed to remind the failure of the electronic certificate generation.
In an alternative embodiment, the basic credential information is generated only when the number of objects is determined to be less than or equal to the number of the inventory virtual resources, so that the phenomenon that the basic credential information is obtained anyway when the number of the inventory virtual resources is less than the number of the objects is avoided, and the accuracy of the basic credential information is ensured.
In an alternative embodiment, after generating the plurality of electronic certificates for the target object from the base certificate information, the method further comprises: and updating the quantity of the inventory resources according to the quantity of the objects in the information to be verified.
After the electronic certificate is generated according to the basic certificate information, the inventory resource quantity is updated according to the object quantity in the information to be verified.
The method of updating may be to subtract the number of objects from the number of inventory resources, or update the number of inventory resources according to an algorithm related to the number of objects, which is not particularly limited in the present exemplary embodiment.
For example, the number of objects in the information to be verified is 800L, the number of inventory resources is 1000L, and after the electronic certificate is generated, the updated number of inventory resources is 200L by subtracting the number of objects from the number of inventory resources.
In an alternative embodiment, the number of the inventory resources is updated according to the number of the objects, so that the accuracy of the obtained number of the inventory resources is improved, and the number comparison result is obtained by comparing the number of the objects with the number of the inventory resources, so that the accuracy of generating the electronic certificate is also improved.
In an alternative embodiment, fig. 7 is a schematic flow chart of the basic credential information obtained by processing in the electronic credential generating method, and as shown in fig. 7, the method at least includes the following steps: in step S710, object type information of the target object is determined, and splitting processing is performed on the plurality of virtual resource data and the plurality of target object numbers according to the object type information to obtain a plurality of objects to be processed.
The object type information refers to information for distinguishing different target objects, the object type information can be tax rate, can be the type of the target object, can also be classification information of enterprises on the target object, and specifically, the tax rate refers to a fixed tax rate value specified by the country for different types of commodities.
For example, if the target object includes a lubricant in a liquid state and carbon dioxide in a gaseous state, the enterprise specifies that the lubricant in a liquid state and the carbon dioxide in a gaseous state are two different types of target objects.
The object type information corresponding to the lubricating oil in a liquid state is liquid, the object type information corresponding to the carbon dioxide in a gas state is gas, and a purchaser purchasing the lubricating oil and purchasing the carbon dioxide comprises enterprises and individuals, so that two virtual resource data corresponding to the lubricating oil are respectively 200 yuan paid by the individuals, 800 yuan paid by the enterprises, two object numbers corresponding to the lubricating oil are respectively 200L corresponding to the individuals and 800L corresponding to the enterprises.
In addition, there are two virtual resource data corresponding to carbon dioxide, 300 yuan for personal payment, 700 yuan for business payment, and two object numbers corresponding to carbon dioxide, 300 parties corresponding to personal, 700 parties corresponding to business.
Based on the above, the two virtual resource data corresponding to the lubricating oil, the two object numbers corresponding to the lubricating oil, the two virtual resource data corresponding to the carbon dioxide and the two object numbers corresponding to the carbon dioxide are split according to the object type information of the lubricating oil and the carbon dioxide, so that two groups of objects to be processed are obtained.
In step S720, a plurality of target virtual resource data and a plurality of target object numbers of a plurality of objects to be processed are determined from the plurality of virtual resource data and the plurality of object numbers, and the plurality of target virtual resource data and the plurality of target object numbers are split according to the mapping relationship to obtain basic credential information.
The target virtual resource data refers to a plurality of virtual resource data corresponding to the object to be processed, and the target object number refers to a plurality of object numbers corresponding to the object to be processed.
For example, the objects to be processed may be two groups, specifically, the first group of objects to be processed is two virtual resource data corresponding to the lubricating oil and two object numbers corresponding to the lubricating oil, and the second group of objects to be processed is two virtual resource data corresponding to the carbon dioxide and two object numbers corresponding to the carbon dioxide.
Based on this, the target virtual resource data corresponding to the first object to be processed is two virtual resource data corresponding to the lubricating oil, the target object number corresponding to the first object to be processed is two object numbers corresponding to the lubricating oil, and similarly, the target virtual resource data corresponding to the second object to be processed is two virtual resource data corresponding to the carbon dioxide, and the target object number corresponding to the second object to be processed is two object numbers corresponding to the carbon dioxide.
And the mapping relation exists between the plurality of target virtual resource data and the plurality of target object numbers, and the plurality of target virtual resource data and the plurality of target object numbers can be split again according to the mapping relation so as to obtain the basic credential information.
For example, the obtained target virtual resource data is 200 yuan for the enterprise to purchase the lubricating oil and 300 yuan for the individual to purchase the lubricating oil, and the obtained target object number is 200L for the enterprise to purchase the lubricating oil and 300L for the individual to purchase the lubricating oil.
Wherein, the 200 yuan of the personal purchasing lubricating oil payment has a mapping relation with the quantity of the personal purchasing lubricating oil, and the 300 yuan of the enterprise purchasing lubricating oil payment has a mapping relation with the 300L quantity of the enterprise purchasing lubricating oil.
And splitting the plurality of target virtual resource data and the plurality of target object numbers according to the two mapping relations to obtain basic credential information.
In an alternative embodiment, if the purchased commodity has multiple object type information, the method can also be used to obtain basic credential information, so as to generate an electronic credential, perfect the logic of the method and facilitate the management of the target object.
In an alternative embodiment, generating a plurality of electronic certificates for the target object from the base certificate information includes: and acquiring the credential type information, and generating a common credential and/or a special credential of the target object according to the credential type information.
The electronic certificate type information refers to the type of the electronic certificate, for example, if the electronic certificate is an invoice, the electronic certificate type information can be type information representing generation of common invoice information or type information representing generation of special invoice information.
For example, the electronic certificate is an invoice, and there are two groups of basic certificate information aiming at the target object lubricating oil, the first group of basic certificate information is certificate type information corresponding to the common invoice, and the second group of basic certificate information is certificate type information corresponding to the special invoice.
Based on this, a generic invoice is generated for the first set of base credential information and a specific invoice is generated for the second set of base credential information.
In an alternative embodiment, different electronic certificates can be generated according to different certificate type information, so that the flexibility of generating the electronic certificates is increased, and the use scene of a method for generating the electronic certificates is optimized.
In the method and the device provided by the exemplary embodiment of the disclosure, on one hand, the virtual resource data and the number of objects are split according to the mapping relation to obtain the basic credential information, so that the accuracy of the basic credential information is improved; on the other hand, a plurality of electronic certificates are generated according to the basic certificate information, so that the flexibility of the electronic certificate generation method is improved, and the application scene of the electronic certificate generation method is enlarged.
The method for generating electronic certificates in the embodiment of the present disclosure is described in detail below in conjunction with an application scenario.
Fig. 8 shows a flowchart of a method for generating an electronic certificate in an application scenario, where a module 810 is a product oil information management module, a module 820 is a product oil sales order module, a module 830 is an enterprise personal mixed payment module, a module 840 is a product oil payment amount splitting and recording module, a module 850 is a product oil billing information clearing and calculating module, a module 860 is a product oil invoice generation module, and a module 870 is a product oil tax oil inventory management module.
Specifically, the module 810 is configured to maintain basic information of the commodity, where the basic information of the commodity includes whether the commodity type is a product oil, a commodity tax rate, and a specification and model of the product oil commodity. In step S812, it is determined whether the commodity is the product oil, if the result of the determination is that the commodity is the product oil, the commodity basic information to be maintained further includes a specific tax classification code, and the process proceeds to step S814, where it is determined whether the unit of the product oil is up to or in tons, and if the product oil is sold not in up to or in tons but in barrels or bottles, the unit of the product oil is converted into up to or in tons.
In block 820, in step S822, the customer selects the goods to be purchased, in step S824, the customer places an order for the goods to be purchased, in step S826, the goods purchased by the customer and the type of the goods are recorded, and the corresponding payment amount, i.e., the total virtual resource data, is generated according to the order placed by the customer.
In step S832 of the module 830, the customer selects the payment method for the goods to be the hybrid payment method according to the hybrid payment instrument provided by the module 830, that is, the customer and the individual together bear the payment amount generated in step S826.
In block 840, after the customer selects the hybrid payment method, the amount of the individual payment and the amount of the business payment, i.e., the plurality of virtual resource data, are recorded.
In step S851 of the module 850, an amount ratio is calculated according to the personal payment amount obtained in the module 840, the business payment amount obtained in the module 840, and the payment amount obtained in step S826, that is, the data proportion is calculated for each of the plurality of virtual resource data and the total virtual resource data.
In step S852, the total capacity, that is, the total number of objects is calculated by multiplying the purchased number by the capacity.
In step S853, the data proportion in step S851 and the total object number in step S852 are multiplied to obtain the commodity capacity purchased by the individual and the commodity capacity purchased by the enterprise, i.e., the plurality of object capacities.
In step S854, the credential acquirer identifiers corresponding to the plurality of virtual resource data and the plurality of object numbers are acquired, and two sets of mapping relationships, that is, the mapping relationship between the individual virtual resource data and the individual object number and the mapping relationship between the enterprise virtual resource data and the enterprise object number, are determined according to the credential acquirer identifiers. And splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relation to obtain basic credential information.
In step S855, two invoices for the business and the person are generated according to the different basic credential information.
In step S861 of module 860, when the user selects a control for triggering invoice generation, invoice splitting data, i.e., information to be verified, is obtained in response to the triggering operation, the number of objects in the information to be verified is obtained, and step S862 is entered to obtain inventory resource data, and the number of objects is compared with the inventory resource data.
If the number of objects is less than or equal to the inventory resource data, an invoice is generated to the customer, and in step S863, basic invoice information is recorded, and in module 870, a corresponding electronic invoice is generated according to the basic invoice information.
Also, after the electronic invoice is generated, the inventory resource data may be updated in step S871 of module 870.
If the number of objects is greater than the stock resource data, the process proceeds to step S864, where the invoice generation is prompted to fail.
In the application scene, on one hand, the virtual resource data and the number of objects are split according to the mapping relation to obtain the basic credential information, so that the accuracy of the basic credential information is improved; on the other hand, a plurality of electronic certificates are generated according to the basic certificate information, so that the flexibility of the electronic certificate generation method is improved, and the application scene of the electronic certificate generation method is enlarged.
In addition, in an exemplary embodiment of the present disclosure, an electronic credential generating device is also provided. Fig. 9 shows a schematic structural diagram of an electronic certificate generation apparatus, and as shown in fig. 9, the electronic certificate generation apparatus 900 may include: a calculation module 910, a mapping module 920, and a generation module 930. Wherein:
A calculating module 910, configured to determine a plurality of virtual resource data corresponding to the target object, and calculate a plurality of object numbers of the target object from the plurality of virtual resource data; a mapping module 920 configured to determine a mapping relationship between the plurality of virtual resource data and the plurality of object numbers; the generating module 930 is configured to split the plurality of virtual resource data and the plurality of object numbers according to the mapping relationship to obtain basic credential information, and generate a plurality of electronic credentials of the target object according to the basic credential information.
The specific details of the electronic certificate generation device 900 are described in detail in the corresponding electronic certificate generation method, and thus are not described herein.
It should be noted that although several modules or units of the direct electronic credential generating device 900 are mentioned in the detailed description above, such partitioning is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
An electronic device 1000 according to such an embodiment of the invention is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. Components of electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, a bus 1030 connecting the various system components (including the memory unit 1020 and the processing unit 1010), and a display unit 1040.
Wherein the storage unit stores program code that is executable by the processing unit 1010 such that the processing unit 1010 performs steps according to various exemplary embodiments of the present invention described in the above section of the "exemplary method" of the present specification.
The memory unit 1020 may include readable media in the form of volatile memory units such as Random Access Memory (RAM) 1021 and/or cache memory unit 1022, and may further include Read Only Memory (ROM) 1023.
Storage unit 1020 may also include a program/usage tool 1024 having a set (at least one) of program modules 1025, such program modules 1025 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which may include the reality of a network environment, or some combination thereof.
Bus 1030 may be representing one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1000 can also communicate with one or more external devices 1070 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any device (e.g., router, modem, etc.) that enables the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1050. Also, electronic device 1000 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 over the bus 1030. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the electronic device 1000, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
Referring to fig. 11, a program product 1100 for implementing the above-described method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (11)

1. A method of electronic credential generation, the method comprising:
Determining a plurality of virtual resource data corresponding to a target object, acquiring total virtual resource data corresponding to the target object, and calculating the plurality of virtual resource data and the total virtual resource data to obtain a plurality of data proportions;
Acquiring the total object quantity corresponding to the target object, and respectively calculating the data proportions and the total object quantity to obtain a plurality of object quantities;
determining a mapping relationship between the plurality of virtual resource data and the plurality of object numbers;
And splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relation to obtain basic credential information, and generating a plurality of electronic credentials of the target object according to the basic credential information.
2. The electronic certificate generation method according to claim 1, wherein the determining a mapping relationship between the plurality of virtual resource data and the plurality of object numbers includes:
acquiring a plurality of certificate acquirer identifiers corresponding to the plurality of virtual resource data, and acquiring the plurality of certificate acquirer identifiers corresponding to the plurality of object numbers;
and determining the mapping relation between the plurality of virtual resource data and the plurality of object numbers according to the plurality of certificate acquirer identifiers.
3. The electronic certificate generation method according to claim 2, wherein the acquiring the plurality of certificate acquirer identifications corresponding to the plurality of object numbers includes:
determining a plurality of virtual resource data corresponding to the plurality of object numbers;
and determining the plurality of credential acquirer identifications identified as the plurality of object numbers.
4. The method for generating electronic certificates according to claim 1, wherein said splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relationship to obtain basic certificate information includes:
Splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relation to obtain a plurality of pieces of information to be verified;
acquiring the inventory resource quantity of the target object, and comparing the inventory resource quantity with the plurality of information to be verified to obtain a quantity comparison result;
and obtaining basic credential information according to the quantity comparison result.
5. The electronic certificate generation method according to claim 4, wherein the obtaining basic certificate information according to the number comparison result includes:
if the number of the objects in the information to be verified is smaller than or equal to the number of the stock resources, acquiring other credential information corresponding to the target object;
and obtaining basic credential information according to the information to be verified and the other credential information.
6. The electronic certificate generation method according to claim 4, wherein after the generating the plurality of electronic certificates of the target object according to the base certificate information, the method further comprises:
and updating the quantity of the inventory resources according to the quantity of the objects in the information to be verified.
7. The method for generating electronic certificates according to claim 1, wherein said splitting the plurality of virtual resource data and the plurality of object numbers according to the mapping relationship to obtain basic certificate information includes:
determining object type information of the target object, and splitting the plurality of virtual resource data and the plurality of object numbers according to the object type information to obtain a plurality of objects to be processed;
And determining a plurality of target virtual resource data and a plurality of target object numbers of the plurality of objects to be processed in the plurality of virtual resource data and the plurality of object numbers, and carrying out splitting processing on the plurality of target virtual resource data and the plurality of target object numbers according to the mapping relation to obtain basic credential information.
8. The electronic certificate generation method according to claim 1, wherein the generating a plurality of electronic certificates of the target object from the base certificate information includes:
And acquiring the credential type information, and generating a common credential and/or a special credential of the target object according to the credential type information.
9. An electronic certificate generation apparatus, comprising:
The computing module is configured to determine a plurality of virtual resource data corresponding to a target object, acquire total virtual resource data corresponding to the target object, and compute the plurality of virtual resource data and the total virtual resource data to obtain a plurality of data proportions; acquiring the total object quantity corresponding to the target object, and respectively calculating the data proportions and the total object quantity to obtain a plurality of object quantities;
a mapping module configured to determine a mapping relationship between the plurality of virtual resource data and the plurality of object numbers;
The generation module is configured to split the plurality of virtual resource data and the plurality of object numbers according to the mapping relation to obtain basic credential information, and generate a plurality of electronic credentials of the target object according to the basic credential information.
10. An electronic device, comprising:
A processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the electronic credential generation method of any of claims 1-8 via execution of the executable instructions.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the electronic voucher generating method according to any one of claims 1-8.
CN202110155624.0A 2021-02-04 2021-02-04 Electronic certificate generation method and device, computer storage medium and electronic equipment Active CN113793144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110155624.0A CN113793144B (en) 2021-02-04 2021-02-04 Electronic certificate generation method and device, computer storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110155624.0A CN113793144B (en) 2021-02-04 2021-02-04 Electronic certificate generation method and device, computer storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113793144A CN113793144A (en) 2021-12-14
CN113793144B true CN113793144B (en) 2024-05-17

Family

ID=78876865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110155624.0A Active CN113793144B (en) 2021-02-04 2021-02-04 Electronic certificate generation method and device, computer storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113793144B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1867936A (en) * 2003-08-14 2006-11-22 伊贝公司 Method and apparatus to facilitate generation of invoices combining multiple transactions established utilizing a multi-seller network-based marketplace
WO2008044853A2 (en) * 2006-10-09 2008-04-17 Won Il Lee Method and system for electronic commerce
CN110503492A (en) * 2019-08-07 2019-11-26 西安艾润物联网技术服务有限责任公司 Parking invoice management method, apparatus and system
CN110930204A (en) * 2018-09-20 2020-03-27 北京国双科技有限公司 Invoice issuing method and system
CN110992007A (en) * 2019-11-22 2020-04-10 肖光昱 Asset digital voucher payment clearing method, device and medium based on block chain
CN111144962A (en) * 2019-12-25 2020-05-12 珠海乐活公社网络科技有限公司 Invoice issuing method and device based on e-commerce platform and e-commerce platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1867936A (en) * 2003-08-14 2006-11-22 伊贝公司 Method and apparatus to facilitate generation of invoices combining multiple transactions established utilizing a multi-seller network-based marketplace
WO2008044853A2 (en) * 2006-10-09 2008-04-17 Won Il Lee Method and system for electronic commerce
CN110930204A (en) * 2018-09-20 2020-03-27 北京国双科技有限公司 Invoice issuing method and system
CN110503492A (en) * 2019-08-07 2019-11-26 西安艾润物联网技术服务有限责任公司 Parking invoice management method, apparatus and system
CN110992007A (en) * 2019-11-22 2020-04-10 肖光昱 Asset digital voucher payment clearing method, device and medium based on block chain
CN111144962A (en) * 2019-12-25 2020-05-12 珠海乐活公社网络科技有限公司 Invoice issuing method and device based on e-commerce platform and e-commerce platform

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Electronic invoice system database architecture issues and the possible solutions;Ostonov Mukhridddin Bakhriddin ugli;《2019 International Conference on Information Science and Communications Technologies (ICISCT)》;20200227;全文 *
浅谈银行承兑汇票拆分业务及账务处理;关晓红;《煤炭经济研究》;20120515(第5期);全文 *
营改增背景下汽车4S店税收筹划方法分析;齐娜;;管理观察;20180520(14);全文 *

Also Published As

Publication number Publication date
CN113793144A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
WO2015117548A1 (en) Charging method and system for internet sales
CN109978504A (en) Processing method, device, equipment and the storage medium of financial data
CN101136094A (en) Electronic commerce trade method and system
KR102221227B1 (en) Shopping mall platform providing apparatus with supplier interrelationship and multilingual supporting function and method thereof
US11288703B2 (en) Systems and methods for offering products using linked transactions
CN105830110A (en) Global Merchant Network
US8086533B1 (en) System, method, and computer program product for payment authorization based on a variable payment authorization score
CN113159859B (en) Expense adjustment method and device
CN108600323B (en) Multi-center data sharing system and using method thereof
CN108648055A (en) A kind of oil product supply and demand processing system and method
CN112734460A (en) Data processing method, payment data output method, payment preference data providing method and device
CN114255017A (en) ERP financial reconciliation method and device for collective OA cooperative management
CN113793144B (en) Electronic certificate generation method and device, computer storage medium and electronic equipment
Choi et al. Multimedia mobile application e-commerce service satisfaction
US8694428B2 (en) Consumer oriented services system and method
US20220148004A1 (en) Systems and methods for predicting on-file payment credentials
US20230126131A1 (en) System for assisting searches for codes corresponding to items using decision trees
CN112907331B (en) Order generation method and device, computer equipment and readable storage medium
KR20120008253A (en) Method for comparing commodity price
Al-Arsy et al. Analysis of The Most Widely Used E-Wallet and E-Commerce Portals in Indonesia Based on The Pillars of Digital Economy
KR20030074346A (en) System and method of electronic commerce combining purchasing and delivery
CN117992460B (en) Document association method, device, equipment and storage medium
She et al. IMPROVING DIGITAL PLATFORMS AND B2B2C STRATEGIES FOR CROSS-BORDER E-COMMERCE.
KR102528099B1 (en) Brokerage systems and method for product of certified small and medium-sized enterprises having undergone differentiated corporate certification procedures
Zhang et al. Research on Channel Model and Price Dispersion of E‐Commerce Market Based on Blockchain Technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant