CN108183906B - Time bank management method, server, terminal, storage medium and electronic device - Google Patents

Time bank management method, server, terminal, storage medium and electronic device Download PDF

Info

Publication number
CN108183906B
CN108183906B CN201711473152.3A CN201711473152A CN108183906B CN 108183906 B CN108183906 B CN 108183906B CN 201711473152 A CN201711473152 A CN 201711473152A CN 108183906 B CN108183906 B CN 108183906B
Authority
CN
China
Prior art keywords
server
time
user
identity information
node
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.)
Active
Application number
CN201711473152.3A
Other languages
Chinese (zh)
Other versions
CN108183906A (en
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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201711473152.3A priority Critical patent/CN108183906B/en
Publication of CN108183906A publication Critical patent/CN108183906A/en
Application granted granted Critical
Publication of CN108183906B publication Critical patent/CN108183906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services

Abstract

The invention provides a time bank management method, a server, a terminal, a storage medium and electronic equipment. The method comprises the following steps: the transfer server receives time change information sent by the terminal; the transfer server sends the user identity information to the N node servers so that the N node servers respectively judge whether the user identity information is in a preset safe user list, and if so, a confirmation instruction is sent to the transfer server; the transfer server judges whether the number M of the received confirmation instructions is greater than or equal to N/2; if so, screening out the first node server, and sending the time change information to the first node server, so that the first node server screens out the user time account according to the user identity information and the account index table, and changes the remaining time value in the time account. The invention ensures that the service time of the artificial employee in each institution system can be exchanged by other institutions, thereby realizing time banking in the true sense.

Description

Time bank management method, server, terminal, storage medium and electronic device
Technical Field
The invention relates to the field of financial systems, in particular to a time bank management method, a server, a terminal, a storage medium and electronic equipment.
Background
Time banking, which means that time providers can deposit time participating in transactions and services into the time banking and draw "served time" from the time banking when they encounter difficulties. The purpose is to exchange paid time for others' help, and the bank is a time circulation bridge. The customers who voluntarily add the time bank take out the own time and exchange services with other members when needed, thereby not only solving the difficulty of one time, but also realizing the communication feeling, and overcoming the defect that people do not come and go each other in the modern society.
At present, time banks are popularized in many national and foreign countries, but the time banks in a small area are established by taking respective organizations as cores. The volunteer service time is recorded only by a corresponding volunteer management system, such as 'Shanghai time Bank', 'volunteer remittance', etc., and ranking is performed after recording the volunteer service time, and prizes are graded and exchanged according to the accumulated service time length. In addition, for time transaction, two modes of managed transaction and aggregated transaction are mainly adopted at present. The so-called managed transaction is that each business organization stores the generated data in a central database, the central data is used as an external unified entry of the data and is responsible for the transaction process of the data, and the organizations do not directly interact with each other. After the data organization hosts the data, the data is completely owned by the data center, the subsequent application of the data is independent of the organization, such as the number of transactions, the objects of the transactions and the like, and the rights and interests are completely dependent on the integrity of the center. The data aggregation mode is that data service mechanisms are linked through data interfaces, the service mechanisms do not need to report data to a center in advance, and the data are managed by the mechanisms. When a certain main body needs to inquire data, the main body interacts with the data mechanism in real time through the center, and mechanism response information with data is uniformly returned to the inquiry mechanism by the data center.
However, the service time of the compulsory in each institution system cannot be exchanged in other institutions, so that the current time bank is basically ' real name deposit ' and death '. In addition, the two time transaction modes need to establish a data center, so that the safety is low, the operation cost is high, and the time transaction mode is not suitable for time banks which are biased to public welfare.
Disclosure of Invention
The invention provides a time bank management method, a server, a terminal, a storage medium and electronic equipment, so that the service time of an obligator in each institution system can be exchanged by other institutions, and the time bank in the true sense is realized.
In a first aspect, the present invention provides a time bank management method, which is applied to a time bank management system, where the management system includes: the system comprises at least one transfer server, N node servers and at least one terminal, wherein N is an integer greater than or equal to 2, and the transfer server is in bidirectional communication connection with the node servers and the terminal respectively; the management method comprises the following steps:
the transit server receives time change information sent by the terminal, wherein the time change information comprises the user identity information submitted by a user and a first time value changed by the user;
the transfer server sends the user identity information to N node servers so that the N node servers respectively judge whether the user identity information is in a preset safe user list, and if the judgment result is yes, the node servers send a confirmation instruction to the transfer server;
the transfer server judges whether the number M of the received confirmation instructions is greater than or equal to N/2;
if the judgment result is yes, the transfer server screens out a first node server according to the user identity information and the identity information index table, and sends the time change information to the first node server, so that the first node server screens out the user time account according to the user identity information and the account index table, and changes the residual time value in the time account according to the first time value.
In one possible design, before the transit server receives the time change information sent by the terminal, the management method further includes:
the transit server receives the digital certificate sent by the terminal;
and the transit server judges whether the digital certificate is a legal digital certificate or not, and the judgment result is yes.
In one possible design, before the transit server receives the time change information sent by the terminal, the management method further includes:
the transit server receives the digital letter of credit sent by the node server;
the transfer server judges whether the digital credit card is a legal digital credit card or not;
if the judgment result is yes, a user data interaction channel is opened between the transit server and the node server, and the user data comprises the time change information and the confirmation instruction.
In a second aspect, the present invention provides a time bank management method, which is applied to a time bank management system, and the management system includes: the system comprises at least one transfer server, N node servers and at least one terminal, wherein N is an integer greater than or equal to 2, and the transfer server is in bidirectional communication connection with the node servers and the terminal respectively; the management method comprises the following steps:
the terminal acquires time change information submitted by a user, wherein the time change information comprises the user identity information and a first time value changed by the user;
the terminal sends the time change information to the transit server so that the transit server sends the user identity information to N node servers, the N node servers respectively judge whether the user identity information is in a preset safe user list, if the judgment result is yes, the node servers send confirmation instructions to the transit server so that the transit server judges whether the number M of the received confirmation instructions is larger than or equal to N/2, if the judgment result is yes, the transit server screens out a first node server according to the user identity information and an identity information index table, the time deposit information is sent to the first node server so that the first node server screens out the user time account according to the user identity information and an account index table, and changing the residual time value in the time account according to the first time value.
In a third aspect, the present invention provides a time bank management method, which is applied to a time bank management system, where the management system includes: the system comprises at least one transfer server, N node servers and at least one terminal, wherein N is an integer greater than or equal to 2, and the transfer server is in bidirectional communication connection with the node servers and the terminal respectively; the management method comprises the following steps:
the node server receives user identity information sent by the transit server, wherein the transit server receives time change information sent by the terminal, and the time change information comprises the user identity information submitted by a user and a first time value of user change;
the N node servers respectively judge whether the user identity information is in a preset safe user list or not;
if the judgment result is yes, the node server sends a confirmation instruction to the transit server so that the transit server judges whether the number M of the received confirmation instructions is greater than or equal to N/2; if the judgment result is yes, the transfer server screens out a first node server according to the user identity information and an identity information index table, and sends the time change information to the first node server;
the first node server screens the user time account according to the user identity information and an account index table;
and the first node server changes the remaining time value in the time account according to the first time value.
In a fourth aspect, the present invention provides a transit server, including:
the receiving module is used for receiving time change information sent by a terminal, wherein the time change information comprises the user identity information submitted by a user and a first time value changed by the user;
the sending module is used for sending the user identity information to N node servers so that the N node servers respectively judge whether the user identity information is in a preset safe user list, and if the judgment result is yes, the node servers send a confirmation instruction to the transit server;
the judging module is used for judging whether the number M of the received confirmation instructions is greater than or equal to N/2;
and the screening module is used for screening out a first node server according to the user identity information and the identity information index table by the transfer server when the number M of the confirmation instructions is greater than or equal to N/2, sending the time change information to the first node server so that the first node server screens out the user time account according to the user identity information and the account index table, and changing the residual time value in the time account according to the first time value.
In one possible design, the receiving module is further configured to receive a digital certificate sent by the terminal;
the judging module is also used for judging whether the digital certificate is a legal digital certificate.
In one possible design, the receiving module is further configured to receive a digital letter of credit sent by the node server;
the judging module is also used for judging whether the digital credit card is a legal digital credit card or not;
and the starting module is used for starting a user data interaction channel between the transit server and the node server when the digital credit is legal, wherein the user data comprises the time change information and the confirmation instruction.
In a fifth aspect, the present invention provides a terminal, comprising:
the acquisition module is used for acquiring time change information submitted by a user, wherein the time change information comprises the user identity information and a first time value changed by the user;
a sending module, configured to send the time change information to the transit server, so that the transit server sends the user identity information to N node servers, so that the N node servers respectively determine whether the user identity information is in a preset safe user list, if the determination result is yes, the node servers send a confirmation instruction to the transit server, so that the transit server determines whether the number M of the received confirmation instructions is greater than or equal to N/2, if the determination result is yes, the transit server screens out a first node server according to the user identity information and an identity information index table, and sends the time deposit information to the first node server, so that the first node server screens out the user time account according to the user identity information and an account index table, and changing the residual time value in the time account according to the first time value.
In a sixth aspect, the present invention provides a node server, including:
a receiving module, configured to receive user identity information sent by the transit server, where the transit server receives time change information sent by the terminal, and the time change information includes the user identity information submitted by a user and a first time value of the user change;
the judging module is used for judging whether the user identity information is in a preset safe user list or not;
a sending module, configured to send a confirmation instruction to the transit server when the user identity information is in a preset secure user list, so that the transit server determines whether the number M of the received confirmation instructions is greater than or equal to N/2; if the judgment result is yes, the transfer server screens out a first node server according to the user identity information and an identity information index table, and sends the time change information to the first node server;
the screening module is used for screening the user time account according to the user identity information and the account index table;
and the changing module is used for changing the residual time value in the time account according to the first time value.
In a seventh aspect, the present invention provides a time bank management system, including the transit server in the fourth aspect, the terminal in the fifth aspect, and the node server in the sixth aspect.
In an eighth aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the time banking management method of any one of claims 1 to 3.
In a ninth aspect, the present invention further provides an electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the temporal banking management method of any one of claims 1-3 via execution of the executable instructions.
The invention provides a time bank management method, which is characterized in that a terminal sends acquired user time change information to a transfer server, then the transfer server sends the user identity information in the time change information to all node servers, so that each node server judges the user identity information, if the node servers are safe users, the node servers return confirmation instructions to the transfer server, and only after the transfer server receives the confirmation instructions of more than half of the node servers to the user identity information, the transfer server sends the time change information to a first node server corresponding to the user identity information, so that the first node server changes the residual time value in a time account according to the first time value in the time change information. In addition, the transit station servers index each node server, so that the service time of the labor force in each mechanism system can be exchanged by other mechanisms, and time banking in the true sense is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is an application scenario diagram of a time bank management method provided by the present invention;
fig. 2 is a schematic flow chart of a time bank management method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a time bank management method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a transit server according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a node server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The physical examination data management method of the embodiment is applied to a time bank management system. Fig. 1 is an application scenario diagram of the time bank management method provided by the present invention. As shown in fig. 1, the management system includes: the system comprises at least one transfer server 1, N node servers 2 and at least one terminal 3, wherein N is an integer greater than or equal to 2, and the transfer server 1 is in bidirectional communication connection with the node servers 2 and the terminal 3 respectively. The time bank management system is built, and then the block chain technology is adopted to realize the management of the time bank, wherein the block chain is a decentralized, distrust-removing, collective maintenance and reliable database circle distributed database technology. Can be understood as a complete, non-tamper-able, multi-party participation and supervised logging approach.
Fig. 2 is a flowchart illustrating a time bank management method according to an embodiment of the present invention. As shown in fig. 2, the time bank management method provided in this embodiment includes:
s101, the terminal obtains time change information submitted by a user.
Specifically, a terminal acquires time change information submitted by a user, wherein the terminal can be an electronic device with data processing and displaying functions such as a smart phone, a tablet computer and a personal computer, and the object of the terminal can be a qualified person, a qualified service organization and a qualified requirement organization. The user inputs the time change information in the terminal, including the user identity information submitted by the user and the first time value of the user change, and the first time value can be a stored time value or an extracted time value.
In a specific implementation process, a terminal can be provided with related applications of the artificial labor platform, and both an organization and an individual can issue artificial labor tasks on the artificial labor platform, for example, a rest home can issue artificial labor tasks similar to '2017.12.25 rest home Christmas consolation performance, 3 hours', and a user can acquire corresponding artificial labor activity information through the terminal. The corresponding activities can be registered by the contractor according to the time arrangement of the contractor, and the registration information can be recorded by the contractor platform. Before the activity starts, the user performs activity check-in through the artificial work platform, and the artificial work platform records check-in information. After the end of the event, the prosthetics platform will send confirmation to the organization that the user did participate in the event, such as "Zhang III" whether she participated in a retirement Homing Christmas consolation show at 2017.12.25. The nursing home may confirm or deny the user based on whether the user actually attended the event. After the organization confirms that the user did participate in the event, the prosthetics platform prompts the user to obtain the corresponding time value, to store in a time bank, for example, "Zhang three," to store in a time bank 3 hours of a consortium quiz show where 2017.12.25 participated. After the user selects to store, the terminal acquires the time change information submitted by the user, namely, the time value to be stored, for example, "zhang san" for 3 hours.
When the user needs to use the time in the time bank, extraction or transaction can be carried out, for example, when the user is old and ill and cannot get out of bed, the user can issue a labor-obligating task through a labor platform, for example, "2017.12.30 wards accompany, 8 hours", then when the task is issued, the terminal obtains the time change information submitted by the user, namely the extraction time value, for example, "zhang san, extract for 8 hours", and the time is transferred to the time account of the user who completes the task when the user confirms that other users have completed the task.
S102, the terminal sends the time change information to the transit server.
After the terminal acquires the time change information submitted by the user, the terminal further sends the time change information to the transit server. Optionally, the sending process is encrypted, where specifically, the encryption manner may be a header block encryption key, and a TLS tunneling technique of HTTPS is enabled, so as to guarantee link security of the user. Specifically, the encryption method mainly includes:
firstly, a message header encryption key block is generated by an autonomous authentication authorization method and is combined with a message body, so that a message is sent to the next link. Secondly, through HTTPS protocol processing of the autonomous authentication voucher, before the link is established, dynamic link vectors of a message identity system are used, and sequence checking is carried out to carry out message identity authentication and link authentication. And then checking whether the authentication vector comes from authorized transaction at the initial stage, checking whether a transaction identity system is legal transaction in the same thing, reporting an error if the authentication vector does not come from the authorized transaction, establishing normal session and data interaction if the authentication vector comes from the authorized transaction, performing next-step block cipher calculation by the system, generating a next-step self-authentication key, and establishing the next-step transaction.
It should be noted that, in the embodiment, the encryption method of the time change information transmission process is not specifically limited, and only the security of the time change information transmission process needs to be ensured.
S103, the transit server receives the time change information.
The transfer server receives the time change information sent by the terminal and extracts the user identity information and the first time value of the user change from the time change information. Optionally, if a corresponding encryption algorithm is used in the process of sending the time change information by the terminal, after the transit server receives the time change information, the transit server needs to decrypt the time change information by using the corresponding algorithm.
S104, the transfer server sends the user identity information to the node server.
Specifically, the transit server is connected to N node servers, which may be data storage servers distributed in different areas, where the server stores corresponding account information. The transit server is mainly used for building a basic communication framework, and realizing connection and communication hiding between a terminal and a node server, user authentication and node server access management, so that index records and transaction records of data are realized, data specifications and transaction rules are formulated to maintain transaction order, and a transaction party can perform traceability maintenance of data.
S105, the node server receives the user identity information.
The N node servers respectively receive the user identity information sent by the transit server, wherein the number of the accessed node servers is increased along with the growth of the system.
S106, judging whether the user identity information is in a preset safe user list, and if so, executing a step 107.
After receiving the user identity information sent by the transit server, the N node servers respectively judge whether the user identity information is in a preset safe user list, if so, the N node servers authenticate the user as a credible user and send a confirmation instruction to the transit server. And if the node server judges that the user identity information is not in the preset safe user list, the user is authenticated as an untrusted user, and the next process is refused to be entered.
S107, the node server sends a confirmation instruction to the transit server.
And if the node server judges that the user identity information is in a preset safe user list, the node server authenticates the user as a credible user and sends a confirmation instruction to the transit server.
S108, the transfer server judges whether the number M of the received confirmation instructions is larger than or equal to N/2, if yes, step 109 is executed.
Then the transit server counts the confirmation information returned by the N node servers, and after the statistics, judges whether the number M of the received confirmation instructions is larger than or equal to N/2. For example, 50 node servers access the transit server, and if confirmation information returned by 26 node servers is received last, it may be determined that the time of the user is changed to a trusted operation; if the confirmation information returned by the 22 node servers is received finally, the time change behavior of the user can be judged to be an unreliable operation.
S109, the transfer server screens out the first node server according to the user identity information and the identity information index table.
And after the transit server judges the time change behavior of the user as a trusted operation, screening out a first node server according to the identity information of the user and an identity information index table preset in the transit server, wherein the time bank account of the user is stored in the first node server. By using the mode that the transit server indexes the user account, the data of different organizations can be independently stored in the node servers of the organizations without data transfer. In addition, compared with the mode of setting up a central data server in the prior art, the transit server in the embodiment does not store data, and each node server only stores part of data related to the transit server, so that distributed data storage can be realized, and the security of data storage is greatly improved. Once a central data server in the prior art is attacked by external invasion, all leakage of data and data tampering are likely to be caused, and the consequences are unreasonable; however, in the management method provided in this embodiment, an intruder can only intrude into each node server, but all the alteration operations need to be confirmed by obtaining more than half of all the node servers to complete the alteration, and the intruder has difficulty in intruding into more than half of the node servers at the same time, thereby greatly improving the security of time banking management. Even if an intruder finally intrudes one node server through the security authentication, the node server only stores partial data, and the data of other node servers is not leaked.
S110, the transit server sends the time change information to the node server.
After the transit server screens out a first node server corresponding to the user information for time change, the transit server sends the time change information to the first node server. For example, zhang san is a significant worker of the beijing volunteer center, the data of zhang san is stored in the node server of the beijing volunteer center, and if zhang san needs to change the time in the time account of the time bank, for example, the time in the account is stored or extracted, the transfer server will send the time change information of zhang san to the first server corresponding to the beijing volunteer center.
And S111, screening out a user time account by the node server according to the user identity information and the account index table.
After the first node server receives the time change information, the first node server screens out the time account of the user according to the user identity information and the account index table. The user identity information may be a combination of a user name and an identification number, or a combination of a user name and a time bank account name, for example, zhang san, 10102519860125XXXX, or zhang san, 62223568 XXX. Optionally, in order to further improve security in time bank management, when a user opens an account for a time, a real-name system is required to register real identity card information and contact information of the user.
And S112, the node server changes the residual time value in the time account according to the first time value.
And after screening out the time account corresponding to the user, the first node server changes the residual time value in the time account according to the first time value. For example, if the remaining time value in the time bank account of zhang san is 321 hours, and zhang san is stored for 5 hours, the first node server will increase the time for 5 hours on the basis of the original 321 hours, so that the new remaining time value in the time bank account of zhang san is changed to 326 hours; if the time of zhang san is extracted by 5 hours, the first node server is reduced by 5 hours on the basis of the original 321 hours, so that the new remaining time value in the zhang san bank account is changed to 316 hours. Optionally, if the time bank account of the user is authenticated by a real-name system and the contact information of the user is bound, the user is notified in time after the remaining time value in the time account is changed, which may be a short message notification, a WeChat notification, a Paibao notification, or a notification applied by an Itanium platform.
In this embodiment, the user time change information obtained by the terminal is sent to the transit server through the terminal, and then the transit server is used to send the user identity information in the time change information to all the node servers, so that each node server judges the user identity information, if the user is a safe user, the node server returns a confirmation instruction to the transit server, and only after the transit server receives the confirmation instruction of more than half of the node servers to the user identity information, the transit server sends the time change information to the first node server corresponding to the user identity information, so that the first node server changes the remaining time value in the time account according to the first time value in the time change information. In addition, the transit station servers index each node server, so that the service time of the labor force in each mechanism system can be exchanged by other mechanisms, and time banking in the true sense is realized.
Fig. 3 is a schematic flow chart of a time bank management method according to another embodiment of the present invention, and as shown in fig. 3, the time bank management method according to this embodiment includes:
s201, the terminal sends the digital certificate to the transit server.
In order to further improve the security of the user for changing the time value remained in the time account through the terminal, each user can be provided with a digital certificate when the time account is opened, and the digital certificate can be an electronic certificate, a password card or a scrambler. When a user logs in a time bank on a terminal, the user needs to input a time bank account number or a user identity card number, input a password and provide a digital certificate, and the terminal sends the digital certificate to a transit server for auditing.
S202, the transit server receives the digital certificate.
And after receiving the digital certificate, the transit server verifies the validity of the digital certificate.
S203, the transit server judges whether the digital certificate is a legal digital certificate, if so, S204 is executed.
The transit server judges whether the digital certificate is a legal digital certificate or not, the judgment process can be that the digital certificate is legal by comparing the identification code in the digital certificate with the identification code preset in the transit server, and if the identification code in the digital certificate is the same as the identification code in the transit server, the digital certificate is judged to be legal. It should be noted that, in this embodiment, the validity authentication of the digital certificate is not specifically limited, and only the validity of the digital certificate needs to be reliably verified.
Optionally, in order to consider that the loss of the digital certificate of the user may cause other people to log in the time account of the user, the transit server continues to obtain the identity information of the owner of the digital certificate after judging that the digital certificate is legal, and compares the identity information of the owner with the owner of the current terminal, where the owner of the terminal may register the serial number of the terminal when the user opens an account, and if the identity information of the owner is consistent with the identity information of the owner of the terminal, the terminal is judged to be a trusted terminal.
And S204, the node server sends the digital letter of credit to the transit server.
The number of node servers of the organization accessed by the bank is increased along with the time, and the security of the servers is improved. The time banking system may configure a digital letter of credit for the new node server before it accesses the time bank. Before the node server accesses the time bank management system each time, the digital letter of credit corresponding to the node server is sent to the transit server.
And S205, the transit server receives the digital letter of credit.
S206, the transfer server judges whether the digital credit card is legal, if yes, S207 is executed
The transit server judges whether the digital credit card is a legal digital credit card, the judgment process can be that the digital credit card is legal by comparing the identification code in the digital credit card with the identification code preset in the transit server, and if the identification code in the digital credit card is the legal digital credit card, the transit server judges that the digital credit card is legal. It should be noted that, in this embodiment, the validity authentication of the digital letter of credit is not specifically limited, but only that the validity of the digital letter of credit can be reliably verified.
Optionally, in order to consider that the digital credit card of the organization is lost and may cause insecurity of the node server, the transit server continues to acquire the identity information of the owner of the digital credit card after judging that the digital credit card is legal, compares the identity information of the owner with the owner of the current node server, wherein the owner of the node server may register when accessing the system, and judges that the node server is a trusted terminal if the identity information of the owner is consistent with the identity information of the owner of the node server.
S207, the transit server starts a user data interaction channel between the transit server and the node server.
And if the transit server judges that the node server is a credible server, opening a user data interaction channel between the transit server and the node server. Wherein the user data includes time change information and a confirmation instruction.
And S208, the terminal acquires the time change information submitted by the user.
And S209, the terminal sends the time change information to the transit server.
S210, the transit server receives the time change information.
S211, the transfer server sends the user identity information to the node server.
S212, the node server receives the user identity information.
S213, determining whether the user identity information is in a preset secure user list, if yes, executing step 214.
S214, the node server sends a confirmation instruction to the transit server.
S215, the transit server determines whether the number M of the received confirmation instructions is greater than or equal to N/2, if yes, step 216 is executed.
S216, the transfer server screens out the first node server according to the user identity information and the identity information index table.
S217, the transit server sends the time change information to the node server.
S218, the node server screens out the user time account according to the user identity information and the account index table.
And S219, the node server changes the residual time value in the time account according to the first time value.
The specific implementation manner of steps 208 and 219 is described with reference to steps 101 and 112 in the embodiment shown in fig. 2, and will not be described herein again.
Fig. 4 is a schematic structural diagram of a transit server according to an embodiment of the present invention. As shown in fig. 4, the transit server provided in this embodiment includes:
a receiving module 301, configured to receive time change information sent by a terminal, where the time change information includes the user identity information submitted by a user and a first time value of the user change;
a sending module 302, configured to send the user identity information to N node servers, so that the N node servers respectively determine whether the user identity information is in a preset safe user list, and if the determination result is yes, the node servers send a confirmation instruction to the transit server;
a judging module 303, configured to judge whether the number M of the received acknowledgement instructions is greater than or equal to N/2;
the screening module 304 is configured to, when the number M of the confirmation instructions is greater than or equal to N/2, screen out, by the transit server, a first node server according to the user identity information and the identity information index table, send the time change information to the first node server, so that the first node server screens out the user time account according to the user identity information and the account index table, and change the remaining time value in the time account according to the first time value.
In one possible design, the receiving module 301 is further configured to receive a digital certificate sent by the terminal;
the determining module 303 is further configured to determine whether the digital certificate is a legal digital certificate.
In one possible design, the receiving module is further configured to receive a digital letter of credit sent by the node server;
the judging module 303 is further configured to judge whether the digital letter of credit is a legal digital letter of credit;
the transit server further includes: and the starting module is used for starting a user data interaction channel between the transit server and the node server when the digital credit is legal, wherein the user data comprises the time change information and the confirmation instruction.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in fig. 5, the terminal provided in this embodiment includes:
an obtaining module 401, configured to obtain time change information submitted by a user, where the time change information includes the user identity information and a first time value of the user change;
a sending module 402, configured to send the time change information to the transit server, so that the transit server sends the user identity information to N node servers, so that the N node servers respectively determine whether the user identity information is in a preset safe user list, if the determination result is yes, the node servers send a confirmation instruction to the transit server, so that the transit server determines whether the number M of the received confirmation instructions is greater than or equal to N/2, if the determination result is yes, the transit server screens out a first node server according to the user identity information and an identity information index table, and sends the time deposit information to the first node server, so that the first node server screens out the user time account according to the user identity information and an account index table, and changing the residual time value in the time account according to the first time value.
Fig. 6 is a schematic structural diagram of a node server according to an embodiment of the present invention. As shown in fig. 6, the node server provided in this embodiment includes:
a receiving module 501, configured to receive user identity information sent by the transit server, where the transit server receives time change information sent by the terminal, and the time change information includes the user identity information submitted by a user and a first time value of the user change;
a judging module 502, configured to judge whether the user identity information is in a preset secure user list;
a sending module 503, configured to send a confirmation instruction to the transit server when the user identity information is in a preset secure user list, so that the transit server determines whether the number M of the received confirmation instructions is greater than or equal to N/2; if the judgment result is yes, the transfer server screens out a first node server according to the user identity information and an identity information index table, and sends the time change information to the first node server;
a screening module 504, configured to screen out the user time account according to the user identity information and an account index table;
and a changing module 505, configured to change a remaining time value in the time account according to the first time value.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 7, the electronic device provided in this embodiment includes:
a processor 61; and
a memory 62 for storing executable instructions of the processor;
the processor is configured to execute the technical solution of any one of the foregoing method embodiments by executing the executable instructions, and the implementation principle and technical effect thereof are similar, and are not described herein again.
The functions of the modules in the above-described apparatus may be implemented by the processor 41.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media capable of storing program codes, such as ROM, RAM, SRAM, DRAM, FLASH, magnetic disk, or optical disk.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. A time bank management method is characterized by being applied to a time bank management system, and the management system comprises the following steps: the system comprises at least one transfer server, N node servers and at least one terminal, wherein N is an integer greater than or equal to 2, and the transfer server is in bidirectional communication connection with the node servers and the terminal respectively; the management method comprises the following steps:
the transfer server receives time change information sent by the terminal, wherein the time change information comprises user identity information submitted by a user and a first time value of user change, and extracts the user identity information and the first time value of the user change;
the transfer server sends the user identity information to N node servers so that the N node servers respectively judge whether the user identity information is in a preset safe user list, and if the judgment result is yes, the node servers send a confirmation instruction to the transfer server;
the transfer server judges whether the number M of the received confirmation instructions is greater than or equal to N/2;
if the judgment result is yes, the transfer server screens out a first node server according to the user identity information and the identity information index table, and sends the time change information to the first node server, so that the first node server screens out the user time account according to the user identity information and the account index table, and changes the residual time value in the time account according to the first time value.
2. The method according to claim 1, wherein before the transit server receives the time change information transmitted by the terminal, the management method further comprises:
the transit server receives the digital certificate sent by the terminal;
the transit server judges whether the digital certificate is a legal digital certificate or not, and if the judgment result is yes, the transit server receives the digital credit certificate sent by the node server;
the transfer server judges whether the digital credit card is a legal digital credit card or not;
if the judgment result is yes, a user data interaction channel between the transit server and the node server is opened, and the user data comprises the time change information and the confirmation instruction.
3. A time bank management method is characterized by being applied to a time bank management system, and the management system comprises the following steps: the system comprises at least one transfer server, N node servers and at least one terminal, wherein N is an integer greater than or equal to 2, and the transfer server is in bidirectional communication connection with the node servers and the terminal respectively; the management method comprises the following steps:
the terminal acquires time change information submitted by a user, wherein the time change information comprises the user identity information and a first time value changed by the user;
the terminal sends the time change information to the transit server so that the transit server sends the user identity information to N node servers, the N node servers respectively judge whether the user identity information is in a preset safe user list, if the judgment result is yes, the node servers send confirmation instructions to the transit server so that the transit server judges whether the number M of the received confirmation instructions is larger than or equal to N/2, if the judgment result is yes, the transit server screens out a first node server according to the user identity information and an identity information index table, the time deposit information is sent to the first node server so that the first node server screens out the user time account according to the user identity information and an account index table, and changing the residual time value in the time account according to the first time value.
4. A time bank management method is characterized by being applied to a time bank management system, and the management system comprises the following steps: the system comprises at least one transfer server, N node servers and at least one terminal, wherein N is an integer greater than or equal to 2, and the transfer server is in bidirectional communication connection with the node servers and the terminal respectively; the management method comprises the following steps:
the node server receives user identity information sent by the transfer server, wherein the transfer server receives time change information sent by the terminal, the time change information comprises the user identity information submitted by a user and a first time value of user change, and the user identity information and the first time value of the user change are extracted;
the N node servers respectively judge whether the user identity information is in a preset safe user list or not;
if the judgment result is yes, the node server sends a confirmation instruction to the transit server so that the transit server judges whether the number M of the received confirmation instructions is greater than or equal to N/2; if the judgment result is yes, the transfer server screens out a first node server according to the user identity information and an identity information index table, and sends the time change information to the first node server;
the first node server screens the user time account according to the user identity information and an account index table;
and the first node server changes the remaining time value in the time account according to the first time value.
5. A transit server, comprising:
the receiving module is used for receiving time change information sent by a terminal, wherein the time change information comprises user identity information submitted by a user and a first time value of user change, and extracting the user identity information and the first time value of the user change;
the sending module is used for sending the user identity information to N node servers so that the N node servers respectively judge whether the user identity information is in a preset safe user list, and if the judgment result is yes, the node servers send a confirmation instruction to the transit server;
the judging module is used for judging whether the number M of the received confirmation instructions is greater than or equal to N/2;
and the screening module is used for screening out a first node server according to the user identity information and the identity information index table by the transfer server when the number M of the confirmation instructions is greater than or equal to N/2, sending the time change information to the first node server so that the first node server screens out the user time account according to the user identity information and the account index table, and changing the residual time value in the time account according to the first time value.
6. A terminal, comprising:
the acquisition module is used for acquiring time change information submitted by a user, wherein the time change information comprises the user identity information and a first time value changed by the user;
a sending module, configured to send the time change information to a transit server, so that the transit server sends the user identity information to N node servers, so that the N node servers respectively determine whether the user identity information is in a preset safe user list, if the determination result is yes, the node servers send a confirmation instruction to the transit server, so that the transit server determines whether the number M of the received confirmation instructions is greater than or equal to N/2, if the determination result is yes, the transit server screens out a first node server according to the user identity information and an identity information index table, and sends the time deposit information to the first node server, so that the first node server screens out the user time account according to the user identity information and an account index table, and changing the residual time value in the time account according to the first time value.
7. A node server, comprising:
the system comprises a receiving module, a forwarding server and a processing module, wherein the receiving module is used for receiving user identity information sent by the forwarding server, the forwarding server receives time change information sent by a terminal, the time change information comprises the user identity information submitted by a user and a first time value of user change, and the user identity information and the first time value of the user change are extracted;
the judging module is used for judging whether the user identity information is in a preset safe user list or not;
a sending module, configured to send a confirmation instruction to the transit server when the user identity information is in a preset secure user list, so that the transit server determines whether the number M of the received confirmation instructions is greater than or equal to N/2; if the judgment result is yes, the transfer server screens out a first node server according to the user identity information and an identity information index table, and sends the time change information to the first node server; and screening the user time account by the first node server according to the user identity information and an account index table, and changing the residual time value in the time account according to the first time value.
8. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the time banking management method of any one of claims 1 to 3.
9. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the temporal banking management method of any one of claims 1-3 via execution of the executable instructions.
CN201711473152.3A 2017-12-29 2017-12-29 Time bank management method, server, terminal, storage medium and electronic device Active CN108183906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711473152.3A CN108183906B (en) 2017-12-29 2017-12-29 Time bank management method, server, terminal, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711473152.3A CN108183906B (en) 2017-12-29 2017-12-29 Time bank management method, server, terminal, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN108183906A CN108183906A (en) 2018-06-19
CN108183906B true CN108183906B (en) 2021-03-16

Family

ID=62549050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711473152.3A Active CN108183906B (en) 2017-12-29 2017-12-29 Time bank management method, server, terminal, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN108183906B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255585A (en) * 2018-08-22 2019-01-22 泰康保险集团股份有限公司 Time management method, device, medium and electronic equipment based on block chain
CN111354431A (en) * 2018-12-21 2020-06-30 袁梓涵 Processing system and method for applying block chain to long-term care

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452785A (en) * 2016-09-29 2017-02-22 财付通支付科技有限公司 Block chain network, branch node and block chain network application method
AU2017101206A4 (en) * 2017-09-04 2017-10-05 McAlister, Gary MR New Blockchain Foreign Exchange Innovation Patent international funds transfers settled locally/nationally by our blockchain sender and receiver in but not limited to both countries matching algorithm and POS proof of stake secondary mining process.for entities such as but not limited to Governments, treasuries, central banks, banks, financial institutions, monetary funds, judicial entities, real estates, properties commercial, industrial, domestic, foreign, stock, bond, share and IT software markets, insurance captive Islamic banking sharia compliant blockchain foreign exchange innovation.
CN107330720A (en) * 2017-06-12 2017-11-07 中国联合网络通信集团有限公司 Integration processing method and system based on block chain

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102291431A (en) * 2011-07-05 2011-12-21 上海柯斯软件有限公司 Time identification method based on radio frequency identification-subscriber identity module (RFID-SIM)
US10592985B2 (en) * 2015-03-02 2020-03-17 Dell Products L.P. Systems and methods for a commodity contracts market using a secure distributed transaction ledger
CN105488665A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Decentralized transaction method
CN105719172A (en) * 2016-01-19 2016-06-29 布比(北京)网络技术有限公司 Information issuing method and device
CN106411503B (en) * 2016-11-28 2019-11-08 中国银行股份有限公司 The bookkeeping methods and system, ballot and accounting nodes of block chain ballot accounting mode
CN106780007A (en) * 2016-11-28 2017-05-31 树读(上海)信息科技有限公司 A kind of collage-credit data is shared and transaction system
CN106897887A (en) * 2017-02-15 2017-06-27 深圳先进技术研究院 A kind of Second-hand Vehicle Transaction method, apparatus and system based on block chain technology
CN107330786B (en) * 2017-05-19 2020-06-26 杭州云象网络技术有限公司 Block chain network node communication method based on weight

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452785A (en) * 2016-09-29 2017-02-22 财付通支付科技有限公司 Block chain network, branch node and block chain network application method
CN107330720A (en) * 2017-06-12 2017-11-07 中国联合网络通信集团有限公司 Integration processing method and system based on block chain
AU2017101206A4 (en) * 2017-09-04 2017-10-05 McAlister, Gary MR New Blockchain Foreign Exchange Innovation Patent international funds transfers settled locally/nationally by our blockchain sender and receiver in but not limited to both countries matching algorithm and POS proof of stake secondary mining process.for entities such as but not limited to Governments, treasuries, central banks, banks, financial institutions, monetary funds, judicial entities, real estates, properties commercial, industrial, domestic, foreign, stock, bond, share and IT software markets, insurance captive Islamic banking sharia compliant blockchain foreign exchange innovation.

Also Published As

Publication number Publication date
CN108183906A (en) 2018-06-19

Similar Documents

Publication Publication Date Title
US11451544B2 (en) Systems and methods for secure online credential authentication
US10129250B2 (en) System and method of notifying mobile devices to complete transactions
US20210385219A1 (en) Method and system for data security within independent computer systems and digital networks
US20180294977A1 (en) System for issuing public certificate on basis of block chain, and method for issuing public certificate on basis of block chain by using same
KR102119449B1 (en) Aggregation open api platform system, method for prividing financial services using the same and computer program for the same
US11848943B2 (en) Centralized threat intelligence
CN109272606A (en) A kind of smart lock monitoring equipment, method and storage medium based on block chain
US9256724B2 (en) Method and system for authorizing an action at a site
Hammood et al. A review of user authentication model for online banking system based on mobile IMEI number
CN100397814C (en) Uniform identication method and system based on network
CN109741800A (en) The method for security protection of medical data intranet and extranet interaction based on block chain technology
CN107454064A (en) A kind of visitor's authentication method and system based on public number
CN108183906B (en) Time bank management method, server, terminal, storage medium and electronic device
US20190288833A1 (en) System and Method for Securing Private Keys Behind a Biometric Authentication Gateway
CN103428698B (en) Mobile interchange participant's identity strong authentication method
Al-Rawy et al. A design for blockchain-based digital voting system
WO2021137753A1 (en) Electronic authentication system and process using the same
Helm Distributed Internet voting architecture: A thin client approach to Internet voting
CN105743883B (en) A kind of the identity attribute acquisition methods and device of network application
Anoh et al. Multi-factor authentication system for securing mobile money transactions using mobile money services in Ivory Coast
KR20210086328A (en) PS-LTE OneID record management blockchain system by use of FIDO transaction certification
AU2021105297A4 (en) Electronic authentication system and process using the same
Rafat Anonymity Preserving Secure Authentication for a Transparent Internet Voting Process
Guma Development of a secure multi-factor authentication algorithm for mobile money applications
KR20180047215A (en) Finance service providing method using simple login and server performing the same

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
GR01 Patent grant
GR01 Patent grant