CN115168767A - Voucher uploading method, device, system, equipment and storage medium - Google Patents

Voucher uploading method, device, system, equipment and storage medium Download PDF

Info

Publication number
CN115168767A
CN115168767A CN202210744707.8A CN202210744707A CN115168767A CN 115168767 A CN115168767 A CN 115168767A CN 202210744707 A CN202210744707 A CN 202210744707A CN 115168767 A CN115168767 A CN 115168767A
Authority
CN
China
Prior art keywords
uploading
service
certificate
data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210744707.8A
Other languages
Chinese (zh)
Inventor
刘佳翰
张栋芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding 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 Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202210744707.8A priority Critical patent/CN115168767A/en
Publication of CN115168767A publication Critical patent/CN115168767A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a voucher uploading method, a device, a system, equipment and a storage medium, wherein the method comprises the following steps: responding to a certificate uploading instruction sent by a detected service front end, and acquiring uploading request data in the certificate uploading instruction; the uploading request data comprises a target service front end identifier corresponding to the service front end; determining a page access address based on the target service front-end identification, and sending the page access address to the service front-end so that the service front-end displays a certificate uploading page corresponding to the target service front-end identification through accessing the page access address; and responding to the received current certificate data input by the service front end based on the certificate uploading page, acquiring a target storage server identification corresponding to the target service front end identification, and storing the current certificate data into the target storage server corresponding to the target storage server identification. The embodiment of the invention solves the problem that the voucher uploading service of a plurality of service lines needs to be repeatedly developed, and reduces the management difficulty of the loan voucher.

Description

