Product update notification method and device applied to block chain, equipment and medium

By deploying smart contracts on the blockchain, the problem of difficult to ensure information accuracy and timeliness in traditional software product update notification methods is solved, and efficient and reliable product update notifications are achieved.

CN119939671APending Publication Date: 2025-05-06INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410211133.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-26
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

Traditional software product function update notification methods rely on manual promotion, making it difficult to ensure the accuracy and timeliness of information, and prone to delays and omissions of notifications.

Method used

By deploying smart contracts on the blockchain, after receiving product update instructions, the command is transmitted to the target smart contract, and the contract is executed to send product update information to the user account, and targeted notifications are achieved using broadcast encryption algorithm.

Benefits of technology

It realizes timely and accurately conveys product update information to users, ensuring the authenticity and reliability of notifications, and avoiding delays and omissions of notifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119939671A_ABST
    Figure CN119939671A_ABST
Patent Text Reader

Abstract

The invention provides a product update notification method, which can be applied to the technical field of block chains. The method comprises the following steps: receiving a product updating instruction, wherein the product updating instruction comprises updating information of a target product and an access address of a target smart contract; transmitting the product updating instruction to the target smart contract based on the access address; and responding to the target smart contract to receive the product update instruction, and executing the target smart contract, including sending update information of the target product to an account of a user using the target product in the block chain. The invention further provides a product update notification device and equipment, a storage medium and a program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of blockchain technology, and in particular to a product update notification method, device, equipment, medium and program product applied to blockchain. Background Art

[0002] When software product functions are updated, the traditional notification method is for product providers to notify customers through emails, phone calls, etc., so that customers can understand the updated functions and collect customer feedback on the updated functions. However, this process is mainly driven by humans. On the one hand, the accuracy and authenticity of the information transmitted in the process are difficult to guarantee, and on the other hand, the timeliness of product update notifications is also difficult to guarantee, and it is inevitable that there will be delays and missed notifications. Summary of the invention

[0003] In view of the above problems, the present disclosure provides a product update notification method applied to blockchain, as well as corresponding devices, equipment, media and program products.

[0004] In a first aspect of the embodiments of the present disclosure, a product update notification method is provided, which is applied to a blockchain. The method includes: receiving a product update instruction, the product update instruction including update information of a target product and an access address of a target smart contract; based on the access address, transmitting the product update instruction to the target smart contract; and in response to the target smart contract receiving the product update instruction, executing the target smart contract, including: sending the update information of the target product to an account of a user who uses the target product in the blockchain.

[0005] According to an embodiment of the present disclosure, the execution of the target smart contract includes: extracting the identification information of the target product from the update information of the target product; based on the identification information of the target product, obtaining the accounts of all users who use the target product in the blockchain to obtain an account set; and broadcasting the update information of the target product in the blockchain using a broadcast encryption algorithm, wherein the recipient set of the update information of the target product is set as the account set in the broadcast encryption algorithm.

[0006] According to an embodiment of the present disclosure, the receiving of the product update instruction includes: receiving the product update instruction sent by an external trigger, wherein the product update instruction is generated by the external trigger in response to monitoring an update of the target product.

[0007] According to an embodiment of the present disclosure, after the execution of the target smart contract, the method further includes: receiving confirmation information of the update information of the target product from any user using the target product, wherein the confirmation information includes a digital signature; verifying the digital signature; and storing the confirmation information after the digital signature is verified.

[0008] According to an embodiment of the present disclosure, the method further includes: after the digital signature is verified, sending the confirmation information to a preset account, wherein the preset account is the account of the user who sends the product update instruction, or the account specified in the product update instruction.

[0009] According to an embodiment of the present disclosure, the update information of the target product includes at least: identification information, update description and effective date of the target product.

[0010] According to an embodiment of the present disclosure, before receiving the product update instruction, the method further includes: creating the target smart contract.

[0011] According to a second aspect of an embodiment of the present disclosure, a product update notification device is provided, which is arranged in a blockchain. The device includes: an instruction receiving module, an instruction transmission module and a smart contract execution module. The instruction receiving module is used to receive a product update instruction, and the product update instruction includes the update information of the target product and the access address of the target smart contract. The instruction transmission module is used to transmit the product update instruction to the target smart contract based on the access address. The smart contract execution module is used to execute the target smart contract in response to the target smart contract receiving the product update instruction, including: sending the update information of the target product to the account of the user who uses the target product in the blockchain.

