CN108880793A - Information trading method, apparatus and electronic equipment - Google Patents

Information trading method, apparatus and electronic equipment Download PDF

Info

Publication number
CN108880793A
CN108880793A CN201810579816.2A CN201810579816A CN108880793A CN 108880793 A CN108880793 A CN 108880793A CN 201810579816 A CN201810579816 A CN 201810579816A CN 108880793 A CN108880793 A CN 108880793A
Authority
CN
China
Prior art keywords
information
transaction
obtains
trading
encrypted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810579816.2A
Other languages
Chinese (zh)
Inventor
李平
袁力
徐海东
李雷
韩鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Financial Technologies Ltd Arxan Beijing
Original Assignee
Financial Technologies Ltd Arxan Beijing
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 Financial Technologies Ltd Arxan Beijing filed Critical Financial Technologies Ltd Arxan Beijing
Priority to CN201810579816.2A priority Critical patent/CN108880793A/en
Publication of CN108880793A publication Critical patent/CN108880793A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention provides a kind of information trading method, apparatus and electronic equipments, are related to technical field of information transmission, and information trading method is applied to mobile terminal, and this method includes:Obtain target information;It generates information and encrypts code key;Target information described in secret key pair is encrypted by the information to be encrypted, and cipher-text information is obtained;Tissue is carried out to the cipher-text information, generates Transaction Information;The Transaction Information is sent, solves and there is technical issues that biggish information leakage in information exchanging process existing in the prior art.

Description

