CN111767200A - Method, device and computer equipment for processing service based on service log - Google Patents

Method, device and computer equipment for processing service based on service log Download PDF

Info

Publication number
CN111767200A
CN111767200A CN202010595960.2A CN202010595960A CN111767200A CN 111767200 A CN111767200 A CN 111767200A CN 202010595960 A CN202010595960 A CN 202010595960A CN 111767200 A CN111767200 A CN 111767200A
Authority
CN
China
Prior art keywords
service
template file
user
information
log
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.)
Granted
Application number
CN202010595960.2A
Other languages
Chinese (zh)
Other versions
CN111767200B (en
Inventor
张毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202010595960.2A priority Critical patent/CN111767200B/en
Publication of CN111767200A publication Critical patent/CN111767200A/en
Application granted granted Critical
Publication of CN111767200B publication Critical patent/CN111767200B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services

Abstract

The invention discloses a method, a device and computer equipment for processing service based on a service log, wherein the method comprises the steps of generating the service log according to a preset template file; if a service request of a user is received, acquiring data information related to the user according to the service request and acquiring a template file according to a service log; verifying the identity information according to the template file; if the identity information passes the verification, acquiring service progress information of the user at the current moment in the template file according to the identity information to process the service request, so as to obtain a processing result; and updating the database according to the data information of the processing result and sending the processing result to the user. The invention is based on the business process optimization technology, and when the service log is added on the basis of the system log to process the complaint service request submitted by the user, the complaint service request submitted by the user can be more comprehensively and rapidly coped and solved, and the business processing efficiency is improved.

Description

Method, device and computer equipment for processing service based on service log
Technical Field
The invention belongs to the technical field of business process optimization, and particularly relates to a method, a device and computer equipment for processing business based on a business log.
Background
After the user uses the service corresponding to the service provider through the internet, the service provider stores the operation record of the user in the form of a system log, where the operation record may include an interface call record, a database modification record, and the like. When the user complains the service party, the operation record can help the service party to restore the operation record of the user at that time, and convenience is provided for solving the system problem and handling the user complaint. However, because the readability of the system log is poor, especially when the operation record of the user is the interface call record, the service side needs to know the interface call sequence, the corresponding relationship between the interface field and the service information, the corresponding relationship between the database field and the service information, and other knowledge to restore the specific operation of the user at that time, not only needs to query a large amount of system log information, but also needs to have certain professional knowledge for the operator of the service side to implement the operation, thereby resulting in low efficiency and time and labor consumption.
Disclosure of Invention
The embodiment of the invention provides a method, a device and computer equipment for processing business based on business logs, which are used for processing a complaint service request submitted by a user by adding a new business log on the basis of a system log, so that the complaint service request submitted by the user can be coped and solved more comprehensively and rapidly, and the business processing efficiency is improved.
In a first aspect, an embodiment of the present invention provides a method for processing a service based on a service log, where the method includes:
generating a service log according to a preset template file;
if a service request of a user is received, acquiring data information related to the user according to the service request and acquiring a preset first template file from the template file according to the service log, wherein the data information comprises identity information and service information of the user;
verifying the identity information according to the first template file to obtain a result of whether the identity information passes the verification;
if the identity information passes the verification, acquiring a preset second template file from the template file according to the service log and acquiring service progress information of the user at the current moment in the second template file according to the identity information;
processing the service request according to the service progress information and the service information to obtain data information of a processing result;
and updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user.
In a second aspect, an embodiment of the present invention provides an apparatus for processing a service based on a service log, where the apparatus includes:
the service log generating unit is used for generating a service log according to a preset template file;
a first obtaining unit, configured to, if a service request of a user is received, obtain data information related to the user according to the service request, and obtain a preset first template file from the template file according to the service log, where the data information includes identity information and service information of the user;
the verification unit is used for verifying the identity information according to the first template file so as to obtain whether the identity information passes the verification result;
a second obtaining unit, configured to, if the identity information passes the verification, obtain a preset second template file from the template file according to the service log, and obtain service progress information of the user at the current time in the second template file according to the identity information;
the information processing unit is used for processing the service request according to the service progress information and the service information to obtain data information of a processing result;
and the sending unit is used for updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the method for processing services based on the service log according to the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the method for processing a service based on a service log according to the first aspect.
The embodiment of the invention provides a method, a device and computer equipment for processing service based on a service log, wherein the service log is generated through a preset template file on the basis of a system log, when a service request of a user is received, data information related to the user is obtained according to the service request, and a preset first template file is obtained from the template file according to the service log, wherein the data information comprises identity information and service information of the user; verifying the identity information according to the first template file; if the identity information passes the verification, acquiring a preset second template file from the template file according to the service log and acquiring service progress information of the user at the current moment in the second template file according to the identity information; processing the service request according to the service progress information and the service information to obtain data information of a processing result; and updating a preset database according to the data information of the processing result and sending the data information of the processing result to the user. The invention adds the service log on the basis of the system log, so that when the complaint service request submitted by the user is processed, the complaint service request of the user can be rapidly coped and processed without the need that an operator of a service party has certain professional knowledge, and simultaneously, a large amount of system log information is not required to be inquired, thereby greatly improving the efficiency of service processing.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are 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 schematic flowchart of a method for processing a service based on a service log according to an embodiment of the present invention;
fig. 2 is a sub-flow diagram of a method for processing a service based on a service log according to an embodiment of the present invention;
fig. 3 is another sub-flow diagram of a method for processing a service based on a service log according to an embodiment of the present invention;
fig. 4 is another sub-flow diagram of a method for processing a service based on a service log according to an embodiment of the present invention;
fig. 5 is a schematic block diagram of an apparatus for processing services based on a service log according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for processing a service based on a service log according to an embodiment of the present invention. The method for processing the service based on the service log is applied to a server terminal, the server terminal adds a template file according to a system log in a user terminal and generates the service log for recording the operation record of a user according to the template file, and meanwhile, the generated service log is stored in the user terminal. When the server terminal receives a service request submitted by the user terminal, the server terminal acquires the service log according to the service request and deals with the service request of the user according to the service log, and meanwhile, the server terminal updates the service log by updating the template file of the service log in the process of dealing with the service request of the user so as to deal with the service request of the user terminal again in the following process.
As shown in fig. 1, the method includes steps S110 to S160.
And S110, generating a service log according to a preset template file.
And generating a service log according to a preset template file. Specifically, the server terminal sets a preset template file according to a system log in the user terminal, the template file includes description words and variables, the description words are used for explaining a service name used by the user, an information name submitted or inquired, an operation performed, and the like, the variables are specific information submitted, inquired or inserted into the database by the user in the service using process, a result of the specific operation, and the like, and the template file may correspond to a single interface call or a database operation at one time, or may correspond to a combination of a plurality of interface calls and database operations. The template file can be stored in the server terminal or the user terminal, and the server terminal generates the service log according to the template file and stores the service log in the user terminal. The server terminal can not only deal with the complaint service request sent by the user terminal by calling the service log, but also can quickly check the reason of the safety event when the safety event occurs in the user terminal by calling the service log, thereby solving the reason of the safety event occurring in the user terminal.
S120, if a service request of a user is received, data information related to the user is obtained according to the service request, and a preset first template file is obtained from the template file according to the service log, wherein the data information comprises identity information and service information of the user.
And if a service request of a user is received, acquiring data information related to the user according to the service request and acquiring a preset first template file from the template file according to the service log, wherein the data information comprises identity information and service information of the user. Specifically, the user terminal transmits the service request to the server terminal in a data information manner. The data information comprises identity information and service information of a user, wherein after the server terminal receives the service information, the server terminal carries out information verification on the user through the identity information so that the server terminal can process the service information accurately in time, namely, the service request is processed. The identity information may be a name, a telephone number, an identification number, a login account, a login password, and the like of the user, and the service information is data information that requests the server terminal to process a service request of the user to perform a service. And simultaneously, the server terminal acquires the service log from the user terminal according to the service request, wherein the service log is stored in the user terminal in a txt text format, the server terminal acquires a template file corresponding to the service log according to the service log, the template file comprises a first template file, the first template file is used for recording the identity information and the service information of the user, and the same first template file is a template file in the txt text format. For example, when the service information is account information logged in the user terminal, after receiving the service information, the server terminal acquires identity information, such as a telephone number, stored in the first template file and related to the user according to a login account and a login password in the identity information, verifies the identity information through the telephone number, and then responds to the service information of the user.
S130, the identity information is verified according to the first template file to obtain a result whether the identity information passes verification or not.
And verifying the identity information according to the first template file to obtain a result of whether the identity information passes the verification. Specifically, when the server terminal needs to verify the identity information of the user, the server terminal compares and verifies the identity information related to the user through the first template file to obtain a result of whether the identity information in the service request passes or not. For example, when the service information in the service request sent by the user to the server terminal through the user terminal is the submitted account information, the server terminal obtains the identity information corresponding to the user from the first template file and compares the identity information with the identity information in the service request so as to verify the service information sent by the user through the user terminal and send the verification result to the user terminal to inform the user of whether the user passes the verification result.
In one embodiment, as shown in fig. 2, step S130 is followed by steps S130a and S130 b.
S130a, updating the first template file according to the result of whether the identity information passes the verification to obtain an updated first template file.
And updating the first template file according to the result of whether the identity information passes the verification to obtain an updated first template file. Specifically, the identity information includes a name, a telephone number, an identification number, a login account number, a login password, and the like of a user, the service information includes time requested by the user, the first template file records the identity information and the service information of the user, and when the identity information passes the verification of the server terminal, the server terminal updates the first template file according to the identity information and the service information, and simultaneously updates the information of the login result of the user logging in the user terminal to the first template file, thereby updating the first template file; if the identity information does not pass the verification of the server terminal, only the information of the login result of the user logging in the user terminal and the result that the identity information does not pass are updated to the first template file, so that the first template file is updated.
S130b, updating the template file according to the updated first template file to update the service log.
And updating the template file according to the updated first template file so as to update the service log. Specifically, since the first template file is a part of the template file, when the server terminal updates the first template file according to the verification result, the template file is updated accordingly, so as to obtain an updated template file, and the server terminal regenerates a new service log according to the updated template file and sets the new service log in the user terminal to replace the original service log existing in the user terminal, so as to update the service log.
And S140, if the identity information passes the verification, acquiring a preset second template file from the template file according to the service log and acquiring the service progress information of the user at the current moment in the second template file according to the identity information.
And if the identity information passes the verification, acquiring a preset second template file from the template file according to the service log and acquiring the service progress information of the user at the current moment in the second template file according to the identity information. Specifically, the template file includes, in addition to the first template file, the second template file, where the second template file is a template file for recording data information of a processing result obtained after the server terminal performs processing according to the service request of the user, and therefore, before the user submits the service request, the data information of the service performed by the server terminal on the user is also stored in the second file template.
The service progress information of the user at the current moment is data information of service performed by the user through the server terminal before the user submits the service request, and the server terminal inquires the service progress information corresponding to the identity information in the second template file according to the identity information after the identity information passes verification. For example, before the user submits the service request, the server terminal records the service information of the server terminal for modifying the telephone number according to the request information submitted by the user, when the server terminal receives the service request submitted by the user again and is the modified telephone number, the server terminal inquires the service progress information of the user for modifying the telephone number at the last time in the second template file according to the identity information, and sends the service progress information to the user to remind the user whether to modify the telephone number in the server terminal again on the basis of the last time, so that the user can modify the telephone number stored in the server terminal again according to the service progress information at the current time.
S150, processing the service request according to the service progress information and the service information to obtain data information of a processing result.
And processing the service request according to the service progress information and the service information to obtain data information of a processing result. Specifically, the service progress information is data information for serving the user by the server terminal before receiving the service request, and the server terminal is convenient for processing the service request currently submitted by the user according to the service information on the basis of the service progress information, so that the user can more accurately submit the service request information in the subsequent request submitting process. For example, when the service request submitted by the user is a service request for modifying a telephone number, the server terminal inquires that the service progress information of the user at the current moment has the service request for modifying the telephone number according to the service request and sends the information of the modified telephone number in the service progress information to the user to prompt the user whether to modify the telephone number again, and when the user definitely needs to modify the telephone number again, the server terminal modifies the telephone number according to the service request of the user, so that the repeated submission of data for modifying the telephone number by the user is avoided.
In one embodiment, as shown in fig. 3, step S150 is followed by steps S150a and S150 b.
S150a, updating the second template file according to the data information of the processing result to obtain an updated second template file.
And updating the second template file according to the data information of the processing result to obtain an updated second template file. Specifically, the second template file may be used to record data information of a processing result obtained after the server terminal performs processing according to a service request of a user, so that after the server terminal processes the service request according to the service progress information and the service information to obtain data information of the processing result, the data information is stored in the second file template to update the data information of the service performed on the user by the server terminal before receiving the service request, where the second file template is a template file in a txt text format.
S150b, updating the template file according to the updated second template file to update the service log.
And updating the template file according to the updated second template file so as to update the service log. Specifically, since the second template file is also a part of the template file, when the server terminal stores the data information in the second file template to update the second template file, the template file is updated accordingly, so as to obtain an updated template file, and the server terminal regenerates a new service log according to the updated template file and sets the new service log in the user terminal to replace the service log existing in the user terminal, thereby updating the service log.
And S160, updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user.
And updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user. Specifically, the database may be preset in the server terminal, may also be preset in the user terminal, and may also be preset in the management server separately. The database can be used for providing the server terminal with the service progress information of the user at the last moment and the data information submitted by the user according to the service progress information, and meanwhile, the server terminal can update the database. For example, the data submitted by the user is data information for modifying the telephone number, and the server terminal modifies the telephone number information in the database according to the data information so as to update the database. In addition, the user may add the user's phone number in the database according to the service progress information (provided that the user's phone number is not stored in the database) to update the database.
In addition, the server terminal processes the service request according to the service progress information and the service information to obtain the data information of the processing result, and then the data information of the processing result is sent to the user through the user terminal. For example, the service request submitted by the user is a service request for inquiring account information, and the server terminal receives the service request and then processes the service request so that the user obtains a processing result of inquiring account information.
In one embodiment, step S160 is followed by step S160 a.
S160, updating the second template file according to the updated preset database so as to update the service log.
And updating the second template file according to the updated preset database so as to update the service log. Specifically, the second template file records the time for updating the database each time, so that the server terminal updates the time for updating the database into the second template file, so as to restore the current operation record of the user through the data in the second template file when a system security event and a user complaint occur subsequently. For example, if the time for updating the database is 03, 18, 15, 23, minutes and 12 seconds in 2020, then the time for updating the database is set to be 15, 23, minutes and 12 seconds in 03, 18, and 2020. In another embodiment, as shown in fig. 4, step S160 is followed by steps S160b, S160c, and S160 d.
S160b, acquiring a preset third template file from the template file according to the service log.
And acquiring a preset third template file from the template file according to the service log. Specifically, the third template file is used for recording time information and sending result information when the server terminal processes a service request sent by a user and sends a processed result to the user after the server terminal receives the service request, and when it is required to subsequently confirm whether the server terminal completes processing the service request of the user and sends the service request to the user and the sending time, the confirmation can be obtained only by calling the third template file, and similarly, the third template file is also a template file in a txt text format. For example, the time when the server terminal transmits the data information of the processing result to the user is 15 hours, 30 minutes and 12 seconds at 03, 18 and 18 of 2020, and as a result, the server terminal has transmitted the data information of the processing result, and the server terminal can obtain, by calling the third template file, that the time when the server terminal transmits the data information of the processing result to the user is 15 hours, 30 minutes and 12 seconds at 03, 18 and 18 of 2020, and as a result, the data information of the processing result is transmitted.
S160, updating the third template file according to the information sent to the user to obtain an updated third template file.
And updating the third template file according to the information sent to the user to obtain an updated third template file. Specifically, since the second template file is information that can be used to record the time and result at which the server terminal sends the data information of the processing result to the user, after the server terminal sends the current time and result information of the processing result to the user, the server terminal stores the time and result information of the processing result sent to the user in the third file template, thereby updating the third file template.
S160d, updating the template file according to the updated third template file to update the service log.
And updating the template file according to the updated third template file to update the service log. Specifically, since the third template file is also a part of the template file, when the server terminal sends the time and result information of the processing result to the user to update the third template file, the template file is updated accordingly, so as to obtain an updated template file, and the server terminal regenerates a new service log according to the updated template file and sets the new service log in the user terminal to replace the original service log existing in the user terminal, thereby updating the service log.
The embodiment of the present invention further provides a device 100 for processing a service based on a service log, where the device is configured to execute any embodiment of the service based on the service log. Specifically, referring to fig. 5, fig. 5 is a schematic block diagram of an apparatus 100 for processing services based on a service log according to an embodiment of the present invention.
As shown in fig. 5, the apparatus 100 for processing a service based on a service log includes a service log generating unit 110, a first obtaining unit 120, a verifying unit 130, a second obtaining unit 140, an information processing unit 150, and a sending unit 160.
The service log generating unit 110 is configured to generate a service log according to a preset template file.
The server terminal sets a preset template file according to a system log in the user terminal, wherein the template file comprises descriptive characters and variables, the descriptive characters are used for explaining service names used by users, information names submitted or inquired, operation performed and the like, the variables are specific information submitted, inquired or inserted into a database by the users in the service using process, specific operation results and the like, and the template file can correspond to single interface calling or one-time database operation and can also correspond to a combination of multiple interface calling and database operation. The template file can be stored in the server terminal or the user terminal, and the server terminal generates the service log according to the template file and stores the service log in the user terminal.
A first obtaining unit 120, configured to, if a service request of a user is received, obtain data information related to the user according to the service request, and obtain a preset first template file from the template file according to the service log, where the data information includes identity information and service information of the user.
And the user terminal transmits the service request to the server terminal in a data information mode. The data information comprises identity information and service information of a user, wherein after the server terminal receives the service information, the server terminal carries out information verification on the user through the identity information so that the server terminal can process the service information accurately in time, namely, the service request is processed. The identity information may be a name, a telephone number, an identification number, a login account, a login password, and the like of the user, and the service information is data information that requests the server terminal to process a service request of the user to perform a service. And simultaneously, the server terminal acquires the service log from the user terminal according to the service request, wherein the service log is stored in the user terminal in a txt text format, the server terminal acquires a template file corresponding to the service log according to the service log, the template file comprises a first template file, the first template file is used for recording the identity information and the service information of the user, and the same first template file is a template file in the txt text format.
The verifying unit 130 is configured to verify the identity information according to the first template file to obtain a result of whether the identity information passes the verification.
When the server terminal needs to verify the identity information of the user, the server terminal compares and verifies the first template file and the identity information related to the user to obtain a result of whether the identity information in the service request passes or not.
In other embodiments of the present invention, the apparatus 100 for processing services based on the service log further includes a first template file updating unit 130a and a first updating unit 130 b.
The first template file updating unit 130a is configured to update the first template file according to a result of whether the identity information passes the verification.
The identity information comprises a name, a telephone number, an identity card number, a login account number, a login password and the like of a user, the service information comprises time requested by the user, the identity information and the service information of the user are recorded in the first template file, when the identity information passes the verification of the server terminal, the server terminal updates the first template file according to the identity information and the service information, and meanwhile, the information of a login result of the user logging in the user terminal is updated to the first template file, so that the first template file is updated; if the identity information does not pass the verification of the server terminal, only the information of the login result of the user logging in the user terminal and the result that the identity information does not pass are updated to the first template file, so that the first template file is updated.
A first updating unit 130b, configured to update the template file according to the updated first template file to update the service log.
And the server terminal regenerates a new service log according to the updated template file and sets the new service log in the user terminal to replace the original service log existing in the user terminal so as to update the service log.
A second obtaining unit 140, configured to, if the identity information passes the verification, obtain a preset second template file from the template file according to the service log, and obtain service progress information of the user at the current time in the second template file according to the identity information.
The template file includes the first template file and also includes the second template file, and the second template file is used for recording data information of a processing result obtained after the server terminal performs processing according to the service request of the user, so that the data information of the service performed by the server terminal to the user before the user submits the service request is also stored in the second file template. The service progress information of the user at the current moment is data information of service performed by the server terminal on the user before the user submits the service request, and the server terminal inquires the service progress information corresponding to the identity information in the second template file according to the identity information after the identity information passes verification.
And an information processing unit 150, configured to process the service request according to the service progress information and the service information to obtain data information of a processing result.
The service progress information is data information for serving the user before the server terminal receives the service request, and the server terminal is convenient for processing the service request currently submitted by the user according to the service information on the basis of the service progress information, so that the user can more accurately submit the service request information in the subsequent request submitting process.
In other embodiments of the present invention, the apparatus 100 for processing services based on the service log further includes a second template file updating unit 150a and a second updating unit 150 b.
The second template file updating unit 150a is configured to update the second template file according to the data information of the processing result to obtain an updated second template file.
The second template file can be used for recording data information of a processing result obtained after a server terminal processes according to a service request of a user, and after the server terminal processes the service request according to the service progress information and the service information to obtain the data information of the processing result, the data information is stored in the second file template to update the data information of the service for the user by the server terminal recorded in the file template before receiving the service request, wherein the second file template is a template file in a txt text format.
The second updating unit 150b is configured to update the template file according to the updated second template file to update the service log.
The second template file is also a part of the template file, when the server terminal stores the data information into the second file template to update the second template file, the template file is updated accordingly, so as to obtain an updated template file, the server terminal regenerates a new service log according to the updated template file and sets the new service log in the user terminal to replace the original service log existing in the user terminal, and then the service log is updated.
A sending unit 160, configured to update a preset database according to the data information of the processing result and send the data information of the processing result to a user.
The database can be preset in the server terminal, the user terminal or the management server. The database can be used for providing the server terminal with the service progress information of the user at the last moment and the data information submitted by the user according to the service progress information, and meanwhile, the server terminal can update the database.
In other embodiments of the present invention, the apparatus 100 for processing services based on the service log further includes a third updating unit 160 a.
The third updating unit 160a is configured to update the second template file according to the preset update database to update the service log.
And the second template file records the time for updating the database each time, so that the server terminal updates the time for updating the database into the second template file according to the time for updating the database, so that the current operation record of the user can be restored through the data in the second template file when a system safety event and a user complaint occur subsequently.
In other embodiments of the present invention, the apparatus 100 for processing services based on the service log further includes a third obtaining unit 160b, a third template file updating unit 160c, and a fourth updating unit 160 d.
A third obtaining unit 160b, configured to obtain a preset third template file from the template file according to the service log.
The third template file is used for recording time information and sending result information when the server terminal processes the service request sent by the user and sends the processed result to the user after the server terminal receives the service request every time, and can be confirmed by only calling the third template file when whether the server terminal completes the processing of the service request of the user and sends the service request to the user and the sending time are required to be confirmed subsequently, and the third template file is also a template file in a txt text format.
A third template file updating unit 160c, configured to update the third template file according to the information sent to the user to obtain an updated third template file.
The second template file is information which can be used for recording the time and the result when the server terminal sends the data information of the processing result to the user, and after the server terminal sends the current data information of the processing result to the user, the server terminal stores the time and the result information when the data information of the processing result is sent to the user in the third file template, so that the third file template is updated.
A fourth updating unit 160d, configured to update the template file according to the updated third template file to update the service log.
The third template file is also a part of the template file, when the server terminal sends the time and result information of the processing result to the user to update the third template file, the template file is updated accordingly to obtain an updated template file, the server terminal regenerates a new service log according to the updated template file and sets the new service log in the user terminal to replace the original service log existing in the user terminal, and the service log is updated.
The device 100 for processing a service based on a service log according to the embodiment of the present invention is used for executing the method for processing a service based on a service log, and generates a service log according to a preset template file; if a service request of a user is received, acquiring data information related to the user according to the service request and acquiring a preset first template file from the template file according to the service log, wherein the data information comprises identity information and service information of the user; verifying the identity information according to the first template file to obtain a result of whether the identity information passes the verification; if the identity information passes the verification, acquiring a preset second template file from the template file according to the service log and acquiring service progress information of the user at the current moment in the second template file according to the identity information; processing the service request according to the service progress information and the service information to obtain data information of a processing result; and updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user.
Referring to fig. 6, fig. 6 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Referring to fig. 6, the device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer programs 5032, when executed, may cause the processor 502 to perform a method of processing traffic based on a traffic log.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall device 500.
The internal memory 504 provides an environment for the execution of the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 can be caused to execute a method for processing a service based on a service log.
The network interface 505 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with aspects of the present invention and does not constitute a limitation of the apparatus 500 to which aspects of the present invention may be applied, and that a particular apparatus 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following functions: generating a service log according to a preset template file; if a service request of a user is received, acquiring data information related to the user according to the service request and acquiring a preset first template file from the template file according to the service log, wherein the data information comprises identity information and service information of the user; verifying the identity information according to the first template file to obtain a result of whether the identity information passes the verification; if the identity information passes the verification, acquiring a preset second template file from the template file according to the service log and acquiring service progress information of the user at the current moment in the second template file according to the identity information; processing the service request according to the service progress information and the service information to obtain data information of a processing result; and updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user.
Those skilled in the art will appreciate that the embodiment of the apparatus 500 shown in fig. 6 does not constitute a limitation on the specific construction of the apparatus 500, and in other embodiments, the apparatus 500 may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the apparatus 500 may only include the memory and the processor 502, and in such embodiments, the structure and function of the memory and the processor 502 are the same as those of the embodiment shown in fig. 6, and are not repeated herein.
It should be understood that in the present embodiment, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general-purpose processors 502, a Digital Signal Processor 502 (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general-purpose processor 502 may be a microprocessor 502 or the processor 502 may be any conventional processor 502 or the like.
In another embodiment of the present invention, a computer storage medium is provided. The storage medium may be a non-volatile computer-readable storage medium. The storage medium stores a computer program 5032, wherein the computer program 5032 when executed by the processor 502 performs the steps of: generating a service log according to a preset template file; if a service request of a user is received, acquiring data information related to the user according to the service request and acquiring a preset first template file from the template file according to the service log, wherein the data information comprises identity information and service information of the user; verifying the identity information according to the first template file to obtain a result of whether the identity information passes the verification; if the identity information passes the verification, acquiring a preset second template file from the template file according to the service log and acquiring service progress information of the user at the current moment in the second template file according to the identity information; processing the service request according to the service progress information and the service information to obtain data information of a processing result; and updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a device 500 (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for processing service based on service log is characterized by comprising the following steps:
generating a service log according to a preset template file;
if a service request of a user is received, acquiring data information related to the user according to the service request and acquiring a preset first template file from the template file according to the service log, wherein the data information comprises identity information and service information of the user;
verifying the identity information according to the first template file to obtain a result of whether the identity information passes the verification;
if the identity information passes the verification, acquiring a preset second template file from the template file according to the service log and acquiring service progress information of the user at the current moment in the second template file according to the identity information;
processing the service request according to the service progress information and the service information to obtain data information of a processing result;
and updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user.
2. The method of claim 1, wherein after the verifying the identity information according to the first template file to obtain a result of whether the identity information is verified, the method further comprises:
updating the first template file according to the result of whether the identity information passes the verification to obtain an updated first template file;
and updating the template file according to the updated first template file so as to update the service log.
3. The method of claim 1, wherein after processing the service request according to the service schedule information and the service information to obtain data information of a processing result, the method further comprises:
updating the second template file according to the data information of the processing result to obtain an updated second template file;
and updating the template file according to the updated second template file so as to update the service log.
4. The method for processing service based on service log according to claim 1, wherein after the updating the preset database according to the data information of the processing result, the method further comprises:
and updating the second template file according to the updated preset database so as to update the service log.
5. The method for processing service based on service log according to claim 1, wherein after sending the data information of the processing result to the user, further comprising:
acquiring a preset third template file from the template file according to the service log;
updating the third template file according to the information sent to the user to obtain an updated third template file;
and updating the template file according to the updated third template file to update the service log.
6. An apparatus for processing a service based on a service log, comprising:
the service log generating unit is used for generating a service log according to a preset template file;
a first obtaining unit, configured to, if a service request of a user is received, obtain data information related to the user according to the service request, and obtain a preset first template file from the template file according to the service log, where the data information includes identity information and service information of the user;
the verification unit is used for verifying the identity information according to the first template file so as to obtain whether the identity information passes the verification result;
a second obtaining unit, configured to, if the identity information passes the verification, obtain a preset second template file from the template file according to the service log, and obtain service progress information of the user at the current time in the second template file according to the identity information;
the information processing unit is used for processing the service request according to the service progress information and the service information to obtain data information of a processing result;
and the sending unit is used for updating a preset database according to the data information of the processing result and sending the data information of the processing result to a user.
7. The apparatus for processing service based on service log according to claim 6, further comprising:
a first template file updating unit, configured to update the first template file according to a result of whether the identity information passes the verification, so as to obtain an updated first template file;
and the first updating unit is used for updating the template file according to the updated first template file so as to update the service log.
8. The apparatus for processing service based on service log according to claim 6, further comprising:
the second template file updating unit is used for updating the second template file according to the data information of the processing result to obtain an updated second template file;
and the second updating unit is used for updating the template file according to the updated second template file so as to update the service log.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of processing traffic based on a traffic log according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the method of processing traffic based on a traffic log according to any of claims 1 to 5.
CN202010595960.2A 2020-06-23 2020-06-23 Method, device and computer equipment for processing service based on service log Active CN111767200B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010595960.2A CN111767200B (en) 2020-06-23 2020-06-23 Method, device and computer equipment for processing service based on service log

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010595960.2A CN111767200B (en) 2020-06-23 2020-06-23 Method, device and computer equipment for processing service based on service log

Publications (2)

Publication Number Publication Date
CN111767200A true CN111767200A (en) 2020-10-13
CN111767200B CN111767200B (en) 2022-12-02

Family

ID=72722608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010595960.2A Active CN111767200B (en) 2020-06-23 2020-06-23 Method, device and computer equipment for processing service based on service log

Country Status (1)

Country Link
CN (1) CN111767200B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113450085A (en) * 2021-07-19 2021-09-28 建信融通有限责任公司 Service processing method, system, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130232424A1 (en) * 2012-03-02 2013-09-05 Hitachi, Ltd. User operation detection system and user operation detection method
CN108073707A (en) * 2017-12-19 2018-05-25 银联商务股份有限公司 Financial transaction data update method, device and computer read/write memory medium
CN108363634A (en) * 2018-01-18 2018-08-03 阿里巴巴集团控股有限公司 A kind of business processing failure cause recognition methods, device and equipment
CN108769229A (en) * 2018-06-06 2018-11-06 平安科技(深圳)有限公司 Information customizes sending method, device, computer equipment and storage medium
CN110333917A (en) * 2019-07-19 2019-10-15 深圳前海微众银行股份有限公司 Data processing method, device, equipment and readable storage medium storing program for executing based on micro services
CN111143286A (en) * 2019-12-13 2020-05-12 无锡华云数据技术服务有限公司 Cloud platform log management method and system
CN111143310A (en) * 2018-11-06 2020-05-12 海通证券股份有限公司 Log recording method and device and readable storage medium
CN111198892A (en) * 2019-12-24 2020-05-26 泰康保险集团股份有限公司 Information processing method, information processing device, electronic equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130232424A1 (en) * 2012-03-02 2013-09-05 Hitachi, Ltd. User operation detection system and user operation detection method
CN108073707A (en) * 2017-12-19 2018-05-25 银联商务股份有限公司 Financial transaction data update method, device and computer read/write memory medium
CN108363634A (en) * 2018-01-18 2018-08-03 阿里巴巴集团控股有限公司 A kind of business processing failure cause recognition methods, device and equipment
CN108769229A (en) * 2018-06-06 2018-11-06 平安科技(深圳)有限公司 Information customizes sending method, device, computer equipment and storage medium
CN111143310A (en) * 2018-11-06 2020-05-12 海通证券股份有限公司 Log recording method and device and readable storage medium
CN110333917A (en) * 2019-07-19 2019-10-15 深圳前海微众银行股份有限公司 Data processing method, device, equipment and readable storage medium storing program for executing based on micro services
CN111143286A (en) * 2019-12-13 2020-05-12 无锡华云数据技术服务有限公司 Cloud platform log management method and system
CN111198892A (en) * 2019-12-24 2020-05-26 泰康保险集团股份有限公司 Information processing method, information processing device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113450085A (en) * 2021-07-19 2021-09-28 建信融通有限责任公司 Service processing method, system, storage medium and electronic equipment
CN113450085B (en) * 2021-07-19 2024-02-27 建信融通有限责任公司 Service processing method, system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111767200B (en) 2022-12-02

Similar Documents

Publication Publication Date Title
JP5429912B2 (en) Authentication system, authentication server, service providing server, authentication method, and program
EP2876865B1 (en) Communication apparatus, communication system, communication method and recording medium
CN111800440B (en) Multi-policy access control login method and device, computer equipment and storage medium
CN108933789B (en) Method for preventing personal information leakage and third-party application server
CN111970109B (en) Data transmission method and system
CN112672357A (en) Method and device for processing user account in business system and computer equipment
CN113746638B (en) NFT storage method, NFT restoration method, computer device, and storage medium
CN112615753A (en) Link abnormity tracking method, first node, second node and link
CN110798446A (en) Mail batch authorization method and device, computer equipment and storage medium
CN111767200B (en) Method, device and computer equipment for processing service based on service log
CN112055017A (en) Single-account multi-application unified login method and device and computer equipment
CN112383470B (en) Communication friend adding method and device, computer equipment and storage medium
US20190164154A1 (en) System and method for facilitating secure transactions
CN111399867A (en) Software upgrading method, device, equipment and computer readable storage medium
CN110445754B (en) Windows domain account processing method, server and computer readable storage medium
CN112507668A (en) Project data storage certificate method, storage certificate system, terminal equipment and readable storage medium
CN111147358A (en) Security authentication method and device based on instant messaging software
CN112597118B (en) Shared file adding method and device
CN112910876B (en) Login method and device and electronic equipment
CN111259411B (en) Block chain management method, device, electronic equipment and readable storage medium
CN113553566A (en) Account locking method and device, electronic equipment and computer readable storage medium
CN113852474A (en) Task processing method, gateway, computer readable storage medium and electronic device
CN111428461A (en) Document delivery process certificate storage method and device, computer equipment and storage medium
CN112699366A (en) Cross-platform login-free secure communication method and device and electronic equipment
CN116094926A (en) Equipment batch upgrading method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant