WO2020253714A1 - 数据共享方法、装置、设备与计算机可读存储介质 - Google Patents

数据共享方法、装置、设备与计算机可读存储介质 Download PDF

Info

Publication number
WO2020253714A1
WO2020253714A1 PCT/CN2020/096542 CN2020096542W WO2020253714A1 WO 2020253714 A1 WO2020253714 A1 WO 2020253714A1 CN 2020096542 W CN2020096542 W CN 2020096542W WO 2020253714 A1 WO2020253714 A1 WO 2020253714A1
Authority
WO
WIPO (PCT)
Prior art keywords
mall server
sensitive information
public
information
product
Prior art date
Application number
PCT/CN2020/096542
Other languages
English (en)
French (fr)
Inventor
汪俊
陈朝亮
卢道和
黄叶飞
许林
黄蓝天
Original Assignee
深圳前海微众银行股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳前海微众银行股份有限公司 filed Critical 深圳前海微众银行股份有限公司
Publication of WO2020253714A1 publication Critical patent/WO2020253714A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Definitions

  • This application relates to the field of Fintech blockchain technology, in particular to data sharing methods, devices, equipment and computer-readable storage media.
  • the mall and the mall are relatively independent, their respective data is not shared. If a merchant wants his product or service to be seen by users in multiple malls, he needs to put the same product or service on multiple malls. If the merchant only If the corresponding product or service is listed in the current mall, the user can only purchase the corresponding product or service in the current mall, but cannot purchase the corresponding product or service across the mall.
  • the existing theoretical approach is based on blockchain technology, linking various shopping malls together, so that the data of each shopping mall can be shared, and from achieving cross-market products or services, and Users can purchase corresponding products or services across shopping malls.
  • the main purpose of this application is to propose a data sharing method, device, equipment, and computer-readable storage medium, which aims to realize selective data sharing and improve the flexibility of data sharing.
  • this application provides a data sharing method, which includes the following steps:
  • the information type is sensitive information, determining whether the resource access request carries authorization information corresponding to the first mall server;
  • the target sensitive information corresponding to the resource access request is obtained from the service chain, and the target sensitive information is sent to the client.
  • the step of obtaining target sensitive information corresponding to the resource access request from the service chain, and sending the target sensitive information to the client includes:
  • the method further includes:
  • the method further includes :
  • the information type is public information, determining whether the second mall server and the first mall server are in the same interconnection chain;
  • the method further includes:
  • the product includes a virtual product
  • the step of completing the transaction corresponding to the purchase request based on the online mall server includes:
  • the virtual product is sent to the client through the second mall server, and the account amount corresponding to the client at the second mall server is deducted based on the purchase order.
  • the Methods when the purchase request initiated by the user terminal through the second mall server is detected, before the step of determining whether the product corresponding to the purchase request is on the second mall server, the Methods also include:
  • the online shopping mall server If it is detected that the online shopping mall server creates the product, determine the product category of the product based on the product information of the product, and the product category includes public products and private products;
  • the product is a public product, upload the public product to the interconnection chain; if the product is a private product, upload the private product to the business chain corresponding to the server of the online mall.
  • this application also provides a data sharing device, the data sharing device includes:
  • the upper chain module is used to obtain the public information and sensitive information of the first mall server, upload the public information to the interconnection chain corresponding to the first mall server, and upload the sensitive information to the first mall server The corresponding business chain;
  • the receiving module is configured to determine the type of information corresponding to the resource access request when receiving the resource access request corresponding to the first mall server initiated by the client of the second mall server;
  • a determining module configured to determine whether the resource access request carries authorization information corresponding to the first mall server if the information type is sensitive information
  • the sending module is configured to, if carried, obtain the target sensitive information corresponding to the resource access request from the service chain, and send the target sensitive information to the client.
  • the sending module is also used to:
  • the data sharing device further includes a resident module, and the resident module is configured to:
  • the determining module is further used for:
  • the information type is public information, determining whether the second mall server and the first mall server are in the same interconnection chain;
  • the sending module is also used for:
  • the data sharing device further includes a purchasing module, and the purchasing module is configured to:
  • the product includes a virtual product
  • the data sharing device further includes a transaction module for:
  • the virtual product is sent to the client through the second mall server, and the account amount corresponding to the client at the second mall server is deducted based on the purchase order.
  • the data sharing device further includes a creation module, and the creation module is configured to:
  • the online shopping mall server If it is detected that the online shopping mall server creates the product, determine the product category of the product based on the product information of the product, and the product category includes public products and private products;
  • the product is a public product, upload the public product to the interconnection chain; if the product is a private product, upload the private product to the business chain corresponding to the server of the online mall.
  • the present application also provides a data sharing device, the data sharing device includes: a memory, a processor, and a data sharing program stored in the memory and running on the processor, so The steps of the data sharing method described above are realized when the data sharing program is executed by the processor.
  • this application also provides a computer-readable storage medium on which a data sharing program is stored, and when the data sharing program is executed by a processor, the data sharing as described above is realized Method steps.
  • the data sharing method proposed in this application obtains public information and sensitive information of the first mall server, uploads the public information to the interconnection chain corresponding to the first mall server, and uploads the sensitive information to the first mall server.
  • the business chain corresponding to the mall server when receiving the resource access request corresponding to the first mall server initiated by the client of the second mall server, determine the information type corresponding to the resource access request; if the information type is sensitive Information type, it is determined whether the resource access request carries the authorization information corresponding to the first mall server; if it does, the target sensitive information corresponding to the resource access request is obtained from the service chain, and the target Sensitive information is sent to the client.
  • FIG. 1 is a schematic diagram of a device structure of a hardware operating environment involved in a solution of an embodiment of the present application
  • FIG. 2 is a schematic flowchart of the first embodiment of the data sharing method of this application.
  • FIG. 1 is a schematic diagram of the device structure of the hardware operating environment involved in the solution of the embodiment of the present application.
  • the data sharing device in the embodiment of the present application may be a PC or a server device.
  • the terminal may include a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a magnetic disk memory.
  • the memory 1005 may also be a storage device independent of the foregoing processor 1001.
  • FIG. 1 does not constitute a limitation on the device, and may include more or fewer components than those shown in the figure, or a combination of certain components, or different component arrangements.
  • a memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data sharing program.
  • the operating system is a program that manages and controls data sharing equipment and software resources, and supports the operation of network communication modules, user interface modules, data sharing programs, and other programs or software;
  • the network communication module is used to manage and control the network interface 1002; users
  • the interface module is used to manage and control the user interface 1003.
  • the data sharing device calls the data sharing program stored in the memory 1005 through the processor 1001, and executes the operations in each embodiment of the following data sharing method.
  • Fig. 2 is a schematic flowchart of a first embodiment of a data sharing method according to this application. The method includes:
  • Step S10 Obtain public information and sensitive information of the first mall server, upload the public information to the interconnection chain corresponding to the first mall server, and upload the sensitive information to the business corresponding to the first mall server chain;
  • Step S20 When receiving the resource access request corresponding to the first mall server initiated by the client of the second mall server, determine the information type corresponding to the resource access request;
  • Step S30 if the information type is sensitive information, it is determined whether the resource access request carries authorization information corresponding to the first mall server;
  • Step S40 If it is carried, the target sensitive information corresponding to the resource access request is obtained from the service chain, and the target sensitive information is sent to the client.
  • the data of the mall server is divided into public information and sensitive information, and the public information is uploaded to the Internet chain, and all the mall servers in the Internet chain can be accessed, while the sensitive information is uploaded to the local business chain, only the local mall server Only with the authorized client can access, so as to realize the selective sharing of data.
  • Step S10 Obtain public information and sensitive information of the first mall server, upload the public information to the interconnection chain corresponding to the first mall server, and upload the sensitive information to the business corresponding to the first mall server chain.
  • the data sharing method of this embodiment is applied to the data sharing equipment of financial institutions such as financial institutions or banking systems.
  • the data sharing equipment is hereinafter referred to as the sharing device, where the sharing device is connected to each mall server.
  • each mall server Before data sharing, each mall server will jointly build an interconnection chain. At the same time, a business chain will be constructed for each mall server itself.
  • the interconnection chain is a common blockchain between the mall servers, and the mall servers All public information is uploaded to the interconnection chain and becomes shared information. Each mall server can share the ledger through the interconnection chain.
  • All mall servers connected to the interconnection chain can pull shared information; and the business chain is the mall server and the merchant corresponding
  • the blockchain shared between users and sensitive information that the mall server does not want to disclose is stored through the business chain. Therefore, sensitive information is private compared to other mall servers.
  • the sensitive information is uploaded To the service chain corresponding to the first mall server for the first mall server to access, where the first mall server can be a mall server newly connected to the current interconnected chain, or a mall generating new data in the current interconnected chain server.
  • Step S20 When receiving the resource access request corresponding to the first mall server initiated by the client of the second mall server, determine the information type corresponding to the resource access request.
  • the client of the second mall server when the client of the second mall server receives a resource access request initiated by the first mall server, that is, when other mall servers access the current mall server, first determine the type of information corresponding to the resource access request. Understandably, the types of information include public information and sensitive information. Public information can be arbitrarily accessed in the interconnection chain, while sensitive information has conditional restrictions.
  • step S20 the method further includes:
  • Step a If the information type is public information, it is determined whether the second mall server and the first mall server are in the same interconnected chain;
  • this step if it is determined that the target information accessed by the resource access request belongs to the public information category, first determine whether the second mall server and the first mall server are in the same interconnected chain. It is understandable that each mall server in the same interconnected chain can To achieve data sharing, mall servers in different interconnected chains cannot achieve data sharing.
  • Step b if yes, obtain target public information corresponding to the resource access request in the interconnection chain, and send the target public information to the client.
  • the target public information corresponding to the resource access request can be obtained in the current interconnection, and the target public information is sent to the second mall server. User side.
  • Step S30 If the information type is sensitive information, it is determined whether the resource access request carries authorization information corresponding to the first mall server.
  • the client is verified, that is, in this embodiment, the client of another mall server wants to access the sensitive information of the current mall server , You need to be authorized by the current mall server. It is specifically determined whether the current resource access request carries authorization information corresponding to the first mall server, and the authorization information is granted by the first mall server.
  • the authorization information may be identification information with the first shopping mall server identification.
  • the client of the second mall server wants to access the sensitive information of the first mall server, it first initiates an authorization application to the first mall server, and when the first mall server determines that it is accessible, it sends the corresponding authorization information to the second mall server.
  • the client of the mall server the client carries the received authorization information when it initiates a resource access request.
  • Step S40 If it is carried, the target sensitive information corresponding to the resource access request is obtained from the service chain, and the target sensitive information is sent to the client.
  • the target sensitive information corresponding to the resource access request is obtained from the service chain, and the target The sensitive information is sent to the client corresponding to the second mall server.
  • step S40 includes:
  • Step c If it is carried, obtain the target sensitive information corresponding to the resource access request, and obtain the public key of the merchant corresponding to the user terminal;
  • the target sensitive information needs to be encrypted.
  • the target sensitive information is encrypted by asymmetric encryption. Therefore, when determining the current resource access
  • the authorization information of the first shopping mall server is carried in the request, in addition to obtaining the target sensitive information corresponding to the resource access request, the public key of the merchant corresponding to the current user terminal is also obtained to encrypt the target sensitive information with the public key.
  • Step d based on the public key, encrypt the target sensitive information into encrypted sensitive information, and send the encrypted sensitive information to the second mall server for the second mall server to use the corresponding private key Decrypt the encrypted sensitive information into the target sensitive information, and send the target sensitive information to the client.
  • the target sensitive information is encrypted into encrypted sensitive information, and the encrypted sensitive information is sent to the second mall server, so that the second mall server can obtain the current client in the corresponding business chain Corresponding to the private key of the merchant, and use the private key to decrypt the encrypted sensitive information into target sensitive information, and finally send the target sensitive information to the current client.
  • the target sensitive information is encrypted into encrypted sensitive information that only the second mall server can decrypt, and other mall servers cannot decrypt the encrypted sensitive information even if it obtains the encrypted sensitive information.
  • the private key of the merchant corresponding to the current client is kept in the second mall In the service chain of the server, therefore, only the client corresponding to the second mall server can access and view.
  • step c the method further includes:
  • Step e when it is detected that the merchant corresponding to the user terminal has entered the second mall server, obtain the public-private key pair corresponding to the merchant created by the second mall server;
  • the second mall server automatically creates the public and private key pair corresponding to the current merchant, that is, as long as there is a new one
  • the second mall server automatically creates a corresponding public-private key pair for the merchant. Therefore, when the merchant corresponding to the user terminal is detected, the corresponding public-private key pair can be obtained.
  • Step f Upload the public key in the public-private key pair to the interconnection chain, and save the private key in the public-private key pair in the service chain corresponding to the second mall server.
  • the public key in the public-private key pair obtained is uploaded to the interconnection chain, and the private key in the public-private key pair is stored in the service chain corresponding to the second mall server, so that the user terminal of the subsequent current merchant is visiting other malls
  • the shared device can directly obtain the public key of the current merchant in the interconnection chain, and use the public key to encrypt the sensitive information, and only the second mall server that saves the corresponding private key can decrypt it.
  • This embodiment obtains the public information and sensitive information of the first mall server, uploads the public information to the interconnection chain corresponding to the first mall server, and uploads the sensitive information to the business corresponding to the first mall server Chain; when receiving the resource access request corresponding to the first mall server initiated by the client of the second mall server, determine the information type corresponding to the resource access request; if the information type is sensitive information, determine Whether the resource access request carries the authorization information corresponding to the first mall server; if it does, the target sensitive information corresponding to the resource access request is obtained from the service chain, and the target sensitive information is sent to all The user side.
  • Step g when a purchase request initiated by the user terminal through the second mall server is detected, determine whether the product corresponding to the purchase request is on the second mall server;
  • Step h if not, determine the shopping mall server corresponding to the product in the interconnection chain, and send the purchase request to the shopping mall server to complete the purchase request correspondence based on the shopping mall server Transactions.
  • the corresponding purchase request can be sent to the corresponding mall server through the interconnection chain to realize cross-mall purchase.
  • Step g When a purchase request initiated by the user terminal through the second mall server is detected, determine whether the product corresponding to the purchase request is on the second mall server.
  • the user can use the client to log in to the local mall server on the client side, and purchase products in the local mall server, or initiate a purchase request to the remote mall server through the interconnection chain corresponding to the local mall server. Shopping across malls.
  • the client corresponding to the second mall server When it is detected that the client corresponding to the second mall server initiates a purchase request through the second mall server, first determine whether the product corresponding to the current purchase request is on the second mall server. If so, the current purchase request is for the local mall server once , Then this transaction can be carried out on the local mall server.
  • Step h if not, determine the shopping mall server corresponding to the product in the interconnection chain, and send the purchase request to the shopping mall server to complete the purchase request correspondence based on the shopping mall server Transactions.
  • the shared device first determines the current purchase request in the interconnection chain The mall server where the corresponding product is put on the shelf, the mall server is the shelf server. After the mall server is confirmed, the purchase request can be sent to the mall server through the interconnection chain shared by the second mall server and the listed mall server , To complete the transaction based on the mall server on the shelf, so as to achieve cross-mall procurement.
  • the product corresponding to the current purchase request is a physical product
  • the merchant corresponding to the mall server needs to be listed for offline delivery, and the user of the current client terminal performs operations such as receiving goods. Therefore, when the product corresponding to the purchase request is a physical product It is not possible to complete this transaction online immediately.
  • the specific transaction process can refer to the transaction of the existing mall, and will not be repeated here.
  • the mall server corresponding to the current product is not found in the interconnection chain, it is determined that the product is not on the shelf, even if the product is in other business chains, it is deemed not on the shelf.
  • step g the method further includes:
  • Step i if it is detected that the online shopping mall server creates the product, determine the product category of the product based on the product information of the product, and the product category includes public products and private products;
  • the product information of the product is obtained, and the product category of the current product is determined based on the product information, that is, the current product Products are classified.
  • product categories include public products and private products. Public products are visible to all mall servers, and private products are only visible to current mall servers.
  • Step j If the product is a public product, upload the public product to the interconnection chain; if the product is a private product, upload the private product to the business chain corresponding to the on-shelf mall server.
  • the current product is a public product, upload the current product to the Internet chain; if the current product is a private product, upload the current product to the business chain corresponding to the on-shelf mall server.
  • the coupon is a universal coupon, that is, the coupon can be used on all mall servers, the coupon is determined to be a public coupon, and the coupon is uploaded to the Internet; if the current coupon is available If it is a special coupon, that is, the coupon can only be used on the current mall server, it is determined that the coupon is a private coupon, and the coupon is uploaded to the business chain corresponding to the current mall server.
  • one of the mall servers can be randomly selected, or the current product inventory of all the mall servers on the shelves can be obtained, and the mall server with the most inventory can be used as this purchase Request the corresponding shopping mall server.
  • the product includes a virtual product
  • the step of completing the transaction corresponding to the purchase request based on the online mall server includes:
  • Step k receiving the virtual product and the purchase order corresponding to the virtual product sent by the online mall server based on the purchase request;
  • the virtual product includes cards and coupons that directly exchange value, such as prepaid cards, and indirectly, such as product discounts. Vouchers, etc., but also virtual services, etc.
  • the on-sale mall server When the on-sale mall server receives the purchase request, it determines the virtual product corresponding to the purchase request and trades the virtual product to the current client. At the same time, it generates the corresponding purchase order to record the transaction. The client is not on the same server and therefore cannot directly trade. Therefore, the shared device receives the virtual product sent by the mall server based on the current purchase request and the purchase order corresponding to the virtual product to complete the transaction, as follows.
  • Step 1 The virtual product is sent to the client through the second mall server, and the account amount corresponding to the client at the second mall server is deducted based on the purchase order.
  • the sharing device sends the virtual product to the current client through the second mall server, and based on the received purchase order, deducts the current user's account amount corresponding to the second mall server to complete the transaction.
  • the cross-mall transaction can also be completed through the interconnection chain with the remote mall server, and the user side does not need to switch the mall server to purchase to realize smart purchasing.
  • the data sharing device of this application includes:
  • the upper chain module is used to obtain the public information and sensitive information of the first mall server, upload the public information to the interconnection chain corresponding to the first mall server, and upload the sensitive information to the first mall server The corresponding business chain;
  • the receiving module is configured to determine the type of information corresponding to the resource access request when receiving the resource access request corresponding to the first mall server initiated by the client of the second mall server;
  • a determining module configured to determine whether the resource access request carries authorization information corresponding to the first mall server if the information type is sensitive information
  • the sending module is configured to, if carried, obtain the target sensitive information corresponding to the resource access request from the service chain, and send the target sensitive information to the client.
  • sending module is also used for:
  • the data sharing device further includes a registration module, and the registration module is used for:
  • the determining module is also used for:
  • the information type is public information, determining whether the second mall server and the first mall server are in the same interconnection chain;
  • the sending module is also used for:
  • the data sharing device further includes a purchasing module, and the purchasing module is used to:
  • the product includes a virtual product
  • the data sharing device further includes a transaction module, and the transaction module is used to:
  • the virtual product is sent to the client through the second mall server, and the account amount corresponding to the client at the second mall server is deducted based on the purchase order.
  • the data sharing device further includes a creation module, and the creation module is configured to:
  • the online shopping mall server If it is detected that the online shopping mall server creates the product, determine the product category of the product based on the product information of the product, and the product category includes public products and private products;
  • the product is a public product, upload the public product to the interconnection chain; if the product is a private product, upload the private product to the business chain corresponding to the server of the online mall.
  • the application also provides a computer-readable storage medium.
  • the computer-readable storage medium of the present application stores a data sharing program, and when the data sharing program is executed by a processor, the steps of the data sharing method described above are realized.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