Voucher uploading method, device, system, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a credential uploading method, apparatus, system, device, and storage medium.
Background
In the field of electronic loan, in order to realize the supervision of the capital flow direction of loan services, a borrower is required to upload consumption certificates to prove that the loan money is used in a reasonable place, and the collection of the loan certificates is an important service provided by the electronic loan services. The field of electronic loan involves a wide variety of business lines, such as various loan types (e.g., credit, car, house, consumption, etc.) and various loan products corresponding to the loan types, respectively.
In the process of implementing the invention, at least the following technical problems are found in the prior art:
in the prior art, a loan voucher uploading program is independently developed for each service line, and a plurality of service lines are respectively developed repeatedly, so that the development efficiency is reduced while manpower is consumed, and the difficulty in uniformly managing the loan vouchers of the service lines is increased.
Disclosure of Invention
The invention provides a voucher uploading method, a device, a system, equipment and a storage medium, which are used for solving the problem that the voucher uploading service of a plurality of service lines needs to be repeatedly developed and reducing the uniform management difficulty of loan vouchers of the plurality of service lines.
According to an aspect of the present invention, there is provided a credential uploading method, the method including:
in response to the detection of a certificate uploading instruction sent by a business front end, acquiring uploading request data in the certificate uploading instruction; the uploading request data comprises a target service front end identifier corresponding to the service front end;
generating a page access address based on the target service front-end identifier, and sending the page access address to the service front-end, so that the service front-end displays a certificate uploading page corresponding to the target service front-end identifier by accessing the page access address;
and responding to the received current certificate data input by the service front end based on the certificate uploading page, acquiring a target storage server identification corresponding to the target service front end identification, and storing the current certificate data into the target storage server corresponding to the target storage server identification.
According to another aspect of the present invention, there is provided a credential uploading apparatus, the apparatus comprising:
the system comprises an upload request data acquisition module, a certificate uploading module and a certificate processing module, wherein the upload request data acquisition module is used for responding to a detected certificate uploading instruction sent by a service front end and acquiring upload request data in the certificate uploading instruction; the uploading request data comprises a target service front end identifier corresponding to the service front end;
the page access address sending module is used for generating a page access address based on the target service front-end identifier and sending the page access address to the service front end so that the service front end can display a certificate uploading page corresponding to the target service front-end identifier by accessing the page access address;
and the current certificate data storage module is used for responding to the received current certificate data input by the service front end based on the certificate uploading page, acquiring a target storage service end identifier corresponding to the target service front end identifier, and storing the current certificate data into the target storage service end corresponding to the target storage service end identifier.
According to another aspect of the present invention, there is provided a credential upload system comprising: the certificate uploading server, the at least one business front end and the at least one storage server;
the service front end is used for sending a certificate uploading instruction generated based on detected certificate uploading operation to the certificate uploading server, displaying a certificate uploading page corresponding to a target service front end identifier in uploading request data in the certificate uploading instruction by accessing a received page access address sent by the certificate uploading server, and sending current certificate data input by a user based on the certificate uploading page to the certificate uploading server;
the certificate uploading server is used for responding to a certificate uploading instruction sent by a detected business front end, acquiring uploading request data in the certificate uploading instruction, determining a page access address based on a target business front end identifier corresponding to the business front end in the uploading request data, sending the page access address to the business front end, responding to the received current certificate data sent by the business front end, acquiring a target storage server identifier corresponding to the target business front end identifier, and sending the current certificate data to a target storage server corresponding to the target storage server identifier;
and the storage server is used for storing the received current certificate data sent by the certificate uploading server in a local storage space.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform a credential upload method according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a credential upload method according to any one of the embodiments of the present invention when executed.
The technical scheme of the embodiment of the invention includes that a voucher uploading instruction sent by a business front end is received by a voucher uploading server, uploading request data in the voucher uploading instruction is obtained, a page access address is determined based on a target business front end identifier corresponding to the business front end in the uploading request data, the page access address is sent to the business front end, so that the business front end displays a voucher uploading page corresponding to the target business front end identifier through the page access address, and the current voucher data is stored in a target storage server corresponding to a target storage server identifier corresponding to the target business front end identifier in response to the received current voucher data sent by the business front end on the voucher uploading page, so that the problem that the voucher uploading services of a plurality of business lines need to be repeatedly developed is solved, the consistency and the development efficiency of the voucher uploading services of the plurality of business lines are improved, the purpose of uniformly managing the voucher uploading services of the plurality of business lines is achieved, and the difficulty of uniformly managing the voucher data is reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a credential uploading method provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of a credential upload page provided by an embodiment of the present invention;
FIG. 3 is a flow chart of another credential upload method provided by an embodiment of the present invention;
FIG. 4 is a flow chart of another credential upload method provided by an embodiment of the present invention;
FIG. 5 is a flowchart of another credential uploading method provided by an embodiment of the invention;
FIG. 6 is a flowchart of an embodiment of a credential upload method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a credential uploading apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a credential upload system provided by an embodiment of the present invention;
FIG. 9 is an interaction diagram of a credential uploading system provided by an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and the above-described drawings, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a flowchart of a credential uploading method according to an embodiment of the present invention, where the embodiment is applicable to processing a credential uploading service of different service lines, the method may be executed by a credential uploading apparatus, the credential uploading apparatus may be implemented in a form of hardware and/or software, and the credential uploading apparatus may be configured in a credential uploading server. As shown in fig. 1, the method includes:
s110, responding to the detected voucher uploading instruction sent by the service front end, and acquiring uploading request data in the voucher uploading instruction.
Specifically, the service front end is loaded with a service system provided for a user to use, and functions of service indexing, credential uploading, customer service management and the like are provided. The voucher uploading instruction can be generated based on clicking operation of a voucher uploading option displayed by a user at the front end of the business.
In this embodiment, the upload request data includes a target service front end identifier corresponding to the service front end. Specifically, the target service front end identifier may be used to uniquely mark the service front end. Illustratively, when the credential uploading service end is connected to the service front end a, the service front end B and the service front end C, and when a credential uploading instruction sent by the service front end a is received, a target service front end identifier in the obtained uploading request data is "a". Of course, the encoded content of the target service front end identifier may include at least one of words, letters, numbers and special symbols, and the specific encoded content of the target service front end identifier is not limited herein.
And S120, generating a page access address based on the target service front end identifier, and sending the page access address to the service front end so that the service front end displays a voucher uploading page corresponding to the target service front end identifier through accessing the page access address.
The address format of the page access address may be, for example, a URL (Uniform Resource Locator) format, where the URL address is colloquially called a web address, and is a character string used to describe an information Resource address on the internet, and generally includes a protocol portion, a web address, and a file address portion. In an embodiment, optionally, it is determined whether the length of the character string of the page access address exceeds a preset length threshold, and if so, the page access address is converted by using a short link service technology, and the converted page access address is sent to the service front end. For example, the preset length threshold may be 90. Short-link service techniques include, but are not limited to, incremental ID techniques, digest algorithm techniques, and ordinary random number techniques, among others.
The advantage of this is that the longer page access address usually exposes information such as resource source, and is easily shielded by the service front end, and is easily error-prone in the process of sending to the service front end. The conversion into a shorter page access address can effectively solve the technical problem.
Specifically, the credential uploading server corresponds the generated page access address to the credential uploading page corresponding to the target service front-end identifier. In one embodiment, optionally, the method further comprises: determining target page configuration data corresponding to the target service front-end identification based on a preset certificate configuration table; the preset certificate configuration table comprises at least one preset service front end identifier and page configuration data corresponding to each preset service front end identifier; and generating a voucher uploading page based on the target page configuration data.
Specifically, the service developer can perform custom setting on the page configuration data through a custom configuration function provided by the voucher uploading server, and the voucher uploading server generates a preset voucher configuration table based on the detected custom configuration information of the service developer.
Specifically, the page configuration data includes, but is not limited to, a page color, an uploaded page description, an uploaded page title, a page display voucher type, an uploaded voucher picture number limitation, and the like. For example, when the service front end corresponds to the credit loan service type, the upload page description in the page style data may be "please match the loan purpose confirmed when signing an agreement", and when the service front end corresponds to the housing loan service type, the upload page description in the page style data may be "please match the vehicle consumption purpose".
Fig. 2 is a schematic diagram of a credential upload page according to an embodiment of the present invention. Specifically, the voucher upload page shown in fig. 2 includes an upload page title "please upload the loan use certification", an upload page description "please match the loan use filled in during the loan", a page display loan use type "daily consumption", a page display voucher type "invoice", and a voucher picture format description ". The voucher picture format description supports JPG and PNG".
The voucher uploading server side manages the page configuration data of different service lines in a unified mode, and the method has the advantages that the situation that the page types of the voucher uploading pages are various and user experience is poor due to the fact that a plurality of service lines are separately developed is avoided, and consistency of the voucher uploading pages of different service lines is improved.
S130, responding to the received current certificate data input by the service front end based on the certificate uploading page, acquiring a target storage server end identifier corresponding to the target service front end identifier, and storing the current certificate data into the target storage server end corresponding to the target storage server end identifier.
Exemplary, current credential data includes, but is not limited to, current credential usage, current credential type, and current credential picture, among others. Specifically, the current voucher picture comprises a voucher original picture and a voucher thumbnail, wherein the voucher thumbnail is a picture obtained after the voucher original picture is subjected to compression operation.
Specifically, the preset credential configuration table further includes storage server identifiers corresponding to the at least one preset service front-end identifier. The encoded content of the storage server identifier may include at least one of words, letters, numbers, and special symbols, and the specific encoded content of the storage server identifier is not limited herein.
According to the technical scheme of the embodiment, the voucher uploading instruction sent by the business front end is received by the voucher uploading server, the uploading request data in the voucher uploading instruction is obtained, the page access address is determined based on the target business front end identifier corresponding to the business front end in the uploading request data, the page access address is sent to the business front end, so that the business front end displays the voucher uploading page corresponding to the target business front end identifier through the page access address, the received current voucher data sent by the business front end on the voucher uploading page is responded, the current voucher data is stored in the target storage server corresponding to the target storage server identifier corresponding to the target business front end identifier, the problem that the voucher uploading services of a plurality of business lines need to be repeatedly developed is solved, the consistency and the development efficiency of the voucher uploading services of the plurality of business lines are improved, the purpose of uniformly managing the voucher uploading services of the plurality of business lines is achieved, and the difficulty of uniformly managing the voucher data is reduced.
Fig. 3 is a flowchart of another credential uploading method provided in an embodiment of the present invention, and the present embodiment further optimizes the method for generating a credential uploading page in the foregoing embodiment, as shown in fig. 3, the method includes:
s210, responding to the detected voucher uploading instruction sent by the service front end, and acquiring uploading request data in the voucher uploading instruction.
In this embodiment, the upload request data includes a target service front end identifier and a service unique identifier corresponding to the service front end, where the service unique identifier includes a user identifier and/or a service ticket number. The service unique identifier may be used to uniquely tag each user or each loan.
S220, generating a page access address based on the target service front end identification.
In this embodiment, generating a page access address based on the target service front-end identifier includes: and generating a page access address based on the target service front end identification and the service unique identification. Specifically, the same target service front end identifier corresponds to at least one page access address, but the same target service front end identifier and the same service unique identifier correspond to one page access address.
And S230, determining target page configuration data corresponding to the target service front-end identifier based on a preset certificate configuration table.
In this embodiment, the service developer may set, in advance, the corresponding page configuration data for each preset service front end identifier in a user-defined manner. Certainly, the service developer may also set, in advance, corresponding page configuration data in a user-defined manner for at least one service unique identifier corresponding to each preset service front end identifier, respectively, that is, the preset credential configuration table includes at least one preset service front end identifier, at least one service unique identifier corresponding to each preset service front end identifier, and page configuration data corresponding to each service unique identifier.
In one embodiment, the preset credential configuration table includes at least one preset service front-end identifier and page configuration data corresponding to each preset service front-end identifier, and the determined target page configuration data is the page configuration data corresponding to the target service front-end identifier in the preset credential configuration table. In another embodiment, the preset credential configuration table includes at least one preset service front end identifier, at least one service unique identifier corresponding to each preset service front end identifier, and page configuration data corresponding to each service unique identifier, and the determined target page configuration data is the page configuration data corresponding to the target service front end identifier and the service unique identifier in the preset credential configuration table.
S240, acquiring historical voucher data from the target storage server corresponding to the target storage server identification based on the target service front end identification and the service unique identification.
Specifically, the storage server stores at least one preset service front end identifier, at least one service unique identifier corresponding to each preset service front end identifier, and historical credential data corresponding to each service unique identifier. The historical voucher data is the voucher data uploaded to the target storage server side by the user before the voucher uploading operation. By way of example, historical credential data includes, but is not limited to, historical credential usage, historical credential type, and historical credential thumbnail, among others. The data transmission efficiency and the page rendering efficiency of the voucher uploading page can be improved by obtaining the historical voucher thumbnail.
And S250, generating a voucher uploading page based on the historical voucher data and the target page configuration data.
In this embodiment, the voucher upload page includes the historical voucher data corresponding to the target service front end identifier and the service unique identifier, and the upload page description, the upload page title, the page display voucher type, and the like in the target page configuration data.
In an embodiment, optionally, the target page configuration data includes an upload time threshold and page style data, and accordingly, the generating of the credential upload page based on the historical credential data and the target page configuration data includes: acquiring historical uploading times corresponding to the service unique identifiers in a certificate service record table based on the target service front end identifiers, wherein the certificate service record table comprises at least one preset service front end identifier, at least one service unique identifier corresponding to each preset service front end identifier and the historical uploading times corresponding to each preset service unique identifier; if the historical uploading times are smaller than the uploading time threshold, generating a voucher uploading page based on the historical voucher data and the page style data; and the attribute state of the voucher submitting option in the voucher uploading page is an available state.
Specifically, when the unique service identifier only includes the user identifier, the same user identifier may correspond to multiple service front-end identifiers, and the number of historical upload times obtained by querying the credential service record table based on the unique service identifier may be multiple, so that the credential service record table needs to be queried based on the target service front-end identifier and the unique service identifier.
Specifically, the voucher service record table can be used for recording upload request data and counting historical upload times. In this implementation, the method further comprises: and after the uploading request data in the voucher uploading instruction is acquired, adding 1 to the historical uploading times corresponding to the target service front-end identifier and the service unique identifier in the voucher service record table to obtain the updated historical uploading times.
On the basis of the foregoing embodiment, optionally, the method further includes: if the historical uploading times are equal to the uploading time threshold, generating a voucher uploading page based on the historical voucher data and the page style data; the attribute state of the voucher submitting option in the voucher uploading page is an unavailable state.
The method has the advantages that the generated voucher uploading page is subjected to personalized management based on the uploading frequency threshold, and the purpose of managing the behavior frequency of the voucher uploaded by the user is achieved.
And S260, sending the page access address to the service front end so that the service front end displays the voucher uploading page corresponding to the target service front end identifier through accessing the page access address.
S270, responding to the received current certificate data input by the business front end based on the certificate uploading page, obtaining a target storage server end identifier corresponding to the target business front end identifier, and storing the current certificate data into the target storage server end corresponding to the target storage server end identifier.
In the voucher uploading service, the same service front end usually provides service for multiple users, and the same user usually corresponds to at least one service order number. According to the technical scheme, historical voucher data are obtained from the target storage server corresponding to the target storage server identifier based on the target business front end identifier and the business unique identifier in the uploading request data, and the voucher uploading page is generated based on the historical voucher data and the target page configuration data, so that the problem that the page content of the voucher uploading page is too single is solved, the corresponding voucher uploading page can be displayed according to different users and/or business single numbers, the coupling degree between the voucher uploading page and the users and/or business single numbers is improved, and further user experience is improved.
Fig. 4 is a flowchart of another credential uploading method provided in an embodiment of the present invention, where this embodiment further optimizes technical features after storing current credential data in a target storage server corresponding to a target storage server identifier in the above embodiment, and as shown in fig. 4, the method includes:
s310, responding to the detected voucher uploading instruction sent by the service front end, and acquiring uploading request data in the voucher uploading instruction.
In this embodiment, the upload request data further includes a page callback address, and the page callback address includes an upload success callback address and an upload failure callback address. The page callback address is used for describing a network address which is sent to the business front end by the certificate uploading server after the certificate uploading process is completed, and the business front end displays the corresponding business page through accessing the page callback address.
S320, generating a page access address based on the target service front end identifier, and sending the page access address to the service front end, so that the service front end displays a certificate uploading page corresponding to the target service front end identifier through accessing the page access address.
S330, responding to the received current certificate data input by the service front end based on the certificate uploading page, acquiring a target storage server end identifier corresponding to the target service front end identifier, and storing the current certificate data into the target storage server end corresponding to the target storage server end identifier.
And S340, receiving a data storage state returned by the target storage server.
On the basis of the foregoing embodiment, optionally, the method further includes: generating an uploading record identifier based on the uploading request data; after current certificate data are stored in a target storage server corresponding to a target storage server identification, in response to receipt of certificate storage data returned by the target storage server, correspondingly adding an uploading record identification, the target storage server identification and the certificate storage data into a certificate storage record table; the certificate storage data represents the storage information of the current certificate data in the target storage server.
Specifically, the uploading record identifier is used for uniquely marking the certificate uploading operation. In this embodiment, the credential storage data comprises a data storage state. The credential storage data further illustratively includes a credential type, a storage folder code, a storage file code, a thumbnail folder code, a thumbnail file code.
In an embodiment, optionally, each record content in the credential storage record table includes a target service front-end identifier, a user identifier, a service ticket number, an upload record identifier, a credential type, a storage folder code, a storage file code, a thumbnail folder code, a thumbnail file code, a service front-end upload file code, and a target storage service end identifier, respectively. The storage file codes are used for describing file codes generated by the target storage server based on the current certificate data, and the business front-end uploading file codes are used for describing file codes respectively corresponding to certificate original images and certificate thumbnails in the current certificate data.
The method has the advantages that the stored information of the voucher uploading service can be conveniently inquired and traced afterwards, and the purpose of uniformly managing the stored information of the voucher uploading service is achieved.
And S350, judging whether the data storage state is successful, if so, executing S360, and if not, executing S370.
Specifically, if the current credential data is successfully stored in the target storage server, the data storage state returned by the target storage server is storage success, and if the current credential data is unsuccessfully stored in the target storage server due to problems such as network transmission and storage capacity, the data storage state returned by the target storage server is storage failure.
And S360, sending the callback address successfully uploaded to the service front end, so that the service front end displays a page successfully uploaded by the voucher by accessing the callback address successfully uploaded.
On the basis of the foregoing embodiment, optionally, the preset credential configuration table further includes callback modes corresponding to the preset service front end identifiers, and correspondingly, the method further includes: acquiring a target callback mode corresponding to a target service front-end identifier in a preset certificate configuration table; the target callback mode is an asynchronous message notification mode or a hypertext transfer protocol mode; and if the received data storage state returned by the target storage server side is successful in storage, the generated certificate uploading success information is sent to the service back end in a target callback mode, so that the service back end obtains the current certificate data uploaded by the service front end based on the received certificate uploading success information and the certificate downloading interface.
Exemplary techniques employed by the asynchronous message notification approach include, but are not limited to, message middleware system (JMQ), open-source distributed publish-subscribe messaging system (kafka), rocktmq techniques, and so on.
Specifically, the back end of the business is loaded with a business system for loan workers to use, and the functions of voucher data query, voucher data download, loan business management and the like are provided.
The voucher downloading interface is a downloading interface provided by the voucher uploading server to the service back end, and provides a single-piece downloading or batch downloading function for the service back end. Specifically, when a credential download instruction sent by the service backend by calling the credential download interface is received, based on the target service front-end identifier in the credential download instruction, credential data corresponding to the target service front-end identifier is obtained from the target storage service end corresponding to the target service front-end identifier, and the credential data is sent to the service backend.
The method has the advantages that the voucher data uploaded by the service front end can be conveniently downloaded and managed by the service back end, and the loan workers can provide the downloaded voucher data to the cooperation parties such as banks and supervision departments for compliance check.
And S370, sending the upload failure callback address to the service front end, so that the service front end displays the voucher upload failure page by accessing the upload failure callback address.
According to the technical scheme of the embodiment, when the received data storage state returned by the target storage server is successful in storage, the successful uploading callback address is sent to the business front end, so that the business front end can call back the successful uploading page of the certificate through accessing the successful uploading callback address, when the data storage state is failed in storage, the unsuccessful uploading callback address is sent to the business front end, so that the business front end can display the failed uploading page of the certificate through accessing the unsuccessful uploading callback address, and the problem of page display of the business front end after the certificate data is uploaded is solved.
Fig. 5 is a flowchart of another credential uploading method provided in an embodiment of the present invention, where this embodiment further optimizes technical features before generating a page access address based on a target service front end identifier in the foregoing embodiment, and as shown in fig. 5, the method includes:
s410, responding to the detected voucher uploading instruction sent by the service front end, and acquiring uploading request data in the voucher uploading instruction.
The upload request data in this embodiment includes a target service front end identifier and target verification data. Wherein, the target verification data comprises service line identification (source) and/or key data (token).
Illustratively, a service developer of the service front end a performs custom setting on page configuration data through a custom configuration function provided by a credential uploading server, and the credential uploading server stores a preset configuration table generated based on detected configuration information customized by the service developer in a local storage space and then sends generated verification data to the service front end a. Meanwhile, the certificate uploading server correspondingly stores the service front end A and the check data in a preset service configuration table.
On the basis of the foregoing embodiment, optionally, the method further includes: after obtaining the upload request data in the credential upload instruction, the method further comprises: and generating an uploading record identifier based on the uploading request data, and correspondingly adding the uploading record identifier and the uploading request data into the voucher service record table.
Specifically, the uploading record identifier is used for uniquely marking the uploading operation of the certificate. The uploading request data comprises a target service front-end identifier, a user identifier, a service sheet number, an uploading success callback address and an uploading failure callback address.
On the basis of the foregoing embodiment, optionally, the voucher service record table further includes a history uploading frequency, and the method further includes: and adding 1 to the historical uploading times corresponding to the target service front end identifier and the service unique identifier in the certificate service record table, and adding the updated historical uploading times to the corresponding position of the uploading record identifier in the certificate service record table.
In an embodiment, optionally, each record content in the credential service record table includes a target service front-end identifier, a user identifier, a service ticket number, an upload record identifier, an upload success callback address, an upload failure callback address, a history upload frequency, a credential type, and a credential use, respectively.
The method has the advantages that the uploading operation information of the voucher uploading service can be conveniently inquired and traced in the follow-up process, and the purpose of uniformly managing the uploading operation information of the voucher uploading service is achieved.
And S420, determining a verification state corresponding to the certificate uploading instruction based on the preset service configuration table, the target verification data and the target service front end identification.
In this embodiment, the preset service configuration table includes at least one preset service front end identifier and check data corresponding to each preset service front end identifier.
Specifically, if the target verification data is the same as the verification data corresponding to the target service front-end identifier in the preset service configuration table, the verification state is set as verification success, and if the target verification data is different from the verification data corresponding to the target service front-end identifier in the preset service configuration table, the verification state is set as verification failure.
S430, if the verification state is successful, generating a page access address based on the target service front-end identification.
Specifically, if the verification state is verification failure, the generated verification failure information is sent to the service front end.
S440, the page access address is sent to the service front end, so that the service front end displays the voucher uploading page corresponding to the target service front end identifier through the page access address.
S450, responding to the received current certificate data input by the service front end based on the certificate uploading page, acquiring a target storage server end identifier corresponding to the target service front end identifier, and storing the current certificate data into the target storage server end corresponding to the target storage server end identifier.
Fig. 6 is a flowchart of an embodiment of a credential uploading method according to an embodiment of the present invention. Specifically, the user clicks a voucher uploading button displayed on a business service page of the business front end, and the business front end sends a voucher uploading instruction to the voucher uploading server. The certificate uploading server side generates a certificate business record table and a URL address according to uploading request data in the certificate uploading instruction, caches the certificate business record table into a local storage space, converts the URL address into a short URL address after short link processing, and sends the short URL address to the business front end, so that the business front end can display a certificate uploading page by accessing the short URL address. Specifically, the credential uploading server queries a target service front-end identifier in the uploading request data to obtain target page configuration data, obtains historical credential data corresponding to the target service front-end identifier from the target storage server, and generates a credential uploading page based on a comparison result between the historical uploading times and an uploading time threshold, the target page configuration data and the historical credential data. The user uploads original documents of the certificates based on the certificate uploading page, the service front end compresses the original documents of the certificates and then sends the original documents of the certificates and the certificate thumbnails to the certificate uploading server, the certificate uploading server stores certificate data containing the original documents of the certificates and the certificate thumbnails to the target storage server, and sends successful uploading callback addresses in the uploading request data to the service front end, so that the service front end can call back the successful uploading addresses to display the successful uploading pages of the certificates through accessing the successful uploading addresses.
Because the certificate uploading server needs to be connected with a plurality of business front ends, when the number of the business front ends is too large, the problem of error in business front end identification management is easy to occur. According to the technical scheme, the verification state corresponding to the certificate uploading instruction is determined based on the preset service configuration table, the target verification data and the target service front end identifier, if the verification state is successful, the operation based on the target service front end identifier is triggered and executed, and the page access address is generated, so that the problem of error management of the service front end identifier is solved, the consistency between subsequently provided certificate uploading service and the service front end is ensured, and the accurate and unified management of the certificate uploading services of a plurality of service lines is realized.
Fig. 7 is a schematic structural diagram of a credential uploading apparatus according to an embodiment of the present invention. As shown in fig. 7, the apparatus includes: an upload request data acquisition module 510, a page access address transmission module 520, and a current credential data storage module 530.
The upload request data obtaining module 510 is configured to, in response to detecting a credential upload instruction sent by a service front end, obtain upload request data in the credential upload instruction; the uploading request data comprises a target service front end identifier corresponding to the service front end;
a page access address sending module 520, configured to generate a page access address based on the target service front-end identifier, and send the page access address to the service front end, so that the service front end displays a credential upload page corresponding to the target service front-end identifier through accessing the page access address;
and a current certificate data storage module 530, configured to, in response to receiving current certificate data that is input by the service front end based on the certificate upload page, obtain a target storage server identifier corresponding to the target service front end identifier, and store the current certificate data in the target storage server corresponding to the target storage server identifier.
According to the technical scheme of the embodiment, the voucher uploading instruction sent by the business front end is received by the voucher uploading server, the uploading request data in the voucher uploading instruction is obtained, the page access address is determined based on the target business front end identifier corresponding to the business front end in the uploading request data, the page access address is sent to the business front end, so that the business front end displays the voucher uploading page corresponding to the target business front end identifier through the page access address, the received current voucher data sent by the business front end on the voucher uploading page is responded, the current voucher data is stored in the target storage server corresponding to the target storage server identifier corresponding to the target business front end identifier, the problem that the voucher uploading services of a plurality of business lines need to be repeatedly developed is solved, the consistency and the development efficiency of the voucher uploading services of the plurality of business lines are improved, the purpose of uniformly managing the voucher uploading services of the plurality of business lines is achieved, and the difficulty of uniformly managing the voucher data is reduced.
On the basis of the foregoing embodiment, optionally, the method further includes:
the target page configuration data acquisition module is used for determining target page configuration data corresponding to the target service front-end identifier based on a preset certificate configuration table; the preset certificate configuration table comprises at least one preset service front end identifier and page configuration data corresponding to each preset service front end identifier;
and the voucher uploading page generating module is used for generating a voucher uploading page based on the target page configuration data.
On the basis of the foregoing embodiment, optionally, the upload request data further includes a service unique identifier, where the service unique identifier includes a user identifier and/or a service ticket number, and the credential upload page generation module includes:
the historical voucher data acquisition unit is used for acquiring historical voucher data from a target storage server corresponding to the target storage server identifier based on the target service front-end identifier and the service unique identifier;
and the voucher uploading page generating unit is used for generating a voucher uploading page based on the historical voucher data and the target page configuration data.
On the basis of the foregoing embodiment, optionally, the target page configuration data includes an upload time threshold and page style data, and the credential upload page generating unit includes:
a historical uploading frequency acquiring subunit, configured to acquire historical uploading frequencies corresponding to the service unique identifiers in a voucher service record table based on the target service front end identifier, where the voucher service record table includes at least one preset service front end identifier, at least one service unique identifier corresponding to each preset service front end identifier, and historical uploading frequencies corresponding to each preset service unique identifier;
the first voucher uploading page generating subunit is used for generating a voucher uploading page based on the historical voucher data and the page style data if the historical uploading times are smaller than the uploading time threshold; and the attribute state of the voucher submitting option in the voucher uploading page is an available state.
On the basis of the foregoing embodiment, optionally, the credential upload page generation unit further includes:
a second credential upload page generation subunit configured to: if the historical uploading times are equal to the uploading time threshold, generating a voucher uploading page based on the historical voucher data and the page style data; the attribute state of the voucher submitting option in the voucher uploading page is an unavailable state.
On the basis of the foregoing embodiment, optionally, the preset credential configuration table further includes callback manners corresponding to the preset service front-end identifiers, and the apparatus further includes:
the certificate uploading success information sending module is used for acquiring a target callback mode corresponding to the target service front end identifier in a preset certificate configuration table; the target callback mode is an asynchronous message notification mode or a hypertext transfer protocol mode;
and if the data storage state returned by the target storage server side is successfully stored, the generated certificate uploading success information is sent to the service back end in a target callback mode, so that the service back end obtains the current certificate data uploaded by the service front end based on the received certificate uploading success information and the certificate downloading interface.
On the basis of the foregoing embodiment, optionally, the upload request data further includes a page callback address, where the page callback address includes an upload success callback address and an upload failure callback address, and the apparatus further includes:
the page callback address sending module is used for responding to the received data storage state returned by the target storage server after the current certificate data is stored in the target storage server corresponding to the target storage server identification, and judging whether the data storage state is successfully stored or not;
if so, sending the callback address which is successfully uploaded to the service front end, so that the service front end displays a page on which the certificate is successfully uploaded by accessing the callback address which is successfully uploaded;
if not, the uploading failure callback address is sent to the service front end, so that the service front end can display the voucher uploading failure page by accessing the uploading failure callback address.
On the basis of the foregoing embodiment, optionally, the upload request data further includes target verification data, where the target verification data includes service line identifiers and/or key data, and the apparatus further includes:
the verification state judging module is used for determining a verification state corresponding to the certificate uploading instruction based on a preset service configuration table, target verification data and a target service front end identifier before generating a page access address based on the target service front end identifier; the preset service configuration table comprises at least one preset service front end identifier and check data respectively corresponding to each preset service front end identifier;
and if the verification state is successful, triggering and executing the operation of generating the page access address based on the target service front-end identifier.
On the basis of the foregoing embodiment, optionally, the apparatus further includes:
and the voucher business record table updating module is used for generating an uploading record identifier based on the uploading request data after the uploading request data in the voucher uploading instruction is obtained, and correspondingly adding the uploading record identifier and the uploading request data into the voucher business record table.
On the basis of the above embodiment, optionally, the apparatus further includes:
the voucher storage record table updating module is used for generating an uploading record identifier based on the uploading request data;
after current certificate data are stored in a target storage server corresponding to a target storage server identification, in response to receipt of certificate storage data returned by the target storage server, correspondingly adding an uploading record identification, the target storage server identification and the certificate storage data into a certificate storage record table; the certificate storage data represent the storage information of the current certificate data in the target storage service end.
The certificate uploading device provided by the embodiment of the invention can execute the certificate uploading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 8 is a schematic diagram of a credential uploading system according to an embodiment of the present invention, where the credential uploading system of the present embodiment provides services for the credential uploading method provided in the foregoing embodiment. As shown in fig. 8, the credential uploading system includes: the credential uploading server 610, at least one business front end 620, and at least one storage server 630, fig. 8 illustrates an example where the credential uploading system includes two business front ends 620 and two storage servers 630.
The service front end 620 is configured to send a credential upload instruction generated based on the detected credential upload operation to the credential upload server 610, display a credential upload page corresponding to a target service front end 620 identifier in upload request data in the credential upload instruction by accessing a page access address sent by the received credential upload server 610, and send current credential data input by a user based on the credential upload page to the credential upload server 610;
the certificate uploading server 610 is configured to obtain uploading request data in the certificate uploading instruction in response to detection of a certificate uploading instruction sent by the business front end 620, determine a page access address based on a target business front end 620 identifier corresponding to the business front end 620 in the uploading request data, send the page access address to the business front end 620, obtain a target storage server 630 identifier corresponding to the target business front end 620 identifier in response to reception of current certificate data sent by the business front end 620, and send current certificate data to the target storage server 630 corresponding to the target storage server 630 identifier;
and the storage server 630 is configured to store the received current credential data sent by the credential uploading server 610 in a local storage space.
On the basis of the above embodiment, optionally, the system further includes: the service back end is configured to receive the credential upload success information sent by the credential upload server 610, and obtain current credential data uploaded by the service front end 620 based on the received credential upload success information and the credential download interface; the storage server 630 is further configured to: the generated data storage state is sent to a certificate uploading server 610; the credential upload server 610 is further configured to: and if the data storage state is successful storage, the generated successful voucher uploading information is sent to the service back end.
Fig. 9 is an interaction diagram of a credential uploading system according to an embodiment of the present invention. The service transfer method comprises the steps that a service front-end page represents a page displayed by a service system of a service front end, a voucher uploading service end page represents a page provided by a voucher uploading service end, a service end service represents a service device for providing services for the service system of the service front end and the service system of a service back end, the voucher uploading service end service represents a service device for providing services for the system of the voucher uploading service end, and a storage service end service represents a service device for providing services for the storage service end, wherein the service transfer can be realized through software and/or hardware.
Specifically, a user accesses a service end service by clicking an upload button provided by a service front end page, the service end service sends upload request data to a certificate upload service end service, the certificate upload service end service sends a URL address generated based on the upload request data to the service end service, and the service end service sends the URL address to the service front end page so that the service front end page skips a certificate upload page. The voucher uploading server side page inquires target page configuration data from the voucher uploading server side, enables the voucher uploading server side service to inquire historical voucher data from the storage server side service, and generates a voucher uploading page based on the target page configuration data and the historical voucher data in a rendering mode. The user uploads the certificate pictures on the basis of the certificate uploading page provided by the certificate uploading server page, and the certificate uploading server service stores the uploaded certificate pictures in the storage server. And when the picture deleting instruction is detected, deleting the certificate storage record which is recorded in the certificate storage record table and corresponds to the certificate picture identifier in the picture deleting instruction. And when a submission instruction sent by the certificate uploading service side page and a storage success state sent by the storage service side service are detected, sending the callback address successful in uploading to the certificate uploading service side page, so that the service front side page can call back the service page by accessing the callback address successful in uploading. And the certificate uploading server sends the successful information of the certificate uploading to the service back end of the service end service butt joint in an asynchronous callback mode.
According to the technical scheme of the embodiment, the voucher uploading instruction sent by the business front end is received by the voucher uploading server, the uploading request data in the voucher uploading instruction is obtained, the page access address is determined based on the target business front end identifier corresponding to the business front end in the uploading request data, the page access address is sent to the business front end, so that the business front end displays the voucher uploading page corresponding to the target business front end identifier through the page access address, the received current voucher data sent by the business front end on the voucher uploading page is responded, the current voucher data is stored in the target storage server corresponding to the target storage server identifier corresponding to the target business front end identifier, the problem that the voucher uploading services of a plurality of business lines need to be repeatedly developed is solved, the consistency and the development efficiency of the voucher uploading services of the plurality of business lines are improved, the purpose of uniformly managing the voucher uploading services of the plurality of business lines is achieved, and the difficulty of uniformly managing the voucher data is reduced.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 10, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. Processor 11 performs the various methods and processes described above, such as the credential upload method.
In some embodiments, the credential upload method can be implemented as a computer program that is tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the credential upload method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the credential upload method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the credential upload method of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute a credential uploading method, where the method includes:
responding to a certificate uploading instruction sent by a detected service front end, and acquiring uploading request data in the certificate uploading instruction; the uploading request data comprises a target service front end identifier corresponding to the service front end;
generating a page access address based on the target service front-end identifier, and sending the page access address to the service front-end, so that the service front-end displays a certificate uploading page corresponding to the target service front-end identifier through accessing the page access address;
and in response to receiving current certificate data input by the business front end based on the certificate uploading page, acquiring a target storage server identification corresponding to the target business front end identification, and storing the current certificate data into the target storage server corresponding to the target storage server identification.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user may provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the Internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired result of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (15)