[0012] According to an embodiment of the present disclosure, the device further includes a feedback processing module. The feedback processing module is used to: receive confirmation information of the update information of the target product from any user who uses the target product, wherein the confirmation information includes a digital signature; verify the digital signature; and store the confirmation information after the digital signature is verified.

[0013] According to an embodiment of the present disclosure, the device further includes: a smart contract creation module. The smart contract creation module is used to create the target smart contract.

[0014] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided. The electronic device includes one or more processors and a memory. The memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.

[0015] According to a fourth aspect of the embodiments of the present disclosure, there is also provided a computer-readable storage medium on which executable instructions are stored, and when the instructions are executed by a processor, the processor executes the above method.

[0016] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, including a computer program, which implements the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0018] Figure 1 The system architecture of the product update notification method, device, equipment, medium and program product applied to blockchain according to an embodiment of the present disclosure is schematically shown;

[0019] Figure 2 A flowchart of a product update notification method applied to a blockchain according to an embodiment of the present disclosure is schematically shown;

[0020] Figure 3 The execution process of the target smart contract in the product update notification method applied to the blockchain according to an embodiment of the present disclosure is schematically shown;

[0021] Figure 4 A flowchart schematically illustrates a product update notification method applied to a blockchain according to another embodiment of the present disclosure;

[0022] Figure 5 A block diagram of a product update notification device provided on a blockchain according to an embodiment of the present disclosure is schematically shown; and

[0023] Figure 6 A block diagram of an electronic device suitable for implementing the product update notification method applied to blockchain according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0024] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

[0025] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0026] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

[0027] The embodiments of the present disclosure provide a product update notification method applied to blockchain, and corresponding devices, equipment, media and program products. By deploying a smart contract (referred to as a "target smart contract" in this article) on the blockchain, when a software product is updated, the target smart contract sends the product update information to the account of the user of the target product in the blockchain, so that the user of the product can be notified in time, and the authenticity of the sent product update information can also be guaranteed.

[0028] Figure 1 The system architecture of a product update notification method, apparatus, device, medium, and program product applied to a blockchain according to an embodiment of the present disclosure is schematically illustrated.

[0029] like Figure 1 As shown, the system architecture 100 may include a blockchain 101, a service system 102, and at least one client system 103. The service system 102 and the at least one client system 103 communicate with the blockchain 101 respectively.

[0030] The blockchain 101 may include multiple nodes, such as Figure 1 Nodes A, B, C, and D are shown. The multiple nodes can communicate with each other. Each node can correspond to at least one database. The multiple nodes can form a database storage system that is distributed all over the world and can operate in coordination. The multiple nodes can be deployed on servers all over the world, each node can be a server or a server cluster, and the server / server cluster can be a server / server cluster that provides various services. Any node performs read and write operations in its corresponding database, and other nodes will complete synchronization according to the corresponding mechanism, so that the data in the database corresponding to all nodes in the blockchain 101 is completely consistent. In the blockchain 101, smart contracts can be used to implement the operation of programs in a decentralized manner.

[0031] Smart contracts are digital software programs that can be stored in blockchain 101 and automatically executed when the conditions written in their source code are met. During the execution of smart contracts, mathematical calculations can be performed, and terms can be negotiated and automatically verified between multiple nodes according to corresponding mechanisms, without the need for approval by a specific central agency.

[0032] The service system 102 may be a computer system operated, managed and maintained by the provider of the software product, such as a server or a server cluster, and in some embodiments may also include various terminal devices. The product provider registers an account in the blockchain 101 through the service system 102, and can exchange information with the blockchain 101 through the account.

[0033] The client system 103 may be a computer system operated, managed and maintained by a client (such as an enterprise) using the corresponding software product, and may also include a server or server cluster, and in some embodiments may also include various terminal devices. The client registers an account in the blockchain 101 through the client system 103, and can exchange information with the blockchain 101 through the account.