本申请涉及金融科技的区块链领域,并公开了一种数据共享方法,包括:获取第一商城服务器的公开信息和敏感信息,并将公开信息上传至第一商城服务器对应的互联链,将敏感信息上传至第一商城服务器对应的业务链;当接收到第二商城服务器的用户端发起的第一商城服务器对应的资源访问请求时,确定资源访问请求对应的信息类型;若信息类型为敏感信息类,则确定资源访问请求是否携带第一商城服务器对应的授权信息;若携带,则从业务链中获取资源访问请求对应的目标敏感信息,并将目标敏感信息发送至用户端。本申请还公开了一种数据共享装置、设备和计算机可读存储介质。本申请实现有选择的对数据进行共享,保证数据共享安全性,提高数据共享的灵活性。

Description

数据共享方法、装置、设备与计算机可读存储介质
本申请要求于2019年06月20日提交中国专利局、申请号201910541962.0、发明名称为“数据共享方法、装置、设备与计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及金融科技(Fintech)的区块链技术领域,尤其涉及数据共享方法、装置、设备与计算机可读存储介质。
背景技术
近年来,随着金融科技(Fintech),尤其是互联网金融的不断发展,区块链(Block chain)技术被逐渐引入理财机构、银行等金融机构的业务交易中。在零售行业或者金融行业中,聚集多家商户,并对外提供交易平台的场所称为商城,商户可在商城的店铺中上架并出售相应的产品或者服务,用户则可在商城的店铺里购买相应的产品或者服务。
由于商城与商城之间相对独立,各自的数据并不共享,商户想要自己的产品或者服务在多个商城中被用户看到,则需要在多个商城上架相同的产品或者服务,若商户只在当前商城上架了相应的产品或者服务,则用户只能在当前商城中购买对应的产品或者服务,而无法跨商城购买到对应的产品或者服务。
为避免商户重复上架产品或者服务,且便于用户购买,现有理论方式是基于区块链技术,将各商城链接到一起,使各商城的数据共享,而从实现跨商城上架产品或者服务,且用户可跨商城购买相应的产品或者服务。
然而事实上,并不是所有的商城都愿意共享自己的数据,对于订单和价格等相对敏感的信息,商城之间的共享意愿相对较低,显然现有的数据共享方式效果较差,那么如何有选择的对数据进行共享是当前商城面临的问题。
技术解决方案
本申请的主要目的在于提出一种数据共享方法、装置、设备与计算机可读存储介质,旨在实现有选择的对数据进行共享,提高数据共享的灵活性。
为实现上述目的,本申请提供一种数据共享方法,所述数据共享方法包括如下步骤:
获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;
当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;
若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;
若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
可选地,所述若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端的步骤包括:
若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥;
基于所述公钥,将所述目标敏感信息加密成加密敏感信息,并将所述加密敏感信息发送至所述第二商城服务器,以供所述第二商城服务器使用对应的私钥将所述加密敏感信息解密成所述目标敏感信息,并将所述目标敏感信息发送至所述用户端。
可选地,所述若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥的步骤之前,所述方法还包括:
当检测到所述用户端对应的商户入驻所述第二商城服务器时,获取所述第二商城服务器创建的所述商户对应的公私钥对;
将所述公私钥对中的公钥上传至所述互联链,将所述公私钥对中的私钥保存在所述第二商城服务器对应的业务链。
可选地,所述当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型的步骤之后,所述方法还包括:
若所述信息类型为公开信息类,则确定所述第二商城服务器与所述第一商城服务器是否处于同一互联链;
若是,则在所述互联链中获取所述资源访问请求对应的目标公开信息,并将所述目标公开信息发送至所述用户端。
可选地,所述方法还包括:
当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架;
若否,则在所述互联链中确定所述产品对应的上架商城服务器,并将所述采购请求发送至所述上架商城服务器,以基于所述上架商城服务器完成所述采购请求对应的交易。
可选地,所述产品包括虚拟产品,所述基于所述上架商城服务器完成所述采购请求对应的交易的步骤包括:
接收所述上架商城服务器基于所述采购请求发送的所述虚拟产品和所述虚拟产品对应的采购订单;
将所述虚拟产品通过所述第二商城服务器发送至所述用户端,并基于所述采购订单扣除所述用户端在所述第二商城服务器对应的账户金额。
可选地,所述当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架的步骤之前,所述方法还包括:
若检测到所述上架商城服务器创建所述产品,则基于所述产品的产品信息,确定所述产品的产品类别,所述产品类别包括公开产品和私密产品;
若所述产品为公开产品,则将所述公开产品上传至所述互联链,若所述产品为私密产品,则将所述私密产品上传至所述上架商城服务器对应的业务链。
此外,为实现上述目的,本申请还提供一种数据共享装置,所述数据共享装置包括:
上链模块,用于获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;
接收模块,用于当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;
确定模块,用于若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;
发送模块,用于若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
可选地,所述发送模块还用于:
若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥;
基于所述公钥,将所述目标敏感信息加密成加密敏感信息,并将所述加密敏感信息发送至所述第二商城服务器,以供所述第二商城服务器使用对应的私钥将所述加密敏感信息解密成所述目标敏感信息,并将所述目标敏感信息发送至所述用户端。
可选地,所述数据共享装置还包括入驻模块,所述入驻模块用于:
当检测到所述用户端对应的商户入驻所述第二商城服务器时,获取所述第二商城服务器创建的所述商户对应的公私钥对;
将所述公私钥对中的公钥上传至所述互联链,将所述公私钥对中的私钥保存在所述第二商城服务器对应的业务链。
可选地,所述确定模块还用于:
若所述信息类型为公开信息类,则确定所述第二商城服务器与所述第一商城服务器是否处于同一互联链;
所述发送模块还用于:
若是,则在所述互联链中获取所述资源访问请求对应的目标公开信息,并将所述目标公开信息发送至所述用户端。
可选地,所述数据共享装置还包括采购模块,所述采购模块用于:
当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架;
若否,则在所述互联链中确定所述产品对应的上架商城服务器,并将所述采购请求发送至所述上架商城服务器,以基于所述上架商城服务器完成所述采购请求对应的交易。
可选地,所述产品包括虚拟产品,所述数据共享装置还包括交易模块,所述交易模块用于:
接收所述上架商城服务器基于所述采购请求发送的所述虚拟产品和所述虚拟产品对应的采购订单;
将所述虚拟产品通过所述第二商城服务器发送至所述用户端,并基于所述采购订单扣除所述用户端在所述第二商城服务器对应的账户金额。
可选地,所述数据共享装置还包括创建模块,所述创建模块用于:
若检测到所述上架商城服务器创建所述产品,则基于所述产品的产品信息,确定所述产品的产品类别,所述产品类别包括公开产品和私密产品;
若所述产品为公开产品,则将所述公开产品上传至所述互联链,若所述产品为私密产品,则将所述私密产品上传至所述上架商城服务器对应的业务链。
此外,为实现上述目的,本申请还提供一种数据共享设备,所述数据共享设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的数据共享程序,所述数据共享程序被所述处理器执行时实现如上所述的数据共享方法的步骤。
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有数据共享程序,所述数据共享程序被处理器执行时实现如上所述的数据共享方法的步骤。
本申请提出的数据共享方法,获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。本申请通过将公开信息上传至互联链,在互联链中的所有商城服务器都可以访问公开信息,而将敏感信息保存在各自的商城服务器中,只有本商城服务器和获得授权的用户端才可以访问,从而实现了有选择的将数据进行共享,在保证数据共享安全性的前提下实现更多数据的共享,使得数据共享更加灵活。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的设备结构示意图;
图2为本申请数据共享方法第一实施例的流程示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
本发明的实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
如图1所示,图1是本申请实施例方案涉及的硬件运行环境的设备结构示意图。
本申请实施例数据共享设备可以是PC机或服务器设备。
如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的设备结构并不构成对设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及数据共享程序。
其中,操作系统是管理和控制数据共享设备与软件资源的程序,支持网络通信模块、用户接口模块、数据共享程序以及其他程序或软件的运行;网络通信模块用于管理和控制网络接口1002;用户接口模块用于管理和控制用户接口1003。
在图1所示的数据共享设备中,所述数据共享设备通过处理器1001调用存储器1005中存储的数据共享程序,并执行下述数据共享方法各个实施例中的操作。
基于上述硬件结构,提出本申请数据共享方法实施例。
参照图2,图2为本申请数据共享方法第一实施例的流程示意图,所述方法包括:
步骤S10,获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;
步骤S20,当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;
步骤S30,若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;
步骤S40,若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
需要说明的是,现有的数据共享,若是要通过区块链进行共享,那么是将所有的商城链接到一条区块链上,所有商城之间共享数据账本,而这种跨链打通的商城之间的全部资源共享,这样容易导致权限过大的问题,即使商城中部分不愿意共享的资源,也因为区块链共享账本的特性,全部上链导致权限共享。基于这种情况,提出本实施例的数据共享方法。
本实施例将商城服务器的数据分为公开信息和敏感信息,并将公开信息上传至互联链,互联链中的商城服务器都可以访问,而将敏感信息上传至本地的业务链,只有本地商城服务器和获得授权的用户端才可以访问,从而实现有选择的将数据进行共享。
以下将对各个步骤进行详细说明:
步骤S10,获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链。
本实施例数据共享方法应用于理财机构或者银行系统等金融机构的数据共享设备中,为描述方便,数据共享设备以下简称共享设备,其中,共享设备对接各商城服务器,在本实施例中,在进行数据共享之前,先将各商城服务器共同构建一条互联链,同时,对各商城服务器自身也构建一条业务链,其中,互联链为各商城服务器之间共有的区块链,各商城服务器之间公开信息都上传至互联链,成为共享信息,各商城服务器可通过互联链来实现共享账本,所有接入到互联链的商城服务器均可以拉取共享信息;而业务链为商城服务器与商户对应的用户端之间共有的区块链,商城服务器内部不愿意公开的敏感信息,通过业务链来保存,因此,敏感信息相对于其他商城服务器就私密了。
在本实施例中,通过获取第一商城服务器的公开信息和敏感信息,并将公开信息上传至第一商城服务器对应的互联链,以供互联链中其他的商城服务器进行访问,将敏感信息上传至第一商城服务器对应的业务链,以供第一商城服务器自身访问,其中,第一商城服务器可以是新接入当前互联链的商城服务器,也可以是当前互联链中的产生新数据的商城服务器。
步骤S20,当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型。
在本实施例中,当接收到第二商城服务器的用户端基于第一商城服务器发起的资源访问请求时,也即其他商城服务器访问当前的商城服务器时,先确定资源访问请求对应的信息类型,可以理解的,信息类型包括公开信息类和敏感信息类,公开信息类在互联链中可任意访问,而敏感信息类则有条件限制。
进一步地,步骤S20之后,所述方法还包括:
步骤a,若所述信息类型为公开信息类,则确定所述第二商城服务器与所述第一商城服务器是否处于同一互联链;
在该步骤中,若确定资源访问请求访问的目标信息属于公开信息类,则先确定第二商城服务器与第一商城服务器是否处于同一互联链中,可以理解的,同一互联链的各商城服务器可实现数据共享,不同互联链的商城服务器则不可实现数据共享。
步骤b,若是,则在所述互联链中获取所述资源访问请求对应的目标公开信息,并将所述目标公开信息发送至所述用户端。
在该步骤中,若确定第二商城服务器与第一商城服务器处于同一互联链中,则可在当前互联中获取资源访问请求对应的目标公开信息,并将目标公开信息发送至第二商城服务器对应的用户端。
步骤S30,若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息。
在本实施例中,若确定资源访问请求访问的目标信息属于敏感信息类,则对用户端进行验证,也即在本实施例中,其他商城服务器的用户端想要访问当前商城服务器的敏感信息,则需要通过当前商城服务器的授权。具体确定当前资源访问请求是否携带第一商城服务器对应的授权信息,该授权信息由第一商城服务器进行赋予。在具体实施时,授权信息可为带有第一商城服务器标识的标识信息。
因此,若第二商城服务器的用户端想访问第一商城服务器的敏感信息,则先向第一商城服务器发起授权申请,在第一商城服务器确定可以访问时,将对应的授权信息发送给第二商城服务器的用户端,用户端在发起资源访问请求时,携带接收到的授权信息。
步骤S40,若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
在本实施例中,若确定当前资源访问请求中携带第一商城服务器的授权信息,说明当前用户端也有权限访问业务链,则从业务链中获取资源访问请求对应的目标敏感信息,并将目标敏感信息发送至第二商城服务器对应的用户端。
进一步地,步骤S40包括:
步骤c,若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥;
在该步骤中,为确保敏感信息只有授权的用户端可以访问,需要对目标敏感信息进行加密,在具体实施时,采用非对称加密的方式对目标敏感信息进行加密,因此,在确定当前资源访问请求中携带第一商城服务器的授权信息时,除了获取资源访问请求对应的目标敏感信息之外,还获取当前用户端对应的商户的公钥,以使用公钥对目标敏感信息进行加密。
步骤d,基于所述公钥,将所述目标敏感信息加密成加密敏感信息,并将所述加密敏感信息发送至所述第二商城服务器,以供所述第二商城服务器使用对应的私钥将所述加密敏感信息解密成所述目标敏感信息,并将所述目标敏感信息发送至所述用户端。
在该步骤中,基于获取的公钥,将目标敏感信息加密成加密敏感信息,并将加密敏感信息发送至第二商城服务器,以供第二商城服务器在对应的业务链中,获取当前用户端对应的商户的私钥,并使用该私钥将加密敏感信息解密成目标敏感信息,最后将目标敏感信息发送至当前用户端。
即将目标敏感信息加密成只有第二商城服务器能解密的加密敏感信息,其他商城服务器即使得到加密敏感信息也无法对其进行解密,这是由于当前用户端对应的商户的私钥保留在第二商城服务器的业务链中,因此,只有第二商城服务器对应的用户端可访问查看。
进一步地,在步骤c之前,所述方法还包括:
步骤e,当检测到所述用户端对应的商户入驻所述第二商城服务器时,获取所述第二商城服务器创建的所述商户对应的公私钥对;
在该步骤中,为实现对目标敏感信息进行非对称加密,在用户端对应的商户入驻第二商城服务器时,第二商城服务器即自动创建当前商户对应的公私钥对,也即只要有新的商户入驻商城服务器,第二商城服务器即自动为商户创建对应的公私钥对,因此,在检测到用户端对应的商户入驻时,即可获取对应的公私钥对。
步骤f,将所述公私钥对中的公钥上传至所述互联链,将所述公私钥对中的私钥保存在所述第二商城服务器对应的业务链。
在该步骤中,将获取的公私钥对中的公钥上传至互联链,将公私钥对中的私钥保存在第二商城服务器对应的业务链,使得后续当前商户的用户端在访问其他商城服务器的敏感数据时,共享设备可在互联链中直接获取当前商户的公钥,并用该公钥对敏感信息进行加密,而只有保存了对应的私钥的第二商城服务器才能对其进行解密。
本实施例获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。本申请通过将公开信息上传至互联链,在互联链中的所有商城服务器都可以访问公开信息,而将敏感信息保存在各自的商城服务器中,只有本商城服务器和获得授权的用户端才可以访问,从而实现了有选择的将数据进行共享,在保证数据共享安全性的前提下实现更多数据的共享,使得数据共享更加灵活。
进一步地,基于本申请数据共享方法第一实施例,提出本申请数据共享方法第二实施例。
数据共享方法的第二实施例与数据共享方法的第一实施例的区别在于,所述方法还包括:
步骤g,当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架;
步骤h,若否,则在所述互联链中确定所述产品对应的上架商城服务器,并将所述采购请求发送至所述上架商城服务器,以基于所述上架商城服务器完成所述采购请求对应的交易。
本实施例在遇到跨商城采购时,可通过互联链,将对应的采购请求发送至对应的商城服务器,以实现跨商城采购。
以下将对各个步骤进行详细说明:
步骤g,当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架。
在本实施例中,用户可使用用户端登录用户端本地商城服务器,并在本地商城服务器中进行产品的采购,也可以通过本地商城服务器对应的互联链,向异地商城服务器发起采购请求,从而实现跨商城购物。
当检测到第二商城服务器对应的用户端通过第二商城服务器发起采购请求时,先确定当前采购请求对应的产品是否在第二商城服务器中上架,若是,则当前采购请求是一次针对本地商城服务器的采购,那么本次交易可在本地商城服务器进行。
步骤h,若否,则在所述互联链中确定所述产品对应的上架商城服务器,并将所述采购请求发送至所述上架商城服务器,以基于所述上架商城服务器完成所述采购请求对应的交易。
在本实施例中,若确定当前采购请求对应的产品未在第二商城服务器中上架,则当前采购请求是一次针对异地商城服务器的采购,那么共享设备先在所述互联链中确定当前采购请求对应的产品在哪一商城服务器上架,该商城服务器即为上架服务器,在确定了上架商城服务器后,即可通过第二商城服务器与上架商城服务器共有的互联链,将采购请求发送至上架商城服务器,以基于上架商城服务器完成本次交易,从而实现跨商城采购。
可以理解的,当当前采购请求对应的产品为实体产品时,需要上架商城服务器对应的商户进行线下发货,以及当前用户端的用户进行收货等操作,因此,当采购请求对应的产品为实体产品时,无法即时在线上完成本次交易。具体的交易过程可参考现有商城的交易,在此不再赘述。
需要说明的是,若在互联链中未找到当前产品对应的上架商城服务器,则确定该产品未上架,即使在其他业务链中有该产品,也视为未上架。
进一步地,步骤g之前,所述方法还包括:
步骤i,若检测到所述上架商城服务器创建所述产品,则基于所述产品的产品信息,确定所述产品的产品类别,所述产品类别包括公开产品和私密产品;
在该步骤中,若检测到上架商城服务器创建产品,也即对应的商户在该上架商城服务器上架产品,则获取产品的产品信息,并基于产品信息,确定当前产品的产品类别,也即对当前产品进行分类,其中,产品类别包括公开产品和私密产品,公开产品即所有的商城服务器可见,私密产品即只有当前商城服务器可见。
步骤j若所述产品为公开产品,则将所述公开产品上传至所述互联链,若所述产品为私密产品,则将所述私密产品上传至所述上架商城服务器对应的业务链。
若当前产品为公开产品,则将当前产品上传至互联链,若当前产品为私密产品,则将当前产品上传至上架商城服务器对应的业务链。
以卡券为例,若当前卡券为通用卡券,即该卡券在所有商城服务器都可以使用,则确定该卡券为公开卡券,将该卡券上传至互联链;若当前卡券为专用卡券,即该卡券只能在当前商城服务器使用,则确定该卡券为私密卡券,将该卡券上传至当前商城服务器对应的业务链。
进一步地,当上架商城服务器至少有两个时,可随机选择其中一个上架商城服务器,也可获取所有的上架商城服务器中,当前产品的库存量,将库存量最多的上架商城服务器作为本次采购请求对应的上架商城服务器。
进一步的,所述产品包括虚拟产品,所述基于所述上架商城服务器完成所述采购请求对应的交易的步骤包括:
步骤k,接收所述上架商城服务器基于所述采购请求发送的所述虚拟产品和所述虚拟产品对应的采购订单;
在该步骤中,由于当前采购请求对应的产品为虚拟产品,因此可实现即时交易,其中,虚拟产品包括直接交换价值的卡券,如充值卡等,和间接交换价值的卡券,如产品折扣券等,同时也包括虚拟服务等。
上架商城服务器在接收到采购请求时,确定采购请求对应的虚拟产品,并将虚拟产品交易给当前用户端,同时生成对应的采购订单,以对本次交易进行记录,由于上架商城服务器与当前用户端不在同一服务器,因此无法直接交易,因此由共享设备接收上架商城服务器基于当前采购请求发送的虚拟产品和虚拟产品对应的采购订单,以完成本次交易,具体如下。
步骤l,将所述虚拟产品通过所述第二商城服务器发送至所述用户端,并基于所述采购订单扣除所述用户端在所述第二商城服务器对应的账户金额。
在该步骤中,共享设备将虚拟产品通过第二商城服务器发送至当前用户端,并基于接收到的采购订单,扣除当前用户在第二商城服务器对应的账户金额,完成本次交易。
本实施例在检测到采购请求时,若本地商城服务器未有对应的产品上架,也可通过互联链与异地商城服务器完成跨商城交易,用户端不需要切换商城服务器进行采购,实现智能采购。
本申请还提供一种数据共享装置。本申请数据共享装置包括:
上链模块,用于获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;
接收模块,用于当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;
确定模块,用于若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;
发送模块,用于若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
进一步地,所述发送模块还用于:
若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥;
基于所述公钥,将所述目标敏感信息加密成加密敏感信息,并将所述加密敏感信息发送至所述第二商城服务器,以供所述第二商城服务器使用对应的私钥将所述加密敏感信息解密成所述目标敏感信息,并将所述目标敏感信息发送至所述用户端。
进一步地,所述数据共享装置还包括入驻模块,所述入驻模块用于:
当检测到所述用户端对应的商户入驻所述第二商城服务器时,获取所述第二商城服务器创建的所述商户对应的公私钥对;
将所述公私钥对中的公钥上传至所述互联链,将所述公私钥对中的私钥保存在所述第二商城服务器对应的业务链。
进一步地,所述确定模块还用于:
若所述信息类型为公开信息类,则确定所述第二商城服务器与所述第一商城服务器是否处于同一互联链;
所述发送模块还用于:
若是,则在所述互联链中获取所述资源访问请求对应的目标公开信息,并将所述目标公开信息发送至所述用户端。
进一步地,所述数据共享装置还包括采购模块,所述采购模块用于:
当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架;
若否,则在所述互联链中确定所述产品对应的上架商城服务器,并将所述采购请求发送至所述上架商城服务器,以基于所述上架商城服务器完成所述采购请求对应的交易。
进一步地,所述产品包括虚拟产品,所述数据共享装置还包括交易模块,所述交易模块用于:
接收所述上架商城服务器基于所述采购请求发送的所述虚拟产品和所述虚拟产品对应的采购订单;
将所述虚拟产品通过所述第二商城服务器发送至所述用户端,并基于所述采购订单扣除所述用户端在所述第二商城服务器对应的账户金额。
进一步地,所述数据共享装置还包括创建模块,所述创建模块用于:
若检测到所述上架商城服务器创建所述产品,则基于所述产品的产品信息,确定所述产品的产品类别,所述产品类别包括公开产品和私密产品;
若所述产品为公开产品,则将所述公开产品上传至所述互联链,若所述产品为私密产品,则将所述私密产品上传至所述上架商城服务器对应的业务链。
本申请还提供一种计算机可读存储介质。
本申请计算机可读存储介质上存储有数据共享程序,所述数据共享程序被处理器执行时实现如上所述的数据共享方法的步骤。
其中,在所述处理器上运行的数据共享程序被执行时所实现的方法可参照本申请数据共享方法各个实施例,此处不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书与附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种数据共享方法,其中,所述数据共享方法包括如下步骤:
    获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;
    当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;
    若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;
    若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
  2. 如权利要求1所述的数据共享方法,其中,所述若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端的步骤包括:
    若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥;
    基于所述公钥,将所述目标敏感信息加密成加密敏感信息,并将所述加密敏感信息发送至所述第二商城服务器,以供所述第二商城服务器使用对应的私钥将所述加密敏感信息解密成所述目标敏感信息,并将所述目标敏感信息发送至所述用户端。
  3. 如权利要求2所述的数据共享方法,其中,所述若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥的步骤之前,所述方法还包括:
    当检测到所述用户端对应的商户入驻所述第二商城服务器时,创建所述商户对应的公私钥对;
    将所述公私钥对中的公钥上传至所述互联链,将所述公私钥对中的私钥保存在所述第二商城服务器对应的业务链。
  4. 如权利要求1所述的数据共享方法,其中,所述当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型的步骤之后,所述方法还包括:
    若所述信息类型为公开信息类,则确定所述第二商城服务器与所述第一商城服务器是否处于同一互联链;
    若是,则在所述互联链中获取所述资源访问请求对应的目标公开信息,并将所述目标公开信息发送至所述用户端。
  5. 如权利要求1-4任一项所述的数据共享方法,其中,所述方法还包括:
    当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架;
    若否,则在所述互联链中确定所述产品对应的上架商城服务器,并将所述采购请求发送至所述上架商城服务器,以基于所述上架商城服务器完成所述采购请求对应的交易。
  6. 如权利要求5所述的数据共享方法,其中,所述产品包括虚拟产品,所述基于所述上架商城服务器完成所述采购请求对应的交易的步骤包括:
    接收所述上架商城服务器基于所述采购请求发送的所述虚拟产品和所述虚拟产品对应的采购订单;
    将所述虚拟产品通过所述第二商城服务器发送至所述用户端,并基于所述采购订单扣除所述用户端在所述第二商城服务器对应的账户金额。
  7. 如权利要求5所述的数据共享方法,其中,所述当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架的步骤之前,所述方法还包括:
    若检测到所述上架商城服务器创建所述产品,则基于所述产品的产品信息,确定所述产品的产品类别,所述产品类别包括公开产品和私密产品;
    若所述产品为公开产品,则将所述公开产品上传至所述互联链,若所述产品为私密产品,则将所述私密产品上传至所述上架商城服务器对应的业务链。
  8. 一种数据共享装置,其中,所述数据共享装置包括:
    上链模块,用于获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;
    接收模块,用于当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;
    确定模块,用于若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;
    发送模块,用于若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
  9. 如权利要求8所述的数据共享装置,其中,所述发送模块还用于:
    若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥;
    基于所述公钥,将所述目标敏感信息加密成加密敏感信息,并将所述加密敏感信息发送至所述第二商城服务器,以供所述第二商城服务器使用对应的私钥将所述加密敏感信息解密成所述目标敏感信息,并将所述目标敏感信息发送至所述用户端。
  10. 如权利要求9所述的数据共享装置,其中,所述数据共享装置还包括入驻模块,所述入驻模块用于:
    当检测到所述用户端对应的商户入驻所述第二商城服务器时,获取所述第二商城服务器创建的所述商户对应的公私钥对;
    将所述公私钥对中的公钥上传至所述互联链,将所述公私钥对中的私钥保存在所述第二商城服务器对应的业务链。
  11. 如权利要求8所述的数据共享装置,其中,所述确定模块还用于:
    若所述信息类型为公开信息类,则确定所述第二商城服务器与所述第一商城服务器是否处于同一互联链;
    所述发送模块还用于:
    若是,则在所述互联链中获取所述资源访问请求对应的目标公开信息,并将所述目标公开信息发送至所述用户端。
  12. 如权利要求8-11任一项所述的数据共享装置,其中,所述数据共享装置还包括采购模块,所述采购模块用于:
    当检测到所述用户端通过所述第二商城服务器发起的采购请求时,确定所述采购请求对应的产品是否有在所述第二商城服务器上架;
    若否,则在所述互联链中确定所述产品对应的上架商城服务器,并将所述采购请求发送至所述上架商城服务器,以基于所述上架商城服务器完成所述采购请求对应的交易。
  13. 如权利要求12所述的数据共享装置,其中,所述产品包括虚拟产品,所述数据共享装置还包括交易模块,所述交易模块用于:
    接收所述上架商城服务器基于所述采购请求发送的所述虚拟产品和所述虚拟产品对应的采购订单;
    将所述虚拟产品通过所述第二商城服务器发送至所述用户端,并基于所述采购订单扣除所述用户端在所述第二商城服务器对应的账户金额。
  14. 如权利要求12所述的数据共享装置,其中,所述数据共享装置还包括创建模块,所述创建模块用于:
    若检测到所述上架商城服务器创建所述产品,则基于所述产品的产品信息,确定所述产品的产品类别,所述产品类别包括公开产品和私密产品;
    若所述产品为公开产品,则将所述公开产品上传至所述互联链,若所述产品为私密产品,则将所述私密产品上传至所述上架商城服务器对应的业务链。
  15. 一种数据共享设备,其中,所述数据共享设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的数据共享程序,所述数据共享程序被所述处理器执行时实现如下步骤:
    获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;
    当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;
    若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;
    若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
  16. 如权利要求15所述的数据共享设备,其中,所述数据共享程序被所述处理器执行时还实现如下步骤:
    若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥;
    基于所述公钥,将所述目标敏感信息加密成加密敏感信息,并将所述加密敏感信息发送至所述第二商城服务器,以供所述第二商城服务器使用对应的私钥将所述加密敏感信息解密成所述目标敏感信息,并将所述目标敏感信息发送至所述用户端。
  17. 如权利要求16所述的数据共享设备,其中,所述数据共享程序被所述处理器执行时还实现如下步骤:
    当检测到所述用户端对应的商户入驻所述第二商城服务器时,创建所述商户对应的公私钥对;
    将所述公私钥对中的公钥上传至所述互联链,将所述公私钥对中的私钥保存在所述第二商城服务器对应的业务链。
  18. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有数据共享程序,所述数据共享程序被处理器执行时实现如下步骤:
    获取第一商城服务器的公开信息和敏感信息,并将所述公开信息上传至所述第一商城服务器对应的互联链,将所述敏感信息上传至所述第一商城服务器对应的业务链;
    当接收到第二商城服务器的用户端发起的所述第一商城服务器对应的资源访问请求时,确定所述资源访问请求对应的信息类型;
    若所述信息类型为敏感信息类,则确定所述资源访问请求是否携带所述第一商城服务器对应的授权信息;
    若携带,则从所述业务链中获取所述资源访问请求对应的目标敏感信息,并将所述目标敏感信息发送至所述用户端。
  19. 如权利要求18所述的计算机可读存储介质,其中,所述数据共享程序被处理器执行时还实现如下步骤:
    若携带,则获取所述资源访问请求对应的目标敏感信息,并获取所述用户端对应的商户的公钥;
    基于所述公钥,将所述目标敏感信息加密成加密敏感信息,并将所述加密敏感信息发送至所述第二商城服务器,以供所述第二商城服务器使用对应的私钥将所述加密敏感信息解密成所述目标敏感信息,并将所述目标敏感信息发送至所述用户端。
  20. 如权利要求19所述的计算机可读存储介质,其中,所述数据共享程序被处理器执行时还实现如下步骤:
    当检测到所述用户端对应的商户入驻所述第二商城服务器时,创建所述商户对应的公私钥对;
    将所述公私钥对中的公钥上传至所述互联链,将所述公私钥对中的私钥保存在所述第二商城服务器对应的业务链。