1. A method for credential upload, comprising:
responding to a detected voucher uploading instruction sent by a service front end, and acquiring uploading request data in the voucher uploading instruction; the uploading request data comprises a target service front end identifier corresponding to the service front end;
generating a page access address based on the target service front-end identifier, and sending the page access address to the service front-end, so that the service front-end displays a certificate uploading page corresponding to the target service front-end identifier by accessing the page access address;
and responding to the received current certificate data input by the service front end based on the certificate uploading page, acquiring a target storage server identification corresponding to the target service front end identification, and storing the current certificate data into the target storage server corresponding to the target storage server identification.
2. The method of claim 1, further comprising:
determining target page configuration data corresponding to the target service front-end identification based on a preset certificate configuration table; the preset certificate configuration table comprises at least one preset service front end identifier and page configuration data corresponding to each preset service front end identifier;
and generating a voucher uploading page based on the target page configuration data.
3. The method according to claim 2, wherein the upload request data further comprises a service unique identifier, and the service unique identifier comprises a user identifier and/or a service ticket number; correspondingly, the generating a voucher uploading page based on the target page configuration data includes:
acquiring historical credential data from a target storage server corresponding to the target storage server identifier based on the target service front-end identifier and the service unique identifier;
and generating a voucher uploading page based on the historical voucher data and the target page configuration data.
4. The method of claim 3, wherein the target page configuration data comprises an upload time threshold and page style data, and wherein generating a credential upload page based on the historical credential data and the target page configuration data comprises:
acquiring historical uploading times corresponding to the service unique identifiers in a certificate service record table based on the target service front end identifiers, wherein the certificate service record table comprises at least one preset service front end identifier, at least one service unique identifier corresponding to each preset service front end identifier respectively and historical uploading times corresponding to each preset service unique identifier respectively;
if the historical uploading times are smaller than the uploading time threshold, generating a voucher uploading page based on the historical voucher data and the page style data; and the attribute state of the voucher submitting option in the voucher uploading page is an available state.
5. The method of claim 4, further comprising:
if the historical uploading times are equal to the uploading time threshold, generating a voucher uploading page based on the historical voucher data and the page style data; the voucher uploading page does not comprise a voucher submitting option or the attribute state of the voucher submitting option in the voucher uploading page is an unavailable state.
6. The method according to claim 2, wherein the preset credential configuration table further includes a callback mode corresponding to each of the preset service front end identifiers, and correspondingly, the method further includes:
acquiring a target callback mode corresponding to the target service front-end identification in a preset certificate configuration table; the target callback mode is an asynchronous message notification mode or a hypertext transfer protocol mode;
and if the data storage state returned by the target storage server is successfully stored, the generated certificate uploading success information is sent to the service back end in the target callback mode, so that the service back end obtains the current certificate data uploaded by the service front end based on the received certificate uploading success information and the certificate downloading interface.
7. The method of claim 1, wherein the upload request data further comprises a page callback address, the page callback address comprising an upload success callback address and an upload failure callback address; correspondingly, after storing the current credential data in the target storage server corresponding to the target storage server identifier, the method further includes:
responding to the received data storage state returned by the target storage server, and judging whether the data storage state is successfully stored;
if so, sending the successful uploading callback address to the service front end so that the service front end can display a successful uploading page of the certificate by accessing the successful uploading callback address;
and if not, sending the uploading failure callback address to the service front end so that the service front end can display a voucher uploading failure page by accessing the uploading failure callback address.
8. The method of claim 1, wherein the upload request data further comprises target verification data, the target verification data comprising a service line identification and/or key data; correspondingly, before generating a page access address based on the target service front-end identifier, the method further includes:
determining a verification state corresponding to the voucher uploading instruction based on a preset service configuration table, the target verification data and the target service front-end identifier; the preset service configuration table comprises at least one preset service front end identifier and check data corresponding to each preset service front end identifier;
and if the verification state is successful, triggering and executing the operation of generating the page access address based on the target service front-end identifier.
9. The method of any of claims 1-8, wherein after obtaining the upload request data in the credential upload instruction, the method further comprises:
and generating an uploading record identifier based on the uploading request data, and correspondingly adding the uploading record identifier and the uploading request data into a voucher business record table.
10. The method according to any one of claims 1-8, further comprising:
generating an uploading record identifier based on the uploading request data;
after the current certificate data are stored in a target storage server corresponding to the target storage server identification, responding to receipt of certificate storage data returned by the target storage server, and correspondingly adding the uploading record identification, the target storage server identification and the certificate storage data into a certificate storage record table; wherein the credential storage data represents storage information of the current credential data in the target storage server.
11. A credential uploading apparatus, comprising:
the system comprises an upload request data acquisition module, a certificate uploading module and a certificate processing module, wherein the upload request data acquisition module is used for responding to a detected certificate uploading instruction sent by a service front end and acquiring upload request data in the certificate uploading instruction; the uploading request data comprises a target service front end identifier corresponding to the service front end;
a page access address sending module, configured to generate a page access address based on the target service front-end identifier, and send the page access address to the service front end, so that the service front end displays a credential upload page corresponding to the target service front-end identifier by accessing the page access address;
and the current certificate data storage module is used for responding to the received current certificate data input by the service front end based on the certificate uploading page, acquiring a target storage service end identifier corresponding to the target service front end identifier, and storing the current certificate data into the target storage service end corresponding to the target storage service end identifier.
12. A credential upload system, the system comprising: the certificate uploading server, the at least one business front end and the at least one storage server;
the service front end is used for sending a certificate uploading instruction generated based on detected certificate uploading operation to the certificate uploading server, displaying a certificate uploading page corresponding to a target service front end identifier in uploading request data in the certificate uploading instruction by accessing a received page access address sent by the certificate uploading server, and sending current certificate data input by a user based on the certificate uploading page to the certificate uploading server;
the certificate uploading server is used for responding to a certificate uploading instruction sent by a detected business front end, acquiring uploading request data in the certificate uploading instruction, determining a page access address based on a target business front end identifier corresponding to the business front end in the uploading request data, sending the page access address to the business front end, responding to the received current certificate data sent by the business front end, acquiring a target storage server identifier corresponding to the target business front end identifier, and sending the current certificate data to a target storage server corresponding to the target storage server identifier;
and the storage server is used for storing the received current certificate data sent by the certificate uploading server in a local storage space.
13. The system of claim 12, further comprising: the service back end is used for receiving the certificate uploading success information sent by the certificate uploading server and acquiring the current certificate data uploaded by the service front end based on the received certificate uploading success information and the certificate downloading interface;
the storage server is further configured to: sending the generated data storage state to the certificate uploading server;
the credential uploading server is further configured to: and if the data storage state is successful storage, the generated successful voucher uploading information is sent to the service back end.
14. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the credential upload method of any one of claims 1-10.
15. A computer-readable storage medium having stored thereon computer instructions for causing a processor to, when executed, implement the credential upload method of any one of claims 1-10.
CN202210744707.8A 2022-06-27 2022-06-27 Voucher uploading method, device, system, equipment and storage medium Pending CN115168767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210744707.8A CN115168767A (en) 2022-06-27 2022-06-27 Voucher uploading method, device, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210744707.8A CN115168767A (en) 2022-06-27 2022-06-27 Voucher uploading method, device, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115168767A true CN115168767A (en) 2022-10-11

