WO2021139113A1 - Procédé et appareil de signature de données de transaction, dispositif informatique et support de stockage - Google Patents

Procédé et appareil de signature de données de transaction, dispositif informatique et support de stockage Download PDF

Info

Publication number
WO2021139113A1
WO2021139113A1 PCT/CN2020/099311 CN2020099311W WO2021139113A1 WO 2021139113 A1 WO2021139113 A1 WO 2021139113A1 CN 2020099311 W CN2020099311 W CN 2020099311W WO 2021139113 A1 WO2021139113 A1 WO 2021139113A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
endorsement
transaction
cpu usage
information
Prior art date
Application number
PCT/CN2020/099311
Other languages
English (en)
Chinese (zh)
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 WO2021139113A1 publication Critical patent/WO2021139113A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to the field of blockchain technology, in particular to a method for signing high-concurrency transaction information based on blockchain, a device for signing high-concurrency transaction information based on blockchain, computer equipment, and computer-readable instructions stored there. Storage medium.
  • Blockchain is generally understood as a distributed ledger, and its essence is also a distributed database.
  • golang language has the characteristics of high development efficiency and simple use
  • many blockchain systems use golang language as the development language.
  • high-concurrency signature verification is required, due to the golang language
  • the characteristics of lightweight threads and garbage collection management mechanisms keep the system's CPU usage at a low level.
  • the signature processing is performed, because the memory garbage needs to be recycled, it may be necessary to suspend the thread currently executing the signature processing, which affects the overall signature verification efficiency.
  • This application provides a blockchain-based method, device, computer equipment and storage medium for signing high-concurrency transaction information, which are used to improve the stability of high-concurrency signing processing operations and the utilization rate of the system CPU.
  • the present application provides a method for signing high-concurrency transaction information based on a blockchain, and the method for signing high-concurrency transaction information based on a blockchain includes.
  • the transaction information corresponding to the target transaction is subjected to an endorsement process according to the endorsement information and the target endorsement method.
  • the present application also provides a block chain-based high-concurrency transaction information signing device, which includes the block chain-based high-concurrency transaction information signing device.
  • the status acquisition module is used to acquire the CPU usage of the system when it is detected that the signature function is started.
  • the mode determination module is used to obtain the corresponding target endorsement mode according to the CPU usage.
  • the information generating module is used to obtain transaction result information corresponding to the target transaction, and obtain corresponding signature information based on the transaction result information.
  • the signature processing module is configured to perform signature processing on the transaction information corresponding to the target transaction according to the signature information and the target signature method.
  • the present application also provides a computer device, which includes a memory and a processor, the processor and the memory are connected to each other, wherein the memory is used to store a computer program, and the computer program includes a program Instructions, the processor is used to execute the program instructions of the memory, where.
  • the transaction information corresponding to the target transaction is subjected to an endorsement process according to the endorsement information and the target endorsement method.
  • the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, they are used for Implement the following steps.
  • the transaction information corresponding to the target transaction is subjected to an endorsement process according to the endorsement information and the target endorsement method.
  • the present application discloses a method, device, computer equipment and storage medium for signing high-concurrency transaction information of the blockchain.
  • the CPU usage of the system is obtained, and then the CPU usage of the system is obtained according to the system's CPU usage.
  • the situation determines the target endorsement method for the endorsement process, and then after the target endorsement method for the endorsement process is determined, the transaction result information corresponding to the target transaction is obtained, and finally the target endorsement method and the information obtained according to the transaction result information are used
  • the endorsement information for endorsement processing performs corresponding endorsement processing on the transaction information.
  • the CPU usage of the system is monitored, and the current signing method is determined according to the CPU usage of the system to ensure that the signing process is not affected by others ,
  • the endorsement operation can be completed normally, which improves the stability of concurrent endorsement processing and the utilization rate of the system CPU.
  • FIG. 1 is a schematic flowchart of a method for signing high-concurrency transaction information based on a blockchain in an embodiment of the application.
  • FIG. 2 is a schematic flowchart of the steps of determining whether to change the default signature method in an embodiment of the application.
  • FIG. 3 is a schematic flowchart of a method for signing high concurrent transaction information based on a blockchain in another embodiment of the application.
  • Figure 4 is a block diagram of a block chain-based high-concurrency transaction information signing device in an embodiment of the application.
  • Fig. 5 is a structural block diagram of a mode determination module in an embodiment of the application.
  • Fig. 6 is a block diagram of a block chain-based high-concurrency transaction information signing device in another embodiment of the application.
  • Fig. 7 is a block diagram of a block chain-based high-concurrency transaction information signing device in another embodiment of the application.
  • FIG. 8 is a schematic block diagram of the structure of a computer device in an embodiment of the application.
  • Fig. 1 is a schematic flowchart of a method for signing high-concurrency transaction information based on a blockchain in an embodiment of the application.
  • the method for signing high concurrent transaction information based on the blockchain includes.
  • Step S10 When it is detected that the signing function is activated, the CPU usage of the system is acquired.
  • the basic default language used is the golang language, so when the transaction information is signed, the golang language will generally be used to sign the transaction information.
  • golang language it has two characteristic mechanisms: lightweight thread and garbage collection management mechanism, so that when the default golang language is used for signature processing, it will switch regardless of whether the thread needs more CPU time slices or not. As a result, each thread cannot obtain more CPU time slices, and cannot use the CPU more efficiently. Most of the CPU time slices are wasted in the switching thread mechanism.
  • Step S20 Obtain a corresponding target endorsement method according to the CPU usage.
  • the transaction information is signed based on the golang language when the signature processing is performed.
  • Signing processing for example, when the system's CPU usage is high, the system will switch threads in the fimax blockchain system, so that the current signing process will be interrupted, making the signing process impossible Very well done.
  • the default endorsement method used is to use the golang language for endorsement processing, and the default cannot be used in the system.
  • the endorsement process is completed in the language of, you need to switch the endorsement method to perform the endorsement process after switching the endorsement method.
  • the corresponding target endorsement method is obtained according to the CPU usage, including.
  • the target signature method is the default signature method. If it is determined to change the default endorsement method, the target endorsement method is the changed endorsement method.
  • the current target endorsement method for the endorsement processing is determined mainly according to the level of the system CPU usage.
  • the CPU usage of the system is low and the CPU usage is relatively low.
  • the corresponding endorsement method will be different when it is high.
  • the system CPU usage rate when the system CPU usage rate is low, the system default endorsement method can be used for endorsement processing. When the system CPU usage rate is high, the endorsement method needs to be switched.
  • Step S30 Obtain transaction result information corresponding to the target transaction, and obtain corresponding signature information based on the transaction result information.
  • the transaction result information corresponding to the target transaction is obtained, and then the corresponding endorsement information is obtained according to the transaction result information, where the obtained endorsement information includes the endorsement public key and the endorsement The private key, and then complete the endorsement processing of the transaction information corresponding to the target exchange according to the obtained endorsement information.
  • the corresponding endorsement information is required, which is simply a password.
  • the transaction information is usually endorsed by asymmetric endorsement. Processing: For the signature private key and the encrypted public key for the signature processing, the transaction result information corresponding to the target transaction is obtained in advance.
  • the transaction result information is analyzed to obtain the corresponding signature private key and the encrypted public key, for example, Analyze and obtain the first characteristic information of the transaction initiator and the second characteristic information of the transaction recipient in the target transaction, and then use the first characteristic information as the signature private key for confidential transmission of the target transaction, and transfer the second characteristic information to the target transaction.
  • the characteristic information is used as an encrypted public key for the confidential transmission of the target transaction.
  • the transaction result information corresponding to the target transaction will record the actual information of the transaction, including transaction time, transaction initiator information, transaction receiver information, and transaction type information.
  • the transaction receiver is usually a transaction terminal.
  • anyone can conduct transactions with this transaction terminal, but because the transaction initiator is different, the signature private key and the encrypted public key are different, which can better ensure the safety and reliability of the signature.
  • Step S40 Based on the signing private key and the encryption public key, the transaction information is signed using the target signing method.
  • the signature public key and signature private key After obtaining the signature public key and signature private key for signature processing according to the transaction result corresponding to the target transaction, the signature public key and signature private key will be used to perform the transaction information using the target signature method obtained in advance. Apostille processing. Specifically, after the target signature method is obtained, the transaction information will be processed asymmetrically by using the target signature method according to the obtained signature private key and encrypted public key.
  • the endorsement process it is mainly reflected in the difference in the CPU usage of the system to which the different endorsement methods are applied, so that the endorsement process can be completed more quickly and accurately.
  • the CPU usage of the system is obtained, and then the target signature of the signature processing is determined according to the CPU usage of the system.
  • the target endorsement method for the endorsement process obtain the transaction result information corresponding to the target transaction, and finally use the target endorsement method and the endorsement information for the endorsement process obtained according to the transaction result information to compare the transaction The information is processed accordingly.
  • the high-concurrency transaction information is signed, the CPU usage of the system is monitored, and the current signing method is determined according to the CPU usage of the system to ensure that the signing process is not affected by others ,
  • the signature operation can be completed normally, which improves the stability of high concurrent signature processing and the utilization rate of the system CPU.
  • FIG. 2 is a schematic flowchart of the steps of determining whether to change the default signature method in an embodiment of the application.
  • Step S21 Read the total number of CPU cores of the system, and obtain the CPU usage rate of the system according to the usage of the CPU and the total number of CPU cores.
  • Step S22 Compare the CPU usage rate with a CPU usage rate threshold.
  • Step S23 If the CPU usage rate is less than the CPU usage rate threshold, it is determined not to change the default signature method.
  • Step S24 If the CPU usage rate is greater than or equal to the CPU usage rate threshold, it is determined to change the default signature method.
  • the total number of CPU cores of the system is the sum of the number of cores of all CPUs in the system.
  • the number of CPU cores is the number of chipsets that can process data on a CPU.
  • the result of the comparison is used to determine the level of CPU usage of the system.
  • the CPU usage of different systems will correspond to different ways of signing to increase the CPU usage of the system and ensure that the CPU usage reaches a certain level, but The thread is not released when it is not saturated, and the corresponding operation instructions can be executed at the same time.
  • the obtained CPU usage rate is compared with the corresponding preset threshold value to obtain the corresponding target signature method, where the CPU usage rate threshold is a critical value of the CPU usage rate, and this critical value
  • the CPU usage rate threshold is a critical value of the CPU usage rate, and this critical value
  • the value can be determined according to the actual operation of the system. In the actual system use process, the high CPU usage will affect the actual operation of the system.
  • the signature operation is performed, due to the limitations of the golang language itself, and most of the signature process is run by threads, there is a signature If the process is not completed, the thread that performs the endorsement will be released. As a result, the endorsement is not completed and another thread needs to be used for the endorsement process, so a more appropriate endorsement method needs to be selected.
  • the more appropriate endorsement methods corresponding to different CPU usage rates are also different.
  • a more appropriate endorsement method is required.
  • the CPU usage rate is low, any endorsement method can be used, that is, the actual operation of the system will not affect the endorsement process or other operations of the system, because the default language used by the system It is the golang language, and the golang language itself has certain advantages, then the golang language can be used directly for the signature processing, that is, the signature processing can be successfully completed without language switching, but when the CPU usage rate is high, Due to the limitations of the golang language, it is necessary to choose a more reasonable endorsement method for endorsement processing.
  • the use of golang language is that golang language has the characteristics of high development efficiency and simple use. But for the use of the system, it must be done to improve a certain degree of work efficiency, but the problems brought about while improving work efficiency cannot be ignored, such as low system memory usage or waste of system resources.
  • the system CPU is used as the basis for judging the switching of the signature method. While ensuring the normal operation of the system and not affecting the actual operation, a more appropriate method is selected to complete the corresponding signature processing, which is improved to a certain extent. The utilization rate of the system CPU.
  • the signature method when it is determined that the default signature method needs to be changed, the signature method needs to be switched and changed. At this time, the interface will be called in the dynamic link library, and the target signature method will be called by calling the target signature method. Corresponding interface to realize the switch and change of the default signature method.
  • the corresponding endorsement method can be set in advance to be suitable for different scenario requirements, and then when endorsement processing is needed, an appropriate endorsement method is selected according to the actual operating scenario and status of the system to perform the corresponding endorsement operation.
  • the default signature method used in the fimax blockchain system is to use the golang language to process the transaction information.
  • the signature method set the corresponding interface address in the system through the interface address The acquisition realizes the switching of the endorsement method.
  • the endorsement method is switched to the endorsement method based on cgo technology for endorsement processing.
  • the target endorsement method is to use cgo technology for endorsement processing
  • the corresponding calling program will be launched for language invocation, and the endorsement process is performed by calling C language functions. That is, when the cgo technology needs to be used to implement the signature processing, the interface needs to be called, and the cgo technology can be used to complete the signature operation after the interface is called.
  • the target endorsement method is to use the default golang language for endorsement processing, use the thread scheduling mechanism that comes with the language to use the corresponding thread to complete the endorsement operation.
  • the number of pre-set interface addresses can be multiple, that is, in addition to setting one interface address according to the above description, you can also set several interface addresses according to actual technical support and scenarios or operating requirements. Different interface addresses are set with different calling conditions to realize the choice of different signing methods according to different needs.
  • the transaction information corresponding to the target transaction is signed according to the obtained endorsement information and the target endorsement method, it is also included.
  • the associated data includes signature information and transaction result information. And, acquiring the target thread that performs the signature processing, and marking the acquired target thread as an unreleasable state, so as to perform signature processing on the transaction information based on the target thread.
  • the C language Before calling the interface, that is, when building or managing the system, use the C language to implement a set of signature verification algorithms for the memory pool and the C language version in advance, and provide an interface that meets the calling requirements for the interface call. Packing is performed to form a dynamic link library, and the interface address for language switching is stored in the dynamic link library, and the language switching is realized by obtaining the interface address.
  • the dynamic link library is loaded using cgo technology, and then the corresponding interface address is obtained, so that language switching can be realized by switching the interface address.
  • the system operation is usually in a high concurrency state, that is, the signature operation is triggered multiple times and cyclically within a short period of time, but the transaction initiator is different.
  • the system CPU uses To a certain extent, the rate will be in a relatively high state, that is, frequent interface calls may be required during the endorsement process, and then the cgo technology is used to implement the endorsement process.
  • the rate will also be a CPU usage rate. When it is low, when the usage rate is low, the default golang language will be used to implement the signature processing. Due to the changes in the signature method, the interface status can also be set according to the CPU usage rate to avoid frequent interfaces The operational burden brought by the call.
  • the thread performing the endorsement processing is in an unreleasable state, that is, the thread will be locked during the endorsement process. Only after the signature is completed can the thread be released, and then other processes can use this thread.
  • the target endorsement method is to use the default golang language for endorsement processing, the thread that performs endorsement processing is in a releasable state.
  • FIG. 3 is a schematic flowchart of a method for signing high-concurrency transaction information based on blockchain in another embodiment of the application.
  • the method further includes.
  • step S50 when the thread release instruction is detected, the status information of the thread to be released is acquired.
  • Step S60 Determine whether to release the thread to be released according to the status information.
  • Step S70 If the status information is in a releasable state, release the thread to be released.
  • step S80 if the state information is in an unreleasable state, the thread release instruction is regarded as an invalid instruction.
  • different operations and processes can be implemented on different threads, that is, different threads are executing different processes.
  • the thread release instruction is detected, the status information of the thread to be released is acquired, and then it is determined whether the thread to be released can be released according to the obtained status information of the thread to be released.
  • thread release In the actual running process, some threads may need to be released due to external factors or system requirements, so that the system can run other processes or programs.
  • thread release In addition to the high load of the system and the need to release it, it may also be caused by the performance of the golang language itself.
  • the thread release instruction can be triggered by the user through a corresponding operation, or can be issued by the system according to the running state of the system itself, which is not specifically limited.
  • the thread release instruction is detected, the status information of the thread to be released that needs to be released will be obtained, where the status information includes the releasable state and the unreleasable state, and is mainly for the state information obtained in different signing scenarios.
  • the status information of the thread that instructs the signing operation is different due to different signing methods and the limitations of different signing methods.
  • the signature method used is the way done in the golang language
  • the state information of the thread used at this time is in a releasable state
  • the signature method used is to use cgo technology to achieve signature processing In this way, the state information of the thread used at this time is in an unreleasable state.
  • Thread release can be done automatically afterwards. If the thread that needs to be released is currently executing a process based on cgo technology to implement signature processing, because the thread cannot be released at this time, the detected thread release instruction will be regarded as an invalid instruction at this time, and it will also be You can issue corresponding prompts, such as the current thread cannot be released.
  • FIG. 4 is a block diagram of a block chain-based high-concurrency transaction information signing device in an embodiment of the application, which is applied to execute the aforementioned blockchain-based high-concurrency transaction information signing method.
  • the block chain-based high-concurrency transaction information signing device can be configured with a server.
  • the block chain-based high concurrent transaction information signing device 40 includes.
  • the status acquisition module 41 the mode determination module 42, the information generation module 43, and the signature processing module 44.
  • the status acquiring module 41 is used to acquire the CPU usage of the system when it is detected that the signing function is activated.
  • the mode determination module 42 is configured to obtain the corresponding target endorsement mode according to the CPU usage.
  • the information generating module 43 is configured to obtain transaction result information corresponding to the target transaction, and obtain corresponding signature information based on the transaction result information.
  • the signature processing module 44 is configured to perform signature processing on the transaction information corresponding to the target transaction according to the signature information and the target signature method.
  • the mode determination module 42 is also specifically used.
  • the target signature method is the default signature method.
  • the target endorsement method is the changed endorsement method.
  • FIG. 5 is a structural block diagram of a mode determination module in an embodiment of this application.
  • the mode determining module 42 includes.
  • the information reading unit 421 is configured to read the total number of CPU cores of the system, and obtain the CPU usage rate of the system according to the usage of the CPU and the total number of CPU cores.
  • the comparison and judgment unit 422 is configured to compare the CPU usage rate with a CPU usage rate threshold.
  • the result determining unit 423 is configured to determine not to change the default signature method if the CPU usage rate is less than the CPU usage rate threshold. If the CPU usage rate is greater than or equal to the CPU usage rate threshold, it is determined to change the default signature method.
  • FIG. 6 is a structural block diagram of a block chain-based high concurrent transaction information signing device in another embodiment of the application.
  • the block chain-based high concurrent transaction information signing device 40 further includes.
  • the interface calling module 45 is used to call the interface corresponding to the target signature method in the dynamic link library to complete the change to the default signature method.
  • FIG. 7 is a structural block diagram of a block chain-based high concurrent transaction information signing device in another embodiment of the application.
  • the block chain-based high concurrent transaction information signing device 40 further includes.
  • the memory calling module 46 is used to obtain the corresponding target running memory in the dynamic link library, and import the data associated with the target transaction into the target running memory, so as to compare the data in the target running memory.
  • the transaction information is subjected to endorsement processing, wherein the data associated with the target transaction includes the transaction result information and the endorsement information.
  • the block chain-based high concurrent transaction information signing device 40 further includes.
  • the thread acquisition module 47 is configured to acquire a target thread for signature processing, and mark the target thread as an unreleasable state, so as to perform signature processing on the transaction information based on the target thread.
  • the above-mentioned apparatus can be implemented in the form of a computer program, and the computer program can be run on the computer device as shown in FIG. 8.
  • FIG. 8 is a schematic block diagram of the structure of a computer device in an embodiment of the application.
  • the computer device may be a server.
  • the computer device includes a processor, a memory, and a network interface connected through a system bus, where the memory may include a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium can store an operating system and a computer program.
  • the computer program includes program instructions, and when the program instructions are executed, the processor can execute any method for signing high-concurrency transaction information based on the blockchain.
  • the processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
  • the internal memory provides an environment for the operation of the computer program in the non-volatile storage medium.
  • the processor can execute any method for signing high concurrent transaction information based on the blockchain.
  • the network interface is used for network communication, such as sending assigned tasks.
  • the network interface is used for network communication, such as sending assigned tasks.
  • FIG. 8 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • the processor may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors or digital signal processors. (Digital Signal Processor, DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware Components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
  • the processor is configured to run a computer program stored in a memory to implement the following steps.
  • the transaction information corresponding to the target transaction is subjected to an endorsement process according to the endorsement information and the target endorsement method.
  • the processor is also used for implementation when the corresponding target endorsement method is obtained according to the usage of the CPU.
  • the target signature method is the default signature method.
  • the target endorsement method is the changed endorsement method.
  • the processor executes the determination of whether to change the default signature method according to the CPU usage, it is also used for implementation.
  • the total number of CPU cores of the system is read, and the CPU usage rate of the system is obtained according to the usage of the CPU and the total number of CPU cores.
  • the CPU usage rate is compared with a CPU usage rate threshold.
  • the processor executes that if the CPU usage rate is greater than or equal to the CPU usage rate threshold, it is further used for implementation after determining that the default signature method is changed.
  • the processor is also used to implement the transaction information corresponding to the target transaction before executing the signature processing on the transaction information corresponding to the target transaction according to the signature information and the target signature method.
  • the processor is also used to implement the transaction information corresponding to the target transaction before executing the signature processing on the transaction information corresponding to the target transaction according to the signature information and the target signature method.
  • the processor further implements the following steps when executing the computer program.
  • the thread to be released is released.
  • the thread release instruction is regarded as an invalid instruction.
  • the embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes program instructions, and the processor executes the program instructions to implement the present application
  • the embodiment provides any method for signing high-concurrency transaction information based on the blockchain.
  • the computer-readable storage medium may be non-volatile or volatile.
  • the computer-readable storage medium may be the internal storage unit of the computer device described in the foregoing embodiment, for example, the hard disk or memory of the computer device.
  • the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) equipped on the computer device. ) Card, Flash Card, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Bioethics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Technology Law (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

L'invention concerne un procédé et un appareil basés sur une chaîne de blocs pour signer des données de transaction à haute concurrence, un dispositif électronique et un support de stockage, qui ont trait au domaine technique des chaînes de blocs. Le procédé comprend : lorsqu'il est détecté qu'une fonction de signature est activée, l'obtention de la situation d'utilisation de CPU d'un système (S10) ; en fonction de la situation d'utilisation de CPU, l'obtention d'un moyen de signature cible correspondant (S20) ; l'obtention d'informations de résultat de transaction correspondant à une transaction cible, et sur la base desdites informations de résultat de transaction, l'obtention d'informations de signature correspondantes (S30) ; et selon les informations de signature et le moyen de signature cible, la signature d'informations de transaction correspondant à la transaction cible. Le procédé décrit augmente la stabilité de signature à haute concurrence et le taux d'utilisation d'une CPU de système.
PCT/CN2020/099311 2020-01-06 2020-06-30 Procédé et appareil de signature de données de transaction, dispositif informatique et support de stockage WO2021139113A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010011301.X 2020-01-06
CN202010011301.XA CN111241594B (zh) 2020-01-06 2020-01-06 交易信息的加签方法、装置、计算机设备和存储介质

Publications (1)

Publication Number Publication Date
WO2021139113A1 true WO2021139113A1 (fr) 2021-07-15

Family

ID=70866349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/099311 WO2021139113A1 (fr) 2020-01-06 2020-06-30 Procédé et appareil de signature de données de transaction, dispositif informatique et support de stockage

Country Status (2)

Country Link
CN (1) CN111241594B (fr)
WO (1) WO2021139113A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111241594B (zh) * 2020-01-06 2023-10-13 平安科技(深圳)有限公司 交易信息的加签方法、装置、计算机设备和存储介质
CN114979151B (zh) * 2022-07-27 2022-11-11 江苏中创供应链服务有限公司 一种跨境电商动态调整加签服务的方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180025166A1 (en) * 2015-02-11 2018-01-25 British Telecommunications Public Limited Company Validating computer resource usage
CN107833139A (zh) * 2017-11-23 2018-03-23 上海壹账通金融科技有限公司 交易数据处理方法、装置、计算机设备及存储介质
CN108830716A (zh) * 2018-05-31 2018-11-16 上海万向区块链股份公司 基于区块链和加密处理的保护用户隐私的交易系统
CN110400223A (zh) * 2019-07-26 2019-11-01 中国工商银行股份有限公司 基于区块链的交互日志加密、调取、防窃取方法、装置
CN111241594A (zh) * 2020-01-06 2020-06-05 平安科技(深圳)有限公司 交易信息的加签方法、装置、计算机设备和存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053859B (zh) * 2009-11-09 2013-03-27 中国移动通信集团甘肃有限公司 批量数据处理的方法与装置
US11159334B2 (en) * 2016-10-04 2021-10-26 International Business Machines Corporation Distribution of software signatures using a community catalog based on blockchain
CN107025559B (zh) * 2017-01-26 2020-09-18 创新先进技术有限公司 一种业务处理方法及装置
CN107729137B (zh) * 2017-09-04 2021-06-22 深圳壹账通智能科技有限公司 服务器、区块链验签解密的方法及存储介质
CN108737403A (zh) * 2018-05-10 2018-11-02 阿里巴巴集团控股有限公司 一种区块链数据处理方法、装置、处理设备及系统
CN109522698A (zh) * 2018-10-11 2019-03-26 平安科技(深圳)有限公司 基于区块链的用户认证方法及终端设备
CN109614206A (zh) * 2018-10-25 2019-04-12 深圳壹账通智能科技有限公司 区块链事务处理的装置、方法及存储介质
CN109523385A (zh) * 2018-12-07 2019-03-26 深圳市智税链科技有限公司 在区块链网络中查询交易信息的方法、记账节点和介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180025166A1 (en) * 2015-02-11 2018-01-25 British Telecommunications Public Limited Company Validating computer resource usage
CN107833139A (zh) * 2017-11-23 2018-03-23 上海壹账通金融科技有限公司 交易数据处理方法、装置、计算机设备及存储介质
CN108830716A (zh) * 2018-05-31 2018-11-16 上海万向区块链股份公司 基于区块链和加密处理的保护用户隐私的交易系统
CN110400223A (zh) * 2019-07-26 2019-11-01 中国工商银行股份有限公司 基于区块链的交互日志加密、调取、防窃取方法、装置
CN111241594A (zh) * 2020-01-06 2020-06-05 平安科技(深圳)有限公司 交易信息的加签方法、装置、计算机设备和存储介质

Also Published As

Publication number Publication date
CN111241594A (zh) 2020-06-05
CN111241594B (zh) 2023-10-13

Similar Documents

Publication Publication Date Title
US8219990B2 (en) Techniques for managing virtual machine (VM) states
US8397290B2 (en) Granting least privilege access for computing processes
US10192074B2 (en) Technique for data loss prevention through clipboard operations
US7386859B2 (en) Method and system for effective management of client and server processes
US8140908B2 (en) System and method of client side analysis for identifying failing RAM after a user mode or kernel mode exception
US8631414B2 (en) Distributed resource management in a portable computing device
US11146624B2 (en) Real time multi-tenant workload tracking and auto throttling
US8046763B1 (en) Regulation of resource requests to control rate of resource consumption
WO2011097932A1 (fr) Procédé et appareil pour accéder à une base de données et système d'application de base de données
AU2013277539B2 (en) Network based management of protected data sets
CN111367693B (zh) 基于消息队列调度插件任务的方法、系统、设备及介质
WO2021139113A1 (fr) Procédé et appareil de signature de données de transaction, dispositif informatique et support de stockage
WO2021104383A1 (fr) Procédé et appareil de sauvegarde de données, dispositif et support de stockage
CN108776633B (zh) 监控进程运行的方法、终端设备及计算机可读存储介质
WO2020000716A1 (fr) Système d'analyse de mégadonnées, serveur, procédé de traitement de données, programme et support de stockage
US8938786B2 (en) System and method for using a declarative approach to enforce instance based security in a distributed environment
WO2018196459A1 (fr) Procédé et appareil de traitement de demande de téléchargement, dispositif de traitement et support
US8635331B2 (en) Distributed workflow framework
US11070654B2 (en) Sockets for shared link applications
US20200242255A1 (en) Systems and methods for monitoring attacks to devices
CN109582464B (zh) 一种云平台管理多种虚拟化平台的方法和装置
US12007936B2 (en) Power efficient memory value updates for arm architectures
CN117971441B (zh) 一种面向一体机的高性能线程模型实现方法和装置
CN113873029B (zh) 密码服务监控方法、服务器、密码机、系统和存储介质
LU101121B1 (en) Method for improving blockchain applications

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: 20911677

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: 20911677

Country of ref document: EP

Kind code of ref document: A1