CN109858905B - Cross-system electronic certificate processing method and device - Google Patents

Cross-system electronic certificate processing method and device Download PDF

Info

Publication number
CN109858905B
CN109858905B CN201811572887.6A CN201811572887A CN109858905B CN 109858905 B CN109858905 B CN 109858905B CN 201811572887 A CN201811572887 A CN 201811572887A CN 109858905 B CN109858905 B CN 109858905B
Authority
CN
China
Prior art keywords
electronic
identifier
electronic certificate
payment server
credential
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
CN201811572887.6A
Other languages
Chinese (zh)
Other versions
CN109858905A (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.)
Aisino Software Technology Co ltd
Original Assignee
Aisino Software Technology 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 Aisino Software Technology Co ltd filed Critical Aisino Software Technology Co ltd
Priority to CN201811572887.6A priority Critical patent/CN109858905B/en
Publication of CN109858905A publication Critical patent/CN109858905A/en
Application granted granted Critical
Publication of CN109858905B publication Critical patent/CN109858905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for processing electronic certificates of a cross-system, wherein the method comprises the following steps: receiving an electronic certificate generation request sent by a shared payment server, wherein the electronic certificate generation request is sent after the shared payment server receives a payment request carrying a first user identifier and information to be paid sent by a business process server, pays according to the information to be paid and generates paid information, and the electronic certificate generation request carries the first user identifier and the paid information; generating a first electronic certificate according to the first user identification and the paid information; and sending an electronic credential generation response carrying the first electronic credential identifier and the first user identifier of the first electronic credential to the shared payment server, so that the shared payment server updates the electronic credential state according to the first electronic credential identifier and the first user identifier, and returns the first electronic credential identifier and the first user identifier to the business process server. The scheme can greatly save human resources and greatly improve efficiency.

Description