Family

ID=83489507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210744707.8A Pending CN115168767A (en) 2022-06-27 2022-06-27 Voucher uploading method, device, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115168767A (en)

Similar Documents

Publication Publication Date Title
CN108196961B (en) Asynchronous message processing method, terminal, system and storage medium
CN111030784A (en) Information synchronization method and device
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
CN103593419A (en) Method, device, server and system for inquiring data
CN111368173A (en) File transmission method and device, electronic equipment and readable storage medium
CN112671950A (en) Domain name processing method and device based on block chain, electronic equipment and storage medium
CN113076729B (en) Method and system for importing report, readable storage medium and electronic equipment
CN110120908B (en) Group message processing method and device and server
CN111881329A (en) Account balance management method and system
CN113076153A (en) Interface calling method and device
CN113761565B (en) Data desensitization method and device
CN108076110B (en) Electronic data exchange system and apparatus comprising an electronic data exchange system
CN110866001A (en) Method and device for determining order to be processed
CN112559646A (en) Report downloading method and device
CN112948138A (en) Method and device for processing message
CN115168767A (en) Voucher uploading method, device, system, equipment and storage medium
CN115905322A (en) Service processing method and device, electronic equipment and storage medium
CN115587097A (en) Directory node information query method, device, equipment and storage medium
CN111489212B (en) Order billing method, device, equipment and medium based on big data
CN111401819B (en) Intersystem data pushing method and system
CN112306791B (en) Performance monitoring method and device
CN112073395B (en) File distribution method and device
CN114374737A (en) Message pushing method and device, computer equipment and storage medium
CN114064803A (en) Data synchronization method and device
CN113590243A (en) Energy enterprise project creation method and device, computer equipment and 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