Information trading method, apparatus and electronic equipment
Technical field
The present invention relates to technical field of information transmission, set more particularly, to a kind of information trading method, apparatus and electronics It is standby.
Background technique
Information transmission is will to order from one end or status information channel is transmitted to the other end, and is received by other side.Packet Include transmission and reception.Transmission medium is divided to wired and wireless two kinds, and wired is telephone wire or private cable;Wirelessly be using radio station, Microwave and satellite technology etc..
Information cannot be changed in message transmitting procedure, information itself can not also be sent or receive.There must be carrier, such as The modes such as data, language, signal, and transmission aspect and recipient have common explanation in face of carrier.
Currently, a large amount of customer information is transmitted in a network in the transmission of existing information, thus the mistake for transmitting information There are the risks of serious information leakage in journey.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of information trading method, apparatus and electronic equipment, to solve There is technical issues that biggish information leakage in information exchanging process existing in the prior art.
In a first aspect, it is applied to mobile terminal the embodiment of the invention provides a kind of information trading method, including:
Obtain target information;
It generates information and encrypts code key;
Target information described in secret key pair is encrypted by the information to be encrypted, and cipher-text information is obtained;
Tissue is carried out to the cipher-text information, generates Transaction Information;
Send the Transaction Information.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute It states and generates information encryption code key, specifically include:
Exclusive or is carried out by fixed key data and the random key data equal with the fixed key data length Operation generates information encryption key.
With reference to first aspect, the embodiment of the invention provides second of possible embodiments of first aspect, wherein institute It states and is encrypted by target information described in information encryption secret key pair, obtain cipher-text information, specifically include:
Content in the target information is ranked up, ordered information is obtained;
Calculating is marked to the ordered information, generates the flag code of data integrity degree;
Complete information is obtained according to the ordered information and the flag code;
Complete information described in secret key pair is encrypted by the information to be encrypted, and cipher-text information is obtained.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein institute It states and tissue is carried out to the cipher-text information, generate Transaction Information, specifically include:
Code key is encrypted to the information by public key to encrypt, and obtains multi-enciphering code key;
Tissue is carried out to the cipher-text information and the multi-enciphering code key, generates Transaction Information.
Second aspect, the embodiment of the present invention also provide a kind of information trading method, are applied to information management end, including:
Receive the Transaction Information that mobile terminal is sent;
Transaction Information described in secret key pair is encrypted by the information of the Transaction Information to be decrypted, and obtains cleartext information;
The information in the information management end is updated according to the cleartext information, obtains information trading result.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute It states after receiving the Transaction Information that mobile terminal is sent, further includes:
The ciphertext key of the Transaction Information is decrypted, the information encryption code key of the Transaction Information is obtained.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein institute It states and the information in the information management end is updated according to the cleartext information, obtain information trading as a result, specifically including:
The data integrity degree of the cleartext information is verified by calculating, is verified result;
Judged according to the verification result, obtains first information transaction results;
According to the first information transaction results, the information in the cleartext information and the information management end is carried out pair Than obtaining comparing result;
Judged according to the comparing result, obtains the second information trading result;
According to second information trading as a result, being recorded to the cleartext information, and according to the comparing result pair Index information of the cleartext information in the information management end is updated, and obtains third information trading result.
The third aspect, the embodiment of the present invention also provide a kind of information trading device, are applied to mobile terminal, including:
Module is obtained, for obtaining target information;
Generation module, for generating information encryption code key;
Encrypting module is encrypted for encrypting target information described in secret key pair by the information, obtains cipher-text information;
Molded tissue block generates Transaction Information for carrying out tissue to the cipher-text information;
Sending module, for sending the Transaction Information.
Fourth aspect, the embodiment of the present invention also provide a kind of information trading device, are applied to information management end, including:
Receiving module, for receiving the Transaction Information of mobile terminal transmission;
Deciphering module encrypts Transaction Information described in secret key pair for the information by the Transaction Information and is decrypted, obtains To cleartext information;
Update module obtains letter for being updated according to the cleartext information to the information in the information management end Cease transaction results.
5th aspect, the embodiment of the present invention also provide a kind of electronic equipment, including memory, processor, the memory In be stored with the computer program that can be run on the processor, the processor is realized when executing the computer program The step of stating the method as described in first aspect or second aspect.
Technical solution provided in an embodiment of the present invention brings following beneficial effect:Information provided in an embodiment of the present invention is handed over In easy method, apparatus and electronic equipment, information trading method is applied to mobile terminal, and this method includes:Firstly, obtaining target letter Breath generates information and encrypts code key, then, encrypts secret key pair target information by information and carries out encrypting to obtain cipher-text information, Later, tissue is carried out to cipher-text information, generates Transaction Information, finally, Transaction Information is sent, by encrypting secret key pair using information Target information, which is encrypted, obtains cipher-text information, is improved the safety of the Transaction Information sent, realizes in network The a large amount of customer information of transmitting obtains encipherment protection by encrypting code key, can make information leakage of the information in transmittance process Risk is greatly lowered, to solve in information exchanging process existing in the prior art, there are biggish information leakages The technical issues of risk.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification and attached drawing Specifically noted structure is achieved and obtained.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 shows the flow chart of information trading method provided by the embodiment of the present invention one;
Fig. 2 shows the flow charts of information trading method provided by the embodiment of the present invention two;
Fig. 3 shows the flow chart of information trading method provided by the embodiment of the present invention three;
Fig. 4 shows the flow chart of information trading method provided by the embodiment of the present invention four;
Fig. 5 shows a kind of structural schematic diagram of information trading device provided by the embodiment of the present invention five;
Fig. 6 shows a kind of structural schematic diagram of information trading device provided by the embodiment of the present invention six;
Fig. 7 shows the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present invention seven.
Icon:1- information trading device;11- obtains module;12- generation module;13- encrypting module;14- molded tissue block; 15- sending module;2- information trading device;21- receiving module;22- deciphering module;23- update module;4- electronic equipment;41- Memory;42- processor;43- bus;44- communication interface.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, a large amount of customer information is transmitted in a network in the transmission of existing information, thus the mistake for transmitting information There are the risk of serious information leakage in journey, be based on this, a kind of information trading method, apparatus provided in an embodiment of the present invention with And electronic equipment, it can solve in information exchanging process existing in the prior art that there are the technologies of biggish information leakage risk Problem.
For convenient for understanding the present embodiment, first to a kind of information trading method disclosed in the embodiment of the present invention, Device and electronic equipment describe in detail.
Embodiment one:
A kind of information trading method provided in an embodiment of the present invention, or a kind of that center is gone based on mobile client The customer information of change modifies synchronization mechanism, is applied to mobile terminal, as shown in Figure 1, this method includes:
S11:Obtain target information.
In practical applications, user completes item of information modification in mobile terminal, and mobile terminal obtains information, that is, mesh of user's input Mark information.
S12:It generates information and encrypts code key.
S13:Secret key pair target information is encrypted by information to be encrypted, and cipher-text information is obtained.
S14:Tissue is carried out to cipher-text information, generates Transaction Information.
As the preferred embodiment of the present embodiment, after user clicks and submits information, mobile terminal is serviced to modified Information carries out tissue to generate update transaction content.
S15:Send Transaction Information.
In this step, transaction is initiated to decentralization system, that is, information management end in mobile terminal, sends letter for user information Cease management end.
Therefore, method provided in this embodiment can be the plaintext customer information submitted in mobile terminal by encryption It is transmitted to the process being updated in the system at decentralization information management end afterwards.
For the prior art, in the transmission of existing information, a large amount of customer information is transmitted in a network, to make There are the risks of serious information leakage during information is transmitted.
Cipher-text information is obtained by being encrypted using information encryption secret key pair target information, makes the Transaction Information sent Safety be improved, realize a large amount of customer information transmitted in network by encrypting code key and obtain encipherment protection, energy Enough it is greatly lowered information leakage risk of the information in transmittance process
Embodiment two:
A kind of information trading method provided in an embodiment of the present invention, or a kind of that center is gone based on mobile client The customer information of change modifies synchronization mechanism, is applied to mobile terminal, as shown in Fig. 2, including:
S21:Obtain target information.
S22:Exclusive or is carried out by fixed key data and the random key data equal with fixed key data length Operation generates information encryption key.
It should be noted that the information encryption key generated in this step is and fixed key data and random key number According to the information encryption key of equal length.
In practical applications, after user clicks submission information, mobile terminal service firstly generates information encryption code key, generates letter The process of encryption for information key is and to be randomly generated isometric with secret with the fixed key molecule using fixed key molecule Key molecule carries out XOR operation, obtains the information encryption key isometric with the fixed key molecule and the random key molecule.Its In, when random key molecule is randomly generated, the molecule of all previous generation is not identical.
S23:Content in target information is ranked up, ordered information is obtained.
As a preferred embodiment, mobile terminal service for user information is ranked up, participate in sequence user information item and Its sequence can be:Chinese Name, english name, nationality, type of credential, passport NO., existing domicile, contact address, WorkPhone, home phone number, mobile phone, Email, occupation, work unit's title, position, business address, information Registration unit, yearly wage income, every other income, business management state.Wherein, in mobile phone part, containing plus sige and Country origin.
S24:Calculating is marked to ordered information, generates the flag code of data integrity degree.
It is calculated further, carrying out integrality label to information after the completion of sequence, forms flag code.Wherein, flag code For media access control (Media Access Control or Medium Access Control, the abbreviation of 16 characters MAC) address code.Wherein, MAC Address may be physical address, hardware address, that is, be used to define the position of the network equipment.
S25:Complete information is obtained according to ordered information and flag code.
As the preferred embodiment of the present embodiment, flag code is placed on after user information as the composition portion for being encrypted information Point.
S26:Secret key pair complete information is encrypted by information to be encrypted, and cipher-text information is obtained.
Specifically, the mobile terminal service use information encryption sorted user information of secret key pair is encrypted, ciphertext is formed User information.
S27:Code key is encrypted to information by public key to encrypt, and obtains multi-enciphering code key.
As the another embodiment of the present embodiment, mobile terminal service adds information encryption code key using public key It is close.
S28:Tissue is carried out to cipher-text information and multi-enciphering code key, generates Transaction Information.
Preferably, encrypted multi-enciphering code key is carried out to information encryption code key using public key, with user's letter of encryption Breath is organized into Transaction Information together.
S29:Send Transaction Information.
In this step, Transaction Information is sent to information management end.
The existing customer information modification based on mobile terminal is synchronous mainly will be bright through network after modification is completed in mobile terminal Text passes to legacy system and is updated.Its defect includes:A large amount of plaintext customer information is transmitted in a network;Information transmitting There is the risk of serious information leakage in the process;Client lacks the sense of security using product.
In the present embodiment, in user information transmittance process, the clear logic of information processing, and reduce information leakage Risk, resource consumption is also reduced, to mitigate network pressure, to realize user security sense rising and user experience Effect promoting.
Embodiment three:
A kind of information trading method provided in an embodiment of the present invention is applied to information management end, as shown in figure 3, including:
S31:Receive the Transaction Information that mobile terminal is sent.
S32:Secret key pair Transaction Information is encrypted by the information of Transaction Information to be decrypted, and obtains cleartext information.
S33:The information in information management end is updated according to cleartext information, obtains information trading result.
As a preferred embodiment, the management node of the user information is by information in the information managements such as decentralization system end It is recorded and updates the index information of user information within the system.
Example IV:
A kind of information trading method provided in an embodiment of the present invention is applied to information management end, as shown in figure 4, including:
S41:Receive the Transaction Information that mobile terminal is sent.
S42:The ciphertext key of Transaction Information is decrypted, the information encryption code key of Transaction Information is obtained.
Further, the information management node of the user decrypts the code key of ciphertext after receiving transaction in decentralization system The information for obtaining plaintext encrypts code key.
S43:Secret key pair Transaction Information is encrypted by the information of Transaction Information to be decrypted, and obtains cleartext information.
Then, it is decrypted to obtain plaintext user information with the user information of the information of plaintext encryption secret key pair ciphertext.
S44:The data integrity degree of cleartext information is verified by calculating, is verified result.
As the another embodiment of the present embodiment, code key identical with mobile terminal and calculation method verifying plaintext are used The integrality of user information.
S45:Judged according to verification result, obtains first information transaction results.
If verification result is integrity verification failure, transaction terminates;If verification result passes through for integrity verification, It then trades continuation, continues step S46.
S46:Cleartext information and the information in information management end are compared, are obtained by transaction results according to the first information Comparing result.
Preferably, management node service will obtain plaintext Transaction Information and be compared with original subscriber's information in node, obtain Comparison result.
S47:Judged according to comparing result, obtains the second information trading result.
If comparison result is there is no difference, transaction terminates;If comparison result be have differences, transaction after It is continuous, continue step S48.
S48:According to the second information trading as a result, being recorded to cleartext information, and according to comparing result to cleartext information Index information in information management end is updated, and obtains third information trading result.
For example, the part of difference is recorded, and modification record is formed to difference section and is updated to decentralization system In, i.e., system does not retain any user information, and user information is only by management node management and storage.
Embodiment five:
A kind of information trading device provided in an embodiment of the present invention is applied to mobile terminal, as shown in figure 5, information trading fills Setting 1 includes:Obtain module 11, generation module 12, encrypting module 13, molded tissue block 14 and sending module 15.
It should be noted that obtaining module for obtaining target information.Generation module is for generating information encryption code key.Add Close module is used to encrypt secret key pair target information by information and be encrypted, and obtains cipher-text information.Molded tissue block is used for ciphertext Information carries out tissue, generates Transaction Information.Sending module is for sending Transaction Information.
Embodiment six:
A kind of information trading device provided in an embodiment of the present invention is applied to information management end, as shown in fig. 6, information is handed over Easy device 2 includes:Receiving module 21, deciphering module 22 and update module 23.
Wherein, receiving module is used to receive the Transaction Information of mobile terminal transmission.Deciphering module is used for through Transaction Information Information encryption secret key pair Transaction Information is decrypted, and obtains cleartext information.Update module is used for according to cleartext information to message tube Information in reason end is updated, and obtains information trading result.
Embodiment seven:
A kind of electronic equipment provided in an embodiment of the present invention, as shown in fig. 7, electronic equipment 4 includes memory 41, processor 42, the computer program that can be run on the processor is stored in the memory, the processor executes the calculating The step of method that above-described embodiment one, embodiment two, embodiment three or example IV provide is realized when machine program.
Referring to Fig. 7, electronic equipment further includes:Bus 43 and communication interface 44, processor 42, communication interface 44 and memory 41 are connected by bus 43;Processor 42 is for executing the executable module stored in memory 41, such as computer program.
Wherein, memory 41 may include high-speed random access memory (RAM, Random Access Memory), It may further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.By at least One communication interface 44 (can be wired or wireless) realizes the communication between the system network element and at least one other network element Connection, can be used internet, wide area network, local network, Metropolitan Area Network (MAN) etc..
Bus 43 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, data Bus, control bus etc..Only to be indicated with a four-headed arrow convenient for indicating, in Fig. 7, it is not intended that an only bus or A type of bus.
Wherein, memory 41 is for storing program, and the processor 42 executes the journey after receiving and executing instruction Sequence, method performed by the device that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can be applied to handle In device 42, or realized by processor 42.
Processor 42 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side Each step of method can be completed by the integrated logic circuit of the hardware in processor 42 or the instruction of software form.Above-mentioned Processor 42 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in the embodiment of the present invention Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing Device executes completion, or in decoding processor hardware and software module combination execute completion.Software module can be located at Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally In the storage medium of field maturation.The storage medium is located at memory 41, and processor 42 reads the information in memory 41, in conjunction with Its hardware completes the step of above method.
Embodiment eight:
It is provided in an embodiment of the present invention it is a kind of with processor can be performed non-volatile program code it is computer-readable Medium, said program code make the processor execute above-described embodiment one, embodiment two, embodiment three or example IV to mention The method of confession.
Unless specifically stated otherwise, the opposite step of the component and step that otherwise illustrate in these embodiments, digital table It is not limit the scope of the invention up to formula and numerical value.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustratively, without It is as limitation, therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, section or code of table, a part of the module, section or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually base Originally it is performed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that It is the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, can uses and execute rule The dedicated hardware based system of fixed function or movement is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
The computer-readable medium of the non-volatile program code provided in an embodiment of the present invention that can be performed with processor, With information trading method, apparatus provided by the above embodiment and electronic equipment technical characteristic having the same, so can also solve Certainly identical technical problem reaches identical technical effect.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ", " third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
The computer program product of information trading method is carried out provided by the embodiment of the present invention, including stores processor The computer readable storage medium of executable non-volatile program code, the instruction that said program code includes can be used for executing Previous methods method as described in the examples, specific implementation can be found in embodiment of the method, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some communication interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Finally it should be noted that:Embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that:Anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of information trading method is applied to mobile terminal, which is characterized in that including:
Obtain target information;
It generates information and encrypts code key;
Target information described in secret key pair is encrypted by the information to be encrypted, and cipher-text information is obtained;
Tissue is carried out to the cipher-text information, generates Transaction Information;
Send the Transaction Information.
2. information trading method according to claim 1, which is characterized in that the generation information encrypts code key, specific to wrap It includes:
XOR operation is carried out by fixed key data and the random key data equal with the fixed key data length, Generate information encryption key.
3. information trading method according to claim 1, which is characterized in that described to encrypt secret key pair institute by the information It states target information to be encrypted, obtains cipher-text information, specifically include:
Content in the target information is ranked up, ordered information is obtained;
Calculating is marked to the ordered information, generates the flag code of data integrity degree;
Complete information is obtained according to the ordered information and the flag code;
Complete information described in secret key pair is encrypted by the information to be encrypted, and cipher-text information is obtained.
4. information trading method according to claim 1, which is characterized in that it is described that tissue is carried out to the cipher-text information, Transaction Information is generated, is specifically included:
Code key is encrypted to the information by public key to encrypt, and obtains multi-enciphering code key;
Tissue is carried out to the cipher-text information and the multi-enciphering code key, generates Transaction Information.
5. a kind of information trading method is applied to information management end, which is characterized in that including:
Receive the Transaction Information that mobile terminal is sent;
Transaction Information described in secret key pair is encrypted by the information of the Transaction Information to be decrypted, and obtains cleartext information;
The information in the information management end is updated according to the cleartext information, obtains information trading result.
6. information trading method according to claim 5, which is characterized in that the Transaction Information for receiving mobile terminal and sending Later, further include:
The ciphertext key of the Transaction Information is decrypted, the information encryption code key of the Transaction Information is obtained.
7. information trading method according to claim 5, which is characterized in that it is described according to the cleartext information to the letter Information in breath management end is updated, and obtains information trading as a result, specifically including:
The data integrity degree of the cleartext information is verified by calculating, is verified result;
Judged according to the verification result, obtains first information transaction results;
According to the first information transaction results, the cleartext information and the information in the information management end are compared, Obtain comparing result;
Judged according to the comparing result, obtains the second information trading result;
According to second information trading as a result, being recorded to the cleartext information, and according to the comparing result to described Index information of the cleartext information in the information management end is updated, and obtains third information trading result.
8. a kind of information trading device is applied to mobile terminal, which is characterized in that including:
Module is obtained, for obtaining target information;
Generation module, for generating information encryption code key;
Encrypting module is encrypted for encrypting target information described in secret key pair by the information, obtains cipher-text information;
Molded tissue block generates Transaction Information for carrying out tissue to the cipher-text information;
Sending module, for sending the Transaction Information.
9. a kind of information trading device is applied to information management end, which is characterized in that including:
Receiving module, for receiving the Transaction Information of mobile terminal transmission;
Deciphering module encrypts Transaction Information described in secret key pair for the information by the Transaction Information and is decrypted, obtains bright Literary information;
Update module obtains information friendship for being updated according to the cleartext information to the information in the information management end Easy result.
10. a kind of electronic equipment, including memory, processor, it is stored with and can runs on the processor in the memory Computer program, which is characterized in that the processor realizes the claims 1 to 7 when executing the computer program The step of method described in one.
CN201810579816.2A 2018-06-06 2018-06-06 Information trading method, apparatus and electronic equipment Pending CN108880793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810579816.2A CN108880793A (en) 2018-06-06 2018-06-06 Information trading method, apparatus and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810579816.2A CN108880793A (en) 2018-06-06 2018-06-06 Information trading method, apparatus and electronic equipment