Cross-system electronic certificate processing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing electronic certificates across systems.
Background
In the current data information age, particularly for computer and internet enterprises, the utilization of computer system resources and the sharing of data are becoming an important factor for the thinking of enterprise product planning, network construction and information system integration. The data sharing can enable more people to fully use the existing data resources, and reduce repeated labor and corresponding cost of data collection, data acquisition and the like. And focus is on developing new applications and system integration. For example, the establishment of a network system requires the prior business and implementation of a large amount of information from different areas and users. If sharing of data, such as personnel information, customer files, material classification and other basic information, cannot be realized, a great deal of manpower and financial resources are consumed.
Large enterprises often have multiple systems, which may include, for example, business process systems, shared payment systems, financial systems, etc., and currently, the data of these systems cannot be shared, and when electronic credentials need to be generated, the related personnel need to log into the financial system to generate the electronic credentials, which wastes a lot of human resources and is inefficient.
Disclosure of Invention
The embodiment of the invention provides a cross-system electronic certificate processing method and device, which are used for solving the problems of great waste of human resources and low efficiency in the prior art.
According to an embodiment of the invention, a cross-system electronic certificate processing method is provided, and is applied to a financial system server, and the method comprises the following steps: receiving an electronic credential generation request sent by a shared payment server, wherein the electronic credential generation request is sent after the shared payment server receives a payment request carrying a first user identifier and information to be paid sent by a business process server, pays according to the information to be paid and generates paid information, and the electronic credential generation request carries the first user identifier and the paid information;
generating a first electronic certificate according to the first user identification and the paid information;
and sending an electronic credential generation response carrying the first electronic credential identifier and the first user identifier to the shared payment server, so that the shared payment server updates an electronic credential state according to the first electronic credential identifier and the first user identifier, and returns the first electronic credential identifier and the first user identifier to the business process server.
Specifically, receiving an electronic credential generation request sent by a shared payment server specifically includes:
monitoring whether an electronic certificate generation interface is called;
and if the electronic certificate generation interface is monitored to be called, receiving a first JSON data file which is sent by the shared payment server and carries a first user identification and paid information from the electronic certificate generation interface.
Specifically, generating a first electronic certificate according to the first user identifier and the paid information specifically includes:
analyzing the first JSON data file to obtain the first user identification and the paid information;
simulating login according to the first user identification;
and generating and storing a first electronic certificate based on the paid information.
Specifically, the method includes sending a first electronic credential identifier carrying the first electronic credential and an electronic credential generation response of the first user identifier to the shared payment server, specifically including:
sealing a first electronic certificate identifier of the first electronic certificate and the first user identifier into a second JSPN data file;
and sending the second JSON data file to the shared payment server through the electronic certificate generation interface.
Optionally, the method further comprises:
receiving an electronic certificate reimbursement request sent by the shared payment server, wherein the electronic certificate reimbursement request is sent after the shared payment server receives a reimbursement request which is sent by the business process server and carries a second user identifier and a second electronic certificate identifier, reimbursement is carried out according to the second electronic certificate identifier, reimbursement information is generated, and the electronic certificate reimbursement request carries the second user identifier, the second electronic certificate identifier and the reimbursement information;
the second electronic certificate corresponding to the second electronic certificate identifier is offset according to the second user identifier, the second electronic certificate identifier and the refund information;
and sending an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server, so that the shared payment server updates an electronic credential state according to the second electronic credential identifier and the second user identifier.
Specifically, receiving the electronic certificate cancellation request sent by the shared payment server specifically includes:
monitoring whether an electronic certificate cancellation interface is called;
and if the electronic certificate cancellation interface is monitored to be called, receiving a third JSON data file which is sent by the shared payment server and carries the second user identifier, the second electronic certificate identifier and the refund information from the electronic certificate cancellation interface.
Specifically, the method for verifying the second electronic certificate corresponding to the second electronic certificate identifier according to the second user identifier, the second electronic certificate identifier and the refund information specifically includes:
analyzing the third JSON data file to obtain the second user identifier, the second electronic certificate identifier and the refund information;
simulating login according to the second user identifier;
searching a second electronic certificate corresponding to the second electronic certificate identifier;
and reimbursement of the second electronic certificate based on the reimbursed information.
Specifically, the electronic certificate cancellation response carrying the second electronic certificate identifier and the second user identifier is sent to the shared payment server, and specifically includes:
sealing the second electronic certificate identifier and the second user identifier into a fourth JSON data file;
and sending the fourth JSON data file to the shared payment server through the electronic certificate cancellation interface.
According to an embodiment of the present invention, there is also provided a cross-system electronic certificate processing apparatus, applied in a financial system server, the apparatus including:
the receiving module is used for receiving an electronic certificate generation request sent by the shared payment server, wherein the electronic certificate generation request is sent after the shared payment server receives a payment request carrying a first user identifier and information to be paid sent by the business process server, pays according to the information to be paid and generates paid information, and the electronic certificate generation request carries the first user identifier and the paid information;
the processing module is used for generating a first electronic certificate according to the first user identification and the paid information;
and the sending module is used for sending an electronic credential generation response carrying the first electronic credential identifier of the first electronic credential and the first user identifier to the shared payment server so that the shared payment server updates the electronic credential state according to the first electronic credential identifier and the first user identifier and returns the first electronic credential identifier and the first user identifier to the business process server.
Specifically, the receiving module is configured to receive an electronic credential generation request sent by the shared payment server, and specifically is configured to:
monitoring whether an electronic certificate generation interface is called;
and if the electronic certificate generation interface is monitored to be called, receiving a first JSON data file which is sent by the shared payment server and carries a first user identification and paid information from the electronic certificate generation interface.
Specifically, the processing module is configured to generate a first electronic certificate according to the first user identifier and the paid information, and specifically is configured to:
analyzing the first JSON data file to obtain the first user identification and the paid information;
simulating login according to the first user identification;
and generating and storing a first electronic certificate based on the paid information.
Specifically, the sending module is configured to send a first electronic credential identifier carrying the first electronic credential and an electronic credential generation response of the first user identifier to the shared payment server, and specifically is configured to:
sealing a first electronic certificate identifier of the first electronic certificate and the first user identifier into a second JSPN data file;
and sending the second JSON data file to the shared payment server through the electronic certificate generation interface.
Alternatively to this, the method may comprise,
the receiving module is further configured to receive an electronic credential cancellation request sent by the shared payment server, where the electronic credential cancellation request is sent after the shared payment server receives a refund request carrying a second user identifier and a second electronic credential identifier sent by the business process server, refunds according to the second electronic credential identifier and generates refund information, and the electronic credential cancellation request carries the second user identifier, the second electronic credential identifier and the refund information;
the processing module is used for canceling a second electronic certificate corresponding to the second electronic certificate identifier according to the second user identifier, the second electronic certificate identifier and the refund information;
the sending module is further configured to send an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server, so that the shared payment server updates an electronic credential state according to the second electronic credential identifier and the second user identifier.
Specifically, the receiving module is configured to receive an electronic credential cancellation request sent by the shared payment server, and specifically is configured to:
monitoring whether an electronic certificate cancellation interface is called;
and if the electronic certificate cancellation interface is monitored to be called, receiving a third JSON data file which is sent by the shared payment server and carries the second user identifier, the second electronic certificate identifier and the refund information from the electronic certificate cancellation interface.
Specifically, the processing module is configured to offset, according to the second user identifier, the second electronic certificate identifier, and the refund information, a second electronic certificate corresponding to the second electronic certificate identifier, and specifically configured to:
analyzing the third JSON data file to obtain the second user identifier, the second electronic certificate identifier and the refund information;
simulating login according to the second user identifier;
searching a second electronic certificate corresponding to the second electronic certificate identifier;
and reimbursement of the second electronic certificate based on the reimbursed information.
Specifically, the sending module is configured to send an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server, and specifically is configured to:
sealing the second electronic certificate identifier and the second user identifier into a fourth JSON data file;
and sending the fourth JSON data file to the shared payment server through the electronic certificate cancellation interface.
The invention has the following beneficial effects:
the embodiment of the invention provides a cross-system electronic certificate processing method and device, wherein an electronic certificate generation request sent by a shared payment server is received, the electronic certificate generation request is sent after the shared payment server receives a payment request which is sent by a business process server and carries a first user identifier and information to be paid, the payment is carried out according to the information to be paid, and the payment information is generated, and the electronic certificate generation request carries the first user identifier and the paid information; generating a first electronic certificate according to the first user identification and the paid information; and sending an electronic credential generation response carrying the first electronic credential identifier and the first user identifier to the shared payment server, so that the shared payment server updates an electronic credential state according to the first electronic credential identifier and the first user identifier, and returns the first electronic credential identifier and the first user identifier to the business process server. In the scheme, after the shared payment server finishes payment, the electronic certificate can be directly generated through the financial system server, the electronic certificate identification of the electronic certificate is fed back to the shared payment server, and the shared payment server is fed back to the business flow system, so that the electronic certificate can be generated in a cross-system mode, manual participation is not needed in the whole process, human resources can be greatly saved compared with the prior art, and efficiency is greatly improved.
Drawings
FIG. 1 is a schematic diagram of an electronic certificate processing system according to an embodiment of the present invention;
FIG. 2 is a flow chart of a cross-system electronic certificate processing method in an embodiment of the invention;
fig. 3 is a schematic structural diagram of a cross-system electronic certificate processing device in an embodiment of the invention.
Detailed Description
Aiming at the problems of wasting a large amount of human resources and low efficiency in the prior art, the embodiment of the invention provides a cross-system electronic certificate processing method which is applied to a financial system server included in an electronic certificate processing system shown in fig. 1, wherein the fig. 1 also comprises a business process server and a shared payment server. Because the final data is generated in the financial system server and the subsequent financial report and data analysis are generated in the financial system server, a server can be independently deployed and isolated from other cluster services to provide WebService interface services. The flow of the method is shown in fig. 2, and the implementation steps are as follows:
s21: and receiving an electronic credential generation request sent by the shared payment server, wherein the electronic credential generation request is sent after the shared payment server receives a payment request carrying a first user identifier and information to be paid sent by the business process server, pays according to the information to be paid and generates paid information, and the electronic credential generation request carries the first user identifier and the paid information.
When a user needs to pay, a payment request can be initiated through a business process, wherein the payment request carries a first user identifier and information to be paid; after receiving the payment request, the shared payment server generates paid information after paying according to the information to be paid, and then sends an electronic certificate generation request carrying the first user identification and the paid information to the financial system server.
S22: a first electronic voucher is generated based on the first user identification and the paid information.
S23: and sending an electronic credential generation response carrying the first electronic credential identifier and the first user identifier of the first electronic credential to the shared payment server, so that the shared payment server updates the electronic credential state according to the first electronic credential identifier and the first user identifier, and returns the first electronic credential identifier and the first user identifier to the business process server.
In the scheme, after the shared payment server finishes payment, the electronic certificate can be directly generated through the financial system server, the electronic certificate identification of the electronic certificate is fed back to the shared payment server, and the shared payment server is fed back to the business flow system, so that the electronic certificate can be generated in a cross-system mode, manual participation is not needed in the whole process, human resources can be greatly saved compared with the prior art, and efficiency is greatly improved.
Specifically, the receiving the electronic credential generation request sent by the shared payment server in S21 specifically includes:
monitoring whether an electronic certificate generation interface is called;
and if the electronic certificate generation interface is monitored to be called, receiving a first JSON data file which is sent by the shared payment server and carries the first user identification and the paid information from the electronic certificate generation interface.
A special electronic voucher generating interface can be configured to generate electronic vouchers, and specifically WebService configuration, interface specification, and parsing and packaging of JSON data can be provided, and an XML configuration file is provided for WebService deployment.
xfire-servlet. Xml is configured as follows:
Figure SMS_1
/>
Figure SMS_2
/>
Figure SMS_3
WebServiceInterface specifies data formats head and body. The head can add related data such as system identification, and the main parameter is action, namely, a certain service ID in the calling interface service, wherein the realization of the service is also configured as follows in an XML file:
Figure SMS_4
the Body is a specific data message, and both parameters are in JSON data format. The external interface may invoke specific interface services through domain name and service IP.
Meanwhile, the financial system server can provide CsUtil tool class, wherein the two methods CsUtil.un-serialisation Json and CsUtil.serialisation ToJson complete the mutual conversion of JSON data and JAVA data, and the calling of developers is facilitated.
Correspondingly, in the step S22, a first electronic certificate is generated according to the first user identifier and the paid information, which specifically includes:
analyzing the first JSON data file to obtain a first user identification and paid information;
simulating login according to the first user identification;
a first electronic voucher is generated and saved based on the paid information.
In this embodiment, the financial system server may use a manner of simulating login. The implementation of the mode needs to preset a specific interface user on the financial system server, the user is equivalent to a virtual user, the system data can not be operated, and the pseudo code is implemented as follows:
Figure SMS_5
/>
Figure SMS_6
the technical key point is that the user identification is used for identification, and the user identification can be, but is not limited to, a token ID, so that the concurrence and the error of data are avoided. The realization mode for carrying out the simulated login mainly uses URL transmission, and the core codes are as follows:
the url of the/(Post request, unlike get, does not need to have parameters
URL postUrl=new URL(url);
Opening connection
HttpURLConnection connection=(HttpURLConnection)postUrl.openConnection();
The// setting is output to connection because this is the post request, the parameters are put in
Within the text of// http, therefore needs to be set to true
connection.setDoOutput(true);
//Read from the connection.Default is true.
connection.setDoInput(true);
The default is GET mode
connection.setRequestMethod("POST");
The// Post request cannot use the cache
connection.setUseCaches(false);
connection.setInstanceFollowRedirects(true);
Content-type configuring the connection, application/x-www-form-url coded
It is understood that the text is a form parameter encoded by url, and we can see below that we use url decoder.encoding for text content
Encoding/encoding
connection.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
The configuration from postUrl. Openconnection () to this point must be completed before connection,
it is noted that connection. Getoutputstream implies that connection is made.
connection.connect();
DataOutputStream out=DataOutputStream(connection.getOutputStream());
The financial system server finally completes the generation of the electronic certificate through simulating the user login core technology, so that other system related information is returned:
successfully returning the character string:
{ head: { status:1, error: "}, body: { cbullcode: document number }
Failure return string:
{ head: { status:0, error: error reason }, body: { cbullcode: document number, cvouno: credential unique identifier+credential number })
Description: status is a success flag, 1 is success, and 0 is failure.
Correspondingly, in the step S23, an electronic credential generation response carrying the first electronic credential identifier and the first user identifier of the first electronic credential is sent to the shared payment server, which specifically includes:
sealing the first electronic certificate identifier of the first electronic certificate and the first user identifier into a second JSON data file;
and sending the second JSON data file to the shared payment server through the electronic certificate generation interface.
The financial system server generates a first electronic credential that may send an electronic credential generation response to the shared payment server by invoking the electronic credential generation interface.
Optionally, the method further comprises:
receiving an electronic certificate cancellation request sent by a shared payment server, wherein the electronic certificate cancellation request is sent after the shared payment server receives a refund request carrying a second user identifier and a second electronic certificate identifier sent by a business process server, refunds according to the second electronic certificate identifier and generates refund information, and the electronic certificate cancellation request carries the second user identifier, the second electronic certificate identifier and refund information;
the second electronic certificate corresponding to the second electronic certificate identifier is offset according to the second user identifier, the second electronic certificate identifier and the refund information;
and sending an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server so that the shared payment server updates the electronic credential state according to the second electronic credential identifier and the second user identifier.
The financial system server does not allow the deletion of the electronic certificates, but can provide a cancellation service to the outside, so that the user is prevented from carrying out operations such as deleting the electronic certificates transmitted to the financial system server by mistake, and the user is also convenient to track and inquire the electronic certificates. For unsuccessful documents, the financial system server may also return specific information, and the shared payment server may be resubmitted after modification according to the information prompt.
Specifically, the receiving the electronic certificate cancellation request sent by the shared payment server specifically includes:
monitoring whether an electronic certificate cancellation interface is called;
and if the electronic certificate cancellation interface is monitored to be called, receiving a third JSON data file which is sent by the shared payment server and carries the second user identifier, the second electronic certificate identifier and the refund information from the electronic certificate cancellation interface.
A special electronic certificate cancellation interface can be provided for cancellation of electronic certificates, and the process of setting is similar to the electronic certificate generation interface, and is not repeated here.
Correspondingly, the second electronic certificate corresponding to the second electronic certificate identifier is offset according to the second user identifier, the second electronic certificate identifier and the refund information, and the method specifically comprises the following steps:
analyzing the third JSON data file to obtain a second user identifier, a second electronic certificate identifier and refund information;
simulating login according to the second user identification;
searching a second electronic certificate corresponding to the second electronic certificate identifier;
and reimbursement of the second electronic certificate based on the reimbursement information.
When the electronic certificate is offset, the login needs to be simulated, and the specific process is similar to the electronic certificate generation process and is not repeated here.
Correspondingly, the electronic certificate cancellation response carrying the second electronic certificate identifier and the second user identifier is sent to the shared payment server, and specifically comprises the following steps:
sealing the second electronic certificate identifier and the second user identifier into a fourth JSON data file;
and sending the fourth JSON data file to the shared payment server through the electronic certificate cancellation interface.
Accordingly, the electronic credential cancellation interface may be invoked to notify the shared payment server after the electronic credential is cancelled.
With respect to sharing of basic data, the business process system and shared payment system data are based on these basic data, due to the extensive collection and arrangement of user information by the earlier financial system requirements and implementations. The financial server may provide an interface user alone, building views of the relevant tables and DBLINK of both databases, these views being built according to the business requirements of the BPM system and the sharing system for the data. The establishment of the independent users considers that the two systems only inquire the data of the financial system server and do not carry out the adding, deleting and modifying operation, and on the other hand, the operation of mistakenly deleting the table by a developer is avoided, so that the data is lost. Thereby completing the sharing of the data of the three system foundations.
Based on the same inventive concept, an embodiment of the present invention provides a cross-system electronic credential processing device, which is applied to a financial system server, and the structure of the device is shown in fig. 3, and includes:
the receiving module 31 is configured to receive an electronic credential generation request sent by the shared payment server, where the electronic credential generation request is sent after the shared payment server receives a payment request carrying a first user identifier and information to be paid sent by the business process server, performs payment according to the information to be paid, generates paid information, and sends the generated information, and the electronic credential generation request carries the first user identifier and the paid information;
a processing module 32 for generating a first electronic voucher based on the first user identification and the paid information;
the sending module 33 is configured to send an electronic credential generation response carrying the first electronic credential identifier and the first user identifier of the first electronic credential to the shared payment server, so that the shared payment server updates the electronic credential status according to the first electronic credential identifier and the first user identifier, and returns the first electronic credential identifier and the first user identifier to the business process server.
In the scheme, after the shared payment server finishes payment, the electronic certificate can be directly generated through the financial system server, the electronic certificate identification of the electronic certificate is fed back to the shared payment server, and the shared payment server is fed back to the business flow system, so that the electronic certificate can be generated in a cross-system mode, manual participation is not needed in the whole process, human resources can be greatly saved compared with the prior art, and efficiency is greatly improved.
Specifically, the receiving module 31 is configured to receive an electronic credential generation request sent by the shared payment server, and specifically is configured to:
monitoring whether an electronic certificate generation interface is called;
and if the electronic certificate generation interface is monitored to be called, receiving a first JSON data file which is sent by the shared payment server and carries the first user identification and the paid information from the electronic certificate generation interface.
Specifically, the processing module 32 is configured to generate a first electronic credential according to the first user identifier and the paid information, specifically configured to:
analyzing the first JSON data file to obtain a first user identification and paid information;
simulating login according to the first user identification;
a first electronic voucher is generated and saved based on the paid information.
Specifically, the sending module 33 is configured to send, to the shared payment server, an electronic credential generation response carrying the first electronic credential identifier and the first user identifier, and specifically is configured to:
sealing the first electronic certificate identifier of the first electronic certificate and the first user identifier into a second JSON data file;
and sending the second JSON data file to the shared payment server through the electronic certificate generation interface.
Alternatively to this, the method may comprise,
the receiving module 31 is further configured to receive an electronic credential cancellation request sent by the shared payment server, where the electronic credential cancellation request is sent after the shared payment server receives a refund request sent by the business process server and carrying a second user identifier and a second electronic credential identifier, and the refund request carries the second user identifier, the second electronic credential identifier and refund information after refund is generated according to the second electronic credential identifier;
a processing module 32, configured to cancel a second electronic certificate corresponding to the second electronic certificate identifier according to the second user identifier, the second electronic certificate identifier, and the refunded information;
the sending module 33 is further configured to send an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server, so that the shared payment server updates the electronic credential status according to the second electronic credential identifier and the second user identifier.
Specifically, the receiving module 31 is configured to receive an electronic credential cancellation request sent by the shared payment server, and specifically is configured to:
monitoring whether an electronic certificate cancellation interface is called;
and if the electronic certificate cancellation interface is monitored to be called, receiving a third JSON data file which is sent by the shared payment server and carries the second user identifier, the second electronic certificate identifier and the refund information from the electronic certificate cancellation interface.
Specifically, the processing module 32 is configured to offset the second electronic certificate corresponding to the second electronic certificate identifier according to the second user identifier, the second electronic certificate identifier, and the refund information, and specifically is configured to:
analyzing the third JSON data file to obtain a second user identifier, a second electronic certificate identifier and refund information;
simulating login according to the second user identification;
searching a second electronic certificate corresponding to the second electronic certificate identifier;
and reimbursement of the second electronic certificate based on the reimbursement information.
Specifically, the sending module 33 is configured to send an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server, specifically configured to:
sealing the second electronic certificate identifier and the second user identifier into a fourth JSON data file;
and sending the fourth JSON data file to the shared payment server through the electronic certificate cancellation interface.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims and the equivalents thereof, the present invention is also intended to include such modifications and variations.

Claims (12)

1. A method for processing electronic certificates across systems, which is applied to a financial system server, the method comprising:
receiving an electronic credential generation request sent by a shared payment server, wherein the electronic credential generation request is sent after the shared payment server receives a payment request carrying a first user identifier and information to be paid sent by a business process server, pays according to the information to be paid and generates paid information, and the electronic credential generation request carries the first user identifier and the paid information;
generating a first electronic certificate according to the first user identification and the paid information;
sending an electronic credential generation response carrying a first electronic credential identifier of the first electronic credential and the first user identifier to the shared payment server, so that the shared payment server updates an electronic credential state according to the first electronic credential identifier and the first user identifier, and returns the first electronic credential identifier and the first user identifier to the business process server; wherein the method comprises the steps of
The method for receiving the electronic certificate generation request sent by the shared payment server specifically comprises the following steps: obtaining
Monitoring whether an electronic certificate generation interface is called;
if the electronic certificate generation interface is monitored to be called, receiving a first JSON data file which is sent by the shared payment server and carries a first user identification and paid information from the electronic certificate generation interface;
generating a first electronic certificate according to the first user identifier and the paid information, wherein the method specifically comprises the following steps:
analyzing the first JSON data file to obtain the first user identification and the paid information;
simulating login according to the first user identification;
and generating and storing a first electronic certificate based on the paid information.
2. The method of claim 1, wherein sending an electronic credential generation response carrying a first electronic credential identification of the first electronic credential and the first user identification to the shared payment server, in particular comprises:
sealing a first electronic certificate identifier of the first electronic certificate and the first user identifier into a second JSON data file;
and sending the second JSON data file to the shared payment server through the electronic certificate generation interface.
3. The method of any one of claims 1-2, further comprising:
receiving an electronic certificate reimbursement request sent by the shared payment server, wherein the electronic certificate reimbursement request is sent after the shared payment server receives a reimbursement request which is sent by the business process server and carries a second user identifier and a second electronic certificate identifier, reimbursement is carried out according to the second electronic certificate identifier, reimbursement information is generated, and the electronic certificate reimbursement request carries the second user identifier, the second electronic certificate identifier and the reimbursement information;
the second electronic certificate corresponding to the second electronic certificate identifier is offset according to the second user identifier, the second electronic certificate identifier and the refund information;
and sending an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server, so that the shared payment server updates an electronic credential state according to the second electronic credential identifier and the second user identifier.
4. The method of claim 3, wherein receiving the electronic credential cancellation request sent by the shared payment server comprises:
monitoring whether an electronic certificate cancellation interface is called;
and if the electronic certificate cancellation interface is monitored to be called, receiving a third JSON data file which is sent by the shared payment server and carries the second user identifier, the second electronic certificate identifier and the refund information from the electronic certificate cancellation interface.
5. The method of claim 4, wherein the reimbursement of the second electronic voucher corresponding to the second electronic voucher identification according to the second user identification, the second electronic voucher identification and the refunded information, specifically comprises:
analyzing the third JSON data file to obtain the second user identifier, the second electronic certificate identifier and the refund information;
simulating login according to the second user identifier;
searching a second electronic certificate corresponding to the second electronic certificate identifier;
and reimbursement of the second electronic certificate based on the reimbursed information.
6. The method of claim 4, wherein sending an electronic credential cancellation response carrying the second electronic credential identification and the second user identification to the shared payment server, in particular comprises:
sealing the second electronic certificate identifier and the second user identifier into a fourth JSON data file;
and sending the fourth JSON data file to the shared payment server through the electronic certificate cancellation interface.
7. A cross-system electronic credential processing device for use in a financial system server, the device comprising:
the receiving module is used for receiving an electronic certificate generation request sent by the shared payment server, wherein the electronic certificate generation request is sent after the shared payment server receives a payment request carrying a first user identifier and information to be paid sent by the business process server, pays according to the information to be paid and generates paid information, and the electronic certificate generation request carries the first user identifier and the paid information;
the processing module is used for generating a first electronic certificate according to the first user identification and the paid information;
the sending module is used for sending an electronic credential generation response carrying the first electronic credential identifier of the first electronic credential and the first user identifier to the shared payment server so that the shared payment server updates the electronic credential state according to the first electronic credential identifier and the first user identifier and returns the first electronic credential identifier and the first user identifier to the business process server; wherein the method comprises the steps of
The receiving module is configured to receive an electronic credential generation request sent by the shared payment server, and is specifically configured to:
monitoring whether an electronic certificate generation interface is called;
if the electronic certificate generation interface is monitored to be called, receiving a first JSON data file which is sent by the shared payment server and carries a first user identification and paid information from the electronic certificate generation interface;
the processing module is configured to generate a first electronic certificate according to the first user identifier and the paid information, and specifically is configured to:
analyzing the first JSON data file to obtain the first user identification and the paid information;
simulating login according to the first user identification;
and generating and storing a first electronic certificate based on the paid information.
8. The apparatus of claim 7, wherein the sending module is configured to send a first electronic credential identification carrying the first electronic credential and an electronic credential generation response of the first user identification to the shared payment server, specifically configured to:
sealing a first electronic certificate identifier of the first electronic certificate and the first user identifier into a second JSON data file;
and sending the second JSON data file to the shared payment server through the electronic certificate generation interface.
9. The apparatus of any one of claim 7 to 8,
the receiving module is further configured to receive an electronic credential cancellation request sent by the shared payment server, where the electronic credential cancellation request is sent after the shared payment server receives a refund request carrying a second user identifier and a second electronic credential identifier sent by the business process server, refunds according to the second electronic credential identifier and generates refund information, and the electronic credential cancellation request carries the second user identifier, the second electronic credential identifier and the refund information;
the processing module is used for canceling a second electronic certificate corresponding to the second electronic certificate identifier according to the second user identifier, the second electronic certificate identifier and the refund information;
the sending module is further configured to send an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server, so that the shared payment server updates an electronic credential state according to the second electronic credential identifier and the second user identifier.
10. The apparatus of claim 9, wherein the receiving module is configured to receive an electronic credential cancellation request sent by the shared payment server, and is specifically configured to:
monitoring whether an electronic certificate cancellation interface is called;
and if the electronic certificate cancellation interface is monitored to be called, receiving a third JSON data file which is sent by the shared payment server and carries the second user identifier, the second electronic certificate identifier and the refund information from the electronic certificate cancellation interface.
11. The apparatus of claim 10, wherein the processing module is configured to offset a second electronic credential corresponding to the second electronic credential identifier based on the second user identifier, the second electronic credential identifier, and the refunded information, in particular to:
analyzing the third JSON data file to obtain the second user identifier, the second electronic certificate identifier and the refund information;
simulating login according to the second user identifier;
searching a second electronic certificate corresponding to the second electronic certificate identifier;
and reimbursement of the second electronic certificate based on the reimbursed information.
12. The apparatus of claim 10, wherein the sending module is configured to send an electronic credential cancellation response carrying the second electronic credential identifier and the second user identifier to the shared payment server, specifically configured to:
sealing the second electronic certificate identifier and the second user identifier into a fourth JSON data file;
and sending the fourth JSON data file to the shared payment server through the electronic certificate cancellation interface.
CN201811572887.6A 2018-12-21 2018-12-21 Cross-system electronic certificate processing method and device Active CN109858905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811572887.6A CN109858905B (en) 2018-12-21 2018-12-21 Cross-system electronic certificate processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811572887.6A CN109858905B (en) 2018-12-21 2018-12-21 Cross-system electronic certificate processing method and device

Publications (2)

Publication Number Publication Date
CN109858905A CN109858905A (en) 2019-06-07
CN109858905B true CN109858905B (en) 2023-04-25

Family

ID=66891842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811572887.6A Active CN109858905B (en) 2018-12-21 2018-12-21 Cross-system electronic certificate processing method and device

Country Status (1)

Country Link
CN (1) CN109858905B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659415B (en) * 2019-09-04 2022-05-10 北京三快在线科技有限公司 Method, device and system for generating business execution certificate
CN113177215B (en) * 2021-04-30 2023-02-28 作业帮教育科技(北京)有限公司 User login credential processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407121A (en) * 2016-10-08 2017-02-15 腾讯科技(深圳)有限公司 Cross-platform data intercommunication consistency test method and application test server
CN106529324A (en) * 2016-09-06 2017-03-22 北京三快在线科技有限公司 Method and device for switching user identity
CN107679831A (en) * 2017-10-09 2018-02-09 金蝶软件(中国)有限公司 A kind of method and relevant apparatus of calling ERP functions
CN107979631A (en) * 2016-10-25 2018-05-01 航天信息软件技术有限公司 The method and apparatus of data synchronization
CN108074065A (en) * 2016-11-08 2018-05-25 航天信息股份有限公司 It is multigroup to knit inter-network workflow examination and approval method
CN108259431A (en) * 2016-12-29 2018-07-06 航天信息股份有限公司 The method, apparatus and system of account information are shared between applying more

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060269061A1 (en) * 2001-01-11 2006-11-30 Cardinalcommerce Corporation Mobile device and method for dispensing authentication codes
US20150120533A1 (en) * 2005-02-04 2015-04-30 Searete Llc Real-world profile data for making virtual world contacts
CN201974852U (en) * 2011-01-27 2011-09-14 北京物美商业集团股份有限公司 Financial voucher generating system
CN103377428A (en) * 2012-04-16 2013-10-30 上海博路信息技术有限公司 Shopping self-payment system
US10204329B2 (en) * 2014-12-10 2019-02-12 Meijer, Inc. System and method for effecting payment for POS purchases
CA3022499A1 (en) * 2015-04-30 2016-11-03 10353744 Canada Ltd. Electronic transaction certificate management system
CN106203973A (en) * 2015-04-30 2016-12-07 深圳市银信网银科技有限公司 Based on across the payment system of fund server and method of payment, device and server
CN112990932A (en) * 2016-06-07 2021-06-18 华为技术有限公司 Data processing method, related device and system
CN106790078A (en) * 2016-12-22 2017-05-31 深圳新众诚科技有限公司 Safety communicating method and device between a kind of SDK and electronic certificate system
CN108133365A (en) * 2017-12-21 2018-06-08 珠海法务乐科技有限公司 A kind of patent fee pays processing method and system
CN108241799B (en) * 2018-01-31 2019-02-15 广州市全周至程软件技术有限公司 Cross-system access method, system, device and computer readable storage medium
CN108616540B (en) * 2018-05-09 2020-09-01 聚龙股份有限公司 Platform authentication method and system based on cross-platform encryption algorithm and declarative filtering authentication

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106529324A (en) * 2016-09-06 2017-03-22 北京三快在线科技有限公司 Method and device for switching user identity
CN106407121A (en) * 2016-10-08 2017-02-15 腾讯科技(深圳)有限公司 Cross-platform data intercommunication consistency test method and application test server
CN107979631A (en) * 2016-10-25 2018-05-01 航天信息软件技术有限公司 The method and apparatus of data synchronization
CN108074065A (en) * 2016-11-08 2018-05-25 航天信息股份有限公司 It is multigroup to knit inter-network workflow examination and approval method
CN108259431A (en) * 2016-12-29 2018-07-06 航天信息股份有限公司 The method, apparatus and system of account information are shared between applying more
CN107679831A (en) * 2017-10-09 2018-02-09 金蝶软件(中国)有限公司 A kind of method and relevant apparatus of calling ERP functions

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
吕鹏辉 ; .基于网络爬虫的新浪微博数据获取方式研究.电脑知识与技术.2017,(第33期),全文. *
杜歆文 ; .单点登录系统的设计与实现.电视技术.2013,(第24期),全文. *
赵子鼎 ; .无缝集成财务物资管理系统的建设与应用.电力信息化.2008,(第03期),全文. *

Also Published As

Publication number Publication date
CN109858905A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN104216912B (en) The implementation method and device of a kind of business form work fluidisation without intrusive mood
CN103428166B (en) Many SNS platform unified access method of third-party application and system
CN111580820B (en) Applet generation method and device
CN108846657A (en) A kind of method and relevant apparatus of Electronic Transfer
CN107924411A (en) The recovery of UI states in transaction system
US11811617B2 (en) Systems and methods for communication flow modeling
CN111507689B (en) Service processing method, device, equipment and computer readable storage medium
CN106796526A (en) JSON Stylesheet Language Transformations
CN104081742A (en) Method and apparatus for providing federated service accounts
CN102810090A (en) Gateway data distribution engine
WO2015074554A1 (en) Method and device for message synchronization
CN109858905B (en) Cross-system electronic certificate processing method and device
CN101477658A (en) Method, apparatus and system for establishing combined document
CN110910089A (en) Intelligent community work order processing method and device, server and system
CN113626002A (en) Service execution method and device
CN114816499A (en) Electronic resource sharing method and device and storage medium
CN111526039A (en) Electronic equipment opening method and device, electronic equipment and computer readable medium
CN110889682A (en) Payment information processing method, device, medium and equipment based on block chain
CN102014164A (en) Method of mobile access platform
CN106610966A (en) Information providing method and device
CN114723397A (en) Flow execution method and device
CN114500651A (en) Block chain data transmission method, device and equipment and readable storage medium
CN108346081B (en) Order flow management and control method and system based on cloud server
Sheong Ruby on Rails Web Mashup Projects
CN116562884B (en) Data element circulation method, device, electronic equipment and storage medium

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