[0034] The following is an example of a scenario where a bank sends a product update notification to its corporate customers through blockchain 101. Accordingly, service system 102 is the bank system, and customer system 103 is the system of the bank's corporate customers.

[0035] According to an embodiment of the present disclosure, the bank can initiate the creation and deployment of a target smart contract on the blockchain 101 through the service system 102. When the deployment is successful, when the function of the product provided by the bank to the enterprise (hereinafter referred to as "bank-enterprise product") is updated, the automatic execution of the target smart contract can be triggered, and a product update notification can be sent to its corporate customers.

[0036] Specifically, the process of creating a target smart contract may include the following steps:

[0037] Step 1: Create a target smart contract. The bank creates a target smart contract on blockchain 101 to record update messages. The triggering condition of the target smart contract can be set as product update information, which can include the following information:

[0038] Identification information of the updated product: for example, transaction code, such as the unique identifier of the payment instruction interface - PAYENT

[0039] Update description: Detailed description of this function update, such as: This update includes support for the butler card as a payment account and a receiving account, etc.

[0040] Effective Date: The time when this update takes effect, in the format of YYYY (year) MM (month) SS (date).

[0041] Bank digital signature: The bank generates it using a private key and attaches it to the update notification. Its functions are: first, identity verification - verifying the bank's identity, ensuring that customers receiving update messages can verify that the notification information does belong to the bank, and is not a forged notification; second, ensuring that the information is accurate and has not been tampered with. By verifying whether the digital signature is correct, it is possible to detect whether the update notification has been tampered with. If any changes have occurred to the notification content during transmission, the digital signature verification will fail.

[0042] In one embodiment, the Elliptic Curve Digital Signature Algorithm (ECDSA) algorithm may be used for signing. The ECDSA algorithm can provide a secure and efficient signing and verification process to ensure information integrity.

[0043] Among them, the ECDSA signing and verification process is as follows:

[0044] 1.1 Secret key generation, define a large prime number p, define the order of the elliptic curve on the finite field as n, the base point on the elliptic curve as G, the user randomly selects d as the private key (0<d<n), and the public key is Q=dG

[0045] 1.2 Signature process: Use hash function to hash the information and get information summary m. The user selects a random number k (0<k<n), calculates K=kG, and determines the x coordinate of K, recorded as r, and calculates s=k -1 (e+dr), the signature is σ=(r,s)

[0046] 1.3 Verification process: The verifier receives the message and signature, uses the same hash function to hash the received information, obtains the information summary m, and checks whether the signature values ​​r and s are within the range of 1 and n-1. If not, the signature is invalid. Within this range, calculate u1=m*s -1 mod n, u2=r*s -1 mod n, calculate the point P = u1*G + u2*Q. If P is equal to the point at infinity, the signature is invalid. If not, determine the x-coordinate of P, recorded as v. If r = v, the signature is valid, otherwise it is invalid.

[0047] Once the target smart contract is deployed, product update notifications can be sent to users of products with updated functions by triggering the execution of the target smart contract.

[0048] The following will be passed Figure 2 to Figure 4, taking the bank updating the bank-enterprise product as an example, the product update notification method applied to the blockchain in the embodiment of the present disclosure is described in detail. It should be noted that the sequence number of each operation in the following method is only used as a representation of the operation for the purpose of description, and should not be regarded as indicating the execution order of the various operations. Unless explicitly stated, the method does not need to be executed in the order shown.

[0049] Figure 2 The present invention schematically shows a flowchart of a product update notification method applied to a blockchain according to an embodiment of the present disclosure.

[0050] like Figure 2 As shown, the product update notification method according to this embodiment includes operations S201 to S203.

[0051] First, in operation S201, a product update instruction is received, where the product update instruction includes update information of a target product and an access address of a target smart contract.

[0052] Then in operation S202, based on the above access address, the product update instruction is transmitted to the target smart contract.

[0053] For example, blockchain 101 receives product update information sent by the bank through service system 102. Service system 102 may be provided with an external trigger for triggering the execution of the target smart contract. The external trigger may be connected to a database or log system in service system 102 for recording update information of bank-enterprise products. For example, the external trigger may monitor product update information recorded in the database or log system. When monitoring an update of a product, the external trigger may read the update information of the product and send a product update instruction to the access address of the target smart contract in blockchain 101.