Publications (1)

Publication Number Publication Date
CN108880793A true CN108880793A (en) 2018-11-23

Family

ID=64337130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810579816.2A Pending CN108880793A (en) 2018-06-06 2018-06-06 Information trading method, apparatus and electronic equipment

Country Status (1)

Country Link
CN (1) CN108880793A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202754A (en) * 2020-09-25 2021-01-08 中国建设银行股份有限公司 Data encryption method and device, electronic equipment and storage medium
CN116074112A (en) * 2023-03-06 2023-05-05 国家海洋技术中心 Data transmission device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697372A (en) * 2004-05-13 2005-11-16 华为技术有限公司 Method for storing cipher key
CN101989984A (en) * 2010-08-24 2011-03-23 北京易恒信认证科技有限公司 Electronic document safe sharing system and method thereof
US20110116628A1 (en) * 1998-02-13 2011-05-19 Tecsec, Inc. Cryptographic key split binder for use with tagged data elements
US20120150749A1 (en) * 2008-05-12 2012-06-14 Apriva, Llc Method and system for securing pin entry on a mobile payment device utilizing a locked buffer
CN102831735A (en) * 2012-07-25 2012-12-19 北京数码视讯软件技术发展有限公司 On-air credit-for-load control device, control method and on-air credit-for-load system and user terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110116628A1 (en) * 1998-02-13 2011-05-19 Tecsec, Inc. Cryptographic key split binder for use with tagged data elements
CN1697372A (en) * 2004-05-13 2005-11-16 华为技术有限公司 Method for storing cipher key
US20120150749A1 (en) * 2008-05-12 2012-06-14 Apriva, Llc Method and system for securing pin entry on a mobile payment device utilizing a locked buffer
CN101989984A (en) * 2010-08-24 2011-03-23 北京易恒信认证科技有限公司 Electronic document safe sharing system and method thereof
CN102831735A (en) * 2012-07-25 2012-12-19 北京数码视讯软件技术发展有限公司 On-air credit-for-load control device, control method and on-air credit-for-load system and user terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李斌主编: "《Web 应用系统开发实践 Visual C# 》", 31 December 2010 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112202754A (en) * 2020-09-25 2021-01-08 中国建设银行股份有限公司 Data encryption method and device, electronic equipment and storage medium
CN112202754B (en) * 2020-09-25 2022-11-15 中国建设银行股份有限公司 Data encryption method and device, electronic equipment and storage medium
CN116074112A (en) * 2023-03-06 2023-05-05 国家海洋技术中心 Data transmission device and method