PCT/CN2020/096542 2019-06-20 2020-06-17 数据共享方法、装置、设备与计算机可读存储介质 WO2020253714A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910541962.0A CN110266686B (zh) 2019-06-20 2019-06-20 数据共享方法、装置、设备与计算机可读存储介质
CN201910541962.0 2019-06-20

Publications (1)

Publication Number Publication Date
WO2020253714A1 true WO2020253714A1 (zh) 2020-12-24

Family

ID=67920126

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/096542 WO2020253714A1 (zh) 2019-06-20 2020-06-17 数据共享方法、装置、设备与计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN110266686B (zh)
WO (1) WO2020253714A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266686B (zh) * 2019-06-20 2021-06-15 深圳前海微众银行股份有限公司 数据共享方法、装置、设备与计算机可读存储介质
CN111339173A (zh) * 2020-02-21 2020-06-26 深圳市酷开网络科技有限公司 数据共享方法、服务器及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109325870A (zh) * 2018-10-10 2019-02-12 上海保险交易所股份有限公司 共享隐私数据的方法和系统
US20190156440A1 (en) * 2017-11-20 2019-05-23 Obook Holdings Inc. Blockchain-based room inventory management system
CN109886695A (zh) * 2019-03-26 2019-06-14 阿里巴巴集团控股有限公司 不同区块链之间的信息共享方法及装置和电子设备
CN110266686A (zh) * 2019-06-20 2019-09-20 深圳前海微众银行股份有限公司 数据共享方法、装置、设备与计算机可读存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10402792B2 (en) * 2015-08-13 2019-09-03 The Toronto-Dominion Bank Systems and method for tracking enterprise events using hybrid public-private blockchain ledgers
US20170357966A1 (en) * 2016-06-09 2017-12-14 Mastercard International Incorporated Method and system for use of a proprietary private blockchain
WO2018031409A1 (en) * 2016-08-07 2018-02-15 Dot Blockchain Music, Inc. Distributed data store for managing media
US11146535B2 (en) * 2016-10-12 2021-10-12 Bank Of America Corporation System for managing a virtual private ledger and distributing workflow of authenticated transactions within a blockchain distributed network
WO2018069566A1 (en) * 2016-10-14 2018-04-19 Nokia Technologies Oy Method, device and system for validating sensitive user data transactions within trusted circle
US10158611B2 (en) * 2016-11-17 2018-12-18 Bank Of America Corporation System for multiplexing and demultiplexing blockchain ledgers via a cryptographic hash
US11258582B2 (en) * 2017-05-01 2022-02-22 Qbrics, Inc. Distributed system and method for encryption of blockchain payloads
CN109462587B (zh) * 2018-11-09 2020-03-27 四川虹微技术有限公司 区块链分层共识方法、区块链网络系统及区块链节点
CN109788060B (zh) * 2019-01-22 2021-05-07 曲阜师范大学 基于区块链的云数据共享和更新方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190156440A1 (en) * 2017-11-20 2019-05-23 Obook Holdings Inc. Blockchain-based room inventory management system
CN109325870A (zh) * 2018-10-10 2019-02-12 上海保险交易所股份有限公司 共享隐私数据的方法和系统
CN109886695A (zh) * 2019-03-26 2019-06-14 阿里巴巴集团控股有限公司 不同区块链之间的信息共享方法及装置和电子设备
CN110266686A (zh) * 2019-06-20 2019-09-20 深圳前海微众银行股份有限公司 数据共享方法、装置、设备与计算机可读存储介质