[0054] In operation S203, in response to the target smart contract receiving the product update instruction, the target smart contract is executed. Specifically, the target smart contract verifies the authenticity of the product update information in the blockchain 101, for example, by verifying the digital signature of the bank in the product update information. After the verification is passed, the update information of the target product is sent to the account of the user who uses the target product in the blockchain 101.

[0055] The update information of the target product in the product update instruction may include: identification information of the target product (such as transaction code), update description, effective date, bank digital signature, etc. After the target smart contract receives the product update instruction, it triggers the execution of the target smart contract. The target smart contract can use the consensus algorithm to verify the consensus of the product update instruction and decide whether to execute it.

[0056] In one embodiment, the consensus verification algorithm is as follows: All nodes participating in the consensus can be divided into two groups according to the historical activity or reputation of each node in the blockchain 101, or the role setting, etc.: the master node X = {x1, x2, ..., x n}, secondary node Y = {y1, y2, ..., y n}. Specify the weight Q of the master node group when voting x =2, weight Q of the node voting of the deputy node group y =1. Define the voting weight of all nodes as The weight of the malicious node is allowed to be When the weighted sum of the legitimate information received by the master node is greater than 2F+1, the execution of the target smart contract is confirmed. In this way, it is ensured that the update information of the target product sent to each user by the blockchain 101 is authentic and reliable.

[0057] Figure 3 The execution process of the target smart contract in the product update notification method applied to the blockchain according to an embodiment of the present disclosure is schematically shown.

[0058] like Figure 3 As shown, according to this embodiment, operation S203 may include operations S2031 to S2033.

[0059] In operation S2031, identification information (eg, transaction code) of the target product is extracted from update information of the target product.

[0060] In operation S2032, based on the identification information of the target product, the accounts of all users who use the target product in the blockchain 101 are obtained to obtain an account set.

[0061] In one embodiment, during the execution of the target smart contract, it can interact with the service system 102 to obtain a user information list of all users using the target product, and verify the authenticity of the user information list provided by the service system 102 in the blockchain 101. If the verification is successful, the account of the user in the user information list on the blockchain 101 is determined from the user registration information of the blockchain 101, thereby obtaining an account set.

[0062] In another embodiment, when deploying the target smart contract, the bank can upload the user information list of users who use various bank-enterprise products to the blockchain 101, wherein the user information list is attached with the bank's digital signature when uploading. The blockchain 101 verifies the authenticity of the user information list, and stores it in the blockchain 101 after verification. In this way, when the target smart contract is executed, the user information list can be retrieved from the blockchain 101, and the accounts of all users who use the target product in the blockchain 101 can be determined based on the user's account registration information stored in the blockchain, thereby obtaining an account set.

[0063] In operation S2033, the update information of the target product is broadcast in the blockchain 101 using a broadcast encryption algorithm, wherein the recipient set of the update information of the target product is set in the broadcast encryption algorithm to be the above-mentioned account set.