Similar Documents

Publication Publication Date Title
CN106850221B (en) Information encryption and decryption method and device
EP3742696A1 (en) Identity management method, equipment, communication network, and storage medium
CN100588142C (en) IC card and encrypted communication method between IC cards thereof
CN109922084B (en) Key management method and device and electronic equipment
CN109672539A (en) SM2 algorithm collaboration signature and decryption method, apparatus and system
CN104602238A (en) Wireless network connecting method, device and system
CN111835511A (en) Data security transmission method and device, computer equipment and storage medium
CN101379755B (en) Digital object title authentication
JP2007143133A (en) Virtual subscriber identification information system and communication method
CN105164968A (en) Method performed by at least one server for processing a data packet from a first computing device to a second computing device to permit end-to-end encryption communication
CN109314712A (en) It is routed based on encryption Partial Blind Signature and the multi-hop secure content for being embedded in clause
US20180091301A1 (en) Method and system for switching public keys in ciphertexts
CN110505066A (en) A kind of data transmission method, device, equipment and storage medium
CN104050431A (en) Self-signing method and self-signing device for RFID chips
US20080294905A1 (en) Secure approach to send data from one system to another
CN112039892B (en) Data sharing method and related device
CN101326755B (en) Digital object title and transmission information
JP2024512110A (en) Data transmission methods, devices, electronic devices and storage media
CN110048994A (en) A kind of communication means and device
CN108880793A (en) Information trading method, apparatus and electronic equipment
WO2008113617A1 (en) A method and system for a subscription to a derived symmetric key
US20210176057A1 (en) Renewal of one-time keys
CN108234466A (en) Information encryption communication method, device, computing device and storage medium
CN110266683A (en) Digital asset sharing method, device and electronic equipment
CN112929169B (en) Key negotiation method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123