Also Published As

Publication number Publication date
CN110266686B (zh) 2021-06-15
CN110266686A (zh) 2019-09-20

Similar Documents

Publication Publication Date Title
US11276048B2 (en) Online payment processing method apparatus and system
US20240127245A1 (en) Systems, apparatus and methods for improved authentication
US9710804B2 (en) Virtual payment cards issued by banks for mobile and wearable devices
US20220270098A1 (en) System for remote dual-security instrument transfer using encrypted verification data and location-based authentication
US20190180329A1 (en) Cognitive determination system connecting social network and blockchain network
US20170372417A1 (en) Digital asset account management
US20210049579A1 (en) Multi-factor identity authentication
US20110035594A1 (en) Apparatus and method for providing elective message tagging
US20140090045A1 (en) Systems and methods for facilitating login aid functionality in mobile commerce
US20210295335A1 (en) Secure access-based resource delegation
US20200273031A1 (en) Secure end-to-end online transaction systems and methods
US11778254B2 (en) Platform for appliance based resource catalog
US11922387B2 (en) Secure real-time transactions
WO2020253714A1 (zh) 数据共享方法、装置、设备与计算机可读存储介质
US20140358713A1 (en) Method and system for bulk purchase negotiating using an ad hoc online group
CN110969465A (zh) 一种基于区块链通证的促销方法及系统
JP2020518067A (ja) 消費者が複数の発行者サイトにて同じペイメントカードを同じオファーにリンクすることを可能にするカードリンクトオファーネットワークを提供するためのシステム、方法、及びコンピュータプログラム
CN110909376B (zh) 一种付费用户管理方法、装置、系统
KR102114032B1 (ko) 라우터를 이용한 캣 제어 방법 및 장치
CN110956454A (zh) 一种区块链红包投放方法及系统
US20220114588A1 (en) Aggregated transaction accounts
US20220051232A1 (en) Payment information correlation system and method
KR102457968B1 (ko) 정보교환시스템 및 그 방법
CA3138632A1 (en) Systems and methods to track guest user reward points
WO2019104408A1 (en) Methods and systems for managing a social commerce rewards platform

Legal Events

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

Ref document number: 20825501

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20825501

Country of ref document: EP

Kind code of ref document: A1