Disclosure of Invention
In view of this, embodiments of the present application provide a method for displaying credit contracts in multiple viewing angles, so as to solve technical defects in the prior art. The embodiment of the application also provides a credit contract multi-view display device, a computing device and a computer readable storage medium.
The application provides a credit contract multi-view display method, which comprises the following steps:
acquiring a contract viewing request generated by a credit participation user triggering a display control of a contract display page; the display control comprises a contract sending display control corresponding to a credit contract generated by the credit item and used as a contract sending party, and a contract responding display control corresponding to the credit contract generated by the credit item and used as a contract responding party;
determining a contract type corresponding to the contract viewing request according to a control type of a display control triggered by the credit participation user and contained in the contract viewing request;
Analyzing the user identification contained in the contract viewing request to obtain a contract storage address of the credit participation user;
and reading the credit contract of the credit participation user under the contract type according to the contract storage address, and displaying the read credit contract under the contract type on the contract display page.
Optionally, the analyzing the user identifier included in the contract viewing request to obtain the contract storage address of the credit participation user includes:
analyzing the storage identification bit of the user identification to obtain the storage identification of the credit participation user;
Determining a contract data table for storing the credit contract of the credit participation user according to the storage identification;
and determining a contract database to which the contract data table belongs according to the data table identification of the contract data table, and taking the database address of the contract database as a contract storage address of the credit participation user.
optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
And according to a contract sending control type of a contract sending display control triggered by the credit participation user and contained in the contract checking request, determining that the contract type corresponding to the contract sending control type is a credit contract generated by the credit participation user serving as a contract sending party and participating in a credit item, and the contract type corresponding to the contract checking request containing the contract sending control type.
Optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
Determining a contract sending data table corresponding to a credit contract generated by a credit project and used as a contract sending party by the credit participating user in a contract database corresponding to the database address;
Reading the credit participation user recorded in the issue data table as an issuing party to participate in a credit contract generated by credit items;
displaying the read contract identification and contract information of the credit contract on the contract display page;
and if the contract identification and the viewing instruction of the contract information in the display area are received, the credit contract is displayed on the contract display page.
Optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
And determining that the contract type corresponding to the contract-applying control type is a credit contract generated by the credit participating user as an contracting party and participating in a credit item according to the contract-applying control type of a contract-applying display control triggered by the credit participating user and contained in the contract viewing request, and the contract type corresponding to the contract viewing request containing the contract-applying control type.
Optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
determining a contract data table corresponding to a credit contract generated by taking the credit participating user as a contract responding party and participating in a credit project in a contract database corresponding to the database address;
Reading the credit participation user recorded in the contract data table as a contract party to participate in a credit contract generated by credit items;
Displaying the read contract identification and contract information of the credit contract on the contract display page;
And if the contract identification and the viewing instruction of the contract information in the display area are received, the credit contract is displayed on the contract display page.
optionally, the display control further includes:
And the credit participation user participates in a performance display control corresponding to the credit contract in the performance state generated by the credit item.
Optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
and determining a contract type corresponding to the performance control type as a credit contract which is generated for the credit participation user to participate in a credit project and is in a performance state according to the performance control type of a performance display control triggered by the credit participation user and contained in the contract viewing request, and taking the credit contract as a contract type corresponding to the contract viewing request containing the performance control type.
optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
determining a performance data table corresponding to a credit contract in a performance state generated by the credit participation user participating in the credit item in a contract database corresponding to the database address;
Reading a performance record of a credit contract in a performance state, generated by participation of the credit participating users in a credit project, recorded in the performance data table;
and displaying the read credit participation user participating in the performance record of the credit contract generated by the credit item and in the performance state on the contract display page.
the present application further provides a credit contract multi-view display device, including:
the contract viewing request acquisition module is configured to acquire a contract viewing request generated by a credit participation user triggering a display control of a contract display page; the display control comprises a contract sending display control corresponding to a credit contract generated by the credit item and used as a contract sending party, and a contract responding display control corresponding to the credit contract generated by the credit item and used as a contract responding party;
the contract type determining module is configured to determine a contract type corresponding to the contract viewing request according to a control type of a display control triggered by the credit participation user and contained in the contract viewing request;
The contract storage address determining module is configured to analyze the user identification contained in the contract viewing request and obtain the contract storage address of the credit participation user;
and the credit contract display module is configured to read the credit contract of the credit participation user in the contract type according to the contract storage address and display the read credit contract in the contract type on the contract display page.
Optionally, the contract storage address determining module includes:
The first storage identification analysis submodule is configured to analyze the storage identification bits of the user identification to obtain the storage identification of the credit participation user;
A first contract data table determination submodule configured to determine a contract data table storing a credit contract of the credit participating user according to the storage identification;
and the first contract storage address determination submodule is configured to determine a contract database to which the contract data table belongs according to the data table identification of the contract data table, and use the database address of the contract database as the contract storage address of the credit participation user.
Optionally, the contract type determining module includes:
And the first contract type determining sub-module is configured to determine, according to a contract sending control type of a contract sending display control triggered by the credit participation user and contained in the contract viewing request, that a contract type corresponding to the contract sending control type is a credit contract generated by the credit participation user as a contract sending party participating in a credit project, and the contract type corresponding to the contract viewing request containing the contract sending control type.
optionally, the credit contract display module includes:
A contract data table determining sub-module configured to determine a contract data table corresponding to a credit contract generated by a credit item, which is taken as a contracting party and is participated by the credit participating user in a contract database corresponding to the database address;
a first credit contract reading sub-module configured to read a credit contract generated by the credit participating user as a sponsor participating in a credit project, which is recorded in the reduction data table;
A first contract information reading sub-module configured to display the read contract identification of the credit contract and the contract information on the contract display page;
And the first credit contract display sub-module is configured to display the credit contract on the contract display page if the contract identification and the viewing instruction of the contract information in the display area are received, wherein the contract identification and the viewing instruction are displayed on the contract display page by the credit participating user.
Optionally, the contract type determining module includes:
And a second contract type determination sub-module, configured to determine, according to a contract-applying control type of a contract-applying display control triggered by the credit participation user included in the contract viewing request, that a contract type corresponding to the contract-applying control type is a credit contract generated by the credit participation user as a contract-applying party participating in a credit project, and the contract type corresponding to the contract viewing request including the contract-applying control type.
optionally, the credit contract display module includes:
a contract data table determining sub-module configured to determine a contract data table corresponding to a credit contract generated by the credit item and used as a contract party by the credit participating user in a contract database corresponding to the database address;
A second credit contract reading submodule configured to read a credit contract generated by the credit participating user as an offeree participating in a credit project, the credit participating user being recorded in the offeree data table;
a second contract information reading sub-module configured to display the read contract identification of the credit contract and the contract information on the contract display page;
and the second credit contract display sub-module is configured to display the credit contract on the contract display page if the contract identification and the viewing instruction of the contract information in the display area are received, wherein the contract identification and the viewing instruction are displayed on the contract display page by the credit participating user.
Optionally, the display control further includes:
And the credit participation user participates in a performance display control corresponding to the credit contract in the performance state generated by the credit item.
optionally, the contract type determining module includes:
a third contract type determining sub-module, configured to determine, according to a contract control type of a performance display control triggered by the credit participation user included in the contract viewing request, a credit contract in a performance state generated for the credit participation user to participate in a credit item by the contract type corresponding to the performance control type, as a contract type corresponding to the contract viewing request including the performance control type.
optionally, the credit contract display module includes:
a fulfillment data table determining sub-module configured to determine a fulfillment data table corresponding to a credit contract in a fulfillment state generated by participation of the credit participation user in a credit item in a contract database corresponding to the database address;
A fulfillment record reading sub-module configured to read a fulfillment record of a credit contract in a fulfillment state, recorded in the fulfillment data table, for participation of the credit participating users in credit item generation;
And the performance record display sub-module is configured to display the read performance record of the credit contract in the performance state generated by the credit participation user participating in the credit project on the contract display page.
The present application further provides a computing device comprising:
a memory and a processor;
The memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
Acquiring a contract viewing request generated by a credit participation user triggering a display control of a contract display page; the display control comprises a contract sending display control corresponding to a credit contract generated by the credit item and used as a contract sending party, and a contract responding display control corresponding to the credit contract generated by the credit item and used as a contract responding party;
determining a contract type corresponding to the contract viewing request according to a control type of a display control triggered by the credit participation user and contained in the contract viewing request;
analyzing the user identification contained in the contract viewing request to obtain a contract storage address of the credit participation user;
and reading the credit contract of the credit participation user under the contract type according to the contract storage address, and displaying the read credit contract under the contract type on the contract display page.
The present application also provides a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, perform the steps of the multi-perspective presentation method for credit contracts.
Compared with the prior art, the method has the following advantages:
The application provides a credit contract multi-view display method, which comprises the following steps: acquiring a contract viewing request generated by a credit participation user triggering a display control of a contract display page; the display control comprises a contract sending display control corresponding to a credit contract generated by the credit item and used as a contract sending party, and a contract responding display control corresponding to the credit contract generated by the credit item and used as a contract responding party; determining a contract type corresponding to the contract viewing request according to a control type of a display control triggered by the credit participation user and contained in the contract viewing request; analyzing the user identification contained in the contract viewing request to obtain a contract storage address of the credit participation user; and reading the credit contract of the credit participation user under the contract type according to the contract storage address, and displaying the read credit contract under the contract type on the contract display page.
the multi-view display method of the credit contract provided by the application utilizes the display control of the contract display page, by associating the presentation control with the credit contract generated during participation of the credit participating user in the credit program, in the case that the credit user triggers different display controls, the credit contracts of the credit participating users at two different perspectives, namely an offer party and a delivery party, can be displayed on the contract display page, so that the credit participating users can not only stand at the perspective of the offeror to view the credit contract they have entered into as an offeror party, meanwhile, the client can stand at the perspective of the client to check the credit contract which is taken as the client to participate in signing, so that the multi-perspective credit contract display is realized, the display of the credit contract is more visual and more complete, the perception of the credit participation user on the credit project is improved, and the promotion of the credit project and the improvement of a credit system are facilitated.
in specific implementation, a credit participation user is acquired to trigger a contract viewing request generated by a display control of a contract display page.
The contract display page is provided with 3 display controls: the contract sending display control, the contract applying display control and the performance display control; for a user A who participates in a credit project provided by a credit platform, if the user A wants to check the credit contract which the user A participates in the signed credit contract as a contracting party, a contract showing control of a contract showing page is triggered by sending out a touch click action, a contract checking request for checking the credit contract which the user A participates in the signed credit contract as the contracting party is generated after the contract showing control is triggered, and then the user A participates in the signed credit contract as the contracting party on the basis of the contract checking request;
Similarly, if the user A wants to check the credit contract signed by taking part in as an offeree, a touch click action is sent to trigger an offeree display control of a contract display page, a contract check request for checking the credit contract signed by taking part in as the offeree is generated after the offeree display control is triggered, and then the credit contract signed by taking part in as the offeree is displayed and processed on the basis of the contract check request;
if the user A wants to view the credit contract which the user A signs and is the credit contract in the performance state, a performance showing control of a contract showing page is triggered by sending out a touch click action, a contract viewing request for viewing the credit contract which the user A signs and is in the performance state is generated after the performance showing control is triggered, and the credit contract which the user A signs and is in the performance state is subsequently displayed and processed on the basis of the contract viewing request.
and step S104, determining a contract type corresponding to the contract viewing request according to the control type of the display control triggered by the credit participation user and contained in the contract viewing request.
on the basis of the contract viewing request generated by the obtained credit participation user through triggering the display control of the contract display page, determining a contract type corresponding to the contract viewing request according to the control type of the display control triggered by the credit participation user and contained in the contract viewing request, namely the contract type of the credit contract which the credit contract user wants to view through triggering the display control of the contract display page.
specifically, for the contract sending display control, the contract applying display control, and the performance display control of the contract display page in the embodiment of the present application, a determination process of a contract type corresponding to a contract viewing request generated after the 3 display controls are triggered by a credit participation user is described below.
1) the contract type corresponding to the contract viewing request generated after the contract sending display control is triggered by the credit participation user is determined by the following method:
and determining a contract type corresponding to the contract sending control type as a credit contract generated by the credit participating user serving as a contract sending party and participating in a credit item according to the contract sending control type of a contract sending display control triggered by the credit participating user and contained in the contract checking request, and using the contract type as a contract type corresponding to the contract checking request containing the contract sending control type.
For example, for a user a who has participated in a credit item provided by a credit platform, if the user a triggers a contract-issuing display control of a contract-issuing display page by issuing a touch click action, a contract-viewing request of a contract-issuing control type containing the contract-issuing display control triggered by the user a is generated;
according to the contract viewing request including the contract sending control type of the contract sending display control triggered by the user A and the credit participation user corresponding to the contract sending control type as the credit contract of the type generated by the contract sending party participating in the credit project, the contract type corresponding to the contract viewing request generated by the user A through triggering the contract sending display control of the contract sending display page can be determined as the credit contract generated by the user A as the contract sending party participating in the credit project, namely: user a triggers the contract type that the contract presentation control of the contract presentation page wants to view to be the type of credit contract that it (user a) is signed with as a contracting party.
2) The contract type corresponding to the contract viewing request generated after the contract application display control is triggered by the credit participation user is determined by the following method:
And determining that the contract type corresponding to the contract application control type is a credit contract generated by a credit participating user serving as an contract application party and participating in a credit item according to the contract application control type of a contract application display control triggered by the credit participating user and contained in the contract viewing request, and taking the contract type corresponding to the contract viewing request containing the contract application control type.
For example, for a user a who has participated in a credit item provided by a credit platform, if the user a triggers a contract exhibition control of a contract exhibition page by issuing a touch click action, a contract viewing request of a contract exhibition control type containing the contract exhibition control triggered by the user a is generated;
According to the contract check request including the contract application control type of the contract application display control triggered by the user A and the credit participation user corresponding to the contract application control type as the credit application party to participate in the credit contract of the type generated by the credit item, it can be determined that the contract type corresponding to the contract check request generated by the user A by triggering the contract application display control is the credit contract generated by the user A as the contract application party to participate in the credit item, that is: user a triggers a credit contract of the type that the offer presentation control wants to view as it (user a) signed as an offer party.
3) the contract type corresponding to the contract viewing request generated after the performance display control is triggered by the credit participation user is determined by the following method:
And determining a contract type corresponding to the performance control type as a credit contract which is generated by the credit participation user participating in the credit project and is in a performance state according to the performance control type of a performance display control triggered by the credit participation user contained in the contract viewing request, and taking the credit contract as a contract type corresponding to the contract viewing request containing the performance control type.
for example, for a user a who has participated in a credit item provided by a credit platform, if the user a triggers a performance display control of a contract display page by issuing a touch click action, a contract viewing request of a performance control type including the performance display control triggered by the user a is generated;
According to the credit contract generated by the contract viewing request generated by the user a for the credit item participated by the user a and in the performance state, namely, the credit contract generated by the user a for the credit item participated by the user a and in the performance state by the credit participated user corresponding to the type of the performance control (including the credit participated user as a sponsor and the credit participated user as an effector) included in the contract viewing request, that is: user a triggers the contract type that the performance presentation control wants to view as a credit contract of the type that it (user a) is involved in signing and is in a performance state.
the implementation manner of the contract type corresponding to the contract viewing request generated after the 3 contract display controls, namely the contract sending display control, the contract answering display control and the performance display control, which are set for the contract display page are triggered is matched with the display control set for the contract display page to display the credit contract, so that the effect of improving the perception of credit participating users on credit projects can be achieved.
and step S106, analyzing the user identification contained in the contract viewing request to obtain the contract storage address of the credit participation user.
in order to make the storage of the credit contract of the credit participating user more match with the characteristic that the credit contract itself has the credit constraint effectiveness, and to provide timely and accurate credit contract display for the credit participating user on the basis of the characteristic, in an optional implementation manner provided by the embodiment of the present application, the user identifier included in the contract viewing request is parsed, and the contract storage address of the credit participating user is obtained, which is implemented by specifically adopting the following manner:
1) analyzing the storage identification bit of the user identification to obtain the storage identification of the credit participation user;
2) determining a contract data table for storing credit contracts of credit participation users according to the storage identification;
3) And determining a contract database to which the contract data table belongs according to the data table identification of the contract data table, and using the database address of the contract database as a contract storage address of a credit participation user.
for example, the user ID of the user a is "xxxxxx 0005", the last four bits of the user ID are storage identification bits, the last four storage identification bits of the user ID of the user a are analyzed, and the obtained "0005" is the storage identification of the user a;
According to the obtained storage identifier '0005', corresponding to a data table ID which contains a field '0005', wherein the data table ID which contains the field '0005' is a contract data table for storing the credit contract of the user A;
after determining a contract data table for storing the credit contract of the user A, determining a contract database in which the contract data table of the user A is stored according to the corresponding relation between a predetermined contract database and the contract data table, wherein the address of the contract database is the contract storage address of the credit contract of the user A;
it should be noted that the contract database of user a contains 3 contract data tables: the system comprises a contract data table for storing the credit contract which is signed by the user A as a contract sending party, and a performance data table for storing the performance record of the credit contract which is signed by the user A and is in a performance state.
And step S108, reading the credit contract of the credit participation user under the contract type according to the contract storage address, and displaying the read credit contract under the contract type on the contract display page.
the step S104 determines a contract type corresponding to a contract viewing request generated by a credit participating user by triggering a display control of the contract display page, that is, after determining the contract type of a credit contract that the credit participating user wants to view by triggering the display control, and after obtaining a contract storage address of the credit participating user by analyzing the contract viewing request in the step S106, according to the determined contract type and the contract storage address, reading a credit contract of the credit participating user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page.
Specifically, for a contract type corresponding to a contract viewing request generated after a contract sending display control of the contract display page is triggered, and a contract type corresponding to a contract viewing request generated after a performance display control is triggered, a process of reading credit contracts of the credit participating user under the 3 contract types according to the contract storage address is described below, and a process of displaying the credit contracts under the 3 contract types read by the contract display page is described.
1) Reading the credit contract of the type that the credit participating user is signed as the contracting party according to the contract storage address, and displaying the read credit contract of the type that the credit participating user is signed as the contracting party on the contract display page, wherein the specific implementation is as follows:
a. determining a contract data table corresponding to a credit contract generated by using a participating user as a contract sending party and participating in the credit project in a contract database corresponding to the database address;
b. Reading the credit participation user recorded in the appointment data table as an appointment party to participate in the credit contract generated by the credit item;
c. the read credit participating users are displayed on the contract display page to serve as contracting parties to participate in the credit items to generate contract identifications and contract information of the credit contracts;
d. And if the contract identification and the viewing instruction of the contract information in the display area are received, the credit contract is displayed on the contract display page.
According to the above example, for the user a who has participated in the credit items provided by the credit platform, firstly, a contract database for storing the credit contract of the user a is determined according to the database address of the contract database of the user a, and a contract data table for storing the credit contract which is signed as a sponsor is determined to be a contract data table in the contract database of the user a according to 3 contract data tables of a contract data table, a contract data table and a performance data table in the contract database;
secondly, according to an agreement database of the user A, storing an agreement data table of the credit agreement which is used as an agreement party to participate in the signing, and reading the credit agreement which is used as the agreement party to participate in the signing in the agreement data table;
Then, in the credit contract which the user a participates in as the contracting party, the contract ID and the item name of the credit item corresponding to the credit contract recorded therein are extracted, the read contract ID and the item name of the corresponding credit item are displayed on the contract display page, and assuming that the user a participates in signing 5 credit contracts as the contracting party in total in the past, the contract ID and the item name of the corresponding credit contract which the user a participates in as the contracting party displayed on the contract display page are shown in table 1:
contract ID
|
Item name corresponding to credit item
|
XXXXXXXX
|
Credit equity item 1
|
XXXXXXXX
|
credit equity item 2
|
XXXXXXXX
|
credit loan item 1
|
XXXXXXXX
|
credit loan item 2
|
XXXXXXXX
|
Credit equity item 3 |
TABLE 1
finally, in the process that the contract display page displays the contract ID of the credit contract which the user A participates in signing and the project name of the corresponding credit project, if the user A wants to more carefully and comprehensively view the content of the credit contract, the contract ID and the display area where the project name of the corresponding credit project is located can be clicked through touch actions, and once the click touch action in the display area is detected, the contract display page displays the whole content of the credit contract corresponding to the clicked contract ID or the project name of the corresponding credit project.
the above implementation manner of viewing the credit contract signed by the sponsor as the sponsor for viewing the credit participating user at the perspective of the sponsor is matched with the following implementation manner of viewing the credit contract signed by the sponsor as the sponsor for viewing the credit participating user at the perspective of the sponsor, so that multi-perspective credit contract display is realized together, and not only is more intuitive credit contract display provided for the credit participating user at different perspectives, but also the credit contract display at the sponsor perspective and the sponsor perspective can enable the credit participating user to have more diverse and comprehensive understanding on the credit contract signed in the past, and the perception of the credit participating user on the credit contract is improved.
2) reading the credit contract of the type that the credit participating user is signed as an contracting party according to the contract storage address, and displaying the read credit contract of the type that the credit participating user is signed as an contracting party on the contract display page, wherein the specific implementation is as follows:
a. Determining a contract data table corresponding to a credit contract generated by using a participating user as a contract responding party in a contract database corresponding to the database address and participating in the credit project;
b. reading the credit participation users recorded in the contract data table as contract parties to participate in the credit contract generated by the credit items;
c. Displaying the read contract identification and contract information of the credit contract on the contract display page;
d. And if the contract identification and the viewing instruction of the contract information in the display area are received, the credit contract is displayed on the contract display page.
according to the above example, for the user a who has participated in the credit items provided by the credit platform, firstly, a contract database for storing the credit contract of the user a is determined according to the database address of the contract database of the user a, and a contract data table for storing the credit contract which is signed as a counterparty and is taken as a counterparty is determined to be a contract data table in the contract database of the user a according to 3 contract data tables of a contract data table, a contract data table and a performance data table in the contract database;
secondly, according to an appointment data table of the credit contract signed by the user A as the appointment party stored in the contract database of the user A, reading the credit contract signed by the user A as the appointment party in the appointment data table;
then, in the credit contract signed by the user a as the counterparty, the contract ID and the item name of the credit item corresponding to the credit contract recorded therein are extracted, the read contract ID and the item name of the corresponding credit item are displayed on the contract display page, and assuming that the user a has participated in signing 5 credit contracts in total in the past, the contract ID and the item name of the corresponding credit contract of the user a participating in signing displayed on the contract display page are shown in table 2:
contract ID
|
item name corresponding to credit item
|
XXXXXXXX
|
Credit equity item 1
|
XXXXXXXX
|
credit book borrowing item 1
|
XXXXXXXX
|
credit equity item 2
|
XXXXXXXX
|
Credit loan item 1
|
XXXXXXXX
|
credit equity item 3 |
TABLE 2
finally, in the process that the contract display page displays the contract ID of the credit contract which the user A participates in signing and the project name of the corresponding credit project, if the user A wants to more carefully and comprehensively view the content of the credit contract, the contract ID and the display area where the project name of the corresponding credit project is located can be clicked through touch actions, and once the click touch action in the display area is detected, the contract display page displays the whole content of the credit contract corresponding to the clicked contract ID or the project name of the corresponding credit project.
3) Reading the credit contract of the type that the credit participating users participate in the signing and in the performance state according to the contract storage address, and displaying the read credit contract of the type that the credit participating users participate in the signing and in the performance state on the contract display page, wherein the specific implementation is as follows:
a. determining a performance data table corresponding to a credit contract in a performance state, which is generated by participating in credit projects of users in a contract database corresponding to the database address;
b. reading a performance record of a credit contract in a performance state, generated by participation of credit items by credit participating users recorded in the performance data table;
c. and displaying a performance record of the credit contract in a performance state generated by the read credit participation user participating in the credit item on the contract display page.
According to the above example, for the user a who has participated in the credit items provided by the credit platform, firstly, determining a contract database for storing the credit contract of the user a according to the database address of the contract database of the user a, and determining a contract data table for storing the credit contract performance record participated in by the user a as a performance data table in the contract database of the user a according to 3 contract data tables of a contract data table, a contract-answering data table and a performance data table in the contract database;
secondly, reading a performance record of the credit contract which the user A participates in the signing in the performance data table according to the performance data table of the credit contract which the user A participates in the signing in the contract database of the user A;
and finally, according to the performance state of the credit contract signed by the user A, only the performance record of the credit contract with the performance state being the current performance state is displayed on the contract display page, and the performance record of the credit contract with the performance state being the completed performance state is not required to be displayed.
The multi-view display method of the credit contract provided by the application utilizes the display control of the contract display page, by associating the presentation control with the credit contract generated during participation of the credit participating user in the credit program, in the case that the credit user triggers different display controls, the credit contracts of the credit participating users at two different perspectives, namely an offer party and a delivery party, can be displayed on the contract display page, so that the credit participating users can not only stand at the perspective of the offeror to view the credit contract they have entered into as an offeror party, meanwhile, the client can stand at the perspective of the client to check the credit contract which is taken as the client to participate in signing, so that the multi-perspective credit contract display is realized, the display of the credit contract is more visual and more complete, the perception of the credit participation user on the credit project is improved, and the promotion of the credit project and the improvement of a credit system are facilitated.
the embodiment of the multi-view display device for the credit contract provided by the application is as follows:
In the above embodiments, a credit contract multi-view display method is provided, and correspondingly, a credit contract multi-view display apparatus is also provided in the present application, which is described below with reference to the accompanying drawings.
Referring to fig. 2, a schematic diagram of an embodiment of a credit contract multi-view showing device provided by the present application is shown.
Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to the corresponding description of the method embodiments provided above for relevant portions. The device embodiments described below are merely illustrative.
the application provides a credit contract multi-view display device, includes:
a contract viewing request obtaining module 202 configured to obtain a contract viewing request generated by a credit participation user triggering a display control of a contract display page; the display control comprises a contract sending display control corresponding to a credit contract generated by the credit item and used as a contract sending party, and a contract responding display control corresponding to the credit contract generated by the credit item and used as a contract responding party;
A contract type determining module 204, configured to determine a contract type corresponding to the contract viewing request according to a control type of a display control triggered by the credit participation user included in the contract viewing request;
A contract storage address determination module 206 configured to parse the user identifier included in the contract viewing request to obtain a contract storage address of the credit participation user;
a credit contract presentation module 208 configured to read a credit contract of the credit participating user under the contract type according to the contract storage address, and present the read credit contract under the contract type on the contract presentation page.
optionally, the contract storage address determining module 206 includes:
the first storage identification analysis submodule is configured to analyze the storage identification bits of the user identification to obtain the storage identification of the credit participation user;
A first contract data table determination submodule configured to determine a contract data table storing a credit contract of the credit participating user according to the storage identification;
and the first contract storage address determination submodule is configured to determine a contract database to which the contract data table belongs according to the data table identification of the contract data table, and use the database address of the contract database as the contract storage address of the credit participation user.
optionally, the contract type determining module 204 includes:
And the first contract type determining sub-module is configured to determine, according to a contract sending control type of a contract sending display control triggered by the credit participation user and contained in the contract viewing request, that a contract type corresponding to the contract sending control type is a credit contract generated by the credit participation user as a contract sending party participating in a credit project, and the contract type corresponding to the contract viewing request containing the contract sending control type.
Optionally, the credit contract display module 208 includes:
a contract data table determining sub-module configured to determine a contract data table corresponding to a credit contract generated by a credit item, which is taken as a contracting party and is participated by the credit participating user in a contract database corresponding to the database address;
a first credit contract reading sub-module configured to read a credit contract generated by the credit participating user as a sponsor participating in a credit project, which is recorded in the reduction data table;
a first contract information reading sub-module configured to display the read contract identification of the credit contract and the contract information on the contract display page;
And the first credit contract display sub-module is configured to display the credit contract on the contract display page if the contract identification and the viewing instruction of the contract information in the display area are received, wherein the contract identification and the viewing instruction are displayed on the contract display page by the credit participating user.
Optionally, the contract type determining module 204 includes:
And a second contract type determination sub-module, configured to determine, according to a contract-applying control type of a contract-applying display control triggered by the credit participation user included in the contract viewing request, that a contract type corresponding to the contract-applying control type is a credit contract generated by the credit participation user as a contract-applying party participating in a credit project, and the contract type corresponding to the contract viewing request including the contract-applying control type.
optionally, the credit contract display module 208 includes:
a contract data table determining sub-module configured to determine a contract data table corresponding to a credit contract generated by the credit item and used as a contract party by the credit participating user in a contract database corresponding to the database address;
A second credit contract reading submodule configured to read a credit contract generated by the credit participating user as an offeree participating in a credit project, the credit participating user being recorded in the offeree data table;
A second contract information reading sub-module configured to display the read contract identification of the credit contract and the contract information on the contract display page;
And the second credit contract display sub-module is configured to display the credit contract on the contract display page if the contract identification and the viewing instruction of the contract information in the display area are received, wherein the contract identification and the viewing instruction are displayed on the contract display page by the credit participating user.
optionally, the display control further includes: and the credit participation user participates in a performance display control corresponding to the credit contract in the performance state generated by the credit item.
optionally, the contract type determining module 204 includes:
a third contract type determining sub-module, configured to determine, according to a contract control type of a performance display control triggered by the credit participation user included in the contract viewing request, a credit contract in a performance state generated for the credit participation user to participate in a credit item by the contract type corresponding to the performance control type, as a contract type corresponding to the contract viewing request including the performance control type.
Optionally, the credit contract display module 208 includes:
a fulfillment data table determining sub-module configured to determine a fulfillment data table corresponding to a credit contract in a fulfillment state generated by participation of the credit participation user in a credit item in a contract database corresponding to the database address;
A fulfillment record reading sub-module configured to read a fulfillment record of a credit contract in a fulfillment state, recorded in the fulfillment data table, for participation of the credit participating users in credit item generation;
And the performance record display sub-module is configured to display the read performance record of the credit contract in the performance state generated by the credit participation user participating in the credit project on the contract display page.
the multi-view display device for the credit contract provided by the application displays the display control of the page by virtue of the contract, by associating the presentation control with the credit contract generated during participation of the credit participating user in the credit program, in the case that the credit user triggers different display controls, the credit contracts of the credit participating users at two different perspectives, namely an offer party and a delivery party, can be displayed on the contract display page, so that the credit participating users can not only stand at the perspective of the offeror to view the credit contract they have entered into as an offeror party, meanwhile, the client can stand at the perspective of the client to check the credit contract which is taken as the client to participate in signing, so that the multi-perspective credit contract display is realized, the display of the credit contract is more visual and more complete, the perception of the credit participation user on the credit project is improved, and the promotion of the credit project and the improvement of a credit system are facilitated.
The embodiment of the computing device provided by the application is as follows:
fig. 3 is a block diagram illustrating a configuration of a computing device 300 according to an embodiment of the present description. The components of the computing device 300 include, but are not limited to, memory 310 and processor 320. The processor 320 is coupled to the memory 310 via a bus 330 and the database 350 is used to store data.
computing device 300 also includes access device 340, access device 340 enabling computing device 300 to communicate via one or more networks 360. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 340 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
in one embodiment of the present description, the above-described components of computing device 300 and other components not shown in FIG. 3 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 3 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
computing device 300 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 300 may also be a mobile or stationary server.
the present application provides a computing device comprising a memory 310, a processor 320, and computer instructions stored on the memory and executable on the processor, the processor 320 being configured to execute the following computer-executable instructions:
acquiring a contract viewing request generated by a credit participation user triggering a display control of a contract display page; the display control comprises a contract sending display control corresponding to a credit contract generated by the credit item and used as a contract sending party, and a contract responding display control corresponding to the credit contract generated by the credit item and used as a contract responding party;
Determining a contract type corresponding to the contract viewing request according to a control type of a display control triggered by the credit participation user and contained in the contract viewing request;
Analyzing the user identification contained in the contract viewing request to obtain a contract storage address of the credit participation user;
and reading the credit contract of the credit participation user under the contract type according to the contract storage address, and displaying the read credit contract under the contract type on the contract display page.
Optionally, the analyzing the user identifier included in the contract viewing request to obtain the contract storage address of the credit participation user includes:
analyzing the storage identification bit of the user identification to obtain the storage identification of the credit participation user;
determining a contract data table for storing the credit contract of the credit participation user according to the storage identification;
and determining a contract database to which the contract data table belongs according to the data table identification of the contract data table, and taking the database address of the contract database as a contract storage address of the credit participation user.
Optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
And according to a contract sending control type of a contract sending display control triggered by the credit participation user and contained in the contract checking request, determining that the contract type corresponding to the contract sending control type is a credit contract generated by the credit participation user serving as a contract sending party and participating in a credit item, and the contract type corresponding to the contract checking request containing the contract sending control type.
optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
Determining a contract sending data table corresponding to a credit contract generated by a credit project and used as a contract sending party by the credit participating user in a contract database corresponding to the database address;
reading the credit participation user recorded in the issue data table as an issuing party to participate in a credit contract generated by credit items;
displaying the read contract identification and contract information of the credit contract on the contract display page;
and if the contract identification and the viewing instruction of the contract information in the display area are received, the credit contract is displayed on the contract display page.
Optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
And determining that the contract type corresponding to the contract-applying control type is a credit contract generated by the credit participating user as an contracting party and participating in a credit item according to the contract-applying control type of a contract-applying display control triggered by the credit participating user and contained in the contract viewing request, and the contract type corresponding to the contract viewing request containing the contract-applying control type.
optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
Determining a contract data table corresponding to a credit contract generated by taking the credit participating user as a contract responding party and participating in a credit project in a contract database corresponding to the database address;
reading the credit participation user recorded in the contract data table as a contract party to participate in a credit contract generated by credit items;
Displaying the read contract identification and contract information of the credit contract on the contract display page;
And if the contract identification and the viewing instruction of the contract information in the display area are received, the credit contract is displayed on the contract display page.
optionally, the display control further includes: and the credit participation user participates in a performance display control corresponding to the credit contract in the performance state generated by the credit item.
optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
And determining a contract type corresponding to the performance control type as a credit contract which is generated for the credit participation user to participate in a credit project and is in a performance state according to the performance control type of a performance display control triggered by the credit participation user and contained in the contract viewing request, and taking the credit contract as a contract type corresponding to the contract viewing request containing the performance control type.
optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
determining a performance data table corresponding to a credit contract in a performance state generated by the credit participation user participating in the credit item in a contract database corresponding to the database address;
Reading a performance record of a credit contract in a performance state, generated by participation of the credit participating users in a credit project, recorded in the performance data table;
and displaying the read credit participation user participating in the performance record of the credit contract generated by the credit item and in the performance state on the contract display page.
the embodiment of a computer-readable storage medium provided by the application is as follows:
The present application provides a computer readable storage medium storing computer instructions that, when executed by a processor, are operable to:
acquiring a contract viewing request generated by a credit participation user triggering a display control of a contract display page; the display control comprises a contract sending display control corresponding to a credit contract generated by the credit item and used as a contract sending party, and a contract responding display control corresponding to the credit contract generated by the credit item and used as a contract responding party;
determining a contract type corresponding to the contract viewing request according to a control type of a display control triggered by the credit participation user and contained in the contract viewing request;
Analyzing the user identification contained in the contract viewing request to obtain a contract storage address of the credit participation user;
And reading the credit contract of the credit participation user under the contract type according to the contract storage address, and displaying the read credit contract under the contract type on the contract display page.
optionally, the analyzing the user identifier included in the contract viewing request to obtain the contract storage address of the credit participation user includes:
analyzing the storage identification bit of the user identification to obtain the storage identification of the credit participation user;
Determining a contract data table for storing the credit contract of the credit participation user according to the storage identification;
and determining a contract database to which the contract data table belongs according to the data table identification of the contract data table, and taking the database address of the contract database as a contract storage address of the credit participation user.
optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
and according to a contract sending control type of a contract sending display control triggered by the credit participation user and contained in the contract checking request, determining that the contract type corresponding to the contract sending control type is a credit contract generated by the credit participation user serving as a contract sending party and participating in a credit item, and the contract type corresponding to the contract checking request containing the contract sending control type.
optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
Determining a contract sending data table corresponding to a credit contract generated by a credit project and used as a contract sending party by the credit participating user in a contract database corresponding to the database address;
Reading the credit participation user recorded in the issue data table as an issuing party to participate in a credit contract generated by credit items;
Displaying the read contract identification and contract information of the credit contract on the contract display page;
and if the contract identification and the viewing instruction of the contract information in the display area are received, the credit contract is displayed on the contract display page.
optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
and determining that the contract type corresponding to the contract-applying control type is a credit contract generated by the credit participating user as an contracting party and participating in a credit item according to the contract-applying control type of a contract-applying display control triggered by the credit participating user and contained in the contract viewing request, and the contract type corresponding to the contract viewing request containing the contract-applying control type.
optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
determining a contract data table corresponding to a credit contract generated by taking the credit participating user as a contract responding party and participating in a credit project in a contract database corresponding to the database address;
reading the credit participation user recorded in the contract data table as a contract party to participate in a credit contract generated by credit items;
displaying the read contract identification and contract information of the credit contract on the contract display page;
and if the contract identification and the viewing instruction of the contract information in the display area are received, the credit contract is displayed on the contract display page.
optionally, the display control further includes: and the credit participation user participates in a performance display control corresponding to the credit contract in the performance state generated by the credit item.
Optionally, the determining, according to the control type of the display control triggered by the credit participation user included in the contract viewing request, a contract type corresponding to the contract viewing request includes:
and determining a contract type corresponding to the performance control type as a credit contract which is generated for the credit participation user to participate in a credit project and is in a performance state according to the performance control type of a performance display control triggered by the credit participation user and contained in the contract viewing request, and taking the credit contract as a contract type corresponding to the contract viewing request containing the performance control type.
Optionally, the reading the credit contract of the credit participation user in the contract type according to the contract storage address, and displaying the read credit contract in the contract type on the contract display page includes:
determining a performance data table corresponding to a credit contract in a performance state generated by the credit participation user participating in the credit item in a contract database corresponding to the database address;
Reading a performance record of a credit contract in a performance state, generated by participation of the credit participating users in a credit project, recorded in the performance data table;
and displaying the read credit participation user participating in the performance record of the credit contract generated by the credit item and in the performance state on the contract display page.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above-mentioned credit contract multi-view showing method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned credit contract multi-view showing method.
the computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
it should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
the preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.