[0064] The disclosed embodiment adopts a broadcast encryption algorithm to broadcast the target product update information, so that only the accounts in the account set can effectively read the target product update information, and the update notification of the target product can be sent in a targeted and accurate manner. The algorithm logic of the broadcast encryption algorithm is as follows: first, the elements in S are mapped to L points in a two-dimensional plane, and then a point in space that is different from the above mapping is taken (set as: through L+1 different points, Lagrange interpolation is used to reconstruct a unique L-order polynomial h s (z) as a safe representation of S, then choose to withdraw h s (z) is different from L points in the set S and is published as ciphertext {(z i ,h s (z i ))} i∈[1,L] . Customer e belonging to a specific user set S will use its own private key (z e ,h s (z e )), and the ciphertext {(z i ,h s (z i ))} i∈[1,L] The polynomial h is correctly reconstructed by Lagrange interpolation s (z), but non-specific users cannot reconstruct correctly. s (z) The formula is as follows:

[0065]

[0066] Figure 4 The following schematically shows a flowchart of a product update notification method applied to a blockchain according to another embodiment of the present disclosure.

[0067] like Figure 4As shown, the product update notification method according to this embodiment may further include operations S404 to S407 in addition to operations S201 to S203 .

[0068] Among them, operation S201 to operation S203 are consistent with the above, and will not be repeated here.

[0069] Next, in operation S404, confirmation information of the target product update information from any user using the target product is received, wherein the confirmation information includes a digital signature. The confirmation information may include confirmation of successful receipt of the notification, and may also include evaluation information and opinion information of the user on the update information.

[0070] In operation S405, the digital signature in the confirmation information is verified.

[0071] In operation S406, after the digital signature in the confirmation information is verified, the confirmation information is stored. Once the validity of the digital signature is verified, the customer's confirmation information can be recorded, and the record can include: the customer's blockchain account address, confirmation timestamp, etc. In this way, the customer's feedback on the update information of the target product can be traced back.

[0072] And in operation S407, the confirmation information is sent to a preset account, wherein the preset account is the account of the user who sent the product update instruction, or the account specified in the product update instruction. The preset account can be, for example, an account used by the bank to collect confirmation information. In this way, the user's confirmation information can be provided to the product provider (bank) in a timely and automatic manner, which facilitates the bank to collect and understand the user's knowledge of the bank-enterprise product function update.

[0073] In the disclosed embodiment, when the user who uses the target product has registered an account on the blockchain 101, the update notification from the bank can be received through the blockchain account. These users can use the bank's public key to verify the bank's digital signature to confirm that the received product update information belongs to the bank and is not a forged notification. After the customer views the notification to understand the nature and importance of the update, he or she can also send a confirmation message to the blockchain 101 through the blockchain account to prove to the bank that he or she is aware of the update content. When sending the confirmation message, the customer uses his or her private key to perform an ECDSA digital signature on the key information of the notification (such as the update description and effective date). The digital signature generates a unique digital mark to prove that the customer has viewed and received the notification. The customer attaches the digital signature to the notification and broadcasts the confirmation message containing the signature on the blockchain 101.

[0074] It can be seen that the disclosed embodiments can use blockchain smart contract technology to make the reminder of bank-enterprise product function updates between banks and enterprises more timely, safe and efficient, avoiding the risk of customer complaints caused by missed notifications and untimely notifications. At the same time, blockchain 101 records provide a complete interaction history, which helps to meet compliance and security requirements.

[0075] It should be noted that the product update notification method applied to the blockchain determined in the embodiments of the present disclosure can be used in the financial field, and can also be used in any field other than the financial field. The present disclosure does not limit the application field.

[0076] Based on the product update notification method of each of the above embodiments, the present disclosure also provides a product update notification device. Figure 5 The device is described in detail.

[0077] Figure 5 A block diagram of a product update notification device 500 provided on a blockchain according to an embodiment of the present disclosure is schematically shown.

[0078] like Figure 5 As shown, according to some embodiments, the device 500 may include an instruction receiving module 510, an instruction transmission module 520, and a smart contract execution module 530. According to other embodiments, the device 500 may further include at least one of a feedback processing module 540 and a smart contract creation module 550. The device 500 may be set in a node of the blockchain, such as any part of nodes A, B, C, and D of the blockchain 101 or all of the nodes. The device 500 may execute a reference Figure 2 to Figure 4 The method described.

[0079] The instruction receiving module 510 is used to receive a product update instruction, which includes update information of the target product and an access address of the target smart contract. In one embodiment, the instruction receiving module 510 can perform the operation S201 described above.

[0080] The instruction transmission module 520 is used to transmit the product update instruction to the target smart contract based on the access address. In one embodiment, the instruction transmission module 520 can perform the operation S202 described above.

[0081] The smart contract execution module 530 is used to execute the target smart contract in response to the target smart contract receiving the product update instruction, including: sending the update information of the target product to the account of the user who uses the target product in the blockchain. In one embodiment, the smart contract execution module 530 can perform the operation S203 described above.

[0082] The feedback processing module 540 is used to: receive confirmation information of the target product update information from any user who uses the target product, wherein the confirmation information includes a digital signature; verify the digital signature; and store the confirmation information after the digital signature is verified.

[0083] The feedback processing module 540 may also be used to send a confirmation message to a preset account after the digital signature is verified, wherein the preset account is the account of the user who sent the product update instruction, or the account specified in the product update instruction.

[0084] The smart contract creation module 550 is used to create a target smart contract.

[0085] According to an embodiment of the present disclosure, any multiple modules of the instruction receiving module 510, the instruction transmission module 520, the smart contract execution module 530, the feedback processing module 540 and the smart contract creation module 550 can be combined in one module, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the instruction receiving module 510, the instruction transmission module 520, the smart contract execution module 530, the feedback processing module 540 and the smart contract creation module 550 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in an appropriate combination of any of them. Alternatively, at least one of the instruction receiving module 510, the instruction transmission module 520, the smart contract execution module 530, the feedback processing module 540 and the smart contract creation module 550 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is executed.

[0086] Figure 6 A block diagram of an electronic device 600 suitable for implementing the product update notification method applied to blockchain according to an embodiment of the present disclosure is schematically shown.

[0087] like Figure 6As shown, the electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include an onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0088] In RAM 603, various programs and data required for the operation of electronic device 600 are stored. Processor 601, ROM 602 and RAM 603 are connected to each other via bus 604. Processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 602 and / or RAM 603. It should be noted that the program can also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0089] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 608 including a hard disk, etc.; and a communication portion 609 including a network interface card such as a LAN card, a modem, etc. The communication portion 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage portion 608 as needed.

