网络电子票据系统及其实现方法和装置Network electronic bill system and implementation method and device thereof
技术领域Technical field
本发明涉及互联网信息技术领域和票据领域,尤其涉及一种网络电子票据系统及其实现方法和装置。The present invention relates to the field of Internet information technology and the field of bills, and in particular to a network electronic bill system and an implementation method and apparatus thereof.
背景技术Background technique
人类社会发展中,尤其从16世纪开始,在商业社会的迅猛发展的背景之下,金融业迅速崛起,商业票据、金融票据等各类票据随之产生,代替现金进行流通和转让。比如汇票(银行汇票和商业汇票)、本票、支票、提单、存单、股票、债券以及各种交易凭证等。这些票据在商业、金融方面产生了巨大的作用。进入21世纪后,随着互联网技术、信息处理技术的快速发展,越来越多的票据被电子化和网络化。电子票据的网络化,实现了票据的网络流通,对现代商业、现代金融业产生了重大的影响。In the development of human society, especially since the 16th century, in the context of the rapid development of the commercial society, the financial industry has risen rapidly, and various types of bills such as commercial papers and financial instruments have been produced, replacing cash for circulation and transfer. Such as money orders (bank drafts and commercial drafts), promissory notes, checks, bills of lading, certificates of deposit, stocks, bonds, and various transaction vouchers. These bills have played a huge role in business and finance. After entering the 21st century, with the rapid development of Internet technology and information processing technology, more and more bills are electronically and networked. The networking of electronic bills has realized the network circulation of bills, which has had a major impact on modern commerce and modern finance.
目前,票据的电子化一般都采用数字信息处理技术,其原理是按照票据内容进行数据采集、加密、数据存储等技术手段实现的。然而,票据电子化的标准尚未统一,网络电子票据的传播还存在缺憾,不能随时、随地进行人机交互操作。且电子化后的票据内容与票据基本相同,其内容一般是静态的,流转也是固定的,不能实现动态票据,而现实中票据属性和状态总是发生变化的,不能仅对应于票据。At present, the electronicization of bills generally adopts digital information processing technology, and the principle is realized by means of data collection, encryption, data storage and other technical means according to the contents of the bill. However, the standards for electronic electronic bills have not been unified, and there are still shortcomings in the dissemination of electronic electronic bills. Human-computer interaction operations cannot be performed anytime and anywhere. The content of the electronicized ticket is basically the same as that of the ticket. The content is generally static, and the circulation is also fixed. The dynamic ticket cannot be realized. In reality, the ticket attribute and status always change, and cannot correspond to only the ticket.
因此,需要设计一种让票据使用者或拥有者能够在票据本体上进行交互操作而不再依赖平台的网络电子票据,实现电子票据安全、快捷的全网域流通。。Therefore, it is necessary to design a network electronic ticket that allows the ticket user or owner to interact on the ticket body without relying on the platform, thereby realizing safe and fast full-network circulation of the electronic ticket. .
技术问题technical problem
有鉴于此,本发明要解决的技术问题是提供一种网络电子票据系统及其实现方法和装置,以解决现有电子票据不能彻底网络化和去平台化流通的技术问题。In view of this, the technical problem to be solved by the present invention is to provide a network electronic bill system and an implementation method and apparatus thereof, so as to solve the technical problem that the existing electronic bills cannot be completely networked and de-plated.
问题的解决方案Problem solution
技术解决方案Technical solution
本发明解决上述技术问题所采用的技术方案如下:
The technical solution adopted by the present invention to solve the above technical problems is as follows:
根据本发明的一个方面,提供的一种网络电子票据的实现方法包括:According to an aspect of the present invention, a method for implementing a network electronic ticket is provided, including:
采集实体票据的内容,并将所述实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据;Collecting the content of the physical bill, and structuring the physical bill, and storing the structured bill data to form an electronic bill;
根据所述实体票据的功能及使用场景,在每个所述电子化票据中增加能实现所述实体票据的功能的操作指令和用户交互界面;Adding an operation instruction and a user interaction interface capable of realizing the function of the physical ticket in each of the electronic notes according to a function and a usage scenario of the physical ticket;
将所述电子化票据、所述操作指令、所述用户交互界面进行封装,对所述封装后的票据进行加密和签名,并发布到全网域形成网络电子票据;Encapsulating the electronic ticket, the operation instruction, and the user interaction interface, encrypting and signing the encapsulated ticket, and publishing to the entire network domain to form a network electronic ticket;
接收使用者对网络电子票据发起的使用请求,然后对所述使用者的身份进行验证和所述网络电子票据数据进行核验,如果通过身份验证和数据核验,则允许所述使用者在所述网络电子票据本身上进行交互操作,并能将所述交互操作产生的数据信息实时动态地通过所述网络电子票据本身传递给各相关使用方。Receiving a user-initiated use request for the network electronic receipt, and then verifying the identity of the user and verifying the network electronic receipt data, and if the identity verification and data verification are performed, allowing the user to be in the network The electronic ticket itself performs an interactive operation, and the data information generated by the interaction operation can be dynamically transmitted to the relevant users through the network electronic ticket itself in real time.
根据本发明的另一个方面,提供的另一种网络电子票据的实现方法包括:According to another aspect of the present invention, a method for implementing another network electronic ticket is provided, including:
获取实体票据的电子化票据;Obtaining an electronic ticket of the physical note;
根据所述实体票据的功能及使用场景,在每个所述电子化票据中增加能实现所述实体票据的功能的操作指令和用户交互界面;Adding an operation instruction and a user interaction interface capable of realizing the function of the physical ticket in each of the electronic notes according to a function and a usage scenario of the physical ticket;
将所述电子化票据、所述操作指令、所述用户交互界面进行封装,对所述封装后的票据进行加密和签名,并发布到全网域形成网络电子票据,以使得使用者在接收到所述网络电子票据后,能在所述网络电子票据本身上进行交互操作。Encapsulating the electronic ticket, the operation instruction, and the user interaction interface, encrypting and signing the encapsulated ticket, and publishing the entire electronic domain to form a network electronic ticket, so that the user receives the After the network electronic ticket, the interactive operation can be performed on the network electronic ticket itself.
根据本发明的再一个方面,提供的一种网络电子票据的实现方法包括:采集实体票据的内容;According to still another aspect of the present invention, a method for implementing a network electronic receipt includes: collecting content of a physical ticket;
根据所述实体票据的内容和格式创建数据结构;Creating a data structure according to the content and format of the physical ticket;
将票据的内容依照所述数据结构进行存储形成电子化票据。The contents of the ticket are stored in accordance with the data structure to form an electronic ticket.
根据本发明的又一个方面,提供的一种网络电子票据的实现装置,包括:According to still another aspect of the present invention, an apparatus for implementing a network electronic receipt includes:
票据采集模块,用于采集实体票据的内容;a ticket collecting module, configured to collect content of the physical bill;
电子化模块,用于将所述实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据;An electronic module, configured to: struct the physical bill, and store the structured bill data to form an electronic bill;
操作界面增加模块,用于根据所述实体票据的功能及使用场景,在每个所述电子化票据中增加能实现所述实体票据的功能的操作指令和用户交互界面;
An operation interface adding module, configured to add an operation instruction and a user interaction interface capable of realizing the function of the physical ticket in each of the electronic notes according to a function and a usage scenario of the physical ticket;
票据网络化模块,用于将所述电子化票据、所述操作指令、所述用户交互界面进行封装,对所述封装后的票据进行加密和签名,并发布到全网域形成网络电子票据;a billing network module, configured to encapsulate the electronic bill, the operation instruction, and the user interaction interface, encrypt and sign the encapsulated ticket, and publish the entire bill to a network to form a network electronic bill;
交互处理模块,用于接收使用者对网络电子票据发起的使用请求,然后对所述使用者的身份进行验证和所述网络电子票据数据进行核验,如果通过身份验证和数据核验,则允许所述使用者在所述网络电子票据本身上进行交互操作,并能将所述交互操作产生的数据信息实时动态地通过所述网络电子票据本身传递给各相关使用方。An interaction processing module, configured to receive a user-initiated use request for the network electronic receipt, and then verify the identity of the user and verify the network electronic receipt data, and if the authentication and data verification are performed, the The user performs an interaction operation on the network electronic ticket itself, and can transmit the data information generated by the interaction operation to the relevant users through the network electronic ticket itself in real time and dynamically.
根据本发明的又一个方面,提供的一种网络电子票据的实现装置包括:电子化票据获取模块,用于获取实体票据的电子化票据;According to still another aspect of the present invention, an apparatus for implementing a network electronic ticket includes: an electronic ticket acquiring module, configured to acquire an electronic ticket of a physical ticket;
操作界面增加模块,用于根据所述实体票据的功能及使用场景,在所述电子化票据中增加能实现所述实体票据的功能的操作指令和用户交互界面;An operation interface adding module, configured to add an operation instruction and a user interaction interface capable of realizing the function of the physical ticket in the electronic ticket according to a function and a usage scenario of the physical ticket;
网络化模块,用于将所述电子化票据、所述增加的操作指令和用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据。The network module is configured to encapsulate the electronic ticket, the added operation instruction, and the user interaction interface, encrypt and sign the encapsulated data, and publish the data to the entire network to form a network electronic ticket.
根据本发明的又一个方面,提供的一种网络电子票据的实现装置包括:According to still another aspect of the present invention, an apparatus for implementing a network electronic ticket is provided, including:
票据采集模块,用于采集实体票据的内容;a ticket collecting module, configured to collect content of the physical bill;
电子化模块,用于根据所述实体票据的内容和格式创建数据结构,将票据的内容依照所述数据结构进行存储形成电子化票据。An electronic module, configured to create a data structure according to the content and format of the physical ticket, and store the content of the ticket according to the data structure to form an electronic ticket.
根据本发明的又一个方面,提供的一种网络电子票据系统,该系统包括票据生成方,所述票据生成方包括上述技术方案中的任意一种网络电子票据的实现装置。According to still another aspect of the present invention, a network electronic receipt system is provided, the system comprising a ticket generator, the ticket generator comprising any one of the above technical solutions.
发明的有益效果Advantageous effects of the invention
有益效果Beneficial effect
本发明提供的网络电子票据系统及其实现方法和装置,通过将票据电子化,并根据票据的功能及使用场景在电子票据中封装对应的操作指令和用户交互界面,使得电子票子的使用者或拥有者能直接在电子票据进行交互操作,从而实现电子票据的网络化和去平台化流通。
The network electronic receipt system provided by the invention and the implementation method and device thereof enable the user of the electronic ticket or the user interaction interface by encapsulating the corresponding operation instruction and the user interaction interface in the electronic receipt according to the function and usage scenario of the ticket The owner can directly interact with the electronic bills, thereby realizing the networking and de-plating of electronic bills.
对附图的简要说明Brief description of the drawing
附图说明DRAWINGS
图1为本发明实施例一提供的一种网络电子票据系统的结构图;1 is a structural diagram of a network electronic receipt system according to Embodiment 1 of the present invention;
图2a为本发明实施例提供的一种网络电影票的示意图;2a is a schematic diagram of a network movie ticket according to an embodiment of the present invention;
图2b为本发明实施例提供的一种网络金融票据的示意图;2b is a schematic diagram of a network financial instrument according to an embodiment of the present invention;
图2c为本发明实施例提供的另一种网络金融票据的示意图;2c is a schematic diagram of another network financial instrument according to an embodiment of the present invention;
图3为本发明实施例二提供的一种网络电子票据系统的结构图;3 is a structural diagram of a network electronic receipt system according to Embodiment 2 of the present invention;
图4为本发明实施例三提供的一种网络电子票据系统的结构图;4 is a structural diagram of a network electronic ticket system according to Embodiment 3 of the present invention;
图5为本发明实施例四提供的一种网络电子票据系统的结构图;FIG. 5 is a structural diagram of a network electronic receipt system according to Embodiment 4 of the present invention; FIG.
图6为本发明实施例五提供的一种票据电子化方法流程图;6 is a flowchart of a method for electronic electronic bills according to Embodiment 5 of the present invention;
图7a为本发明实施例六提供的一种网络电子票据的实现方法的流程图;7a is a flowchart of a method for implementing a network electronic ticket according to Embodiment 6 of the present invention;
图7b为本发明实施例六提供的另一种网络电子票据的实现方法的流程图;FIG. 7b is a flowchart of another method for implementing a network electronic ticket according to Embodiment 6 of the present invention; FIG.
图8为本发明实施例七提供的一种网络电子票据的实现方法的流程图;8 is a flowchart of a method for implementing a network electronic ticket according to Embodiment 7 of the present invention;
图9为本发明实施例八提供的一种网络电子票据的实现方法的流程图;9 is a flowchart of a method for implementing a network electronic receipt according to Embodiment 8 of the present invention;
图10为本发明实施例九提供的一种网络电子票据的实现方法的流程图;10 is a flowchart of a method for implementing a network electronic receipt according to Embodiment 9 of the present invention;
图11为本发明实施例提供的一种票据采集示意图;FIG. 11 is a schematic diagram of a ticket collection according to an embodiment of the present invention;
图12为本发明实施例十提供的一种网络电子票据的实现装置图;FIG. 12 is a schematic diagram of an apparatus for implementing a network electronic receipt according to Embodiment 10 of the present invention; FIG.
图13为本发明实施例十一提供的一种网络电子票据的实现装置图;FIG. 13 is a schematic diagram of an apparatus for implementing a network electronic receipt according to Embodiment 11 of the present invention; FIG.
图14为本发明实施例十二提供的一种网络电子票据的实现装置图;FIG. 14 is a schematic diagram of an apparatus for implementing a network electronic receipt according to Embodiment 12 of the present invention; FIG.
图15为本发明实施例十三提供的一种包含网络电子票据的实现装置的系统的硬件设计结构示意图。FIG. 15 is a schematic diagram showing the hardware design structure of a system including an apparatus for implementing a network electronic ticket according to Embodiment 13 of the present invention.
发明实施例Invention embodiment
本发明的实施方式Embodiments of the invention
为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚、明白,以下结合附图和实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in order to make the present invention. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例提供网络电子票据系统及其实现方法和装置,现有技术中的电子票据需要在平台上才能运行,比如电商平台系统、银行系统、证券交易系统,
税务系统、售票系统等等,都是在其各自系统平台上运行,使用者必须在平台上才能进行操作使用,脱离平台就不能使用。而本发明的网络电子票据(或网络电子凭证)则封装了票据静态信息、操作指令、用户交互界面和票据动态信息,可以独立运行,用户能够利用PC、移动等设备在该网络电子票据上随时随地地交互操作,网络电子票据可以脱离平台以短信、email、QQ、微信等媒介进行传播,能够随时、随地在本发明中的网络电子票据上进行操作而不再依赖任何平台,实现了全网域的去平台化流通。本发明实施例中的网络电子票据包括但不局限于能自运行的网络电子凭证、商品交易的票据、网络电子身份票据、电子物权票据、银行账户中的交易票据等。Embodiments of the present invention provide a network electronic ticket system and an implementation method and apparatus thereof. The electronic ticket in the prior art needs to be run on a platform, such as an e-commerce platform system, a banking system, and a securities trading system.
The tax system, ticketing system, etc. are all running on their respective system platforms. Users must be able to operate and use the platform, and they cannot be used without the platform. The network electronic ticket (or network electronic voucher) of the invention encapsulates the static information of the ticket, the operation instruction, the user interaction interface and the dynamic information of the ticket, and can be operated independently, and the user can use the PC, the mobile device and the like to access the electronic ticket on the network at any time. Inter-network operation, the network electronic ticket can be spread out from the platform by SMS, email, QQ, WeChat, etc., and can be operated on the network electronic ticket in the invention at any time and any place without relying on any platform, realizing the whole network. The de-platform circulation of the domain. The network electronic receipts in the embodiments of the present invention include, but are not limited to, self-running network electronic vouchers, commodity transaction tickets, network electronic identity tickets, electronic property rights tickets, transaction tickets in bank accounts, and the like.
本发明实施例中的实体票据或凭证包括现实当中各类商业票据或凭证、金融票据或凭证、各种媒体。金融票据如银行汇票、商业汇票、本票、支票、提单、存单、股票、债券等,商业类票据如发票、彩票、保单、罚单、行车证、电影票、车票、机票,各种媒体如书籍、报纸、期刊杂志、证书等。The physical notes or vouchers in the embodiments of the present invention include various commercial papers or vouchers, financial instruments or vouchers, and various media in reality. Financial instruments such as bank drafts, commercial drafts, promissory notes, checks, bills of lading, certificates of deposit, stocks, bonds, etc., commercial papers such as invoices, lottery tickets, insurance policies, tickets, driving permits, movie tickets, tickets, air tickets, various media such as books , newspapers, journals, certificates, etc.
下面通过具体实施例进行详述。本发明实施例一至实施例十三分别从系统、方法和装置三个层面对本发明的方案进行了详细阐述,三者是相辅相成的。由于篇幅原因,每个实施例对不同技术特征的描述详尽程度不同,在技术特征对应的前提下,可以参考其他实施例关于该技术特征的描述。The details are described below by way of specific examples. The first embodiment to the thirteenth embodiment of the present invention respectively describe the solution of the present invention from three layers of the system, the method and the device, and the three are complementary. For the sake of space, the description of different technical features is different in each embodiment. For the corresponding technical features, reference may be made to other embodiments for the description of the technical features.
实施例一Embodiment 1
如图1所示,本发明实施例提供的一种网络电子票据系统,该系统包括票据生成方10和使用者20。As shown in FIG. 1 , an embodiment of the present invention provides a network electronic receipt system, which includes a ticket generator 10 and a user 20.
票据生成方10,用于获取实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据。The bill generating party 10 is configured to obtain an electronic bill of the physical bill; according to the function and usage scenario of the physical bill, an operation instruction and a user interaction interface capable of realizing the function of the physical bill are added to each electronic bill; The operation instruction and the user interaction interface are encapsulated, and the encapsulated data is encrypted and signed, and is distributed to the entire network to form a network electronic ticket.
使用者20在接收到网络电子票据后,并能在网络电子票据本身上进行交互操作。After receiving the network electronic ticket, the user 20 can perform an interactive operation on the network electronic ticket itself.
作为一种可选的实施方式,票据生成方10可以为票据的采集、结构化、电子化、网络化的执行方,还可以为使用者持有的能进行网络电子票据的交互操作的
终端设备或客户端。则使用者20可直接在票据生成方10生成网络电子票据后直接在网络电子票据上进行交互操作。As an optional implementation manner, the ticket generator 10 may be an execution party of the collection, structuring, electronicization, and networking of the ticket, and may also be an interactive operation of the electronic electronic ticket held by the user.
Terminal device or client. Then, the user 20 can directly perform interactive operation on the network electronic ticket after the ticket generating party 10 generates the network electronic ticket.
具体实现中,票据生成方10用于采集实体票据的内容,对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据。票据生成方10可以通过连接的扫描设备或智能设备采集实体票据,采用自动识别技术得到票据信息,实体票据的内容包括票据信息。进一步的,票据生成方31还可以接收人工输入/智能设备输入的票据信息,如通过键盘、触摸屏、摄像头、麦克风等方式将票据信息以文字、图像、语音等方式录入。进一步的,还可以接收外部系统导入的票据信息,外部系统如ERP(Enterprise Resource Planning,企业资源计划)等生产、流程等系统,直接向发行方导入票据的信息。In a specific implementation, the ticket generator 10 is configured to collect the content of the physical ticket, structure the physical ticket, and store the structured ticket data to form an electronic ticket. The bill generator 10 can collect the physical bill through the connected scanning device or the smart device, and obtain the bill information by using an automatic identification technology, and the content of the physical bill includes the bill information. Further, the ticket generator 31 can also receive the ticket information input by the manual input/smart device, such as inputting the ticket information by text, image, voice, etc. through a keyboard, a touch screen, a camera, a microphone, and the like. Further, it is also possible to receive the bill information imported by the external system, and the external system, such as an ERP (Enterprise Resource Planning) production and process system, directly introduces the bill information to the issuer.
其中,实体票据可以包括如纸质票据、银行汇票、本票、支票、提单、存单、股票、债券以及各种交易凭证等,还可以包括电子录入的票据、包含商品属性的票据等。The physical notes may include, for example, paper notes, bank drafts, promissory notes, checks, bills of lading, certificates of deposit, stocks, bonds, and various transaction vouchers, and may also include electronically entered tickets, tickets containing commodity attributes, and the like.
识别出票据内容后,先分析实体票据的内容及实体票据的栏目之间的相互关系,根据实体票据的内容及实体票据的栏目之间的相互关系建立相应的数据结构。然后根据数据结构对实体票据的内容进行结构化。可以使用关系型数据库或非关系型数据库建立票据数据信息的数据存储结构,将票据的内容按照数据存储结构存储到数据库中,完成票据的电子化,形成电子化票据。其中,数据库包括但不限于本地数据库、网络数据库、云端数据库或分布式数据库。进一步的,用户交互界面包括静态信息展示区、动态信息展示区及操作区。After identifying the contents of the ticket, the relationship between the content of the physical ticket and the column of the physical ticket is analyzed, and a corresponding data structure is established according to the relationship between the content of the physical ticket and the column of the physical ticket. The content of the physical ticket is then structured according to the data structure. The relational database or the non-relational database can be used to establish a data storage structure of the ticket data information, and the contents of the ticket are stored in the database according to the data storage structure, and the electronicization of the ticket is completed to form an electronic ticket. The database includes, but is not limited to, a local database, a network database, a cloud database, or a distributed database. Further, the user interaction interface includes a static information display area, a dynamic information display area, and an operation area.
具体地,使用者20具体为用户,票据生成方10还包括但不限于电脑、智能移动终端等设备或设备中的客户端软件。使用者20在接收到票据生成方发布的网络电子票据并通过身份验证和防伪处理后,允许使用者在网络电子票据本身上进行交互操作。使用者能够脱离平台在该网络电子票据上进行实时交互式操作及得到该网络电子票据的动态信息。进一步的,还可以将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。交互操作产生的数据信息包括交互操作对应的操作指令、交互数据、操作结果、票据状态中的一种或多种。
Specifically, the user 20 is specifically a user, and the ticket generator 10 further includes, but is not limited to, a client computer software such as a computer or a smart mobile terminal. After receiving the network electronic ticket issued by the ticket generator and passing the authentication and anti-counterfeiting process, the user 20 allows the user to perform an interactive operation on the network electronic ticket itself. The user can perform real-time interactive operation on the network electronic ticket from the platform and obtain dynamic information of the network electronic ticket. Further, the data information generated by the interaction can also be dynamically transmitted to the relevant users through the network electronic ticket itself in real time. The data information generated by the interaction includes one or more of an operation instruction corresponding to the interaction operation, interaction data, operation result, and ticket status.
进一步可选的,在票据生成方也是使用方时,使用者20直接在票据生成方10上对网络电子票据进行操作。Further optionally, when the ticket generator is also a consumer, the user 20 directly operates the network electronic ticket on the ticket generator 10.
进一步可选的,相关使用方可以包括与网络电子票据有数据关联的使用方,还可以为与票据生成方有数据关联的多个使用方。对网络电子票据进行身份验证和数据核验,接收使用者在网络电子票据本身上进行交互操作,并将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方,其操作指令、数据、操作结果、执行及状态等信息能够实时动态的通过网络电子票据本身传递给各使用方,各使用方如票据操作者、拥有者、发行者、执行方等。Further optionally, the related consumer may include a user that has data association with the network electronic ticket, and may also be multiple consumers that have data association with the ticket generation party. The network electronic ticket is authenticated and verified, and the receiving user performs interactive operation on the network electronic ticket itself, and the data information generated by the interaction operation is dynamically transmitted to the relevant users through the network electronic ticket itself in real time, and the operation instruction thereof Information such as data, operation results, execution and status can be dynamically transmitted to each user in real time through the network electronic ticket itself, such as the ticket operator, owner, issuer, and performer.
进一步的,网络电子票据中的数据包括操作指令/UI数据、静态数据以及动态数据。其中,操作指令/UI如图2a-2c所示的界面及操作按钮。静态数据包括物件属性,例如图2b中的商品介绍信息及商品描述,商品描述可以是图片、音频或视频等。动态数据包括票据的状态信息、操作历史记录信息和交互信息。如图2c中,用户完成开证后,该金融电子票据的状态更新为“已完成开证”,并且其状态变化可实时动态地在用户交互界面中展现,如,将图2c下方的“开证”的按钮显示为灰色;如图2a中的按时间顺序动态呈现的电影票的操作结果,图2b中按时间顺序动态呈现的交易结果和交易记录。Further, the data in the network electronic ticket includes operation instructions/UI data, static data, and dynamic data. Among them, the operation command / UI is as shown in Figure 2a-2c interface and operation buttons. The static data includes object attributes, such as the product introduction information and the product description in FIG. 2b, and the product description may be a picture, an audio or a video. The dynamic data includes status information of the ticket, operation history information, and interaction information. As shown in FIG. 2c, after the user completes the issuance of the certificate, the status of the financial electronic receipt is updated to “completed issuance of the certificate”, and the state change thereof can be dynamically displayed in the user interaction interface in real time, for example, “opening” in the lower part of FIG. 2c The button of the certificate is displayed in gray; the result of the operation of the movie ticket dynamically presented in chronological order in Fig. 2a, the transaction result and the transaction record dynamically presented in chronological order in Fig. 2b.
以电影票(车票和飞机票类似)为例,请参加图2a所示的网络电影票的示意图,可以在网络电影票上分别通过按钮“购买”、“转让”、“退票”、“检票”等实现购买、转让、退票和检票等几个流通环节的操作,购买者对网络电影票的操作结果和执行状态等信息能够按照时间顺序及时动态展现给使用者。以金融票据为例,请参加图2b所示的网络金融票据示意图,以在网络金融票据上实现免费进货、购买等流通环节的操作,购买者对网络金融票据的操作结果和执行状态等信息能够按照时间顺序及时动态展现给使用者,商品描述可以为图片、文字、动画等形式。请参加图2c所示的网络金融票据示意图,以在网络金融票据上实现免费开证、收证、发货、申请收款等流通环节的操作,购买者对网络金融票据的操作结果和执行状态等信息能够按照时间顺序及时动态展现给使用者,页面实时动态展现操作流程。
Take the movie ticket (similar to the ticket and airline ticket) as an example. Please take a picture of the online movie ticket shown in Figure 2a. You can use the buttons "Purchase", "Transfer", "Refund", "Check-in" on the online movie ticket. In order to realize the operation of several circulation links such as purchase, transfer, refund and check-in, the information of the operation result and execution status of the online movie ticket by the purchaser can be dynamically displayed to the user in time and in time. Taking financial instruments as an example, please take the diagram of the online financial instruments shown in Figure 2b to implement the operations of free purchase, purchase, etc. on the online financial instruments. The purchaser can report the operation results and execution status of the network financial instruments. The user can display the content in a timely manner in time sequence, and the product description can be in the form of pictures, texts, animations, and the like. Please participate in the schematic diagram of the network financial bill shown in Figure 2c, in order to realize the operation of free circulation, receipt, delivery, application and collection, etc. on the online financial bill, the operation result and execution status of the purchaser on the network financial instrument. The information can be dynamically displayed to the user in time and in time, and the page dynamically displays the operation flow in real time.
本发明实施例提供网络电子票据系统,包括票据生成方和使用者,票据生成方获取实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据,使用者在接收到网络电子票据后,并能在网络电子票据本身上进行交互操作,从而使用者能直接在网络电子票据进行交互操作并将交互操作结果实时发送给各相关使用方,从而实现电子票据的网络化和去平台化流通。The embodiment of the present invention provides a network electronic receipt system, including a ticket generation party and a user, and the ticket generation party obtains an electronic ticket of the physical ticket; and according to the function and usage scenario of the physical ticket, an entity ticket can be added to each electronic ticket. The functional operation instruction and the user interaction interface; encapsulating the electronic ticket, the operation instruction, and the user interaction interface, encrypting and signing the encapsulated data, and publishing to the entire network domain to form a network electronic ticket, and the user receives the After the network electronic ticket, the interactive operation can be performed on the network electronic ticket itself, so that the user can directly interact with the network electronic ticket and transmit the interaction result to each relevant user in real time, thereby realizing the networking of the electronic ticket and Go to the platform for circulation.
实施例二Embodiment 2
如图3所示,本发明实施例提供的一种网络电子票据系统,该系统包括票据生成方31、使用方32、相关使用方33和存储方34。票据生成方31、使用方32、相关使用方33和存储方34通过互联网通信连接。As shown in FIG. 3, a network electronic receipt system provided by an embodiment of the present invention includes a ticket generator 31, a consumer 32, an associated consumer 33, and a storage party 34. The ticket generator 31, the consumer 32, the related consumer 33, and the storage party 34 are connected by Internet communication.
票据生成方31,用于获取实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据。The bill generating party 31 is configured to obtain an electronic bill of the physical bill; according to the function and usage scenario of the physical bill, an operation instruction and a user interaction interface capable of realizing the function of the physical bill are added to each electronic bill; The operation instruction and the user interaction interface are encapsulated, and the encapsulated data is encrypted and signed, and is distributed to the entire network to form a network electronic ticket.
使用方32,用于在接收到票据生成方31发布的网络电子票据并通过身份验证和防伪处理后,允许使用者在网络电子票据本身上进行交互操作,并将交互操作产生的数据信息实时发送给各相关使用方33。其中,交互操作产生的数据信息包括交互操作对应的操作指令、交互数据、操作结果、票据状态中的一种或多种。The user 32 is configured to allow the user to perform an interaction operation on the network electronic ticket itself after receiving the network electronic ticket issued by the ticket generator 31 and pass the authentication and anti-counterfeiting processing, and send the data information generated by the interaction operation in real time. For each relevant user 33. The data information generated by the interaction includes one or more of an operation instruction, an interaction data, an operation result, and a ticket status corresponding to the interaction operation.
存储方34,用于存储电子化票据,存储方34包括本地或网络数据库,具体的包括但不限于网络数据库、云端数据库或分布式数据库。The storage unit 34 is configured to store electronic tickets, and the storage unit 34 includes a local or network database, including but not limited to a network database, a cloud database, or a distributed database.
作为一种可选的实施方式,票据生成方31可以为票据的采集、结构化。电子化、网络化的执行方,票据生成方31发布网络电子票据后,使用方32接收到票据生成方31发布的网络电子票据后,通过身份验证和防伪处理后,持有该网络电子票据,在网络电子票据上进行交互操作并将交互操作结果实时发送给各相关使用方33。进一步的,使用方32可以为包括但不限于电脑、智能移动终端等设
备或设备中的客户端软件。使用方32能够脱离平台在该网络电子票据上进行实时交互式操作及得到该网络电子票据的动态信息。进一步的,还可以将实施交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方33。As an optional implementation manner, the ticket generator 31 may be the collection and structuring of the ticket. The electronic and networked executor, after the ticket generating party 31 issues the network electronic ticket, the user 32 receives the network electronic ticket issued by the ticket generating party 31, and after holding the network electronic ticket, after the identity verification and anti-counterfeiting processing, The interaction is performed on the network electronic ticket and the result of the interaction is sent to each relevant user 33 in real time. Further, the user 32 may be a device including but not limited to a computer or a smart mobile terminal.
The client software in the standby or device. The consumer 32 can perform real-time interactive operation on the network electronic ticket and obtain dynamic information of the network electronic ticket from the platform. Further, the data information generated by the implementation of the interaction operation can also be dynamically transmitted to the relevant users 33 through the network electronic ticket itself in real time.
具体实现中,票据生成方31还用于采集实体票据的内容,对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据。票据生成方31可以通过连接的扫描设备或智能设备采集实体票据,采用自动识别技术得到票据信息,实体票据的内容包括票据信息。进一步的,票据生成方31还可以接收人工输入/智能设备输入的票据信息,如通过键盘、触摸屏、摄像头、麦克风等方式将票据信息以文字、图像、语音等方式录入。进一步的,还可以接收外部系统导入的票据信息,外部系统如ERP等生产、流程等系统,直接向发行方导入票据的信息。进一步的,可接收智能设备或外部系统输入的源票据,源票据包括已经数字化的票据信息。In a specific implementation, the bill generator 31 is further configured to collect the content of the physical bill, structure the physical bill, and store the structured bill data to form an electronic bill. The bill generating party 31 can collect the physical bill through the connected scanning device or the smart device, and obtain the bill information by using an automatic identification technology, and the content of the physical bill includes the bill information. Further, the ticket generator 31 can also receive the ticket information input by the manual input/smart device, such as inputting the ticket information by text, image, voice, etc. through a keyboard, a touch screen, a camera, a microphone, and the like. Further, it is also possible to receive the bill information imported by the external system, and the external system, such as an ERP production and process system, directly import the bill information to the issuer. Further, the source ticket input by the smart device or the external system may be received, and the source ticket includes the ticket information that has been digitized.
识别出票据内容后,先分析实体票据的内容及实体票据的栏目之间的相互关系,根据实体票据的内容及实体票据的栏目之间的相互关系建立相应的数据结构。然后使用关系型数据库或非关系型数据库建立票据数据信息的数据存储结构,将票据的内容按照数据存储结构存储到数据库中,完成票据的电子化,形成电子化票据。其中,数据库包括但不限于本地数据库、网络数据库、云端数据库或分布式数据库。进一步的,用户交互界面包括静态信息展示区、动态信息展示区及操作区。After identifying the contents of the ticket, the relationship between the content of the physical ticket and the column of the physical ticket is analyzed, and a corresponding data structure is established according to the relationship between the content of the physical ticket and the column of the physical ticket. Then, the relational database or the non-relational database is used to establish a data storage structure of the ticket data information, and the contents of the ticket are stored in the database according to the data storage structure, and the electronicization of the ticket is completed to form an electronic ticket. The database includes, but is not limited to, a local database, a network database, a cloud database, or a distributed database. Further, the user interaction interface includes a static information display area, a dynamic information display area, and an operation area.
其中,相关使用方33可以包括与网络电子票据有数据关联的使用方,还可以为与票据生成方有数据关联的多个使用方。使用方32将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方33,其操作指令、数据、操作结果、执行及状态等信息能够实时动态的通过网络电子票据本身传递给各相关使用方33,各相关使用方33如票据操作者、拥有者、发行者、执行方等。The related user 33 may include a user that has data associated with the network electronic ticket, and may also be a plurality of users that have data association with the ticket generator. The user 32 transmits the data information generated by the interaction operation to the relevant users 33 through the network electronic receipt itself in real time, and the operation instructions, data, operation results, execution and status information can be dynamically transmitted through the network electronic receipt itself in real time. For each relevant user 33, each relevant user 33 is a bill operator, owner, issuer, executing party, and the like.
具体地,存储方34具体可以包括本地数据库服务器、网络数据库服务器、云端数据库服务器或分布式数据库。进一步可选的,存储方34还可以用于存储网络
电子票据。网络电子票据可以通过IP地址与存储方34进行数据交互,当用户执行操作指令后或者满足预设的触发条件后,网络电子票据通过票据ID与存储方34中存储的对应票据信息进行信息同步。Specifically, the storage side 34 may specifically include a local database server, a network database server, a cloud database server, or a distributed database. Further optionally, the storage side 34 can also be used for a storage network.
Electronic bills. The network electronic ticket can perform data interaction with the storage party 34 through the IP address. After the user executes the operation instruction or meets the preset trigger condition, the network electronic ticket synchronizes information with the corresponding ticket information stored in the storage party 34 through the ticket ID.
本发明实施例提供网络电子票据系统,包括票据生成方、使用方、存储方和相关使用方,票据生成方获取实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据,在接收到票据生成方发布的网络电子票据并通过身份验证和防伪处理后,持有该网络电子票据,在网络电子票据上进行交互操作并将交互操作结果实时发送给各相关使用方。从而能直接在网络电子票据进行交互操作并将交互操作结果实时发送给各相关使用方,存储方用于存储电子化票据,多种存储方式,增加本地容量,提高了数据存储的安全性能,网络电子票据可在网络中自运行,从而实现电子票据的网络化和去平台化流通。Embodiments of the present invention provide a network electronic receipt system, including a ticket generation party, a user, a storage party, and an associated user, and the ticket generator obtains an electronic ticket of the physical ticket; and each electronicization according to the function and usage scenario of the physical ticket An operation instruction and a user interaction interface capable of realizing the function of the physical ticket are added to the ticket; the electronic ticket, the operation instruction, and the user interaction interface are encapsulated, the encapsulated data is encrypted and signed, and distributed to the entire network to form a network electronic After receiving the network electronic ticket issued by the ticket generator and passing the authentication and anti-counterfeiting process, the ticket holds the network electronic ticket, performs an interactive operation on the network electronic ticket, and transmits the interaction result to each relevant user in real time. Therefore, the electronic electronic bill can be directly interacted with and the interactive operation result is sent to each related user in real time, and the storage side is used for storing the electronic ticket, multiple storage methods, increasing the local capacity, and improving the security performance of the data storage. The electronic ticket can be self-operated in the network, thereby realizing the networking and de-plating of electronic bills.
实施例三Embodiment 3
如图4所示,本发明实施例提供的一种网络电子票据系统,该系统包括采集方41、票据生成方42、使用方43、相关使用方44和存储方45。As shown in FIG. 4, a network electronic receipt system provided by an embodiment of the present invention includes a collection party 41, a ticket generation party 42, a consumer 43, a related consumer 44, and a storage party 45.
采集方41,用于采集实体票据的内容;对实体票据进行结构化;将结构化后的票据数据进行存储形成电子化票据;将电子化票据传送给票据生成方42。The collecting party 41 is configured to collect the content of the physical bill; to structure the physical bill; to store the structured bill data to form an electronic bill; and transmit the electronic bill to the bill generating party 42.
票据生成方42,用于接收采集方41发送的实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据。The bill generating party 42 is configured to receive an electronic bill of the physical bill sent by the collecting party 41. According to the function and usage scenario of the physical bill, an operation instruction and a user interaction interface capable of realizing the function of the physical bill are added to each electronic bill. The electronic ticket, the operation instruction, and the user interaction interface are encapsulated, and the encapsulated data is encrypted and signed, and distributed to the entire network to form a network electronic ticket.
使用方43,用于在接收到票据生成方42发布的网络电子票据并通过身份验证和防伪处理后,持有该网络电子票据,在网络电子票据上进行交互操作并将交互操作结果实时发送给各相关使用方44。The user 43 is configured to hold the network electronic ticket issued by the ticket generator 42 and pass the authentication and anti-counterfeiting process, hold the network electronic ticket, perform an interaction operation on the network electronic ticket, and send the interaction result to the real-time operation in real time. Each relevant user 44.
存储方45,用于存储电子化票据,存储方45包括但不限于网络数据库、云端数据库或分布式数据库。
The storage party 45 is configured to store electronic tickets, and the storage party 45 includes, but is not limited to, a network database, a cloud database, or a distributed database.
作为一种可选的实施方式,采集方41为票据的采集、结构化和电子化的执行方,票据生成方42可以为票据的网络化的执行方,票据生成方42发布网络电子票据后,使用方43接收到票据生成方42发布的网络电子票据后,通过身份验证和防伪处理后,持有该网络电子票据,在网络电子票据上进行交互操作并将交互操作结果实时发送给各相关使用方44。进一步的,使用方43可以为包括但不限于电脑、智能移动终端等设备或设备中的客户端软件。使用方43能够脱离平台在该网络电子票据上进行实时交互式操作及得到该网络电子票据的动态信息。进一步的,还可以将实施交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。As an optional implementation manner, the collecting party 41 is an executing party for collecting, structuring, and electronicizing the bill, and the bill generating party 42 may be a networked executing party of the bill, and after the bill generating party 42 issues the network electronic bill, After receiving the network electronic ticket issued by the bill generator 42, after the identity verification and anti-counterfeiting processing, the user 43 holds the network electronic bill, performs interactive operation on the network electronic bill, and transmits the interaction result to each related use in real time. Party 44. Further, the consumer 43 may be client software in a device or device including, but not limited to, a computer, a smart mobile terminal, or the like. The consumer 43 can perform real-time interactive operation on the network electronic ticket from the platform and obtain dynamic information of the network electronic ticket. Further, the data information generated by the implementation of the interaction operation can also be dynamically transmitted to the relevant users through the network electronic ticket itself in real time.
具体实现中,采集方41可以通过连接的扫描设备或智能设备采集实体票据,采用自动识别技术得到票据信息,实体票据的内容包括票据信息。进一步的,采集方41还可以接收人工输入/智能设备输入的票据信息,如通过键盘、触摸屏、摄像头、麦克风等方式将票据信息以文字、图像、语音等方式录入。进一步的,还可以接收外部系统导入的票据信息,外部系统如ERP等生产、流程等系统,直接向票据生成方42导入票据的信息。In a specific implementation, the collecting party 41 can collect physical bills through the connected scanning device or the smart device, and obtain the bill information by using an automatic identification technology, and the content of the physical bill includes the bill information. Further, the collecting party 41 can also receive the bill information input by the manual input/smart device, such as inputting the bill information by text, image, voice, etc. through a keyboard, a touch screen, a camera, a microphone, and the like. Further, it is also possible to receive the ticket information imported by the external system, and the external system such as the production and process system such as ERP directly introduces the information of the ticket to the ticket generator 42.
采集方41识别出票据内容后,先分析实体票据的内容及实体票据的栏目之间的相互关系,根据实体票据的内容及实体票据的栏目之间的相互关系建立相应的数据结构。然后根据数据结构对实体票据的内容进行结构化。使用关系型数据库或非关系型数据库建立票据数据信息的数据存储结构,将票据的内容按照数据存储结构存储到数据库中,完成票据的电子化,形成电子化票据。其中,数据库包括但不限于本地数据库、网络数据库、云端数据库或分布式数据库。进一步的,用户交互界面包括静态信息展示区、动态信息展示区及操作区。After the collecting party 41 recognizes the content of the ticket, it first analyzes the relationship between the content of the physical ticket and the column of the physical ticket, and establishes a corresponding data structure according to the relationship between the content of the physical ticket and the column of the physical ticket. The content of the physical ticket is then structured according to the data structure. The relational database or the non-relational database is used to establish a data storage structure of the ticket data information, and the contents of the ticket are stored in the database according to the data storage structure, and the electronicization of the ticket is completed to form an electronic ticket. The database includes, but is not limited to, a local database, a network database, a cloud database, or a distributed database. Further, the user interaction interface includes a static information display area, a dynamic information display area, and an operation area.
其中,相关使用方44可以包括与网络电子票据有数据关联的使用方,还可以为与票据生成方42有数据关联的多个使用方。使用方43将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方44,其操作指令、数据、操作结果、执行及状态等信息能够实时动态的通过网络电子票据本身传递给各相关使用方44,各相关使用方44如票据操作者、拥有者、发行者、执行方等。
The related consumer 44 may include a user associated with the data of the network electronic ticket, and may also be a plurality of consumers having data association with the ticket generator 42. The user 43 transmits the data information generated by the interaction operation to the relevant users 44 through the network electronic ticket itself in real time, and the operation instructions, data, operation results, execution and status information can be dynamically transmitted through the network electronic ticket itself in real time. For each relevant consumer 44, each relevant consumer 44 is a ticket operator, owner, issuer, executor, and the like.
具体地,存储方45具体可以包括本地数据库服务器、网络数据库服务器、云端数据库服务器或分布式数据库。进一步可选的,存储方45还可以用于存储网络电子票据。网络电子票据可以通过IP地址与存储方45进行数据交互,当用户执行操作指令后或者满足预设的触发条件后,网络电子票据通过票据ID与存储方45中存储的对应票据信息进行信息同步。Specifically, the storage party 45 may specifically include a local database server, a network database server, a cloud database server, or a distributed database. Further optionally, the storage party 45 can also be used to store network electronic tickets. The network electronic ticket can perform data interaction with the storage party 45 through the IP address. After the user executes the operation instruction or meets the preset trigger condition, the network electronic ticket synchronizes information with the corresponding ticket information stored in the storage party 45 through the ticket ID.
本发明实施例提供网络电子票据系统,包括采集方、票据生成方、使用方、存储方和相关使用方,采集实体票据的内容,对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据,将电子化票据传送给票据生成方;票据生成方接收实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据,在接收到票据生成方发布的网络电子票据网络电子票据并通过身份验证和防伪处理后,持有该网络电子票据,在网络电子票据网络电子票据上进行交互操作并将交互操作结果实时发送给各相关使用方。存储方用于存储电子化票据。从而能直接在网络电子票据进行交互操作并将交互操作结果实时发送给各相关使用方,网络电子票据可在网络中自运行,从而实现电子票据的网络化和去平台化流通。The embodiment of the invention provides a network electronic bill system, including a collecting party, a bill generating party, a user, a storage party and a related user, collecting the content of the physical bill, structuring the physical bill, and storing the structured bill data. Forming an electronic ticket, transmitting the electronic ticket to the ticket generating party; the ticket generating party receiving the electronic ticket of the physical ticket; and adding a function capable of realizing the physical ticket in each electronic ticket according to the function and usage scenario of the physical ticket The operation instruction and the user interaction interface; encapsulating the electronic ticket, the operation instruction, and the user interaction interface, encrypting and signing the encapsulated data, and publishing to the entire network domain to form a network electronic ticket, and receiving the release of the ticket generation party After the electronic electronic ticket network electronic ticket is authenticated and anti-counterfeiting, the network electronic ticket is held, and the electronic electronic ticket network electronic ticket is interactively operated and the interactive operation result is sent to each relevant user in real time. The storage side is used to store electronic tickets. Therefore, the electronic electronic bill can be directly operated and the interactive operation result can be sent to each related user in real time, and the network electronic bill can be self-operated in the network, thereby realizing the network and de-platform circulation of the electronic bill.
实施例四Embodiment 4
如图5所示,本发明实施例提供的一种网络电子票据系统,该系统包括采集方51、票据生成方52、使用方53、相关使用方54、存储方55和相关系统56。采集方51、票据生成方52、使用方53、相关使用方54、存储方55和相关系统56通过互联网通信连接,相关系统56与票据生成方52通信连接,票据生成方52与采集方51通信连接。进一步的,本发明实施例中的系统至少包括一个使用方53,本发明实施例中的系统至少包括一个相关使用方54,本发明实施例中的系统至少包括一个相关系统56。As shown in FIG. 5, a network electronic receipt system provided by an embodiment of the present invention includes a collection party 51, a ticket generation party 52, a user 53, a related consumer 54, a storage party 55, and a related system 56. The collecting party 51, the bill generator 52, the user 53, the related consumer 54, the storage 55 and the related system 56 are connected by internet communication, the related system 56 is in communication with the bill generator 52, and the bill generator 52 communicates with the collecting party 51. connection. Further, the system in the embodiment of the present invention includes at least one user 53. The system in the embodiment of the present invention includes at least one related user 54. The system in the embodiment of the present invention includes at least one related system 56.
采集方51,用于采集实体票据的内容;对实体票据进行结构化;将结构化后的票据数据进行存储形成电子化票据;将电子化票据传送给票据生成方52。The collecting party 51 is configured to collect the content of the physical bill; structure the physical bill; store the structured bill data to form an electronic bill; and transmit the electronic bill to the bill generating party 52.
具体的,采集方51,用于扫描实体票据内容,采用自动识别技术获得票据信息
;或者接收人工/智能设备输入的票据信息;或者接收外部系统导入的票据信息;实体票据的内容包括票据信息;采集方51将采集到的实体票据的内容发送给票据生成方52。Specifically, the collecting party 51 is configured to scan the content of the physical bill, and obtain the bill information by using an automatic identification technology.
Or receiving the ticket information input by the manual/smart device; or receiving the ticket information imported by the external system; the content of the physical ticket includes the ticket information; the collecting party 51 sends the content of the collected physical ticket to the ticket generating party 52.
票据生成方52,用于接收采集方51发送的实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据。The bill generating party 52 is configured to receive an electronic bill of the physical bill sent by the collecting party 51. According to the function and usage scenario of the physical bill, an operation instruction and a user interaction interface capable of realizing the function of the physical bill are added to each electronic bill. The electronic ticket, the operation instruction, and the user interaction interface are encapsulated, and the encapsulated data is encrypted and signed, and distributed to the entire network to form a network electronic ticket.
使用方53,用于在接收到票据生成方52发布的网络电子票据并通过身份验证和防伪处理后,持有该网络电子票据,在网络电子票据上进行交互操作并将交互操作结果实时发送给各相关使用方54。The user 53 is configured to hold the network electronic ticket issued by the ticket generator 52 and pass the authentication and anti-counterfeiting process, hold the network electronic ticket, perform an interaction operation on the network electronic ticket, and send the interaction result to the real-time operation. Each relevant consumer 54.
存储方55,用于存储电子化票据,存储方55包括但不限于网络数据库、云端数据库或分布式数据库。The storage side 55 is configured to store electronic tickets, and the storage side 55 includes, but is not limited to, a network database, a cloud database, or a distributed database.
进一步,票据生成方52包括一个或多个数据输入接口和/或一个或多个数据输出接口,用于接收相关系统56从数据输入接口输入的数据信息和/或从数据输出接口输出数据信息至相关系统56。Further, the ticket generator 52 includes one or more data input interfaces and/or one or more data output interfaces for receiving data information input by the correlation system 56 from the data input interface and/or outputting data information from the data output interface to Related system 56.
相关系统56,用于接收从票据生成方52的输出接口输出的数据信息和/或发送数据信息至票据生成方52的输入接口,数据信息包括:票据结构、票据信息、操作指令、用户交互界面、网络电子票据、数字证书中的一种或多种。其中,票据信息包括原始票据信息和电子化的票据信息。The correlation system 56 is configured to receive data information output from the output interface of the ticket generator 52 and/or send data information to an input interface of the ticket generator 52. The data information includes: a ticket structure, a ticket information, an operation instruction, and a user interaction interface. One or more of network electronic receipts and digital certificates. The ticket information includes original bill information and electronic bill information.
作为一种可选的实施方式,采集方51为票据的采集、结构化和电子化的执行方,票据生成方52可以为票据的网络化的执行方,票据生成方52发布网络电子票据后,使用方53接收到票据生成方52发布的网络电子票据后,通过身份验证和防伪处理后,持有该网络电子票据,在网络电子票据上进行交互操作并将交互操作结果实时发送给各相关使用方54。进一步的,使用方53可以为包括但不限于电脑、智能移动终端等设备或设备中的客户端软件。使用方53能够脱离平台在该网络电子票据上进行实时交互式操作及得到该网络电子票据的动态信息。进一步的,还可以将实施交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方54。
As an optional implementation manner, the collecting party 51 is an executing party for collecting, structuring, and electronicizing the bill, and the bill generating party 52 may be a networked executing party of the bill, and after the bill generating party 52 issues the network electronic bill, After receiving the network electronic ticket issued by the bill generator 52, the user 53 holds the network electronic bill after the identity verification and anti-counterfeiting processing, performs interactive operations on the network electronic bill, and transmits the interactive operation result to each relevant use in real time. Party 54. Further, the consumer 53 may be client software in a device or device including, but not limited to, a computer, a smart mobile terminal, or the like. The consumer 53 can perform real-time interactive operation on the network electronic ticket from the platform and obtain dynamic information of the network electronic ticket. Further, the data information generated by the implementation of the interaction operation can also be dynamically transmitted to the relevant users 54 through the network electronic ticket itself in real time.
具体实现中,采集方51可以通过连接的扫描设备或智能设备采集实体票据,采用自动识别技术得到票据信息,实体票据的内容包括票据信息。进一步的,采集方51还可以接收人工输入/智能设备输入的票据信息,如通过键盘、触摸屏、摄像头、麦克风等方式将票据信息以文字、图像、语音等方式录入。进一步的,还可以接收外部系统导入的票据信息,外部系统如ERP等生产、流程等系统,直接向票据生成方52方导入票据的信息。In a specific implementation, the collecting party 51 can collect physical bills through the connected scanning device or the smart device, and obtain the bill information by using an automatic identification technology, and the content of the physical bill includes the bill information. Further, the collecting party 51 can also receive the bill information input by the manual input/smart device, such as inputting the bill information by text, image, voice, etc. through a keyboard, a touch screen, a camera, a microphone, and the like. Further, it is also possible to receive the ticket information imported by the external system, and the external system such as the production and process system such as ERP directly introduces the information of the ticket to the ticket generating party 52.
采集方51识别出票据内容后,先分析实体票据的内容及实体票据的栏目之间的相互关系,根据实体票据的内容及实体票据的栏目之间的相互关系建立相应的数据结构。然后使用关系型数据库或非关系型数据库建立票据数据信息的数据存储结构,将票据的内容按照数据存储结构存储到数据库中,完成票据的电子化,形成电子化票据。其中,数据库包括但不限于本地数据库、网络数据库、云端数据库或分布式数据库。进一步的,用户交互界面包括静态信息展示区、动态信息展示区及操作区。After the collecting party 51 recognizes the content of the ticket, it first analyzes the relationship between the content of the physical ticket and the column of the physical ticket, and establishes a corresponding data structure according to the relationship between the content of the physical ticket and the column of the physical ticket. Then, the relational database or the non-relational database is used to establish a data storage structure of the ticket data information, and the contents of the ticket are stored in the database according to the data storage structure, and the electronicization of the ticket is completed to form an electronic ticket. The database includes, but is not limited to, a local database, a network database, a cloud database, or a distributed database. Further, the user interaction interface includes a static information display area, a dynamic information display area, and an operation area.
其中,相关使用方54可以包括与网络电子票据有数据关联的使用方,还可以为与票据生成方52有数据关联的多个使用方。使用方53将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方54,其操作指令、数据、操作结果、执行及状态等信息能够实时动态的通过网络电子票据本身传递给各相关使用方54,各相关使用方54如票据操作者、拥有者、发行者、执行方等。The related consumer 54 may include a user that has data associated with the network electronic ticket, and may also be a plurality of consumers that have data association with the ticket generator 52. The user 53 transmits the data information generated by the interaction operation to the related users 54 through the network electronic ticket itself in real time, and the operation instructions, data, operation results, execution and status information can be dynamically transmitted through the network electronic ticket itself in real time. For each relevant consumer 54, each relevant consumer 54 is a ticket operator, owner, issuer, executor, and the like.
具体地,存储方55具体可以包括本地数据库服务器、网络数据库服务器、云端数据库服务器或分布式数据库。进一步可选的,存储方55还可以用于存储网络电子票据。网络电子票据可以通过IP地址与存储方55进行数据交互,当用户执行操作指令后或者满足预设的触发条件后,网络电子票据通过票据ID与存储方55中存储的对应票据信息进行信息同步。Specifically, the storage side 55 may specifically include a local database server, a network database server, a cloud database server, or a distributed database. Further optionally, the storage side 55 can also be used to store network electronic tickets. The network electronic ticket can perform data interaction with the storage party 55 through the IP address. After the user executes the operation instruction or meets the preset trigger condition, the network electronic ticket synchronizes information with the corresponding ticket information stored in the storage party 55 through the ticket ID.
相关系统56,具体可通过票据生成方52的输入接口和输出接口交互数据信息。票据生成方52详细地接口描述及使用场景参见图14及对应的说明书部分。其中,数据信息包括:电子化票据、操作指令、用户交互界面、网络电子票据中的一种或多种。相关系统56包括但不局限于:生产厂家的ERP系统、银行系统终端
、保险公司系统、车辆管理系统、国家征信系统等与票据生成方52有数据关联的终端。The related system 56 can specifically exchange data information through the input interface and the output interface of the ticket generator 52. The ticket generator 52 details the interface description and usage scenarios. See Figure 14 and the corresponding description section. The data information includes one or more of an electronic ticket, an operation instruction, a user interaction interface, and a network electronic receipt. Related systems 56 include, but are not limited to, the manufacturer's ERP system, banking system terminal
A terminal associated with the bill generator 52, such as an insurance company system, a vehicle management system, and a national credit information system.
具体地,相关系统包括生产厂家的ERP系统、银行系统、OA系统、网络电子票据系统等,其中,该网络电子票据系统为采用本发明实现的其他网络电子票据系统。Specifically, the related system includes a manufacturer's ERP system, a banking system, an OA system, a network electronic receipt system, and the like, wherein the network electronic receipt system is another network electronic receipt system implemented by the present invention.
具体地,相关系统52为生产厂家的ERP系统,数据输入接口包括电子单据外部输入接口,用于接收生产厂家的ERP系统导入的电子化票据信息;数据输出接口包括电子单据外部输出接口,用于将本系统的电子化票据信息输出到生产厂家的ERP系统。Specifically, the related system 52 is a manufacturer's ERP system, and the data input interface includes an electronic document external input interface for receiving the electronic ticket information imported by the manufacturer's ERP system; the data output interface includes an electronic document external output interface for The electronic bill information of the system is output to the ERP system of the manufacturer.
具体地,相关系统52为生产厂家的ERP系统,数据输入接口包括单据结构输入接口,用于接收生产厂家的ERP系统导入的票据的数据结构信息;数据输出接口包括单据结构输出接口,用于将本系统的票据的数据结构信息输出到生产厂家的ERP系统。Specifically, the related system 52 is a manufacturer's ERP system, and the data input interface includes a document structure input interface for receiving data structure information of the ticket imported by the manufacturer's ERP system; the data output interface includes a document structure output interface for The data structure information of the ticket of the system is output to the ERP system of the manufacturer.
具体地,数据输入接口包括操作指令外部输入接口,用于接收相关系统52输入的操作指令信息;数据输出接口包括操作指令外部输出接口,用于将使用者在网络电子票据上的操作指令输出到相关系统52。Specifically, the data input interface includes an operation instruction external input interface for receiving operation instruction information input by the related system 52; the data output interface includes an operation instruction external output interface for outputting the operation instruction of the user on the network electronic receipt to Related system 52.
本发明实施例提供网络电子票据系统,包括采集方、票据生成方、使用方、存储方、相关使用方和相关系统。采集实体票据的内容,对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据,将电子化票据传送给票据生成方;票据生成方接收实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据,在接收到票据生成方发布的网络电子票据并通过身份验证和防伪处理后,持有该网络电子票据,在网络电子票据上进行交互操作并将交互操作结果实时发送给各相关使用方。存储方用于存储电子化票据。相关系统与票据生成方交互数据信息,从而能直接在网络电子票据进行交互操作并将交互操作结果实时发送给各相关使用方,网络电子票据可在网络中自运行,还可以与外部的相关系统实时交互数据,形成各行
业的应用方案,从而实现电子票据的网络化和去平台化流通。Embodiments of the present invention provide a network electronic ticket system, including a collecting party, a ticket generating party, a user, a storage party, a related user, and a related system. Collecting the contents of the physical bill, structuring the physical bill, storing the structured bill data to form an electronic bill, and transmitting the electronic bill to the bill generating party; the bill generating party receiving the electronic bill of the physical bill; The function and usage scenario of the ticket, adding an operation instruction and a user interaction interface capable of realizing the function of the physical ticket in each electronic ticket; encapsulating the electronic ticket, the operation instruction, the user interaction interface, and encrypting the encapsulated data And signing, and publishing to the entire network to form a network electronic ticket, after receiving the network electronic ticket issued by the ticket generating party and passing the authentication and anti-counterfeiting processing, holding the network electronic ticket, interacting on the network electronic ticket and Send the results of the interaction to each relevant user in real time. The storage side is used to store electronic tickets. The related system interacts with the bill generator to exchange data information, thereby directly interacting with the network electronic bill and transmitting the interoperation result to each relevant user in real time, and the network electronic bill can be self-running in the network, and can also be related to the external related system. Interact data in real time to form rows
The application of the industry, thereby achieving the network and de-platformization of electronic bills.
实施例五Embodiment 5
如图6所示,本发明实施例提供的一种网络电子票据的实现方法包括以下步骤:S601-S604。As shown in FIG. 6, a method for implementing a network electronic receipt according to an embodiment of the present invention includes the following steps: S601-S604.
S601,采集实体票据的内容,并对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据。S601. Collect content of the physical ticket, and structure the physical ticket, and store the structured ticket data to form an electronic ticket.
具体地,实体票据的内容包括票据信息,采集实体票据的内容具体包括:Specifically, the content of the physical bill includes the bill information, and the content of the physical bill includes:
扫描实体票据的内容,采用自动识别技术获得票据信息;Scan the contents of the physical ticket and obtain the ticket information by using automatic identification technology;
或者接收人工/智能设备输入的票据信息;Or receiving the bill information input by the manual/smart device;
或者接收外部系统导入的票据信息。Or receive the ticket information imported by the external system.
具体地,可以通过连接的扫描设备或智能设备采集实体票据,采用自动识别技术得到票据信息,实体票据的内容包括票据信息。进一步的,还可以接收人工输入/智能设备输入的票据信息,如通过键盘、触摸屏、摄像头、麦克风等方式将票据信息以文字、图像、语音等方式录入。进一步的,还可以接收外部系统导入的票据信息,外部系统如ERP等生产、流程等系统。Specifically, the physical ticket can be collected by the connected scanning device or the smart device, and the ticket information is obtained by using an automatic identification technology, and the content of the physical ticket includes the ticket information. Further, the bill information input by the manual input/smart device may be received, for example, the bill information is entered by text, image, voice, etc. through a keyboard, a touch screen, a camera, a microphone, and the like. Further, it is also possible to receive bill information imported by an external system, and an external system such as an ERP production system or a process.
进一步的,对实体票据进行结构化,具体包括:分析实体票据的内容及实体票据的栏目之间的相互关系;根据实体票据的内容与实体票据的栏目之间的相互关系建立相应的数据结构。Further, the physical bill is structured, and specifically includes: analyzing the relationship between the content of the physical bill and the column of the physical bill; and establishing a corresponding data structure according to the relationship between the content of the physical bill and the column of the physical bill.
具体的,实体票据中包括实体票据的栏目和需要填入的实体票据的内容,则先分析实体票据的内容与实体票据的栏目之间的相互关系,根据实体票据的内容与实体票据的栏目之间的相互关系建立相应的数据结构。Specifically, the physical bill includes the column of the physical bill and the content of the physical bill to be filled in, first analyzing the relationship between the content of the physical bill and the column of the physical bill, according to the content of the physical bill and the column of the physical bill. The interrelationship establishes the corresponding data structure.
进一步的,结构化后的票据数据进行存储形成电子化票据具体可以包括:Further, the storing the structured ticket data to form the electronicized ticket may specifically include:
使用关系型数据库或非关系型数据库建立票据数据信息的数据存储结构,将票据的内容按照数据存储结构存储到数据库中,完成票据的电子化,形成电子化票据。其中,数据库包括但不限于本地数据库、网络数据库、云端数据库或分布式数据库。The relational database or the non-relational database is used to establish a data storage structure of the ticket data information, and the contents of the ticket are stored in the database according to the data storage structure, and the electronicization of the ticket is completed to form an electronic ticket. The database includes, but is not limited to, a local database, a network database, a cloud database, or a distributed database.
具体地,关系型数据库有很多,如ORACLE,SQLSERVER,DB2,MYSQL等,关系型数据库中的表都是存储一些格式化的数据结构,每个元组字段的组成
都一样,即使不是每个元组都需要所有的字段,但数据库会为每个元组分配所有的字段,称之为行数据库,这样的结构可以便于表与表之间进行连接等操作,但从另一个角度来说它也是关系型数据库性能瓶颈的一个因素,故对于结构相对固定的信息,可采用关系数据库建立数据结构。Specifically, there are many relational databases, such as ORACLE, SQLSERVER, DB2, MYSQL, etc. The tables in the relational database store some formatted data structures, and the composition of each tuple field
The same, even if not all the tuples need all the fields, but the database will allocate all the fields for each tuple, called the row database, such a structure can facilitate the connection between the table and the table, but From another perspective, it is also a factor in the performance bottleneck of relational databases. Therefore, for a relatively fixed structure of information, a relational database can be used to establish a data structure.
而非关系型数据库(NoSQL)无需事先为要存储的数据建立字段,随时可以存储自定义的数据格式。它是以键值对存储,结构不固定,每一个元组可以有不一样的字段,每个元组可以根据需要增加一些自己的键值对,这样就不会局限于固定的结构,称之为列数据库,这样可以减少一些时间和空间的开销,并能实现实时和动态建立数据结构。故对于结构不固定的票据信息采用非关系型数据库。Non-relational databases (NoSQL) can store custom data formats at any time without having to create fields for the data to be stored. It is stored as a key-value pair. The structure is not fixed. Each tuple can have different fields. Each tuple can add some key-value pairs according to its needs, so that it is not limited to a fixed structure. As a column database, this can reduce some time and space overhead, and can achieve real-time and dynamic data structure. Therefore, a non-relational database is used for the ticket information whose structure is not fixed.
进一步可选的,步骤S601之前,还可以包括步骤:Further optionally, before step S601, the method may further include the following steps:
接收外部系统输入的与实体票据对应的数据结构。Receiving a data structure corresponding to the physical ticket input by the external system.
S602,根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面。S602. Add an operation instruction and a user interaction interface that can implement the function of the physical ticket in each electronic ticket according to the function and usage scenario of the physical ticket.
作为一种可选的实施方式,根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面包括:As an optional implementation manner, according to the function and usage scenario of the physical ticket, an operation instruction and a user interaction interface for adding a function of the physical ticket to each electronic ticket include:
获取实体票据对应的用户交互界面生成策略及操作指令生成策略,用户交互界面生成策略及操作指令生成策略根据实体票据的功能及使用场景设置而成;Obtaining a user interaction interface generation policy and an operation instruction generation strategy corresponding to the physical bill, and the user interaction interface generation strategy and the operation instruction generation strategy are set according to the function and usage scenario of the physical ticket;
根据用户交互界面生成策略及操作指令生成策略生成能展示实体票据的内容并能实现实体票据的功能的操作指令及用户交互界面。Generating a policy according to the user interaction interface and an operation instruction generation strategy to generate an operation instruction and a user interaction interface capable of displaying the content of the physical ticket and realizing the function of the physical ticket.
具体可以包括如下步骤:Specifically, the method may include the following steps:
a、获取实体票据的用户交互界面生成策略、操作指令生成策略、功能及使用场景。a. Obtain a user interaction interface generation strategy, an operation instruction generation strategy, a function, and a usage scenario of the physical ticket.
具体地,可以通过查表来实现:根据电子票据的类型从预设的配置表中查询该类型票据对应的功能及应用场景和用户交互界面,该配置表可以是关系数据库中表结构和记录。比如预先在数据库中设计票据类型表结构,预设各类票据类型用户交互界面生成策略及、操作指令生成策略、功能及使用场景,然后根据识别的票据类型匹配预设的记录。当然,还可以通过配置文件来实现查找功能
,通过读取配置文件中的关键字来获取类型票据对应的用户交互界面生成策略、操作指令生成策略、功能及应用场景。Specifically, it can be implemented by looking up the table: querying the function corresponding to the type of the ticket and the application scenario and the user interaction interface from the preset configuration table according to the type of the electronic ticket, and the configuration table may be a table structure and a record in the relational database. For example, the ticket type table structure is designed in advance in the database, the user interaction interface generation strategy of each type of ticket type, the operation instruction generation strategy, the function and the usage scenario are preset, and then the preset record is matched according to the identified ticket type. Of course, you can also use the configuration file to achieve the search function.
The user interaction interface generation policy, the operation instruction generation strategy, the function, and the application scenario corresponding to the type ticket are obtained by reading keywords in the configuration file.
b、根据用户交互界面生成策略和操作指令生成策略生成视觉、触觉、和/或语音等交互方式的用户交互界面。b. Generate a policy according to the user interaction interface and generate an operation instruction to generate a user interaction interface that is interactive, such as visual, tactile, and/or voice.
c、根据功能及使用场景在用户交互界面中增加视觉、触觉和/或语音操作指令。c. Add visual, tactile, and/or voice operation instructions to the user interaction interface according to functions and usage scenarios.
其中,操作指令还设置为记录电子票据的各个环节的变化状态和变化内容的动态数据。比如操作指令包括实现购买、转让、退票和检票等几个流通环节的操作,并记录每个流通环节的变化状态、变化内容和操作人等情况,并在用户交互界面中显示这些操作记录。The operation instruction is further set to record the dynamic state of the change state and the change content of each link of the electronic ticket. For example, the operation instructions include operations such as purchase, transfer, refund, and ticket checking, and record the change status, change content, and operator of each circulation link, and display these operation records in the user interaction interface.
具体地,当用户交互界面为视觉交互界面时,视觉操作指令包括但不限于菜单和按钮。Specifically, when the user interaction interface is a visual interaction interface, the visual operation instructions include, but are not limited to, menus and buttons.
当用户交互界面为触觉交互界面时,触觉操作指令包括触摸指令。When the user interaction interface is a tactile interaction interface, the haptic operation instructions include touch instructions.
当用户交互界面为语音交互界面时,语音操作指令包括声控指令。When the user interaction interface is a voice interaction interface, the voice operation instruction includes a voice control instruction.
进一步可选的,用户交互界面包括静态信息展示区、动态信息展示区及操作区。用户交互界面包括静态信息展示区、动态信息展示区及操作区,其中,静态信息展示区用于展示该网络电子票据的静态属性信息,如产品图片,产品名称,厂家信息等,动态信息展示区用于实时展示该电子票据的状态以及日志信息,如图2a所示电影票网络电子票据的购买信息和转让信息;操作区设置为可供用户输入指令的区域,包括按钮、输入框等。如图2a所示的电影票网络电子票据上的购买、转让、退票、检票等按钮。Further optionally, the user interaction interface includes a static information display area, a dynamic information display area, and an operation area. The user interaction interface includes a static information display area, a dynamic information display area, and an operation area. The static information display area is used to display static attribute information of the network electronic ticket, such as a product picture, a product name, a manufacturer information, and the like, and a dynamic information display area. For displaying the status of the electronic receipt and log information in real time, as shown in FIG. 2a, the purchase information and the transfer information of the movie ticket network electronic receipt; the operation area is set as an area for the user to input an instruction, including a button, an input box, and the like. A button for purchasing, transferring, refunding, checking, etc. on the electronic ticket of the movie ticket network as shown in FIG. 2a.
进一步可选的,根据实体票据的功能及使用场景,在每个电子票据中增加能实现实体票据的功能的操作指令和用户交互界面具体还可以包括:Further, optionally, the operation instruction and the user interaction interface for adding the function of the physical ticket to each electronic receipt according to the function and the usage scenario of the physical ticket may further include:
接收外部输入的与实体票据对应的操作指令;和/或Receiving an externally input operation instruction corresponding to the physical note; and/or
接收外部输入的与实体票据对应的用户交互界面。Receiving an externally input user interaction interface corresponding to the physical ticket.
具体实现中,可通过输入接口或输出接口,与相关系统进行数据交互,可接收到操作指令或交互界面。In a specific implementation, data interaction with the related system may be performed through an input interface or an output interface, and an operation instruction or an interaction interface may be received.
S603,将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进
行加密和签名,并发布到全网域形成网络电子票据。S603, encapsulating the electronic ticket, the operation instruction, and the user interaction interface, and inserting the encapsulated data into
Line encryption and signature, and publish to the entire domain to form a network electronic ticket.
作为一种可选的实施方式,可将电子化票据、操作指令以及用户交互界面进行封装,进而对封装后的数据进行加密和签名,并发布到全网域,进而形成网络电子票据。对封装后的数据进行加密的方式为数字信封动态加密或数字信封加密。As an optional implementation manner, the electronic ticket, the operation instruction, and the user interaction interface may be encapsulated, and the encapsulated data is encrypted and signed, and distributed to the entire domain to form a network electronic ticket. The way to encrypt the encapsulated data is digital envelope dynamic encryption or digital envelope encryption.
进一步的,对封装后的数据进行加密和签名包括:Further, encrypting and signing the encapsulated data includes:
采用数字加密技术对封装后的数据进行加密;或Encapsulating the encapsulated data using digital encryption; or
接收外部输入的数字加密证书,由数字加密证书对封装后的数据进行加密。进一步的,采用混合加密、非对称加密或对称加密的方式对封装了操作指令和用户交互界面的电子票据使用数字加密技术进行加密,进而得到网络电子票据。The externally input digital encryption certificate is received, and the encapsulated data is encrypted by the digital encryption certificate. Further, the electronic ticket encapsulating the operation instruction and the user interaction interface is encrypted by using a digital encryption technology by means of hybrid encryption, asymmetric encryption or symmetric encryption, thereby obtaining a network electronic ticket.
作为本发明的一种优选方案,非对称加密的方式进行包括:采用会话密钥作为私钥。在非对称加密的方式中,对数据进行加密之前要准备好两个密钥,一个公钥和私钥。其中公钥是公开的,任何人都可以获得,私钥只有解密方才能拥有。会话密钥是临时生成的并存在内存中的,不是永久的,会话结束后会话密钥就销毁了。在提供同等安全性保证的条件下相比于静态密钥管理,既节约了存储空间,又提高了能量效率。As a preferred solution of the present invention, the asymmetric encryption method includes: using a session key as a private key. In the asymmetric encryption mode, two keys, a public key and a private key, are prepared before the data is encrypted. The public key is public and available to anyone, and the private key can only be owned by the decryptor. The session key is temporarily generated and stored in memory, not permanent, and the session key is destroyed after the session ends. Compared with static key management under the condition of providing equal security guarantee, it saves storage space and improves energy efficiency.
进一步的,可以采用即时通讯工具、电子邮件、展示平台、线上或线下方式发布票据。发布到全网域的各使用方,从而各使用方可浏览或查阅。Further, the ticket can be issued by means of instant messaging tools, email, display platform, online or offline. Publish to each user of the entire domain so that each user can browse or view.
进一步可选的,步骤S603之后,本发明实施例提供的方法还可以包括步骤:Further, after the step S603, the method provided by the embodiment of the present invention may further include the following steps:
存储网络电子票据。Storage network electronic notes.
具体实现中,可在本地存储网络电子票据,还可以将网络电子票据存储到网络数据库、云端数据库或分布式数据库,具体不受本发明实施例的限制。In a specific implementation, the network electronic ticket may be stored locally, and the network electronic ticket may be stored in a network database, a cloud database, or a distributed database, which is not limited by the embodiment of the present invention.
S604,使用者接收到网络电子票据通过身份验证和数据核验后,能够持有网络电子票据,并能在网络电子票据本身上进行交互操作,且将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。S604. After receiving the identity verification and data verification, the user can hold the network electronic receipt and perform interactive operation on the network electronic receipt itself, and dynamically transmit the data information generated by the interaction operation through the network electronically. The notes themselves are passed to the relevant users.
作为一种可选的实施方式,交互操作产生的数据信息包括交互操作对应的操作指令、交互数据或票据状态信息。As an optional implementation manner, the data information generated by the interaction includes an operation instruction corresponding to the interaction operation, interaction data, or ticket status information.
具体的,使用者接收网络电子票据,用户对网络电子票据申请身份验证和数据
核验,具体的,可通过发行方与使用方的双向或单向身份验证,以及对网络电子票据的数据进行核验,如防伪处理等,以确保安全。若验证通过且核验成功,则对网络电子票据进行解密,以使用户可直接在网络电子票据本身上进行交互操作,如可操作网络电子票据上的按钮,进行购买、转让等信息。进一步的,用户在网络电子票据本身上进行的交互操作产生的数据信息可实时动态地通过网络电子票据本身传递给各相关使用方。Specifically, the user receives the network electronic ticket, and the user applies for authentication and data to the network electronic ticket.
Verification, specifically, through the two-way or one-way authentication of the issuer and the user, as well as the verification of the data of the network electronic notes, such as anti-counterfeiting, to ensure security. If the verification is successful and the verification is successful, the network electronic receipt is decrypted, so that the user can directly perform interactive operations on the network electronic receipt itself, such as buttons on the electronic electronic ticket, and purchase and transfer information. Further, the data information generated by the user's interaction on the network electronic ticket itself can be dynamically transmitted to the relevant users through the network electronic ticket itself in real time.
本发明实施例提供了一种网络电子票据的实现方法,采集实体票据的内容,对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据,使用者接收到网络电子票据通过身份验证和数据核验后,能够持有网络电子票据,并能在网络电子票据本身上进行交互操作,且将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。从而能直接在网络电子票据进行交互操作并将交互操作结果实时发送给各相关使用方,网络电子票据可在网络中自运行,实现电子票据的网络化和去平台化流通。The embodiment of the invention provides a method for implementing a network electronic receipt, collecting the content of the physical bill, structuring the physical bill, and storing the structured bill data to form an electronic bill; according to the function and usage scenario of the physical bill Adding an operation instruction and a user interaction interface capable of realizing the function of the physical ticket in each electronic ticket; encapsulating the electronic ticket, the operation instruction, and the user interaction interface, encrypting and signing the encapsulated data, and publishing to The entire network forms a network electronic ticket. After receiving the identity verification and data verification, the user can hold the network electronic ticket, and can perform interactive operations on the network electronic ticket itself, and the data information generated by the interaction operation. It is dynamically transmitted to the relevant users through the network electronic ticket itself in real time. Therefore, the interactive operation can be directly performed on the network electronic ticket and the interactive operation result can be sent to each related user in real time, and the network electronic ticket can be self-operated in the network to realize the network and de-platform circulation of the electronic ticket.
实施例六Embodiment 6
如图7a所示,本发明实施例提供的一种网络电子票据的实现方法包括以下步骤:S701~S704。As shown in FIG. 7a, a method for implementing a network electronic receipt according to an embodiment of the present invention includes the following steps: S701 to S704.
S701,采集实体票据或源票据的内容,对票据进行电子化,再将电子化后的票据数据存储于网络数据库中。S701: Collect content of the physical ticket or the source ticket, electronically digitize the ticket, and store the electronicized ticket data in a network database.
作为一种可选的实施方式,采集实体票据或源票据的内容并根据其结构进行结构化,将结构化后的票据数据进行存储形成电子化票据。其中,实体票据包括现实当中各种各类商业票据或凭证、金融票据或凭证、各种媒体。源票据包括已经数字化的票据信息,该票据信息可通过智能设备或外部系统输入。As an optional implementation manner, the content of the physical ticket or the source ticket is collected and structured according to its structure, and the structured ticket data is stored to form an electronic ticket. Among them, the physical bill includes various types of commercial papers or vouchers, financial instruments or vouchers, and various media in reality. The source ticket includes ticket information that has been digitized, and the ticket information can be input through a smart device or an external system.
S702,根据实体票据或实体票据的功能及使用场景等情况,在每个电子化票据中增加能实现该票据功能的操作指令及用户交互界面(UI)。S702: Add an operation instruction and a user interaction interface (UI) capable of realizing the function of the ticket in each electronic ticket according to a function of a physical ticket or a physical ticket and a usage scenario.
作为一种可选的实施方式,根据实体票据或实体票据的功能和使用场景等情况
,在每个电子化票据中增加能实现该票据功能的操作指令及用户交互界面。As an optional implementation manner, according to the function and usage scenario of the physical ticket or the physical ticket, etc.
An operation instruction and a user interaction interface capable of realizing the function of the ticket are added to each electronic ticket.
S703,将电子化票据、操作指令、用户交互界面进行封装,并对封装后的数据进行加密、签名等处理,将其发布到全网域形成网络电子票据。S703: Encapsulating the electronic ticket, the operation instruction, and the user interaction interface, and performing encryption, signature, and the like on the encapsulated data, and publishing the data to the entire network to form a network electronic ticket.
作为一种可选的实施方式,将步骤S701、S702中形成的电子化票据、操作指令及用户交互界面进行封装,并对封装后的数据进行加密、签名等处理,并发布到全网域,进而形成网络电子票据。As an optional implementation manner, the electronic ticket formed in steps S701 and S702, the operation instruction, and the user interaction interface are encapsulated, and the encapsulated data is encrypted, signed, and the like, and distributed to the entire domain. In turn, a network electronic ticket is formed.
S704,接收使用者对网络电子票据发起的使用请求,然后对使用者的身份进行验证和网络电子票据数据进行核验,如果通过身份验证和数据核验,则允许使用者在网络电子票据本身上进行交互操作,并能将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。其操作指令、数据、结果、状态等信息能够实时动态的通过该票据本身传递给其他各使用方。S704: Receive a user-initiated use request for the network electronic receipt, and then verify the identity of the user and verify the network electronic receipt data. If the authentication and the data verification are performed, the user is allowed to interact on the network electronic receipt itself. The operation and the data information generated by the interaction operation can be dynamically transmitted to the relevant users through the network electronic ticket itself in real time. Information such as operation instructions, data, results, status, etc. can be dynamically transmitted to other users through the ticket itself in real time.
作为一种可选的实施方式,使用者接收到网络电子票据后,进行身份验证和数据核验,身份验证和数据核验通过后,使用者持有该网络电子票据并能在该网络电子票据本身进行交互操作,交互操作的操作指令、数据、结果、状态等信息能够实时动态的通过该网络电子票据本身传递给其他各使用方。As an optional implementation manner, after receiving the network electronic ticket, the user performs identity verification and data verification, and after the identity verification and data verification are passed, the user holds the network electronic ticket and can perform the electronic electronic ticket itself. Inter-operation, interactive operation instructions, data, results, status and other information can be dynamically transmitted to other users through the network electronic ticket itself in real time.
本发明实施例提供了一种网络电子票据的实现方法,采集票据内容并根据其结构进行结构化,将结构化后的票据数据进行存储形成电子化票据;根据票据的功能、使用场景等情况,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名等处理,并发布到全网域形成网络电子票据,使用者接收到网络电子票据通过身份验证和数据核验后,能够持有网络电子票据,并能在网络电子票据本身上进行交互操作,其操作指令、数据、结果、状态等信息能够实时动态地通过网络电子票据本身传递给各相关使用方。从而能直接在网络电子票据进行交互操作并将交互操作结果实时发送给各相关使用方,网络电子票据可在网络中自运行,实现电子票据的网络化和去平台化流通。Embodiments of the present invention provide a method for implementing a network electronic receipt, collecting the content of the ticket and structuring according to the structure thereof, and storing the structured ticket data to form an electronic ticket; according to the function and usage scenario of the ticket, An operation instruction and a user interaction interface capable of realizing the function of the physical ticket are added to each electronic ticket; the electronic ticket, the operation instruction, the user interaction interface are encapsulated, and the encapsulated data is encrypted and signed, and is released. Forming a network electronic ticket to the entire network domain, the user can hold the network electronic ticket after receiving the network electronic ticket through identity verification and data verification, and can perform interactive operation on the network electronic ticket itself, and its operation instruction, data, and result Information such as status and status can be dynamically transmitted to the relevant users through the network electronic ticket itself in real time. Therefore, the interactive operation can be directly performed on the network electronic ticket and the interactive operation result can be sent to each related user in real time, and the network electronic ticket can be self-operated in the network to realize the network and de-platform circulation of the electronic ticket.
如图7b所示,本发明实施例提供的另一种网络电子票据的实现方法包括以下步骤:S711~S718。图7b为具体的网络电子票据的实现方法流程图,具体流程可参
见图7a,在此不再详述。As shown in FIG. 7b, another method for implementing a network electronic ticket according to an embodiment of the present invention includes the following steps: S711 to S718. FIG. 7b is a flowchart of a method for implementing a specific network electronic ticket, and the specific process may be
See Figure 7a, which will not be described in detail here.
S711,根据实体或纸质票据内容采用自动识别(OCR,Optical Character Recognition,光学字符识别)技术或手动将其输入到计算机设备中进行结构化,完成实体票据的内容的采集。S711, according to the physical or paper ticket content, adopts automatic recognition (OCR, Optical Character Recognition) technology or manually inputs it into a computer device for structuring, and completes collection of the content of the physical ticket.
S712,分析实体票据的内容及栏目之间的相互关系,根据上述内容及栏目关系建立相应的数据结构。S712, analyzing the content of the physical bill and the relationship between the columns, and establishing a corresponding data structure according to the content and the column relationship.
S713,使用关系型数据库或非关系型数据库(比如NoSq1)建立上述票据数据信息的数据存储结构。S713: Establish a data storage structure of the ticket data information by using a relational database or a non-relational database (such as NoSq1).
S714,将结构化后的票据数据依照数据存储结构存储于数据库中。S714. Store the structured ticket data in a database according to the data storage structure.
其中,数据库可以部署在本地或网络中,如:本地数据库、网络数据库、云端或分布式数据库等。The database can be deployed locally or on the network, such as a local database, a network database, a cloud, or a distributed database.
S715,根据实体票据的功能及使用场景等情况在每个存储的电子化票据上加入操作指令及用户交互界面(UI)。S715: Add an operation instruction and a user interaction interface (UI) to each stored electronic ticket according to the function of the physical ticket and the usage scenario.
S716,使用数字加密技术将加入操作指令及UI的电子化票据进行加密及数字签名。S716, encrypting and digitally signing the electronic ticket that joins the operation instruction and the UI by using digital encryption technology.
S717,使用Internet网络及通信系统将加密过后的电子化票据发布到网络,形成网络电子票据,使得使用者经过身份核验后,能脱离平台在该网络电子票据本身上进行实时交互式操作及实际得到该网络电子票据的动态信息。S717, using the Internet network and communication system to publish the encrypted electronic ticket to the network to form a network electronic ticket, so that after the user is verified by the identity, the user can perform real-time interactive operation on the electronic electronic ticket itself and obtain the actual information. Dynamic information of the network electronic ticket.
S718,将交互操作产生的操作指令、数据、结果、状态等信息实时动态的通过该票据本身传递给其他各使用方。S718: The operation instruction, the data, the result, the status, and the like generated by the interaction are dynamically transmitted to the other users through the ticket itself in real time.
实施例七Example 7
如图8所示,本发明实施例提供的一种网络电子票据的实现方法包括以下步骤:S801~S803。As shown in FIG. 8, a method for implementing a network electronic receipt according to an embodiment of the present invention includes the following steps: S801 to S803.
S801,获取实体票据的电子化票据。S801. Acquire an electronic ticket of the physical ticket.
作为一种可选的实施方式,获取实体票据的电子化票据具体可以包括:As an optional implementation manner, the electronic ticket for acquiring the physical ticket may specifically include:
采集实体票据的内容;Collecting the contents of the physical notes;
建立实体票据的数据结构;Establish a data structure of the physical bill;
对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据。
The physical bill is structured, and the structured bill data is stored to form an electronic bill.
进一步的,建立实体票据的数据结构包括:Further, the data structure for establishing the physical ticket includes:
分析实体票据的内容及实体票据的栏目之间的相互关系;Analyzing the relationship between the contents of the physical notes and the columns of the physical notes;
根据实体票据的内容与实体票据的栏目之间的相互关系建立相应的数据结构。A corresponding data structure is established according to the relationship between the content of the physical ticket and the column of the physical ticket.
进一步的,将结构化后的票据数据进行存储形成电子化票据包括:Further, storing the structured ticket data to form an electronic ticket includes:
使用关系型数据库或非关系型数据库建立结构化后的票据数据的数据存储结构;Establishing a data storage structure of structured ticket data using a relational database or a non-relational database;
将票据的内容按照数据存储结构存储到数据库中,完成票据的电子化,形成电子化票据。其中,数据库包括但不限于本地数据库、网络数据库、云端数据库或分布式数据库。The contents of the ticket are stored in the database according to the data storage structure, and the electronicization of the ticket is completed to form an electronic ticket. The database includes, but is not limited to, a local database, a network database, a cloud database, or a distributed database.
S802,根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面。S802. Add an operation instruction and a user interaction interface that can implement the function of the physical ticket in each electronic ticket according to the function and usage scenario of the physical ticket.
作为一种可选的实施方式,根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面包括:As an optional implementation manner, according to the function and usage scenario of the physical ticket, an operation instruction and a user interaction interface for adding a function of the physical ticket to each electronic ticket include:
获取实体票据对应的用户交互界面生成策略及操作指令生成策略,用户交互界面生成策略及操作指令生成策略根据实体票据的功能及使用场景设置而成;Obtaining a user interaction interface generation policy and an operation instruction generation strategy corresponding to the physical bill, and the user interaction interface generation strategy and the operation instruction generation strategy are set according to the function and usage scenario of the physical ticket;
根据用户交互界面生成策略及操作指令生成策略生成能展示实体票据的内容并能实现实体票据的功能的操作指令及用户交互界面。Generating a policy according to the user interaction interface and an operation instruction generation strategy to generate an operation instruction and a user interaction interface capable of displaying the content of the physical ticket and realizing the function of the physical ticket.
进一步的,用户交互界面包括静态信息展示区、动态信息展示区及操作区。Further, the user interaction interface includes a static information display area, a dynamic information display area, and an operation area.
S803,将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据,以使使用者在接收到网络电子票据后,并能在网络电子票据本身上进行交互操作。S803, encapsulating the electronic ticket, the operation instruction, and the user interaction interface, encrypting and signing the encapsulated data, and publishing the network electronic ticket to the entire network, so that the user receives the network electronic receipt, and Can interact on the network electronic ticket itself.
进一步可选的,步骤S803之后,本发明实施例提供的方法还可以包括步骤:Further, after the step S803, the method provided by the embodiment of the present invention may further include the following steps:
对使用者在接收到网络电子票据后进行的身份验证和数据核验进行确认;Confirmation of the identity verification and data verification performed by the user after receiving the electronic electronic ticket;
在确认通过后,对网络电子票据进行解密,使得使用者能够持有网络电子票据,并能在网络电子票据本身上进行交互操作,且将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。After the confirmation is passed, the network electronic ticket is decrypted, so that the user can hold the network electronic ticket, and can perform interactive operation on the network electronic ticket itself, and dynamically transmit the data information generated by the interaction operation through the network electronic ticket itself in real time. Passed to the relevant users.
作为一种可选的实施方式,图8所示的实施例的执行主体可以为票据生成方,票据生成方获取实体票据的电子化票据,具体可以为票据生成方采集实体票据
的内容并将其电子化形成电子化票据,还可以为票据生成方从采集方直接获取电子化票据,还可以为从外部接收电子化票据。票据生成方将电子化票据转为网络电子票据,将网络电子票据发送给使用者,以使使用者可直接在网络电子票据本身上进行交互操作,该网络电子票据是封装了电子化票据、操作指令和UI,可脱离平台,独立自运行。As an optional implementation manner, the execution entity of the embodiment shown in FIG. 8 may be a ticket generation party, and the ticket generator may obtain an electronic ticket of the physical ticket, and specifically, the ticket generation party may collect the physical ticket.
The content is electronically formed into an electronic ticket, and the electronic ticket can be directly obtained from the collecting party for the ticket generating party, and the electronic ticket can be received from the outside. The bill generator converts the electronic bill into a network electronic bill, and sends the network electronic bill to the user, so that the user can directly interact on the network electronic bill itself, and the network electronic bill encapsulates the electronic bill and operates. Commands and UI, can be separated from the platform and run independently.
本发明实施例提供一种网络电子票据的实现方法,获取实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据,以使使用者在接收到网络电子票据后,并能在网络电子票据本身上进行交互操作。网络电子票据可在网络中自运行,实现电子票据的网络化和去平台化流通。An embodiment of the present invention provides a method for implementing a network electronic ticket, which acquires an electronic ticket of a physical ticket, and adds an operation instruction and a user that can implement the function of the physical ticket in each electronic ticket according to the function and usage scenario of the physical ticket. An interactive interface; encapsulating the electronic ticket, the operation instruction, and the user interaction interface, encrypting and signing the encapsulated data, and publishing to the entire network domain to form a network electronic ticket, so that after receiving the network electronic ticket, the user And can interact on the network electronic ticket itself. The network electronic ticket can be self-operated in the network to realize the network and de-platformization of electronic bills.
实施例八Example eight
如图9所示,本发明实施例提供的一种网络电子票据的实现方法包括以下步骤:S901~S904。As shown in FIG. 9, a method for implementing a network electronic ticket according to an embodiment of the present invention includes the following steps: S901 to S904.
S901,获取实体票据的电子化票据。S901. Acquire an electronic ticket of the physical note.
作为一种可选的实施方式,获取实体票据的电子化票据具体可以包括:As an optional implementation manner, the electronic ticket for acquiring the physical ticket may specifically include:
采集实体票据的内容;Collecting the contents of the physical notes;
建立实体票据的数据结构;Establish a data structure of the physical bill;
对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据。The physical bill is structured, and the structured bill data is stored to form an electronic bill.
S902,根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面。S902. Add an operation instruction and a user interaction interface that can implement the function of the physical ticket in each electronic ticket according to the function and usage scenario of the physical ticket.
作为一种可选的实施方式,根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面包括:As an optional implementation manner, according to the function and usage scenario of the physical ticket, an operation instruction and a user interaction interface for adding a function of the physical ticket to each electronic ticket include:
获取实体票据对应的用户交互界面生成策略及操作指令生成策略,用户交互界面生成策略及操作指令生成策略根据实体票据的功能及使用场景设置而成;Obtaining a user interaction interface generation policy and an operation instruction generation strategy corresponding to the physical bill, and the user interaction interface generation strategy and the operation instruction generation strategy are set according to the function and usage scenario of the physical ticket;
根据用户交互界面生成策略及操作指令生成策略生成能展示实体票据的内容并能实现实体票据的功能的操作指令及用户交互界面。
Generating a policy according to the user interaction interface and an operation instruction generation strategy to generate an operation instruction and a user interaction interface capable of displaying the content of the physical ticket and realizing the function of the physical ticket.
S903,将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据。S903: Encapsulating the electronic ticket, the operation instruction, and the user interaction interface, encrypting and signing the encapsulated data, and publishing the data to the entire network to form a network electronic ticket.
S904,对网络电子票据进行身份验证和数据核验,接收使用者在网络电子票据本身上进行交互操作,并将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。S904: Perform identity verification and data verification on the network electronic receipt, receive the user to perform an interaction operation on the network electronic receipt itself, and transmit the data information generated by the interaction operation to the relevant users through the network electronic receipt itself in real time.
作为一种可选的实施方式,将对网络电子票据进行身份验证和数据核验,接收使用者在网络电子票据本身上进行交互操作,并将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方包括:As an optional implementation manner, the network electronic ticket is authenticated and verified, the receiving user interacts on the network electronic ticket itself, and the data information generated by the interaction is dynamically transmitted through the network electronic ticket itself in real time. Passed to the relevant users includes:
对使用者在网络电子票据本身上发起的身份验证和数据核验进行确认;Confirmation of the identity verification and data verification initiated by the user on the network electronic ticket itself;
在确认通过后,对网络电子票据进行解密;After confirming the passage, decrypt the network electronic ticket;
接收使用者在网络电子票据本身上进行交互操作,并将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。The receiving user performs an interactive operation on the network electronic ticket itself, and the data information generated by the interaction operation is dynamically transmitted to the relevant users through the network electronic ticket itself in real time.
作为一种可选的实施方式,本发明实施例的执行主体可以为票据生成方,票据生成方采集实体票据的内容,生成网络电子票据,票据生成方可以为票据的采集、结构化、电子化、网络化的执行方,还可以为使用者持有的能进行网络电子票据的交互操作的终端设备或客户端。则使用者可直接在票据生成方生成网络电子票据后直接在网络电子票据上进行交互操作。As an optional implementation manner, the execution entity of the embodiment of the present invention may be a ticket generation party, and the ticket generation party collects the content of the physical ticket to generate a network electronic ticket, and the ticket generation party may collect, structure, and electronicize the ticket. The networked executive party can also be a terminal device or client that can be operated by the user to perform interactive operation of the network electronic ticket. The user can directly interact with the network electronic ticket directly after the ticket generation party generates the network electronic ticket.
票据生成方获取实体票据的电子化票据,具体可以为票据生成方采集实体票据的内容并将其电子化形成电子化票据,还可以为票据生成方从采集方直接获取电子化票据,还可以为从外部系统接收电子化票据。The bill generating party obtains the electronic bill of the physical bill, and specifically, the bill generating party collects the content of the physical bill and electronically forms the electronic bill, and can also directly obtain the electronic bill from the collecting party, or The electronic ticket is received from an external system.
本发明实施例提供一种网络电子票据的实现方法,获取实体票据的电子化票据;根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;将电子化票据、操作指令、用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据,对网络电子票据进行身份验证和数据核验,接收使用者在网络电子票据本身上进行交互操作,并将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。从而能直接在网络电子票据进行交互操作并将交互操作结果实时发送给各相关使用方,网络电子票据可在网络中自运行,实现
电子票据的网络化和去平台化流通。An embodiment of the present invention provides a method for implementing a network electronic ticket, which acquires an electronic ticket of a physical ticket, and adds an operation instruction and a user that can implement the function of the physical ticket in each electronic ticket according to the function and usage scenario of the physical ticket. The interactive interface encapsulates the electronic ticket, the operation instruction, and the user interaction interface, encrypts and signs the encapsulated data, and publishes it to the entire network to form a network electronic ticket, and performs authentication and data verification on the network electronic ticket, and receives The user interacts on the network electronic ticket itself, and transmits the data information generated by the interaction operation to the relevant users through the network electronic ticket itself in real time. Therefore, the interactive operation can be directly performed on the network electronic ticket and the interactive operation result can be sent to each related user in real time, and the network electronic ticket can be self-operated in the network to realize
Networking and de-platformization of electronic bills.
实施例九Example nine
如图10所示,本发明实施例提供的一种网络电子票据的实现方法包括以下步骤:S1001~S1003。As shown in FIG. 10, a method for implementing a network electronic receipt according to an embodiment of the present invention includes the following steps: S1001 to S1003.
S1001,采集实体票据的内容。S1001: Collect the content of the physical ticket.
作为一种可选的实施方式,实体票据的内容包括票据信息,采集实体票据的内容具体可以包括:As an optional implementation, the content of the physical ticket includes the ticket information, and the content of the physical ticket may include:
扫描实体票据的内容,采用自动识别技术获得票据信息;Scan the contents of the physical ticket and obtain the ticket information by using automatic identification technology;
或者接收人工/智能设备输入的票据信息;Or receiving the bill information input by the manual/smart device;
或者接收外部系统导入的票据信息。Or receive the ticket information imported by the external system.
S1002,根据实体票据的内容和格式创建数据结构。S1002: Create a data structure according to the content and format of the physical ticket.
作为一种可选的实施方式,根据实体票据的内容和格式创建数据结构具体可以包括:As an optional implementation manner, creating a data structure according to the content and format of the physical ticket may specifically include:
分析实体票据的内容及实体票据的栏目之间的相互关系;Analyzing the relationship between the contents of the physical notes and the columns of the physical notes;
根据实体票据的内容与实体票据的栏目之间的相互关系建立相应的数据结构。A corresponding data structure is established according to the relationship between the content of the physical ticket and the column of the physical ticket.
S1003,将票据的内容依照数据结构进行存储形成电子化票据。S1003, storing the content of the ticket according to the data structure to form an electronic ticket.
作为一种可选的实施方式,将票据的内容依照数据结构进行存储形成电子化票据具体可以包括:As an optional implementation manner, the storing the content of the ticket according to the data structure to form the electronic ticket may specifically include:
使用关系型数据库或非关系型数据库建立票据数据信息的数据存储结构,将票据的内容按照数据存储结构存储到数据库中,完成票据的电子化,形成电子化票据。其中,数据库包括但不限于本地数据库、网络数据库、云端数据库或分布式数据库。The relational database or the non-relational database is used to establish a data storage structure of the ticket data information, and the contents of the ticket are stored in the database according to the data storage structure, and the electronicization of the ticket is completed to form an electronic ticket. The database includes, but is not limited to, a local database, a network database, a cloud database, or a distributed database.
进一步可选的,本发明实施例提供的方法在不在S1003之后还可以包括步骤:将电子化票据传送给票据生成方,以使票据生成方根据获取到的电子化票据生成网络电子票据,从而使用者能在网络电子票据本身上进行交互操作,且将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。Further, the method provided by the embodiment of the present invention may further include the following steps: transmitting the electronic ticket to the ticket generator, so that the ticket generator generates the network electronic ticket according to the obtained electronic ticket, thereby using the method. The user can perform interactive operations on the network electronic ticket itself, and the data information generated by the interaction operation is dynamically transmitted to the relevant users through the network electronic ticket itself in real time.
作为一种可选的实施方式,本发明实施例的执行主体可以为采集方,采集方采
集实体票据的内容并进行电子化,将电子化票据传送给票据生成方。进而票据生成方由电子化票据生成网络电子票据,使得使用者可直接在网络电子票据本身上进行交互操作,且将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。As an optional implementation manner, the execution entity of the embodiment of the present invention may be a collecting party, and the collecting party
The contents of the physical ticket are collected and electronically transmitted, and the electronic ticket is transmitted to the ticket producer. In turn, the ticket generator generates the electronic electronic ticket by the electronic ticket, so that the user can directly perform the interactive operation on the network electronic ticket itself, and the data information generated by the interaction operation is dynamically transmitted to the relevant users through the network electronic ticket itself in real time. .
本发明实施例提供一种网络电子票据的实现方法,采集实体票据的内容,对实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据,将电子化票据传送给票据生成方,以使票据生成方根据获取到的电子化票据生成网络电子票据,从而使用者能在网络电子票据本身上进行交互操作,且将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。采集方可对实体票据进行结构化,最后由电子化票据生成的网络电子票据可在网络中自运行,实现电子票据的网络化和去平台化流通。Embodiments of the present invention provide a method for implementing a network electronic ticket, collecting content of a physical ticket, structuring the physical ticket, storing the structured ticket data to form an electronic ticket, and transmitting the electronic ticket to the ticket generating party. So that the ticket generator can generate the network electronic ticket according to the obtained electronic ticket, so that the user can perform the interaction operation on the network electronic ticket itself, and the data information generated by the interaction operation is dynamically transmitted through the network electronic ticket itself in real time. Each relevant user. The collecting party can structure the physical bill, and finally the network electronic bill generated by the electronic bill can be self-operated in the network to realize the network and de-platform circulation of the electronic bill.
如图11所示,本发明实施例提供的一种票据采集示意图。如图11所示,采集方111包括OCR设备、人工录入以及智能设备等,票据生成方112用于处理采集方采集到的数据,存储方113用于存储电子化票据数据。具体的,可包括:F01、F02、F03中任一个或多个步骤。As shown in FIG. 11, a schematic diagram of ticket collection according to an embodiment of the present invention is shown. As shown in FIG. 11, the collecting party 111 includes an OCR device, a manual entry, and a smart device. The ticket generator 112 is configured to process data collected by the collecting party, and the storage party 113 is configured to store electronic ticket data. Specifically, it may include: one or more steps of F01, F02, and F03.
F01、采集方可为扫描实体票据的内容,采用自动识别技术OCR获得票据信息。F01. The collecting party can scan the contents of the physical bill and obtain the bill information by using the automatic identification technology OCR.
F02、采集方接收人工输入的票据信息。F02. The collecting party receives the bill information manually input.
F03、采集方接收智能设备输入的票据信息。F03. The collecting party receives the ticket information input by the smart device.
更进一步的,采集方还可以接收外部系统直接导入的票据信息。Further, the collecting party can also receive the ticket information directly imported by the external system.
发行方对采集到的实体票据的内容进行处理,得到的电子化票据数据。再将电子化票据数据存储到数据存储系统中,数据存储系统包括但不限于本地数据库、网络数据库、云端数据库或分布式数据库。其中,本地数据库在票据生成方,网络数据库、云端数据库或分布式数据库设于113中。The issuer processes the content of the collected physical notes and obtains the electronicized note data. The electronic ticket data is then stored in a data storage system including, but not limited to, a local database, a network database, a cloud database, or a distributed database. The local database is set in the ticket generation side, the network database, the cloud database or the distributed database.
实施例十Example ten
图12所示,本发明实施例提供的一种网络电子票据的实现装置包括:票据采集模块1201,电子化模块1202,操作界面增加模块1203,网络化模块1204和交互处理模块1205。
As shown in FIG. 12, an apparatus for implementing a network electronic ticket according to an embodiment of the present invention includes: a ticket collection module 1201, an electronic module 1202, an operation interface adding module 1203, a networking module 1204, and an interaction processing module 1205.
票据采集模块1201,用于采集实体票据的内容;a ticket collection module 1201, configured to collect content of the physical ticket;
电子化模块1202,用于将实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据;The electronic module 1202 is configured to structure the physical ticket, and store the structured ticket data to form an electronic ticket;
操作界面增加模块1203,用于根据实体票据的功能及使用场景,在每个电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面;The operation interface adding module 1203 is configured to add an operation instruction and a user interaction interface capable of realizing the function of the physical ticket in each electronic ticket according to the function and the usage scenario of the physical ticket;
网络化模块1204,用于将电子化票据、操作指令、用户交互界面进行封装,对封装后的票据进行加密和签名,并发布到全网域形成网络电子票据;The network module 1204 is configured to encapsulate the electronic ticket, the operation instruction, and the user interaction interface, encrypt and sign the encapsulated ticket, and distribute the ticket to the entire network to form a network electronic ticket;
交互处理模块1205,用于接收使用者对网络电子票据发起的使用请求,然后对使用者的身份进行验证和网络电子票据数据进行核验,如果通过身份验证和数据核验,则允许使用者在网络电子票据本身上进行交互操作,并能将交互操作产生的数据信息实时动态地通过网络电子票据本身传递给各相关使用方。The interaction processing module 1205 is configured to receive a user-initiated use request for the network electronic receipt, and then verify the identity of the user and verify the network electronic receipt data. If the identity verification and data verification are performed, the user is allowed to be in the network electronic The bill itself interacts with each other, and the data information generated by the interoperation can be dynamically transmitted to the relevant users through the network electronic bill itself in real time.
其中,实体票据的内容包括票据信息;票据采集模块1201可以具体用于:扫描实体票据的内容,采用自动识别技术获得票据信息;或者接收人工/智能设备输入的票据信息。The content of the physical bill includes the bill information. The bill collecting module 1201 may be specifically configured to: scan the content of the physical bill, obtain the bill information by using an automatic identification technology, or receive the bill information input by the manual/smart device.
电子化模块1202包括数据分析单元12021、数据结构处理单元12022和数据存储单元12023。The electronic module 1202 includes a data analysis unit 12021, a data structure processing unit 12022, and a data storage unit 12023.
数据分析单元12021,用于分析实体票据内容及实体票据栏目之间的相互关系;The data analyzing unit 12021 is configured to analyze the relationship between the physical ticket content and the physical ticket column;
数据结构处理单元12022,用于根据实体票据内容及实体票据栏目之间的相互关系建立实体票据对应的数据结构;The data structure processing unit 12022 is configured to establish a data structure corresponding to the physical bill according to the mutual relationship between the physical ticket content and the physical ticket column;
数据存储单元12023,用于使用关系型数据库和/或非关系型数据库建立实体票据对应的数据存储结构,将票据的内容按照数据存储结构存储到数据库中。可以理解的,数据库包括本地数据库、网络数据库、云端数据库或分布式数据库。The data storage unit 12023 is configured to establish a data storage structure corresponding to the physical ticket by using the relational database and/or the non-relational database, and store the content of the ticket in the database according to the data storage structure. As can be understood, the database includes a local database, a network database, a cloud database, or a distributed database.
作为一种替换方案,电子化模块1202确定票据的数据结构的方式还可以采用直接接收外部系统输入的与实体票据对应的数据结构。As an alternative, the manner in which the electronic module 1202 determines the data structure of the ticket may also adopt a data structure corresponding to the physical ticket directly received by the external system.
操作界面增加模块1203进一步包括:策略获取单元12031和操作界面生成单元12032,其中:
The operation interface adding module 1203 further includes: a policy obtaining unit 12031 and an operation interface generating unit 12032, wherein:
策略获取单元12031,用于获取实体票据对应的用户交互界面生成策略及操作指令生成策略,用户交互界面生成策略及操作指令生成策略根据实体票据的功能及使用场景设置而成;The policy obtaining unit 12031 is configured to obtain a user interaction interface generation policy and an operation instruction generation policy corresponding to the physical ticket, and the user interaction interface generation policy and the operation instruction generation policy are set according to the function and usage scenario of the physical ticket;
操作界面生成单元12032,用于根据用户交互界面生成策略和操作指令生成策略生成能满足实体票据功能的操作指令和用户交互界面。The operation interface generating unit 12032 is configured to generate an operation instruction and a user interaction interface that can satisfy the entity ticket function according to the user interaction interface generation policy and the operation instruction generation policy.
作为另一种替换方案,策略获取单元12031还可以通过用于接收外部输入的与实体票据对应的操作指令;和/或接收外部输入的与实体票据对应的用户交互界面来实现。As another alternative, the policy obtaining unit 12031 may also be implemented by receiving an externally input operation instruction corresponding to the physical ticket; and/or receiving an externally input user interaction interface corresponding to the physical ticket.
网络化模块1204包括封装单元12041、加密单元12042和发布单元12043。其中:The networking module 1204 includes a packaging unit 12041, an encryption unit 12042, and a publishing unit 12043. among them:
封装单元12041,用于将电子化票据数据、操作指令、用户交互界面进行封装。The encapsulating unit 12041 is configured to encapsulate the electronic ticket data, the operation instruction, and the user interaction interface.
加密单元12042,用于对封装后的票据进行加密和签名。具体可以采用数字加密技术对封装后的票据进行加密;或接收外部输入的数字加密证书,由数字加密证书对封装后的票据进行加密。The encryption unit 12042 is configured to encrypt and sign the encapsulated ticket. Specifically, the encapsulated ticket may be encrypted by using a digital encryption technology; or the externally input digital encryption certificate may be received, and the encapsulated ticket is encrypted by the digital encryption certificate.
发布单元12043,用于将加密后的电子化票据发布到全网域形成网络电子票据。The issuing unit 12043 is configured to publish the encrypted electronic ticket to the entire network to form a network electronic ticket.
在本实施例中,用户交互界面包括但不限于静态信息展示区、动态信息展示区及操作区。交互操作产生的数据信息包括交互操作对应的操作指令、交互数据、操作结果、票据状态中的一种或多种。In this embodiment, the user interaction interface includes, but is not limited to, a static information display area, a dynamic information display area, and an operation area. The data information generated by the interaction includes one or more of an operation instruction corresponding to the interaction operation, interaction data, operation result, and ticket status.
需要说明的是,上述方法实施例中的技术特征在本装置均能对应适用,这里不再重述。It should be noted that the technical features in the foregoing method embodiments can be correspondingly applied to the device, and are not repeated herein.
本发明实施例提供的网络电子票据装置,通过将票据电子化,并根据票据的功能及使用场景在电子票据中封装对应的操作指令和用户交互界面,使得电子票子的使用者或拥有者能直接在电子票据进行交互操作,从而实现电子票据的网络化和去平台化流通。The network electronic ticket device provided by the embodiment of the present invention enables the user or owner of the electronic ticket to directly print the corresponding electronic operation and the user interaction interface in the electronic receipt according to the function and usage scenario of the ticket. The electronic bills are interoperated to realize the networking and de-plating of the electronic bills.
实施例十一Embodiment 11
如图13所示,本发明实施例提供的一种网络电子票据的实现装置,包括电子化
票据获取模块1301、操作界面增加模块1302、网络化模块1303。As shown in FIG. 13, an apparatus for implementing a network electronic ticket according to an embodiment of the present invention includes electronic
The ticket acquisition module 1301, the operation interface adding module 1302, and the network module 1303.
电子化票据获取模块1301包括:The electronic ticket obtaining module 1301 includes:
第一电子化票据获取子模块13011,用于获取从外部系统导入的实体票据的电子化票据;和/或a first electronicized ticket acquisition submodule 13011, configured to acquire an electronic ticket of a physical ticket imported from an external system; and/or
第二电子化票据获取子模块13012,包括票据采集单元和票据电子化单元,其中:The second electronicized ticket acquisition sub-module 13012 includes a ticket collection unit and a ticket electronic unit, wherein:
票据采集单元130121,用于采集实体票据的内容;a ticket collecting unit 130121, configured to collect content of the physical ticket;
票据电子化单元130122,用于将实体票据进行结构化,将结构化后的票据数据进行存储形成电子化票据。The bill electronic unit 130122 is configured to structure the physical bill and store the structured bill data to form an electronic bill.
实体票据的内容包括票据信息,票据采集单元130211具体设置为:扫描实体票据的内容,采用自动识别技术获得票据信息;或者接收人工/智能设备输入的票据信息,如通过键盘、触摸屏、摄像头、麦克风等方式将票据信息以文字、图像、语音等方式录入。The content of the physical ticket includes the ticket information. The ticket collecting unit 130211 is specifically configured to: scan the content of the physical ticket, obtain the ticket information by using an automatic identification technology, or receive the ticket information input by the manual/smart device, such as through a keyboard, a touch screen, a camera, a microphone. The bill information is entered in the form of text, image, voice, etc.
票据电子化单元13022具体包括:The bill electronic unit 13022 specifically includes:
数据分析子单元,分析实体票据的内容及实体票据的栏目之间的相互关系;a data analysis sub-unit that analyzes the relationship between the contents of the physical ticket and the columns of the physical ticket;
数据结构处理子单元,根据实体票据的内容与实体票据的栏目之间的相互关系,建立相应的数据结构;The data structure processing sub-unit establishes a corresponding data structure according to the relationship between the content of the physical ticket and the column of the physical ticket;
数据存储子单元,使用关系型数据库或非关系型数据库建立实体票据的数据存储结构,将票据的内容依照数据存储结构进行存储到数据库中,形成电子化票据;其中,数据库包括本地数据库、网络数据库、云端数据库或分布式数据库库中的一种或多种。The data storage sub-unit establishes a data storage structure of the physical bill by using a relational database or a non-relational database, and stores the content of the ticket in the database according to the data storage structure to form an electronic ticket; wherein the database includes a local database and a network database. One or more of a cloud database or a distributed database library.
具体地,关系型数据库有很多,如ORACLE,SQLSERVER,DB2,MYSQL等,关系型数据库中的表都是存储一些格式化的数据结构,每个元组字段的组成都一样,即使不是每个元组都需要所有的字段,但数据库会为每个元组分配所有的字段,可以称之为行数据库,这样的结构可以便于表与表之间进行连接等操作,但从另一个角度来说它也是关系型数据库性能瓶颈的一个因素,故对于结构相对固定的信息,可以采用关系数据库建立数据结构。Specifically, there are many relational databases, such as ORACLE, SQLSERVER, DB2, MYSQL, etc. The tables in the relational database all store some formatted data structures, and the composition of each tuple field is the same, even if not each element. All fields are required by the group, but the database allocates all the fields for each tuple. It can be called a row database. This structure can facilitate the connection between the table and the table, but from another perspective It is also a factor in the performance bottleneck of relational databases. Therefore, for information with relatively fixed structure, a relational database can be used to establish a data structure.
而非关系型数据库(NoSQL)无需事先为要存储的数据建立字段,随时可以存
储自定义的数据格式。它是以键值对存储,结构不固定,每一个元组可以有不一样的字段,每个元组可以根据需要增加一些自己的键值对,这样就不会局限于固定的结构,可以称之为列数据库,这样可以减少一些时间和空间的开销,并能实现实时和动态建立数据结构。故对于结构不固定的票据信息采用非关系型数据库。Non-relational databases (NoSQL) do not need to create fields for the data to be stored in advance, they can be saved at any time.
Store custom data formats. It is stored as a key-value pair. The structure is not fixed. Each tuple can have different fields. Each tuple can add some key-value pairs as needed. This is not limited to a fixed structure. It is a column database, which can reduce some time and space overhead, and can realize real-time and dynamic data structure. Therefore, a non-relational database is used for the ticket information whose structure is not fixed.
操作界面增加模块1302,设置根据实体票据的功能及使用场景,在电子化票据中增加能实现实体票据的功能的操作指令和用户交互界面。The operation interface adding module 1302 is configured to add an operation instruction and a user interaction interface capable of realizing the function of the physical ticket in the electronic ticket according to the function and the usage scenario of the physical ticket.
具体地,在电子化票据中增加的操作指令和用户交互界面可以从外部系统导入,也可以在本系统中根据策略进行生成。操作界面增加模块1302包括策略获取单元13021、操作界面生成单元13022,其中:Specifically, the operation instruction and the user interaction interface added in the electronic ticket may be imported from an external system, or may be generated according to a policy in the system. The operation interface adding module 1302 includes a policy obtaining unit 13021 and an operation interface generating unit 13022, wherein:
策略获取单元13021,设置为获取实体票据对应的用户交互界面生成策略及操作指令生成策略;其中,该用户交互界面生成策略及操作指令生成策略根据实体票据的功能及使用场景设置而成。The policy obtaining unit 13021 is configured to acquire a user interaction interface generation policy and an operation instruction generation policy corresponding to the physical ticket. The user interaction interface generation policy and the operation instruction generation policy are set according to the function and usage scenario of the physical ticket.
操作界面生成单元13022,设置为根据用户交互界面生成策略和操作指令生成策略生成能满足实体票据功能的操作指令和用户交互界面。The operation interface generating unit 13022 is configured to generate an operation instruction and a user interaction interface capable of satisfying the physical ticket function according to the user interaction interface generation policy and the operation instruction generation policy.
具体的,该用户交互界面包括视觉、触觉、语音交互方式的用户交互界面。Specifically, the user interaction interface includes a user interaction interface of a visual, tactile, and voice interaction manner.
进一步地,用户交互界面包括静态信息展示区、动态信息展示区及操作区,其中,静态信息展示区用于展示该网络电子票据的静态属性信息,如产品图片,产品名称,厂家信息等,动态信息展示区用于实时展示该电子票据的状态以及日志信息,如图2a所示电影票网络电子票据的购买信息和转让信息;操作区设置为可供用户输入指令的区域,包括按钮、输入框等。如图2a所示的电影票网络电子票据上的购买、转让、退票、检票等按钮。Further, the user interaction interface includes a static information display area, a dynamic information display area, and an operation area, wherein the static information display area is used to display static attribute information of the network electronic ticket, such as product pictures, product names, manufacturer information, etc. The information display area is used for displaying the status of the electronic receipt and the log information in real time, as shown in FIG. 2a, the purchase information and the transfer information of the electronic ticket of the movie ticket network; the operation area is set as an area for the user to input an instruction, including a button and an input box. Wait. A button for purchasing, transferring, refunding, checking, etc. on the electronic ticket of the movie ticket network as shown in FIG. 2a.
网络化模块1303,设置为将电子化票据、操作指令和用户交互界面进行封装,对封装后的数据进行加密和签名,并发布到全网域形成网络电子票据。The network module 1303 is configured to encapsulate the electronic ticket, the operation instruction, and the user interaction interface, encrypt and sign the encapsulated data, and publish the data to the entire network to form a network electronic ticket.
具体地,采用数字加密技术进行加密,加密的方式为数字信封动态加密或数字信封加密。其中,数字信封加密是一种将对称加密技术和非对称加密技术进行结合的安全快速加密方式,而数字信封动态加密是基于数字信封加密的一种更为安全有效的加密方式,在数字信封动态加密技术中,对数据进行加密的秘钥
根据会话产生,会话不同,则秘钥不同,以实现电子票据数据的安全传输。Specifically, the digital encryption technology is used for encryption, and the encryption method is digital envelope dynamic encryption or digital envelope encryption. Among them, digital envelope encryption is a secure fast encryption method combining symmetric encryption technology and asymmetric encryption technology, and digital envelope dynamic encryption is a more secure and effective encryption method based on digital envelope encryption. Key to encrypt data in encryption technology
According to the session generation, the session is different, the secret key is different, so as to realize the secure transmission of the electronic ticket data.
优选地,网络化模块1303还用于存储发布前的电子票据数据。Preferably, the network module 1303 is further configured to store electronic ticket data before release.
由于该网络电子票据自带操作指令及用户操作界面,并能自我运行,不依赖于任何平台,因此,当网络电子票据发布到网络中后,可以通过网络通讯平台进行传播,如微信、QQ、MSN等即时通讯平台以及电子邮件、短信等离线通讯平台;信息展示平台包括各公司门户、电商门户、新闻媒体门户等;社交平台包括人人网、微博、微信朋友圈等。Since the network electronic ticket has its own operation instruction and user operation interface, and can operate by itself, it does not depend on any platform. Therefore, when the network electronic ticket is released to the network, it can be transmitted through the network communication platform, such as WeChat, QQ, Instant messaging platforms such as MSN and offline communication platforms such as email and SMS; information display platforms include company portals, e-commerce portals, news media portals, etc.; social platforms include Renren, Weibo, WeChat friends and so on.
优选地,该装置还包括:Preferably, the device further comprises:
交互处理模块,用于接收使用者对网络电子票据发起的使用请求,然后对该使用者的身份进行验证和网络电子票据数据进行核验,如果通过身份验证和数据核验,则允许该使用者在该网络电子票据本身上进行交互操作。An interaction processing module, configured to receive a user-initiated use request for the network electronic receipt, and then verify the identity of the user and verify the network electronic receipt data. If the authentication and data verification are performed, the user is allowed to The network electronic ticket itself interacts.
优选地,该交互处理模块还用于接收使用者在网络电子票据本身上进行交互操作产生的数据信息,并将该交互操作产生的数据信息实时动态地传递给各相关使用方。其中,交互操作产生的数据信息包括交互操作对应的操作指令、交互数据、操作结果、票据状态中的一种或多种。Preferably, the interaction processing module is further configured to receive data information generated by the user performing an interaction operation on the network electronic ticket itself, and dynamically transmit the data information generated by the interaction operation to each related user in real time. The data information generated by the interaction includes one or more of an operation instruction, an interaction data, an operation result, and a ticket status corresponding to the interaction operation.
本发明实施例提供的网络电子票据装置,通过将票据电子化,并根据票据的功能及使用场景在电子票据中封装对应的操作指令和用户交互界面,使得电子票子的使用者或拥有者能直接在电子票据进行交互操作,从而实现电子票据的网络化和去平台化流通。The network electronic ticket device provided by the embodiment of the present invention enables the user or owner of the electronic ticket to directly print the corresponding electronic operation and the user interaction interface in the electronic receipt according to the function and usage scenario of the ticket. The electronic bills are interoperated to realize the networking and de-plating of the electronic bills.
实施例十二Example twelve
如图14所示,本发明实施例提供的一种网络电子票据的实现装置,应用于采集端,该装置包括:As shown in FIG. 14, an apparatus for implementing a network electronic receipt according to an embodiment of the present invention is applied to an acquisition end, and the apparatus includes:
票据采集模块1401,用于采集实体票据的内容。The ticket collection module 1401 is configured to collect content of the physical ticket.
电子化模块1402,用于根据实体票据的内容和格式创建数据结构,将票据的内容依照数据结构进行存储形成电子化票据。The electronic module 1402 is configured to create a data structure according to the content and format of the physical ticket, and store the content of the ticket according to the data structure to form an electronic ticket.
具体地,实体票据的内容包括票据信息;票据采集模块1401具体用于:扫描实体票据的内容,采用自动识别技术获得票据信息;和/或接收人工/智能设备输入的票据信息。
Specifically, the content of the physical ticket includes the ticket information; the ticket collecting module 1401 is specifically configured to: scan the content of the physical ticket, obtain the ticket information by using an automatic identification technology; and/or receive the ticket information input by the manual/smart device.
电子化模块1402包括数据分析单元14021、数据结构处理单元14022和数据存储单元14023:The electronic module 1402 includes a data analysis unit 14021, a data structure processing unit 14022, and a data storage unit 14023:
数据分析单元14021,用于分析实体票据内容及实体票据栏目之间的相互关系;The data analyzing unit 14021 is configured to analyze the relationship between the physical ticket content and the physical ticket column;
数据结构处理单元14022,用于根据实体票据内容及实体票据栏目之间的相互关系建立实体票据对应的数据结构;The data structure processing unit 14022 is configured to establish a data structure corresponding to the physical bill according to the mutual relationship between the physical ticket content and the physical ticket column;
数据存储单元14023,用于使用关系型数据库和/或非关系型数据库建立实体票据对应的数据存储结构,将票据的内容按照数据存储结构存储到数据库中。The data storage unit 14023 is configured to establish a data storage structure corresponding to the physical ticket by using the relational database and/or the non-relational database, and store the content of the ticket in the database according to the data storage structure.
其中,数据库包括本地数据库、网络数据库、云端数据库或分布式数据库库中的一种或多种。The database includes one or more of a local database, a network database, a cloud database, or a distributed database library.
本发明实施例提供的一种网络电子票据的实现装置,通过采集并进行电子化实体票据和源票据,从而为网络电子票据的实现提供数据基础。The device for implementing the network electronic receipt provided by the embodiment of the invention provides a data foundation for realizing the implementation of the network electronic receipt by collecting and conducting the electronic physical bill and the source ticket.
实施例十三Example thirteen
如图15所示,本发明实施例提供的一种包含网络电子票据的实现装置的系统的硬件设计结构示意图。As shown in FIG. 15, a hardware design structure diagram of a system including an apparatus for implementing a network electronic ticket is provided in an embodiment of the present invention.
电子票据数据单元1501,位于本地或网络中的数据存储系统,用于存储和管理票据数据,其中,票据数据包括原始的票据数据及电子化的票据数据。该电子票据数据单元1501包括两个对外的接口——电子单据外部输入接口和电子单据外部输出接口。其中,电子单据外部输入接口,用于接收外部系统或设备导入的票据信息,外部系统如生产厂家的ERP系统,具体实施中,生产厂家可通过电子单据外部输入接口将ERP等系统中的票据信息导入。电子单据外部输出接口,用于将本系统的票据信息输出到外部系统。如,当本系统的存储空间已满时,可将暂不使用的票据信息输出到外部系统进行存储。The electronic receipt data unit 1501 is a data storage system located in a local or network for storing and managing ticket data, wherein the ticket data includes original ticket data and electronic ticket data. The electronic receipt data unit 1501 includes two external interfaces - an electronic document external input interface and an electronic document external output interface. The external input interface of the electronic document is used for receiving the bill information imported by the external system or the device, and the external system is the ERP system of the manufacturer. In the specific implementation, the manufacturer can use the external input interface of the electronic document to exchange the bill information in the ERP system. Import. An electronic document external output interface for outputting the ticket information of the system to an external system. For example, when the storage space of the system is full, the ticket information that is not used may be output to an external system for storage.
数据结构处理单元1502,用于对采集的原始票据数据信息进行结构化处理,该数据结构处理单元1502包括两个对外的接口——单据结构输入接口和单据结构输出接口。其中,单据结构输入接口,用于接收外部系统导入的票据的数据结构信息,外部系统如生产厂家的ERP系统,具体实施中,生产厂家可通过单据结构输入接口将ERP系统中的单据结构信息导入。单据结构输出接口,用于将本系
统的单据结构信息输出到外部系统。The data structure processing unit 1502 is configured to perform structured processing on the collected original ticket data information. The data structure processing unit 1502 includes two external interfaces, a document structure input interface and a document structure output interface. The document structure input interface is used for receiving the data structure information of the ticket imported by the external system, and the external system is the ERP system of the manufacturer. In the specific implementation, the manufacturer can import the document structure information in the ERP system through the document structure input interface. . Document structure output interface for the system
The system document information is output to the external system.
操作指令单元1503,用于处理能实现实体票据功能及使用场景在网络电子票据本身上执行的各种操作指令,包括两个对外的接口——操作指令外部输入接口和操作指令外部输出接口。其中,操作指令外部输入接口用于接收外部系统输入的操作指令信息以将该操作指令信息封装到网络电子票据中,或者接收外部系统输入的操作指令以根据该操作指令进行处理。如电影院的电影票售票系统通过该操作指令输入接口将“购买”电影票的操作指令导入到本系统中。操作指令外部输出接口用于将使用者在网络电子票据上的操作指令输出到与之关联的外部系统或者用于将本系统的操作指令信息导出到相关系统。如卖家在商品网络电子票据上点击“发货”,该操作指令可通过网络从操作指令外部输出接口输出到与之关联的ERP系统上。The operation instruction unit 1503 is configured to process various operation instructions that can implement the physical ticket function and the usage scenario on the network electronic receipt itself, and include two external interfaces, an operation instruction external input interface and an operation instruction external output interface. The operation instruction external input interface is configured to receive operation instruction information input by the external system to package the operation instruction information into the network electronic receipt, or receive an operation instruction input by the external system to process according to the operation instruction. A movie ticket vending system such as a movie theater introduces an operation instruction for "purchasing" a movie ticket into the system through the operation instruction input interface. The operation command external output interface is used to output an operation instruction of the user on the network electronic ticket to an external system associated with the same or to export the operation instruction information of the system to the related system. If the seller clicks “delivery” on the commodity network electronic receipt, the operation instruction can be output from the operation instruction external output interface to the ERP system associated with it through the network.
交互操作界面\UI单元1504,用于在网络电子票据本身上实现满足实体票据的功能及使用场景的用户交互界面。交互操作界面\UI单元1504包括两个对外的接口——外部交互界面输入接口和外部交互界面输出接口。其中,外部交互界面输入接口,用于接收外部系统输入的交互界面信息,以供形成网络电子票据使用。外部系统如生产厂家的ERP系统,具体实施中,生产厂家可以将自行设计的交互界面模板通过外部交互界面输入接口导入,用来生成有生产厂家自身特色的网络电子票据。外部交互界面输出接口,用于将网络电子票据使用时的用户交互界面输出到外部系统或设备,如大屏幕显示器、投影仪等显示交互设备。具体实施中,可以将网络电子票据使用时的用户交互界面在大屏幕显示器上放大显示出来。The interaction interface \UI unit 1504 is configured to implement a user interaction interface that satisfies the function and usage scenario of the physical ticket on the network electronic ticket itself. The interactive operation interface \UI unit 1504 includes two external interfaces - an external interactive interface input interface and an external interactive interface output interface. The external interactive interface input interface is configured to receive interactive interface information input by the external system for use in forming a network electronic ticket. The external system, such as the manufacturer's ERP system, in the specific implementation, the manufacturer can import the self-designed interactive interface template through the external interactive interface input interface, used to generate the network electronic notes with the manufacturer's own characteristics. The external interactive interface output interface is configured to output the user interaction interface when the network electronic ticket is used to an external system or device, such as a large-screen display, a projector, and the like to display an interactive device. In a specific implementation, the user interaction interface when the network electronic ticket is used can be displayed on the large screen display.
加密单元1505,用于将封装了电子化票据、操作指令和用户交互界面的电子票据数据进行加密。The encryption unit 1505 is configured to encrypt the electronic receipt data encapsulating the electronic ticket, the operation instruction, and the user interaction interface.
具体地,采用数字加密技术进行加密,加密的方式为数字信封动态加密或数字信封加密。其中,数字信封加密是一种将对称加密技术和非对称加密技术进行结合的安全快速加密方式,而数字信封动态加密是基于数字信封加密的一种更为安全有效的加密方式,在数字信封动态加密技术中,对数据进行加密的秘钥根据会话产生,会话不同,则秘钥不同,以实现电子票据数据的安全传输。
Specifically, the digital encryption technology is used for encryption, and the encryption method is digital envelope dynamic encryption or digital envelope encryption. Among them, digital envelope encryption is a secure fast encryption method combining symmetric encryption technology and asymmetric encryption technology, and digital envelope dynamic encryption is a more secure and effective encryption method based on digital envelope encryption. In the encryption technology, the secret key for encrypting the data is generated according to the session, and the session is different, and the secret key is different, so as to realize the secure transmission of the electronic receipt data.
数字证书CA单元1506,用于管理数字证书,包括两个对外接口——证书外部导入接口和证书外部输出接口。其中,证书外部导入接口,用于接收外部系统导入的数字证书。外部系统如CA公司或者生产厂家的ERP系统,具体实施中,生产厂家将自己的数字证书导入到该装置中,实现对自身产品对应的电子票据数据的加密。证书外部输出接口,用于将本系统的数字证书输出到外部系统,如生产厂家的ERP系统。The digital certificate CA unit 1506 is configured to manage the digital certificate, and includes two external interfaces, a certificate external import interface and a certificate external output interface. The certificate external import interface is used to receive the digital certificate imported by the external system. The external system, such as the CA company or the ERP system of the manufacturer, in the specific implementation, the manufacturer introduces its own digital certificate into the device to realize the encryption of the electronic ticket data corresponding to its own product. The certificate external output interface is used to output the digital certificate of the system to an external system, such as the ERP system of the manufacturer.
存储单元1507,用于存储加密后的电子票据数据,包括两个对外接口——外部存储输入接口和外部存储输出接口。其中,外部存储输入接口,用于接收外部系统生成好的已经加密的电子票据数据并存储到本系统中。外部存储输出接口,用于将本系统存储的已经加密的电子票据数据输出到外部系统,如生产厂家的ERP系统或其他的包含网络电子票据实现装置的系统。需要指出的是,输入输出的电子票据数据仅能供本系统使用或采用了与本系统相同的电子票据封装方式的网络电子票据系统使用。The storage unit 1507 is configured to store the encrypted electronic receipt data, and includes two external interfaces, an external storage input interface and an external storage output interface. The external storage input interface is configured to receive the encrypted electronic receipt data generated by the external system and store the data in the system. An external storage output interface for outputting the encrypted electronic receipt data stored by the system to an external system, such as a manufacturer's ERP system or other system including a network electronic ticket implementation device. It should be noted that the input and output electronic receipt data can only be used by the system or the network electronic receipt system with the same electronic receipt package as the system.
发布单元1508,用于将封装并加密了的电子票据数据采用各种发布策略发布到全网域,包括两个对外接口——发布输入接口和发布输出接口。这两个接口仅对网络电子票据系统开放,用于将至少两个网络电子票据系统进行级联,例如,将一个网络电子票据系统的发布输出接口与另一个网络电子票据系统的发布输入接口进行级联,组成网络电子票据系统的分布式应用,有利于提高系统的稳定性和并发性。The issuing unit 1508 is configured to distribute the encapsulated and encrypted electronic receipt data to the entire domain by using various publishing policies, including two external interfaces, a publishing input interface and a publishing output interface. The two interfaces are only open to the network electronic ticket system for cascading at least two network electronic ticket systems, for example, the publishing output interface of one network electronic ticket system and the publishing input interface of another network electronic ticket system. Cascading, which constitutes a distributed application of the network electronic ticket system, is conducive to improving the stability and concurrency of the system.
通信单元1509,用于与外部网络进行通信,将网络电子票据传输到网络以及接收网络电子票据回传的数据,包括两个对外接口——通信输入接口和通信输出接口。这两个接口也仅对网络电子票据系统开放,用于将至少两个网络电子票据系统进行级联,例如,将一个网络电子票据系统的通信输出接口与另一个网络电子票据系统的通信输入接口进行级联,实现网络电子票据系统的分布式计算,提高系统的并发性。需要说明的是,通信输入接口仅对网络电子票据系统开放,而通信输出接口既可以对网络电子票据系统开放,还可以开放给外界的第三方通讯平台。The communication unit 1509 is configured to communicate with an external network, transmit the network electronic receipt to the network, and receive data returned by the network electronic receipt, including two external interfaces, a communication input interface and a communication output interface. The two interfaces are also only open to the network electronic ticket system for cascading at least two network electronic ticket systems, for example, a communication input interface of one network electronic ticket system with another network electronic ticket system. Cascading to realize the distributed computing of the network electronic bill system and improve the concurrency of the system. It should be noted that the communication input interface is only open to the network electronic ticket system, and the communication output interface can be open to the network electronic ticket system, and can also be open to external third-party communication platforms.
数据验证单元1510,用于对网络电子票据使用者回传的数据进行数据核验。其
中,数据核验包括身份验证和数据的完整性验证。The data verification unit 1510 is configured to perform data verification on the data returned by the network electronic ticket user. Its
Data validation includes authentication and data integrity verification.
解密单元1511,用于当数据验证单元验证成功时,对网络电子票据回传的数据进行解密,并将解密后的数据传送至交互操作界面\UI1504单元。The decryption unit 1511 is configured to decrypt the data returned by the network electronic receipt when the data verification unit is successfully verified, and transmit the decrypted data to the interactive operation interface\UI1504 unit.
需要说明的是,上述方法实施例中的技术特征在本装置均能对应适用,这里不再重述。It should be noted that the technical features in the foregoing method embodiments can be correspondingly applied to the device, and are not repeated herein.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来控制相关的硬件完成,所述的程序可以在存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。A person of ordinary skill in the art can understand that all or part of the steps in implementing the above embodiments may be controlled by a program to control related hardware, and the program may be stored in a computer readable storage medium, the storage. Media, such as ROM/RAM, disk, CD, etc.
以上参照附图说明了本发明的优选实施例,并非因此局限本发明的权利范围。本领域技术人员不脱离本发明的范围和实质,可以有多种变型方案实现本发明,比如作为一个实施例的特征可用于另一实施例而得到又一实施例。凡在运用本发明的技术构思之内所作的任何修改、等同替换和改进,均应在本发明的权利范围之内。The preferred embodiments of the present invention have been described above with reference to the drawings, and are not intended to limit the scope of the invention. A person skilled in the art can implement the invention in various variants without departing from the scope and spirit of the invention. For example, the features of one embodiment can be used in another embodiment to obtain a further embodiment. Any modifications, equivalent substitutions and improvements made within the technical concept of the invention are intended to be included within the scope of the invention.
工业实用性Industrial applicability
本发明提供的网络电子票据系统及其实现方法和装置,通过将票据电子化,并根据票据的功能及使用场景在电子票据中封装对应的操作指令和用户交互界面,使得使用者或拥有者能直接在电子票据进行交互操作,从而实现电子票据的网络化和去平台化流通。
The network electronic receipt system provided by the invention and the implementation method and device thereof enable the user or the owner to encapsulate the corresponding operation instruction and the user interaction interface in the electronic receipt according to the function and usage scenario of the ticket Direct interaction in electronic bills to achieve networked and de-plated electronic bills.