[0090] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

[0091] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 602 and / or RAM 603 described above and / or one or more memories other than ROM 602 and RAM 603.

[0092] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiment of the present disclosure.

[0093] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 601. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0094] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 609, and / or installed from a removable medium 611. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0095] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the processor 601, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, apparatus, module, unit, etc. described above can be implemented by a computer program module.

[0096] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).

[0097] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.

[0098] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims

1. A product update notification method, applied to blockchain, wherein: The method comprises: Receive a product update instruction, wherein the product update instruction includes update information of a target product and an access address of a target smart contract; Based on the access address, transmitting the product update instruction to the target smart contract; and In response to the target smart contract receiving the product update instruction, executing the target smart contract includes: sending update information of the target product to an account of a user who uses the target product in the blockchain.

2. The method according to claim 1, wherein: The executing the target smart contract comprises: extracting identification information of the target product from update information of the target product; Based on the identification information of the target product, obtain the accounts of all users who use the target product in the blockchain to obtain an account set; and The update information of the target product is broadcast in the blockchain using a broadcast encryption algorithm, wherein a set of recipients of the update information of the target product is set as the account set in the broadcast encryption algorithm.

3. The method according to claim 1, wherein: The receiving of a product update instruction comprises: The product update instruction sent by the external trigger is received, wherein the product update instruction is generated by the external trigger in response to monitoring the update of the target product.

4. The method according to claim 1, wherein: After executing the target smart contract, the method further includes: Receiving confirmation information of update information of the target product from any user who uses the target product, wherein the confirmation information includes a digital signature; verifying the digital signature; and After the digital signature is verified, the confirmation information is stored.

5. The method according to claim 4, wherein: The method further comprises: After the digital signature is verified, the confirmation information is sent to a preset account, wherein the preset account is the account of the user who sent the product update instruction, or the account specified in the product update instruction.

6. The method according to claim 1, wherein: The update information of the target product includes at least: identification information, update description and effective date of the target product.

7. The method according to claim 1, wherein: Before receiving the product update instruction, the method further includes: Create the target smart contract.

8. A product update notification device, arranged on a blockchain, wherein: The device comprises: An instruction receiving module, used to receive a product update instruction, wherein the product update instruction includes update information of a target product and an access address of a target smart contract; An instruction transmission module, configured to transmit the product update instruction to the target smart contract based on the access address; and The smart contract execution module is used to execute the target smart contract in response to the target smart contract receiving the product update instruction, including: sending the update information of the target product to the account of the user who uses the target product in the blockchain.

9. An electronic device, comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Server pushing method and device based on blockchain technology, and medium

    CN111756803A

  • Coupon processing method and device based on block chain, and computer equipment

    CN117078301A

  • Computer software updates via blockchain

    US20240004629A1

  • Method for managing data in a network of nodes

    WO2017148527A1