Processing information storage method, processing information query method, device and server
By collecting and summarizing processing information during live broadcast and e-commerce, and unified storage and querying, the problem of low information storage and query efficiency in the object processing process is solved, and efficient information management and query is achieved.
Patent Information
- Application Number
- CN202111385773.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-22
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2041-11-22
AI Technical Summary
During live broadcast and e-commerce, the object's processing process generates a large amount of processing information, resulting in low efficiency in information storage and query and difficult to effectively manage.
By collecting the processing information of the target object in multiple processing stages, generating summary information, and performing unified storage and querying on the management server, it supports real-time and regular information sending and querying.
It improves the management efficiency of processing information, realizes rapid acquisition and query of the processing information of the target object, simplifies the information storage and query process, and reduces information redundancy and complexity.
Smart Images

Figure CN114116817B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a processing information storage method, a processing information query method, a device and a server. Background Art
[0002] With the close integration of live broadcasting and e-commerce, more objects are involved in the live broadcasting process, such as live broadcast rooms, products or orders, etc. Once an object has disrupted the system, it needs to be dealt with.
[0003] In the related art, a complete processing flow generally requires multiple processing operations to be performed on an object, and a lot of processing information is generated in the processing flow. Therefore, a method for efficiently storing processing information is urgently needed. Summary of the invention
[0004] The present disclosure provides a processing information storage method, a processing information query method, a device and a server, which can improve the management efficiency of processing information. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a method for storing processing information is provided, the method comprising:
[0006] Collecting processing information of a target object at multiple processing stages in a first processing flow, where processing information of different processing stages is generated by different processing servers when processing the target object;
[0007] Determine first summary information corresponding to the target object based on the collected multiple processing information;
[0008] The first summary information is stored.
[0009] In some embodiments, the processing information includes at least one of description information or processing result information, the description information is used to describe the processing reason of the target object, and the processing result information is used to indicate the processing result of the target object;
[0010] The first processing flow includes a first type of stage and a second type of stage, the processing information corresponding to the first type of stage does not include the processing result information, and the processing information corresponding to the second type of stage includes the processing result information;
[0011] The determining, based on the collected plurality of processing information, the first summary information corresponding to the target object comprises at least one of the following:
[0012] Summarize the processing information corresponding to the second type of stage to obtain first sub-summary information;
[0013] Summarize the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage to obtain second sub-summary information;
[0014] The processing information corresponding to each of the processing stages is summarized to obtain third sub-summary information.
[0015] In some embodiments, after determining the first summary information corresponding to the target object based on the collected plurality of processing information, the method further includes:
[0016] collecting processing information of multiple processing stages in a second processing flow of the target object, wherein the second processing flow is used to redetermine a processing result of the target object;
[0017] Based on the collected multiple pieces of processing information, second summary information corresponding to the target object is determined.
[0018] In some embodiments, the second processing flow includes the first type of stage and the second type of stage, and determining the second summary information corresponding to the target object based on the collected plurality of processing information and the first summary information includes:
[0019] The processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage in the second processing flow are summarized, and the summarized information replaces the second sub-summary information.
[0020] In some embodiments, determining the second summary information corresponding to the target object based on the collected plurality of processing information includes at least one of the following:
[0021] Summarize the processing information corresponding to the second type of stage in the second processing flow to obtain fourth sub-summary information;
[0022] The processing information corresponding to each of the processing stages in the second processing flow is summarized to obtain fifth sub-summary information.
[0023] In some embodiments, storing the first summary information includes:
[0024] Determine a summary identifier based on the object identifier and the type identifier of the target object, wherein the type identifier indicates the type to which the processing reason of the target object belongs;
[0025] The first summary information and the summary identifier are stored correspondingly.
[0026] In some embodiments, the first summary information further includes at least one of the object identifier, the type identifier, the processing time, or the processing status, the processing time being the time when the target object enters the first processing flow, and the processing status is used to indicate the current processing stage of the target object, and the method further includes:
[0027] receiving a first query request, where the first query request carries a first query identifier, where the first query identifier includes at least one of the summary identifier, the object identifier, the type identifier, the processing time, or the processing status;
[0028] Acquire first target summary information corresponding to the first query identifier from the stored first summary information;
[0029] The first target summary information is sent to a device that sends the first query request.
[0030] In some embodiments, acquiring the first target summary information corresponding to the first query identifier from the stored first summary information includes:
[0031] Determining the first summary information corresponding to the first query identifier from the stored first summary information;
[0032] The second sub-summary information included in the first summary information corresponding to the first query identifier is determined as the first target summary information, the second sub-summary information includes processing information corresponding to a first type of stage and processing result information corresponding to a second type of stage, the first processing flow includes the first type of stage and the second type of stage, the processing information corresponding to the first type of stage does not include the processing result information, and the processing information corresponding to the second type of stage includes the processing result information.
[0033] In some embodiments, the method further comprises:
[0034] The first target summary information and the summary identifier corresponding to the first summary information to which the first target summary information belongs are stored in a cache database in correspondence.
[0035] In some embodiments, the method further comprises:
[0036] receiving a second query request, where the second query request carries a second query identifier;
[0037] Obtaining, from the cache database, second target summary information corresponding to the second query identifier;
[0038] The second target summary information is sent to a device that sends the second query request.
[0039] In some embodiments, the data structure of the first summary information is a first data structure, and storing the first summary information includes:
[0040] storing the first summary information in a first database, wherein the first data structure is a data structure supported by the first database;
[0041] The method further comprises:
[0042] The first summary information is converted into first summary information of a second data structure, and stored in a second database, where the second data structure is a data structure supported by the second database.
[0043] In some embodiments, the second database is used to store the first summary information and the corresponding summary identifier, and the method further includes:
[0044] receiving a third query request, where the third query request carries a third query identifier;
[0045] Acquire, from the second database, third target summary information corresponding to the third query identifier;
[0046] The third target summary information is sent to a device that sends the third query request.
[0047] In some embodiments, the first database includes a synchronized master database and a slave database, the master database is used for the local server to write information, and the slave database is used for the local server to read information; storing the first summary information in the first database includes:
[0048] storing the first summary information in the master database;
[0049] Based on the first summary information stored in the master database, information synchronization is performed on the slave database.
[0050] According to a second aspect of an embodiment of the present disclosure, a method for storing processing information is provided, the method for storing processing information comprising:
[0051] Acquire processing information of the target object at any processing stage, where processing information of different processing stages is generated by different processing servers when processing the target object;
[0052] The processing information is sent to a management server, and the management server is used to determine first summary information of the target object based on the processing information, and store the first summary information.
[0053] In some embodiments, sending the processing information to the management server includes any of the following:
[0054] When any object is processed and processing information is generated, the processing information is sent to the management server in real time;
[0055] The at least one generated processing information is sent to the management server at a preset time interval.
[0056] According to a third aspect of an embodiment of the present disclosure, a processing information query method is provided, characterized in that the processing information query method includes:
[0057] Generate a query request based on a query identifier of the object to be queried, the query request carrying the query identifier, the query identifier including at least one of information such as an object identifier, a type identifier, a summary identifier, a processing time, or a processing status corresponding to the object to be queried, the type identifier being the type to which the processing reason belongs, the summary identifier being determined based on the object identifier and the type identifier of the object, the processing time being the time of entering the first processing flow, and the processing status being used to indicate the current processing stage;
[0058] Sending the query request to a management server, the management server is further used to obtain corresponding target summary information based on the query identifier, the target summary information is generated by the management server based on the processing information of the object;
[0059] The target summary information sent by the management server is received, and the target summary information is displayed.
[0060] In some embodiments, the step of generating a query request based on the query identifier of the input object to be queried includes any of the following:
[0061] In response to a triggering operation on any one of the multiple type identifiers, generating the query request, wherein the query request carries the type identifier;
[0062] Obtaining an input object identifier and generating the query request, wherein the query request carries the object identifier;
[0063] In response to a triggering operation on any one of a plurality of processing states, generating the query request, wherein the query request carries the processing state;
[0064] Obtaining the input processing time and generating the query request, wherein the query request carries the processing time;
[0065] The input summary identifier is obtained, and the query request is generated, where the query request carries the summary identifier.
[0066] According to a fourth aspect of an embodiment of the present disclosure, a processing information storage device is provided, the processing information storage device comprising:
[0067] An information collection unit is configured to collect processing information of a target object at multiple processing stages in a first processing flow, where the processing information of different processing stages is generated by different processing servers when processing the target object;
[0068] an information determining unit, configured to determine first summary information corresponding to the target object based on the collected plurality of processing information;
[0069] The information storage unit is configured to store the first summary information.
[0070] In some embodiments, the processing information includes at least one of description information or processing result information, the description information is used to describe the processing reason of the target object, and the processing result information is used to indicate the processing result of the target object;
[0071] The first processing flow includes a first type of stage and a second type of stage, the processing information corresponding to the first type of stage does not include the processing result information, and the processing information corresponding to the second type of stage includes the processing result information;
[0072] The information determination unit is configured to perform at least one of the following:
[0073] Summarize the processing information corresponding to the second type of stage to obtain first sub-summary information;
[0074] Summarize the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage to obtain second sub-summary information;
[0075] The processing information corresponding to each of the processing stages is summarized to obtain third sub-summary information.
[0076] In some embodiments, the apparatus further comprises:
[0077] The information collection unit is further configured to collect processing information of multiple processing stages in a second processing flow of the target object, wherein the second processing flow is used to redetermine a processing result of the target object;
[0078] The information determination unit is configured to determine the second summary information corresponding to the target object based on the collected multiple pieces of processing information.
[0079] In some embodiments, the second processing flow includes the first type of stage and the second type of stage, and the information determination unit is further configured to execute aggregation of the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage in the second processing flow, and replace the second sub-aggregate information with the aggregated information.
[0080] In some embodiments, the information determination unit is further configured to perform at least one of the following:
[0081] Summarize the processing information corresponding to the second type of stage in the second processing flow to obtain fourth sub-summary information;
[0082] The processing information corresponding to each of the processing stages in the second processing flow is summarized to obtain fifth sub-summary information.
[0083] In some embodiments, the information storage unit is configured to determine a summary identifier based on the object identifier and type identifier of the target object, wherein the type identifier indicates the type of the processing reason of the target object; and store the first summary information and the summary identifier in correspondence.
[0084] In some embodiments, the first summary information further includes at least one of the object identifier, the type identifier, the processing time, or the processing status, the processing time being the time when the target object enters the first processing flow, and the processing status is used to indicate the current processing stage of the target object, and the device further includes:
[0085] a request receiving unit, configured to execute receiving a first query request, wherein the first query request carries a first query identifier, and the first query identifier includes at least one of the summary identifier, the object identifier, the type identifier, the processing time, or the processing status;
[0086] A first information acquisition unit is configured to acquire first target summary information corresponding to the first query identifier from the stored first summary information;
[0087] The first information sending unit is configured to send the first target summary information to the device that sends the first query request.
[0088] In some embodiments, the first information acquisition unit is configured to determine the first summary information corresponding to the first query identifier from the stored first summary information; determine the second sub-summary information included in the first summary information corresponding to the first query identifier as the first target summary information, the second sub-summary information includes processing information corresponding to the first type of stage and processing result information corresponding to the second type of stage, the first processing flow includes the first type of stage and the second type of stage, the processing information corresponding to the first type of stage does not include the processing result information, and the processing information corresponding to the second type of stage includes the processing result information.
[0089] In some embodiments, the apparatus further comprises:
[0090] The information cache unit is configured to store the first target summary information and the summary identifier corresponding to the first summary information to which the first target summary information belongs in a cache database.
[0091] In some embodiments, the apparatus further comprises:
[0092] The request receiving unit is further configured to receive a second query request, where the second query request carries a second query identifier;
[0093] The first information acquisition unit is further configured to acquire second target summary information corresponding to the second query identifier from the cache database;
[0094] The first information sending unit is further configured to send the second target summary information to the device that sends the second query request.
[0095] In some embodiments, the data structure of the first summary information is a first data structure, the information storage unit is configured to store the first summary information in a first database, and the first data structure is a data structure supported by the first database;
[0096] The device also includes:
[0097] The information storage unit is further configured to convert the first summary information into first summary information of a second data structure, and store the first summary information in a second database, where the second data structure is a data structure supported by the second database.
[0098] In some embodiments, the second database is used to store the first summary information and the corresponding summary identifier, and the apparatus further includes:
[0099] A request receiving unit, configured to receive a third query request, wherein the third query request carries a third query identifier;
[0100] A first information acquisition unit is configured to acquire third target summary information corresponding to the third query identifier from the second database;
[0101] The first information sending unit is configured to send the third target summary information to the device that sends the third query request.
[0102] In some embodiments, the first database includes a synchronized master database and a slave database, the master database is used for writing information to the local server, and the slave database is used for reading information from the local server; the information storage unit is configured to store the first summary information in the master database; and synchronize information on the slave database based on the first summary information stored in the master database.
[0103] According to a fifth aspect of an embodiment of the present disclosure, a processing information storage device is provided, the processing information storage device comprising:
[0104] A second information acquisition unit is configured to acquire processing information of the target object at any processing stage, where processing information of different processing stages is generated by different processing servers when processing the target object;
[0105] The second information sending unit is configured to send the processing information to the management server, and the management server is used to determine the first summary information of the target object based on the processing information, and store the first summary information.
[0106] In some embodiments, the second information sending unit is configured to perform any of the following:
[0107] When any object is processed and processing information is generated, the processing information is sent to the management server in real time;
[0108] The at least one generated processing information is sent to the management server at a preset time interval.
[0109] According to a sixth aspect of an embodiment of the present disclosure, a processing information query device is provided, the processing information query device comprising:
[0110] a request generating unit, configured to execute a query identifier based on an object to be queried, and generate a query request, wherein the query request carries the query identifier, and the query identifier includes at least one of information such as an object identifier, a type identifier, a summary identifier, a processing time, or a processing status corresponding to the object to be queried, wherein the type identifier is a type to which a processing reason belongs, the summary identifier is determined based on the object identifier and the type identifier of the object, the processing time is a time to enter a first processing flow, and the processing status is used to indicate a current processing stage;
[0111] a request sending unit, configured to execute sending the query request to the management server, the management server is further used to obtain corresponding target summary information based on the query identifier, the target summary information is generated by the management server based on the processing information of the object;
[0112] The information display unit is configured to receive the target summary information sent by the management server and display the target summary information.
[0113] In some embodiments, the request generating unit is configured to perform any of the following:
[0114] In response to a triggering operation on any one of the multiple type identifiers, generating the query request, wherein the query request carries the type identifier;
[0115] Obtaining an input object identifier and generating the query request, wherein the query request carries the object identifier;
[0116] In response to a triggering operation on any one of a plurality of processing states, generating the query request, wherein the query request carries the processing state;
[0117] Obtaining the input processing time and generating the query request, wherein the query request carries the processing time;
[0118] The input summary identifier is obtained, and the query request is generated, where the query request carries the summary identifier.
[0119] According to a seventh aspect of an embodiment of the present disclosure, a server is provided, the server comprising:
[0120] processor;
[0121] a memory for storing instructions executable by the processor;
[0122] The processor is configured to execute the instructions to implement the processing information storage method as described in the above aspects.
[0123] According to an eighth aspect of an embodiment of the present disclosure, a terminal is provided, the terminal including:
[0124] processor;
[0125] a memory for storing instructions executable by the processor;
[0126] The processor is configured to execute the instructions to implement the information query processing method as described in the above aspects.
[0127] According to the ninth aspect provided by the embodiment of the present disclosure, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by the processor of the server, the server is enabled to execute the processing information storage method as described in the above aspects, or, when the instructions in the computer-readable storage medium are executed by the processor of the terminal, the terminal is enabled to execute the processing information query method as described in the above aspects.
[0128] According to a tenth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the processing information storage method or the processing information query method described in the above aspects.
[0129] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0130] The disclosed embodiment provides a method for storing processing information, which collects processing information of a target object at each processing stage in a first processing flow, summarizes the collected processing information, obtains first summary information and stores it, thereby providing a unified storage method for the processing information of the target object. When the processing information of the target object is needed subsequently, the first summary information of the target object can be quickly obtained, thereby improving the management efficiency of the processing information.
[0131] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0132] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0133] Figure 1 is a schematic diagram of an implementation environment according to an exemplary embodiment;
[0134] Figure 2 is a flow chart showing a method for processing information storage according to an exemplary embodiment;
[0135] Figure 3 is a flow chart showing a method for processing information storage according to an exemplary embodiment;
[0136] Figure 4 is a flow chart showing a method for processing information storage according to an exemplary embodiment;
[0137] Figure 5 is a schematic diagram showing interaction between a server and a terminal according to an exemplary embodiment;
[0138] Figure 6 is a schematic diagram summarizing processing information according to an exemplary embodiment;
[0139] Figure 7 is a schematic diagram of a database according to an exemplary embodiment;
[0140] Figure 8 is a schematic diagram of a business architecture for processing information according to an exemplary embodiment;
[0141] Fig. 9 is a flow chart of a method for processing information query according to an exemplary embodiment;
[0142] Fig.10 is a flow chart of a method for processing information query according to an exemplary embodiment;
[0143] Fig.11 is a structural block diagram of a device for processing information storage according to an exemplary embodiment;
[0144] Fig.12 is a structural block diagram of a device for processing information storage according to an exemplary embodiment;
[0145] Fig.13 is a structural block diagram of a device for processing information query according to an exemplary embodiment;
[0146] Fig.14 is a structural block diagram of a server according to an exemplary embodiment;
[0147] Fig.15 It is a structural block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0148] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0149] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned figure descriptions are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0150] The terms "at least one", "a plurality", "each", and "any" used in the present disclosure include one, two, or more than two, a plurality includes two or more than two, each refers to each of the corresponding plurality, and any refers to any one of the plurality. For example, a plurality of elements includes three elements, and each refers to each of the three elements, and any refers to any one of the three elements, which may be the first, the second, or the third.
[0151] Figure 1 is a schematic diagram of an implementation environment according to an exemplary embodiment. Figure 1 The implementation environment includes a management server 101 and multiple processing servers 102. The management server 101 and each processing server 102 are connected via a wireless or wired network. The processing server 102 is used to process the object in the corresponding processing stage, obtain processing information, and send the processing information to the management server 101. The management server 101 is used to collect the processing information of the object in multiple processing stages, generate and store the summary information corresponding to the object.
[0152] In some embodiments, the implementation environment further includes a management terminal 103, which is connected to the management server 101. The management terminal 103 is a terminal for the management personnel, and the management terminal 103 is used to generate a query request, send the query request to the management server 101, and receive the summary information sent by the management server 101. After that, the management personnel can view the summary information on the management terminal 104. Accordingly, the management server 101 is also used to obtain the stored summary information based on the query request, and send the summary information to the management terminal 103.
[0153] In some embodiments, the implementation environment further includes a plurality of processing terminals 104, each of which is connected to a corresponding processing server 102. The processing terminal 104 is a terminal of a processing personnel, and the processing terminal 104 is used to process the object, obtain processing information, and send the processing information to the processing server 102, and the processing server 102 forwards the processing information to the management server 101.
[0154] The processing information storage method provided by the present disclosure can be applied in multiple scenarios. For example, taking the target object as a live broadcast room, a behavior that violates the rules of the live broadcast application occurs in the live broadcast room, and multiple processing servers process the live broadcast room in turn, and obtain processing information such as acceptance information, responsibility determination information, punishment method determination information, and punishment information. The management server summarizes the processing information through the processing information storage method provided by the present disclosure, obtains the file information corresponding to the live broadcast room, and then stores the file information.
[0155] For another example, taking the target object as an account, the account violates the rules of the live broadcast application during the transaction of items. Multiple processing servers process the account and obtain processing information. The management server summarizes the processing information through the processing information storage method provided by the present invention, obtains the file information corresponding to the account, and stores the file information.
[0156] Figure 2 is a flowchart of a method for processing information storage according to an exemplary embodiment. Figure 2 As shown, the method is executed by the management server and includes the following steps.
[0157] 201. A management server collects processing information of a target object at multiple processing stages in a first processing flow. Processing information of different processing stages is generated by different processing servers when processing the target object.
[0158] 202. The management server determines first summary information corresponding to the target object based on the collected multiple processing information.
[0159] 203. The management server stores the first summary information.
[0160] The target object includes any one of the following objects: account, live broadcast room, item, order or multimedia resource. Item is an item that can be traded, order is generated when an item is traded, and multimedia resource includes resources such as video, audio or image.
[0161] In some embodiments, the user terminal is installed with a target application, and the user terminal can realize functions such as live broadcast, item trading, or multimedia resource browsing through the target application. For example, the target application is any application in applications such as live broadcast application, short video application, or shopping application. Since there are many users of the target application, the server that provides background services for the target application sets the behavior that the target application prohibits from occurring. The account is the registered account of the target application. For example, the account is the account of the merchant who provides the item. During the live broadcast or item trading process, the account participating in the live broadcast or the account participating in the item trading may have sensitive behavior, which causes the objects related to the live broadcast or the objects related to the item trading to violate the rules of the target application. At this time, the objects that violate the rules are processed to maintain the normal order of the target application. Among them, sensitive behavior is any behavior that the target application prohibits from occurring. For example, the behavior of promoting counterfeit goods, the behavior of infringing on the copyright of others, or the behavior of false shipment, etc. It should be noted that sensitive behavior can be determined by account complaints or server identification.
[0162] In some embodiments, a complete processing of an object includes at least one processing flow, and the at least one processing flow includes a first processing flow, a second processing flow, and a third processing flow, etc. The second processing flow is used to redetermine the processing result of the target object after the first processing flow is completed; the third processing flow is used to redetermine the processing result of the target object after the second processing flow is completed, and so on.
[0163] Each processing flow includes multiple processing stages, and the multiple processing stages included in each processing flow may be different. Each processing stage performs different processing operations on the object. Accordingly, the multiple operations required to process an object are first divided into multiple processing stages, and different processing servers are responsible for each processing stage.
[0164] For example, taking the first processing flow including the acceptance stage, the responsibility determination stage, the penalty method determination stage and the penalty stage as an example, for the processing event of the target object, the acceptance stage is used to accept the processing event and obtain the acceptance information, the responsibility determination stage is used to determine the responsible party of the processing event and obtain the responsibility determination information, the penalty method determination stage is used to determine the penalty method for the responsible party and obtain the penalty method determination information, and the penalty stage is used to punish the responsible party based on the penalty method and obtain the penalty information.
[0165] In some embodiments, the processing servers corresponding to two adjacent processing stages are connected in the order of multiple processing stages included in the processing flow. After obtaining the processing information of the target object, the processing server corresponding to the previous processing stage sends the processing information to the processing server corresponding to the next processing stage. The processing server corresponding to the next processing stage then performs the next processing operation on the target object based on the processing information to obtain new processing information, and so on, until the processing of the target object is completed.
[0166] It should be noted that two adjacent processing stages can be handled by the same processing server to reduce the number of circulation times of processing information, and the present disclosure does not limit this. However, in the embodiments of the present disclosure, each processing flow is completed by multiple processing servers. For example, taking the first processing flow including the acceptance stage, the responsibility determination stage, the penalty method determination stage and the penalty stage as an example, the acceptance stage is handled by the acceptance server, the responsibility determination stage is handled by the responsibility determination server, the penalty method determination stage is handled by the penalty method determination server, and the penalty stage is handled by the penalty server.
[0167] In the embodiment of the present disclosure, by collecting processing information of the target object at each processing stage in the first processing flow, the collected processing information is summarized to obtain and store first summary information, thereby providing a unified storage method for the processing information of the target object. When the processing information of the target object is needed subsequently, the first summary information of the target object can be quickly obtained, thereby improving the management efficiency of the processing information.
[0168] Figure 3 is a flowchart of a method for processing information storage according to an exemplary embodiment. Figure 3 As shown, the method is executed by a processing server and includes the following steps.
[0169] 301. The processing server obtains processing information of the target object at any processing stage. The processing information of different processing stages is generated by different processing servers when processing the target object.
[0170] When each processing server completes the processing stage for which it is responsible, it obtains the processing information of the processing stage.
[0171] 302. The processing server sends the processing information to the management server, and the management server is used to determine first summary information of the target object based on the processing information, and store the first summary information.
[0172] In the embodiment of the present disclosure, the processing information generated by each processing server in the corresponding processing stage is sent to the management server respectively, and the management server uniformly stores the processing information corresponding to the target object in different processing stages, thereby facilitating the management of the processing information and improving the management efficiency of the processing information.
[0173] Figure 4 is a flowchart of a method for processing information storage according to an exemplary embodiment. Figure 4 As shown, the method is described by taking the storage process of processing information through the interaction between the processing server and the management server as an example, and includes the following steps.
[0174] 401. The processing server obtains processing information of the target object in the corresponding processing stage.
[0175] The processing information of different processing stages is generated by different processing servers when processing the target object. In some embodiments, the processing server obtains the processing information of the target object with the help of a processing terminal. The implementation method of the processing server obtaining the processing information of the target object at the corresponding processing stage includes: the processing terminal processes the target object to obtain the processing information, sends the processing information to the processing server, and the processing server receives the processing information. The processing terminal is a terminal of the processing personnel.
[0176] By using the processing terminal for human-computer interaction, the processing terminal processes the target object to obtain processing information, so that the processing server collects the processing information of each processing terminal. In some embodiments, after obtaining the processing information of the target object at the corresponding processing stage, the processing server stores the processing information so that when the processing information is used later, the required processing information can be obtained from the processing information stored by the processing server.
[0177] 402. The processing server sends the processing information to the management server.
[0178] The management server is used to determine summary information of the target object based on the processing information, and store the summary information. In some embodiments, the implementation of sending the processing information to the management server includes any of the following:
[0179] The first implementation method: When the processing server processes any object and generates processing information, it sends the processing information to the management server in real time. The management server provides an interface for sending and receiving processing information. Accordingly, the processing server calls the interface and sends the processing information to the management server through the interface. For example, the interface is an RPC (Remote Procedure Call) interface.
[0180] In the embodiment of the present disclosure, by sending the processing information to the management server in real time after the processing information is generated, the processing stage with higher real-time requirements can write the processing information in time, thereby ensuring that the summary information stored by the management server is always obtained based on the latest processing information of the target object, thereby ensuring real-time storage of the processing information.
[0181] The second implementation method: the processing server sends the generated at least one processing information to the management server at a preset time interval. The preset time interval can be set as needed, and the present disclosure does not limit this. For example, the preset time interval is 1 hour, 10 hours, or 24 hours.
[0182] In the embodiment of the present disclosure, after the processing information is obtained, it is not sent to the management server immediately, but is sent at a certain interval, that is, the processing information is sent asynchronously. This can reduce the number of times information is sent and received, thereby saving the processing resources of the processing server so that the processing server can process other business in a timely manner.
[0183] In the embodiments of the present disclosure, the processing server can send processing information to the management server through any of the above implementation methods, and the present disclosure does not limit this.
[0184] 403. The management server collects processing information of the target object in multiple processing stages in the first processing flow.
[0185] Each processing server sends the processing information generated by the processing stage for which it is responsible to the management server, so that the management server collects the processing information of the target object at each processing stage in the first processing flow. In some embodiments, after receiving the processing information of any processing stage, the management server performs the operation of step 404 to obtain the first summary information.
[0186] For example, see Figure 5 The multiple processing servers are: acceptance server, responsibility determination server, penalty method determination server and penalty server. The acceptance server corresponds to the acceptance stage, the responsibility determination server corresponds to the responsibility determination stage, the penalty method determination server determines the penalty method determination stage, and the penalty server corresponds to the penalty stage. Each processing server sends the processing information of the corresponding processing stage to the management server. The management server acts as a file center and stores the processing information of the target object.
[0187] 404. The management server determines first summary information corresponding to the target object based on the collected multiple processing information.
[0188] Among them, the processing information includes at least one of the description information or the processing result information, the description information is used to describe the processing reason of the target object, and the processing result information is used to indicate the processing result of the target object; the first processing flow includes a first type of stage and a second type of stage, the processing information corresponding to the first type of stage does not include the processing result information, and the processing information corresponding to the second type of stage includes the processing result information.
[0189] Accordingly, the processing information corresponding to the first stage includes description information, and the processing information corresponding to the second stage includes description information and processing result information. For example, taking the first processing flow including the acceptance stage, the responsibility determination stage, the penalty method determination stage and the penalty stage as an example, the first stage includes the acceptance stage, and the second stage includes the responsibility determination stage, the penalty method determination stage and the penalty stage.
[0190] In some embodiments, the management server determines the summary information corresponding to the target object based on the collected multiple processing information in at least one of the following ways:
[0191] The first implementation method: the management server summarizes the processing information corresponding to the second stage to obtain the first sub-summary information. The processing information of the second stage includes processing result information, for example, the processing result information obtained in the responsibility determination stage includes the responsible party information indicating the responsible party, the processing result information obtained in the penalty determination stage includes the information indicating the penalty method, and the processing result information obtained in the penalty stage includes the information indicating the penalty result, for example, the penalty result information indicates that a fine of 100 yuan has been imposed.
[0192] In the embodiment of the present disclosure, the processing information of the second stage is separately aggregated to obtain the first sub-aggregate information, so that there is no need to separately obtain the processing information of multiple second stages in the subsequent process, thereby providing data support for improving the efficiency of information acquisition.
[0193] The second implementation manner: the management server summarizes the processing information corresponding to the first stage and the processing result information corresponding to the second stage to obtain second sub-summary information.
[0194] In the embodiment of the present disclosure, by extracting and aggregating the more important information in each processing stage, the obtained summary information not only includes the important information of the target object in each processing stage in the first processing flow, but also simplifies the information content, thereby reducing the redundancy of information storage.
[0195] A third implementation method: the management server aggregates the processing information corresponding to each processing stage to obtain third sub-aggregation information. For each processing stage, the management server uses the processing information corresponding to the processing stage as a sub-aggregation information to obtain multiple third sub-aggregation information.
[0196] In the embodiment of the present disclosure, the processing information of each processing stage is the complete processing information of the target object at that processing stage. By directly storing the processing information, it is convenient to obtain the detailed processing information of the target object at any processing stage later, thereby improving the integrity of information storage.
[0197] One point that needs to be explained is that the management server can determine the first summary information through any one of the above-mentioned implementation methods, and can also determine the first summary information in combination with any two or three of the above-mentioned implementation methods, and the present disclosure does not limit this. In the embodiment of the present disclosure, the first summary information includes the first sub-summary information, the second sub-summary information and the third sub-summary information as an example for explanation. In some embodiments, after collecting the processing information sent by the processing server, the management server synchronizes the processing information in each third sub-summary information to the first sub-summary information, and synchronizes the processing information in the first sub-summary information to the second sub-summary information.
[0198] For example, see Figure 6 , the processing information of each processing stage of the target object is split and stored. The first summary information (file information) involves three types of sub-summary information: the first sub-summary information (case_stage, file stage information): the processing information of the responsibility determination stage, the penalty determination stage and the penalty stage are combined into one case_stage; the second sub-summary information (case_info, file basic information); multiple third sub-summary information: the processing information associated with the acceptance stage (case_accept), the processing information associated with the responsibility determination stage (case_judge), the processing information associated with the penalty determination stage (case_penalty), and the processing information associated with the penalty stage (case_action). Among them, the processing information associated with each processing stage is also the processing information generated in the processing stage.
[0199] 405. The management server stores the first summary information.
[0200] In some embodiments, the management server stores the first summary information in the following manner: the management server determines a summary identifier based on the object identifier and type identifier of the target object, where the type identifier indicates the type of the processing reason of the target object; and stores the first summary information and the summary identifier in correspondence.
[0201] The object identifier includes the ID (Identity Document) of the object. For example, if the object is an account, the object identifier is the ID of the account; if the object is a live broadcast room, the object identifier is the ID of the live broadcast room; if the object is an item, the item identifier is the ID of the item; if the object is an order, the object identifier is the ID of the order; if the object is a multimedia resource, the object identifier is the ID of the multimedia resource.
[0202] In the embodiment of the present disclosure, multiple types are set, and the processing reasons include multiple types, and different processing reasons may belong to different types. For example, the multiple types include types such as promoting counterfeit goods, publishing prohibited information or false transactions. Each type has a corresponding identifier. It should be noted that the multiple types set in advance may belong to multiple levels, and the types of the next level belong to the subtypes of the types of the previous level. For example, three levels of types are set.
[0203] In the embodiment of the present disclosure, since the same object may be processed multiple times and the types of processing reasons are different, the first summary information is uniquely identified by combining the object identifier and the type identifier, so that the first summary information can be subsequently searched according to the summary identifier, thereby improving information search efficiency.
[0204] It should be noted that, when there are still remaining processing stages that have not been completed in the current processing flow, the management server determines and stores the first summary information based on the processing information of the currently completed processing stage. After subsequently receiving the processing information of other processing stages in the processing flow, the management server performs the operations of step 404-step 405 based on the processing information, thereby supplementing the first summary information.
[0205] In some embodiments, the management server stores the first summary information of the target object in a database, and the data structure of the first summary information is a first data structure. The implementation method of storing the first summary information includes: the management server stores the first summary information in a first database, and the first data structure is a data structure supported by the first database.
[0206] The first database may be a MySQL (a relational database management system) database, and accordingly, the first data structure is a data structure supported by MySQL, and the first summary information is stored in the first database in the form of a structured data table. Optionally, the first database includes a synchronized master database and a slave database, the master database is used for the local server to write information, and the slave database is used for the local server to read information; accordingly, the management server stores the first summary information in the first database in the following ways: the management server stores the first summary information in the master database; based on the first summary information stored in the master database, information synchronization is performed on the slave database.
[0207] Among them, the number of master databases and slave databases can be set as needed, and the present disclosure does not limit this. In some embodiments, the management server uses the kshard (a database middleware) tool to set up the first database. For example, two master databases are set, and each master database corresponds to two slave databases.
[0208] In the embodiment of the present disclosure, by writing the first summary information into the main database and then synchronizing the first summary information to the slave database, the information can be read directly from the slave database later, thereby achieving read-write separation, thereby reducing the processing pressure of the main database and improving the performance of the database.
[0209] In some embodiments, since the number of objects to be processed may be large, the management server needs to store a large amount of summary information. Then the management server, accordingly, the processing information storage method provided in the embodiment of the present disclosure also includes the following steps: the management server converts the summary information into summary information of a second data structure, and stores it in the second database, and the second data structure is a data structure supported by the second database.
[0210] The second database may be a Clickhouse (a column-based database management system) database. The first data structure is different from the second data structure.
[0211] In the embodiment of the present disclosure, by storing the first summary information in the first database and the second database respectively, other devices can subsequently read information directly from the second database, thereby achieving read-write separation, reducing the processing pressure of the first database, and improving the performance of the database.
[0212] For example, see Figure 7 , two first databases are provided, each of which includes a master database, two slave databases, and a second database. The management server implements storage and retrieval of processing information through a database agent, for example, see Figure 8 The three-layer business architecture includes a business processing layer, a data management layer, and a data storage layer. Two interfaces are also provided. Each processing server in the business processing layer sends processing information to the management server through the business interface. The general interface is used for devices other than the management server to obtain data from the management server. The management server in the data management layer is connected to multiple databases (data storage layer). The first database and the second database are used to store summary information corresponding to the target object. The configuration database is used to store the configuration file of the management server. For example, the configuration database is a Kconfig (K-configuration) database.
[0213] In some embodiments, the second database is used to store the first summary information and the corresponding summary identifier. Accordingly, other devices can query the summary information from the second database with the help of the management server. The processing information storage method provided by the embodiment of the present disclosure also includes the following steps: the management server receives a third query request, and the third query request carries a third query identifier; obtains the third target summary information corresponding to the third query identifier from the second database; and sends the third target summary information to the device that sends the third query request.
[0214] The device sending the third query request may be a management terminal or other device connected to the management server. The third query identifier includes at least one of a summary identifier, an object identifier, a type identifier, a processing time or a processing status of any object.
[0215] In the disclosed embodiment, since the second database also stores summary information of objects, the management server can query the third target summary information corresponding to the third query identifier from the second database, thereby not affecting the writing of information in the first database and improving information query efficiency.
[0216] In some embodiments, after the processing server completes the first processing flow for the target object, or after determining the processing result of the target object, the terminal corresponding to the account associated with the target object may apply to redetermine the processing result. In this way, the processing server needs to re-process the target object to obtain processing information to determine the new processing result. Accordingly, after determining the first summary information corresponding to the target object based on the collected multiple processing information, the method provided in the embodiment of the present disclosure also includes steps 406-408.
[0217] 406. The management server collects processing information of multiple processing stages in a second processing flow of the target object, where the second processing flow is used to redetermine a processing result of the target object.
[0218] It should be noted that, in the second processing flow, the implementation method of the processing server obtaining the processing information and sending the processing information to the management server is the same as the implementation method of step 401-step 402, which will not be repeated here. The multiple processing stages included in the second processing flow may be the same as or different from the multiple processing stages included in the first processing flow. For example, the multiple processing stages included in the first processing flow are the acceptance stage, the responsibility determination stage, the penalty method determination stage and the penalty stage, while the second processing flow at least includes the acceptance stage, the responsibility determination stage and the penalty stage. In some embodiments, the implementation method of step 406 is the same as the implementation method of step 403, which will not be repeated here.
[0219] 407. The management server determines second summary information corresponding to the target object based on the collected multiple pieces of processing information.
[0220] After obtaining the processing information in the second processing flow, the management server also needs to determine the summary information. In some embodiments, the management server determines the second summary information corresponding to the target object based on the collected multiple processing information, including at least one of the following implementations:
[0221] A first implementation method: The management server summarizes the processing information corresponding to the second type of stage in the second processing flow to obtain fourth sub-summary information. This implementation method is the same as the implementation method for determining the first sub-summary information in step 404, and will not be repeated here. A second implementation method: The management server summarizes the processing information corresponding to each processing stage in the second processing flow to obtain fifth sub-summary information. This implementation method is the same as the implementation method for determining the third sub-summary information in step 404, and will not be repeated here. In the embodiment of the present disclosure, by storing the processing information of each processing stage in the second processing flow, it is convenient to view the processing information of each processing stage later.
[0222] In some embodiments, the second processing flow includes a first type of stage and a second type of stage. Accordingly, the management server determines the second summary information corresponding to the target object based on the collected multiple processing information and the first summary information. The implementation method includes: the management server summarizes the processing information corresponding to the first type of stage in the second processing flow and the processing result information corresponding to the second type of stage, and replaces the second sub-summary information with the summarized information.
[0223] The priorities of multiple processing flows increase in sequence. For example, the priority of the second processing flow is higher than that of the first processing flow. This priority is the priority of processing business. If the first processing flow is to process the object to which the sensitive behavior belongs, and the sensitive behavior is obtained through account complaints or server identification, the second processing flow is the complaint process for the processed object after the account to which the processed object belongs appeals.
[0224] In the embodiment of the present disclosure, by replacing the second sub-aggregate information terminal processing information, the second sub-aggregate information always stores the processing information corresponding to the current latest processing flow, so that when the processing information is subsequently viewed, the latest and simplified summary information can be obtained, thereby improving the real-time nature of the information.
[0225] 408. The management server stores the second summary information.
[0226] In some embodiments, the implementation of this step is the same as the implementation of step 405, which will not be repeated here.
[0227] In the embodiment of the present disclosure, after the first processing flow is completed, the target object may also be processed by the second processing flow. By collecting and storing the processing information generated in the second processing flow, it is ensured that the summary information stored in the management server contains the processing information corresponding to the complete processing flow of the target object, thereby improving the integrity of information storage.
[0228] One thing that needs to be explained is that after the second processing flow is completed for the target object, the terminal corresponding to the account to which the target object belongs may still not agree with the processing result obtained by the second processing flow. Accordingly, the terminal can also apply for reprocessing again to determine the new processing result. Similarly, the processing server starts the third processing flow, obtains the processing information, and the management server stores the summary information obtained based on the processing information. The implementation method of this step is the same as the implementation method of steps 406-408, which will not be repeated here. For example, if the second processing flow is an appeal process, the third processing flow is a re-appeal process initiated by the account to which the processed object belongs for the processing result of the appeal process. Among them, the priority of the third processing flow is higher than the priority of the second processing flow.
[0229] In the disclosed embodiments, since the processing of the target object involves multiple processing stages, and different processing stages are handled by different processing servers, the processing information generated during the processing is stored in each processing server in a scattered manner, and the data structure of the processing information is not unified, which increases the difficulty of data standardization processing. In addition, with the rapid development of e-commerce and live streaming, subsequent technical personnel need to effectively manage and analyze the processing information to assist in the restoration of the processing process of the target object, and then assist in decision-making in the data operation stage. However, due to the lack of unified management of the processing information, when the processing information is needed, it can only be obtained from each processing server separately. There is no unified channel for obtaining the processing information of the entire processing process, which is not conducive to the restoration of the processing process and data operation. Therefore, by designing a management model for processing information, the processing information is uniformly stored with the help of a management server, thereby achieving unified management of the processing information at each stage.
[0230] In the embodiment of the present disclosure, by collecting processing information of the target object at each processing stage in the first processing flow, the collected processing information is summarized to obtain and store first summary information, thereby providing a unified storage method for the processing information of the target object. When the processing information of the target object is needed subsequently, the first summary information of the target object can be quickly obtained, thereby improving the management efficiency of the processing information.
[0231] Fig. 9 is a flowchart of a method for processing information query according to an exemplary embodiment. Fig. 9As shown, the method is executed by the management terminal and includes the following steps.
[0232] 901. The management terminal generates a query request based on a query identifier of an object to be queried, where the query request carries the query identifier.
[0233] Among them, the query identifier includes at least one of the object identifier, type identifier, summary identifier, processing time or processing status of the object to be queried, the type identifier is the type of processing reason, the summary identifier is determined based on the object identifier and type identifier of the object, the processing time is the time to enter the first processing flow, and the processing status is used to indicate the current processing stage.
[0234] The management terminal is a terminal of a management personnel. When the management personnel wants to query the processing information of any object, the management personnel inputs a query identifier of the object to be queried in the management terminal, which triggers the management terminal to generate a query request.
[0235] For example, taking a processing flow including the acceptance stage, the responsibility determination stage, the penalty method determination stage and the penalty stage as an example, the processing status includes accepted, the responsible party has been determined, the penalty method has been determined and the penalty has been imposed.
[0236] 902. The management terminal sends the query request to the management server. The management server is further configured to obtain corresponding target summary information based on the query identifier. The target summary information is generated by the management server based on the processing information of the object.
[0237] 903. The management terminal receives the target summary information sent by the management server, and displays the target summary information.
[0238] In the disclosed embodiment, by inputting a query identifier, the generation of a query request is triggered, so that the management server can obtain the target summary information corresponding to the query identifier from the uniformly stored processing information, allowing the management personnel to view the displayed target summary information without having to obtain the processing information separately from multiple processing servers, thereby improving the efficiency of information query.
[0239] Fig.10 is a flowchart of a method for processing information query according to an exemplary embodiment. Fig.10 As shown, the method is described by taking the query process of processing information through the interaction between the management terminal and the management server as an example, and includes the following steps.
[0240] 1001. The management terminal generates a first query request based on a first query identifier of an object to be queried, where the first query request carries the first query identifier.
[0241] The first query identifier includes at least one of the object identifier, type identifier, summary identifier, processing time or processing status of the object to be queried, the type identifier is the type of processing reason, the summary identifier is determined based on the object identifier and type identifier of the object, the processing time is the time of entering the first processing flow, and the processing status is the current processing stage. For example, the object to be queried is a live broadcast room, the object identifier is the live broadcast room ID, the type is counterfeit, the type identifier is the identifier corresponding to the counterfeit, the summary identifier is "counterfeit + live broadcast room ID", the processing time is XX year XX month XX day, and the processing status is punished.
[0242] In some embodiments, the administrator inputs a query identifier of the object to be queried in the management terminal. Accordingly, the management terminal generates a first query request based on the query identifier of the object to be queried. The implementation method includes any one of the following:
[0243] The first implementation mode: the management terminal generates a first query request in response to a trigger operation on any type identifier among multiple type identifiers, and the first query request carries the type identifier. Wherein, multiple type identifiers are set in advance, and the management terminal obtains the triggered type identifier.
[0244] The second implementation method: the management terminal obtains the input object identifier and generates a first query request, the first query request carries the object identifier. The target application includes multiple objects, and the management personnel can input the object identifier of any object in the target application in the management terminal.
[0245] The third implementation method: the management terminal generates a query request in response to a trigger operation on any of the multiple processing states, and the query request carries the processing state. In some embodiments, when storing the summary information of any object, the management server also stores the current processing state of the object, and the processing state is determined based on the processing stage of the collected processing information. For example, taking the multiple processing stages in a processing flow including the acceptance stage, the responsibility determination stage, the penalty method determination stage and the penalty stage as an example, if the processing information of the acceptance stage has been collected, the processing state of the object is accepted, if the processing information of the responsibility determination stage has been collected, the processing state of the object is the responsible party has been determined, if the processing information of the penalty method determination stage has been collected, the processing state of the object is the penalty method has been determined, and if the processing information of the penalty stage has been collected, the processing state of the object is the penalty has been punished.
[0246] A fourth implementation method: the management terminal obtains the input processing time and generates a query request, wherein the query request carries the processing time. The management personnel can input any time as the processing time in the management terminal.
[0247] Fifth implementation: the management terminal obtains the input summary identifier and generates a query request, the query request carries the summary identifier. The first query request carrying the summary identifier is used for precise query, and the management server can locate unique summary information through the summary identifier, thereby achieving precise query.
[0248] It should be noted that the management terminal may generate the first query request by any one of the above implementations, or may generate the first query request by combining multiple implementations, which is not limited in the embodiments of the present disclosure.
[0249] In the embodiment of the present disclosure, there are multiple ways to generate the first query request, which facilitates the query and improves the convenience of the query.
[0250] 1002. The processing terminal sends the first query request to the management server.
[0251] The management server is further used to obtain corresponding first target summary information based on the first query identifier, and the first target summary information is generated by the management server based on the processing information of the object.
[0252] 1003. The management server receives the first query request.
[0253] 1004. The management server obtains first target summary information corresponding to the first query identifier from the stored summary information.
[0254] In some embodiments, the management server obtains the first target summary information corresponding to the first summary identifier from the stored summary information in the following manner: the management server determines the summary information corresponding to the first query identifier from the stored summary information; and determines the second sub-summary information included in the summary information corresponding to the first query identifier as the first target summary information. The second sub-summary information includes the processing information corresponding to the first stage and the processing result information corresponding to the second stage, the first processing flow includes the first stage and the second stage, the processing information corresponding to the first stage does not include the processing result information, and the processing information corresponding to the second stage includes the processing result information.
[0255] Among them, for the object to be queried, the corresponding stored summary information may include first summary information and second summary information. Since the processing information included in the second sub-summary information can not only fully represent the processing results of the object in multiple processing flows, but also has a small amount of information, the management server can directly obtain the second sub-summary information as the first target summary information to be returned to the management terminal.
[0256] In the disclosed embodiment, by using the second sub-summary information that can represent the latest processing result and has less information as the first target summary information, not only relatively complete processing information is provided, but also resources required for information transmission can be saved, thereby improving information transmission efficiency.
[0257] In some embodiments, corresponding to the multiple implementations of generating the first query request in step 1001, the implementation of step 1004 includes at least one of the following:
[0258] The first implementation mode: the first query identifier is a type identifier, and the management server obtains at least one first target summary information corresponding to the type identifier from the stored summary information. The summary information corresponding to the type identifier refers to: summary information containing the type identifier.
[0259] The second implementation method: the first query identifier is an object identifier, and the management server obtains at least one first target summary information corresponding to the object identifier from the stored summary information. Since the object to be queried may have been processed multiple times, multiple summary information of the object is stored in the database, and accordingly, the management server can obtain multiple first target summary information. The summary information corresponding to the object identifier refers to: the summary information containing the object identifier.
[0260] A third implementation method: the first query identifier is a processing state, and the management server obtains at least one first target summary information in the processing state from the stored summary information. For example, if the processing state is that the responsible party has been determined, the management server obtains the summary information in the processing state of "the responsible party has been determined" from the summary information.
[0261] Fourth implementation method: The first query identifier is the processing time, and the management server obtains the first target summary information corresponding to the processing time from the stored summary information. Since the processing time cannot be completely accurate, the management server can use the summary information whose processing time is within the target time period as the first target summary information. The target time period is a time period including the time indicated by the first query identifier. The length of the target time period can be set as needed, and the embodiment of the present disclosure does not limit this. For example, the target time period is 24 hours, 10 hours, or 4 hours.
[0262] The fifth implementation method: the first query identifier is a summary identifier, and the management server obtains the first target summary information corresponding to the summary identifier from the stored summary information. The summary identifier of any object is used to uniquely identify the summary information of the object under the type of processing reason, so the management server can accurately query the first target summary information corresponding to the summary identifier.
[0263] 1005. The management server sends the first target summary information to the management terminal.
[0264] The embodiment of the present disclosure is described by taking the management terminal as the device sending the first query request as an example. Accordingly, the device sending the first query request may also be other devices, such as any processing server, and the present disclosure does not limit this.
[0265] 1006. The management terminal receives the first target summary information sent by the management server, and displays the first target summary information.
[0266] In some embodiments, after receiving the first target summary information, the management terminal displays the first target summary information in a display interface for the management personnel to view.
[0267] In some embodiments, the query identifier input by the administrator may be incorrect, and the management server may not be able to query the first target summary information corresponding to the first query request. Accordingly, when the first target summary information corresponding to the first query identifier is not obtained from the stored summary information, the management server generates a notification message indicating the query failure and sends the notification message to the management terminal. The management terminal receives the notification message and displays prompt information indicating the query failure in the display interface to prompt the administrator that the query failed, that is, no summary information was queried.
[0268] In some embodiments, after querying the first target summary information, the management server may also cache the first target summary information. Accordingly, the processing information storage method provided by the embodiment of the present disclosure also includes: the management server stores the first summary identifier and the first target summary information in a cache database accordingly.
[0269] The cache database can be set as needed, which is not limited in the embodiments of the present disclosure. For example, the cache database is a Redis (Remote dictionary server) database, which is a high-performance key-value database.
[0270] In the embodiment of the present disclosure, the previously queried first target summary information is cached, thereby providing data support for a subsequent query operation when the information is queried again.
[0271] Accordingly, the cache database caches the first target summary information queried during the historical query process. In some embodiments, the management terminal sends a second query request to the management server, and the processing information storage method provided by the embodiment of the present disclosure also includes: the management server receives the second query request, the second query request carries a second query identifier; queries the cache database for the second target summary information corresponding to the second query identifier; and sends the second target summary information to the device that sends the second query request.
[0272] Among them, since the cache database caches the first target summary information queried during the historical query process, the management server can first query the second target summary information corresponding to the second query identifier from the cache database. If the second target summary information is found, the second target summary information is read; if the second target summary information is not found, the second target summary information corresponding to the second query identifier is queried from the second database.
[0273] In the embodiment of the present disclosure, since the data stored in the cache database is less than the data stored in the first database and the second database, query time is saved and query efficiency is improved by querying the second target summary information corresponding to the second query identifier from the cache database.
[0274] In the disclosed embodiment, by inputting a query identifier, the generation of a query request is triggered, so that the management server can obtain the target summary information corresponding to the query identifier from the uniformly stored processing information, allowing the management personnel to view the displayed target summary information without having to obtain the processing information separately from multiple processing servers, thereby reducing the query complexity and improving the information query efficiency.
[0275] Fig.11 is a structural block diagram of a device for processing information storage according to an exemplary embodiment. Fig.11 , the device comprises:
[0276] The information collection unit 1101 is configured to collect processing information of a target object at multiple processing stages in a first processing flow, where the processing information of different processing stages is generated by different processing servers when processing the target object;
[0277] The information determining unit 1102 is configured to determine first summary information corresponding to the target object based on the collected multiple processing information;
[0278] The information storage unit 1103 is configured to store the first summary information.
[0279] In some embodiments, the processing information includes at least one of description information or processing result information, the description information is used to describe the processing reason of the target object, and the processing result information is used to indicate the processing result of the target object;
[0280] The first processing flow includes a first stage and a second stage, the processing information corresponding to the first stage does not include processing result information, and the processing information corresponding to the second stage includes processing result information;
[0281] The information determining unit 1102 is configured to perform at least one of the following:
[0282] Summarize the processing information corresponding to the second stage to obtain first sub-summary information;
[0283] Summarize the processing information corresponding to the first stage and the processing result information corresponding to the second stage to obtain second sub-summary information;
[0284] The processing information corresponding to each processing stage is summarized to obtain third sub-summary information.
[0285] In some embodiments, the apparatus further comprises:
[0286] The information collection unit 1101 is further configured to collect processing information of multiple processing stages in a second processing flow of the target object, where the second processing flow is used to redetermine a processing result of the target object;
[0287] The information determining unit 1102 is configured to determine the second summary information corresponding to the target object based on the collected multiple processing information.
[0288] In some embodiments, the second processing flow includes a first type of stage and a second type of stage, and the information determination unit 1102 is also configured to execute aggregation of the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage in the second processing flow, and replace the second sub-aggregate information with the aggregated information.
[0289] In some embodiments, the information determination unit 1102 is further configured to perform at least one of the following:
[0290] Summarize the processing information corresponding to the second type of stage in the second processing flow to obtain fourth sub-summary information;
[0291] The processing information corresponding to each processing stage in the second processing flow is summarized to obtain fifth sub-summary information.
[0292] In some embodiments, the information storage unit 1103 is configured to determine a summary identifier based on an object identifier and a type identifier of the target object, wherein the type identifier indicates the type of the processing reason of the target object; and store the first summary information and the summary identifier in correspondence.
[0293] In some embodiments, the first summary information further includes at least one of an object identifier, a type identifier, a processing time, or a processing status, the processing time being the time when the target object enters the first processing flow, and the processing status is used to indicate the current processing stage of the target object, and the device further includes:
[0294] A request receiving unit is configured to execute receiving a first query request, where the first query request carries a first query identifier, where the first query identifier includes at least one of a summary identifier, an object identifier, a type identifier, a processing time, or a processing status;
[0295] A first information acquisition unit is configured to acquire first target summary information corresponding to the first query identifier from the stored first summary information;
[0296] The first information sending unit is configured to send first target summary information to the device that sends the first query request.
[0297] In some embodiments, the first information acquisition unit is configured to determine the first summary information corresponding to the first query identifier from the stored first summary information; determine the second sub-summary information included in the first summary information corresponding to the first query identifier as the first target summary information, the second sub-summary information includes processing information corresponding to the first type of stage and processing result information corresponding to the second type of stage, the first processing flow includes the first type of stage and the second type of stage, the processing information corresponding to the first type of stage does not include processing result information, and the processing information corresponding to the second type of stage includes processing result information.
[0298] In some embodiments, the apparatus further comprises:
[0299] The information cache unit is configured to store the first target summary information and the summary identifier corresponding to the first summary information to which the first target summary information belongs in the cache database in a corresponding manner.
[0300] In some embodiments, the apparatus further comprises:
[0301] The request receiving unit is further configured to execute receiving a second query request, where the second query request carries a second query identifier;
[0302] The first information acquisition unit is further configured to acquire second target summary information corresponding to the second query identifier from the cache database;
[0303] The first information sending unit is further configured to send the second target summary information to the device that sends the second query request.
[0304] In some embodiments, the data structure of the first summary information is a first data structure, and the information storage unit 1103 is configured to perform storage of the first summary information in a first database, and the first data structure is a data structure supported by the first database;
[0305] The device also includes:
[0306] The information storage unit 1103 is further configured to convert the first summary information into the first summary information of a second data structure, and store the first summary information in the second database, where the second data structure is a data structure supported by the second database.
[0307] In some embodiments, the second database is used to store the first summary information and the corresponding summary identifier, and the device further includes:
[0308] A request receiving unit, configured to execute and receive a third query request, where the third query request carries a third query identifier;
[0309] The first information acquisition unit is configured to acquire third target summary information corresponding to the third query identifier from the second database;
[0310] The first information sending unit is configured to send third target summary information to the device that sends the third query request.
[0311] In some embodiments, the first database includes a synchronized master database and a slave database, the master database is used for writing information to the local server, and the slave database is used for reading information from the local server; the information storage unit is configured to store the first summary information in the master database; and synchronize information on the slave database based on the first summary information stored in the master database.
[0312] In the embodiment of the present disclosure, by collecting processing information of the target object at each processing stage in the first processing flow, the collected processing information is summarized to obtain and store first summary information, thereby providing a unified storage method for the processing information of the target object. When the processing information of the target object is needed subsequently, the first summary information of the target object can be quickly obtained, thereby improving the management efficiency of the processing information.
[0313] Fig.12 is a structural block diagram of a device for processing information storage according to an exemplary embodiment. Fig.12 , the device comprises:
[0314] The second information acquisition unit 1201 is configured to acquire processing information of the target object at any processing stage, where processing information of different processing stages is generated by different processing servers when processing the target object;
[0315] The second information sending unit 1202 is configured to send the processing information to the management server, and the management server is used to determine the first summary information of the target object based on the processing information, and store the first summary information.
[0316] In some embodiments, the second information sending unit 1202 is configured to perform any of the following:
[0317] When any object is processed and processing information is generated, the processing information is sent to the management server in real time;
[0318] The generated at least one processing information is sent to the management server at a preset time interval.
[0319] In the embodiment of the present disclosure, the processing information generated by each processing server in the corresponding processing stage is sent to the management server respectively, and the management server uniformly stores the processing information corresponding to the target object in different processing stages, thereby facilitating the management of the processing information and improving the management efficiency of the processing information.
[0320] Fig.13 is a structural block diagram of a device for processing information query according to an exemplary embodiment. Fig.13 , the device comprises:
[0321] The request generating unit 1301 is configured to execute a query identifier based on the object to be queried, and generate a query request, where the query request carries the query identifier, and the query identifier includes at least one of information such as an object identifier, a type identifier, a summary identifier, a processing time, or a processing status corresponding to the object to be queried, where the type identifier is a type to which the processing reason belongs, the summary identifier is determined based on the object identifier and the type identifier of the object, the processing time is a time to enter the first processing flow, and the processing status is used to indicate the current processing stage;
[0322] The request sending unit 1302 is configured to execute sending a query request to the management server, and the management server is further used to obtain corresponding target summary information based on the query identifier, and the target summary information is generated by the management server based on the processing information of the object;
[0323] The information display unit 1303 is configured to receive the target summary information sent by the management server and display the target summary information.
[0324] In some embodiments, the request generating unit 1301 is configured to perform any of the following:
[0325] In response to a triggering operation on any type identifier among the multiple type identifiers, a query request is generated, where the query request carries the type identifier;
[0326] Obtain an input object identifier and generate a query request, where the query request carries the object identifier;
[0327] In response to a triggering operation on any one of the multiple processing states, a query request is generated, where the query request carries the processing state;
[0328] Get the input processing time and generate a query request, which carries the processing time.
[0329] The input summary identifier is obtained and a query request is generated, where the query request carries the summary identifier.
[0330] In the disclosed embodiment, by inputting a query identifier, the generation of a query request is triggered, so that the management server can obtain the target summary information corresponding to the query identifier from the uniformly stored processing information, allowing the management personnel to view the displayed target summary information without having to obtain the processing information separately from multiple processing servers, thereby improving the efficiency of information query.
[0331] It should be noted that: when the processing information storage device provided in the above embodiment stores processing information, or when the processing information query device queries processing information, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the server or terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the processing information storage device and the processing information storage method embodiment provided in the above embodiment belong to the same concept, and the processing information query device and the processing information query method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0332] In an exemplary embodiment, a server is also provided, which includes one or more processors and a memory for storing one or more processor executable instructions, and the one or more processors are configured to execute the instructions to implement the processing information storage method in the above embodiment.
[0333] Fig.14It is a structural block diagram of a server according to an exemplary embodiment. The server 1400 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 1401 and one or more memories 1402, wherein the memory 1402 is used to store executable instructions of the processor 1401, and the processor 1401 is configured to execute the instructions to implement the processing information storage method provided by the above-mentioned various method embodiments. Of course, the server 1400 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server 1400 may also include other components for implementing device functions, which will not be repeated here.
[0334] Fig.15 1 is a block diagram of a terminal 1500 according to an exemplary embodiment. The terminal 1500 may be a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 1500 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0335] The terminal 1500 includes a processor 1501 and a memory 1502 .
[0336] The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0337] The memory 1502 may include one or more computer-readable storage media, which may be non-transitory. The memory 1502 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1502 is used to store at least one program code, which is used to be executed by the processor 1501 to implement the processing information query method provided in the method embodiment of the present disclosure.
[0338] In some embodiments, the terminal 1500 may also optionally include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502 and the peripheral device interface 1503 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1503 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1504, a display screen 1505, a camera assembly 1506, an audio circuit 1507, a positioning assembly 1508 and a power supply 1509.
[0339] The peripheral device interface 1503 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1501 and the memory 1502. In some embodiments, the processor 1501, the memory 1502, and the peripheral device interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1501, the memory 1502, and the peripheral device interface 1503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0340] The radio frequency circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1504 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1504 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1504 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1504 may also include circuits related to NFC (Near Field Communication), which is not limited in the present disclosure.
[0341] The display screen 1505 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1505 is a touch display screen, the display screen 1505 also has the ability to collect touch signals on the surface or above the surface of the display screen 1505. The touch signal can be input to the processor 1501 as a control signal for processing. At this time, the display screen 1505 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1505 can be one, and the front panel of the terminal 1500 is set; in other embodiments, the display screen 1505 can be at least two, which are respectively set on different surfaces of the terminal 1500 or are folded; in other embodiments, the display screen 1505 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1500. Even, the display screen 1505 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1505 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0342] The camera assembly 1506 is used to capture images or videos. Optionally, the camera assembly 1506 includes a front camera and a rear camera. The front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1506 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. The dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0343] The audio circuit 1507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1501 for processing, or input them into the radio frequency circuit 1504 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1500. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1501 or the radio frequency circuit 1504 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1507 may also include a headphone jack.
[0344] The positioning component 1508 is used to locate the current geographical location of the terminal 1500 to implement navigation or LBS (Location Based Service). The positioning component 1508 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system, Russia's Grenas system or the European Union's Galileo system.
[0345] The power supply 1509 is used to power various components in the terminal 1500. The power supply 1509 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1509 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0346] In some embodiments, the terminal 1500 further includes one or more sensors 1510 , including but not limited to: an acceleration sensor 1511 , a gyroscope sensor 1512 , a pressure sensor 1513 , a fingerprint sensor 1514 , an optical sensor 1515 , and a proximity sensor 1516 .
[0347] The acceleration sensor 1511 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1500. For example, the acceleration sensor 1511 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1501 can control the display screen 1505 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1511. The acceleration sensor 1511 can also be used for collecting game or user motion data.
[0348] The gyro sensor 1512 can detect the body direction and rotation angle of the terminal 1500, and the gyro sensor 1512 can cooperate with the acceleration sensor 1511 to collect the user's 3D actions on the terminal 1500. The processor 1501 can implement the following functions based on the data collected by the gyro sensor 1512: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0349] The pressure sensor 1513 can be set on the side frame of the terminal 1500 and / or the lower layer of the display screen 1505. When the pressure sensor 1513 is set on the side frame of the terminal 1500, it can detect the user's holding signal of the terminal 1500, and the processor 1501 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1513. When the pressure sensor 1513 is set on the lower layer of the display screen 1505, the processor 1501 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1505. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0350] The fingerprint sensor 1514 is used to collect the user's fingerprint, and the processor 1501 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1514, or the fingerprint sensor 1514 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 1501 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 1514 can be set on the front, back, or side of the terminal 1500. When a physical button or a manufacturer logo is set on the terminal 1500, the fingerprint sensor 1514 can be integrated with the physical button or the manufacturer logo.
[0351] The optical sensor 1515 is used to collect the ambient light intensity. In one embodiment, the processor 1501 can control the display brightness of the display screen 1505 according to the ambient light intensity collected by the optical sensor 1515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1505 is increased; when the ambient light intensity is low, the display brightness of the display screen 1505 is reduced. In another embodiment, the processor 1501 can also dynamically adjust the shooting parameters of the camera component 1506 according to the ambient light intensity collected by the optical sensor 1515.
[0352] The proximity sensor 1516, also called a distance sensor, is disposed on the front panel of the terminal 1500. The proximity sensor 1516 is used to collect the distance between the user and the front of the terminal 1500. In one embodiment, when the proximity sensor 1516 detects that the distance between the user and the front of the terminal 1500 is gradually decreasing, the processor 1501 controls the display screen 1505 to switch from the screen-on state to the screen-off state; when the proximity sensor 1516 detects that the distance between the user and the front of the terminal 1500 is gradually increasing, the processor 1501 controls the display screen 1505 to switch from the screen-off state to the screen-on state.
[0353] Those skilled in the art will understand that Fig.15 The structure shown in the figure does not constitute a limitation on the terminal 1500, and the terminal 1500 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0354] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, which can be executed by a processor in a server to complete the processing information storage method in the above embodiment, or executed by a processor in a terminal to complete the processing information query method in the above embodiment. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0355] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the processing information storage method or the processing information query method in the above embodiment is implemented.
[0356] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0357] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for storing processing information, characterized in that: The processing information storage method comprises: Collecting processing information of a target object at multiple processing stages in a first processing flow, where processing information of different processing stages is generated by different processing servers when processing the target object, where the processing information includes at least one of description information or processing result information, where the description information is used to describe a processing reason for the target object, and the processing result information is used to indicate a processing result of the target object, where the first processing flow includes a first type of stage and a second type of stage, where the processing information corresponding to the first type of stage does not include the processing result information, and where the processing information corresponding to the second type of stage includes the processing result information; Determine first summary information corresponding to the target object based on the collected multiple processing information; storing the first summary information; Wherein, determining the first summary information corresponding to the target object based on the collected multiple processing information includes at least one of the following: Summarize the processing information corresponding to the second type of stage to obtain first sub-summary information; Summarize the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage to obtain second sub-summary information; The processing information corresponding to each of the processing stages is summarized to obtain third sub-summary information.
2. The processing information storage method according to claim 1, characterized in that: After determining the first summary information corresponding to the target object based on the collected multiple processing information, the method further includes: collecting processing information of multiple processing stages in a second processing flow of the target object, wherein the second processing flow is used to redetermine a processing result of the target object; Based on the collected multiple pieces of processing information, second summary information corresponding to the target object is determined.
3. The processing information storage method according to claim 2, characterized in that: The second processing flow includes the first type of stage and the second type of stage, and determining the second summary information corresponding to the target object based on the collected plurality of processing information includes: The processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage in the second processing flow are summarized, and the summarized information replaces the second sub-summary information.
4. The processing information storage method according to claim 2, characterized in that: The determining, based on the collected plurality of processing information, the second summary information corresponding to the target object comprises at least one of the following: Summarize the processing information corresponding to the second type of stage in the second processing flow to obtain fourth sub-summary information; The processing information corresponding to each of the processing stages in the second processing flow is summarized to obtain fifth sub-summary information.
5. The processing information storage method according to claim 1, characterized in that: The storing the first summary information includes: Determine a summary identifier based on the object identifier and the type identifier of the target object, wherein the type identifier indicates the type to which the processing reason of the target object belongs; The first summary information and the summary identifier are stored correspondingly.
6. The processing information storage method according to claim 5, characterized in that: The first summary information further includes at least one of the object identifier, the type identifier, a processing time, or a processing status, the processing time being the time when the target object enters the first processing flow, and the processing status is used to indicate the current processing stage of the target object, and the method further includes: receiving a first query request, where the first query request carries a first query identifier, where the first query identifier includes at least one of the summary identifier, the object identifier, the type identifier, the processing time, or the processing status; Acquire first target summary information corresponding to the first query identifier from the stored first summary information; The first target summary information is sent to a device that sends the first query request.
7. The processing information storage method according to claim 6, characterized in that: The acquiring, from the stored first summary information, first target summary information corresponding to the first query identifier includes: Determining the first summary information corresponding to the first query identifier from the stored first summary information; The second sub-summary information included in the first summary information corresponding to the first query identifier is determined as the first target summary information, the second sub-summary information includes processing information corresponding to a first type of stage and processing result information corresponding to a second type of stage, the first processing flow includes the first type of stage and the second type of stage, the processing information corresponding to the first type of stage does not include the processing result information, and the processing information corresponding to the second type of stage includes the processing result information.
8. The processing information storage method according to claim 6, characterized in that: The method further comprises: The first target summary information and the summary identifier corresponding to the first summary information to which the first target summary information belongs are stored in a cache database in correspondence.
9. The processing information storage method according to claim 8, characterized in that: The method further comprises: receiving a second query request, where the second query request carries a second query identifier; Obtaining, from the cache database, second target summary information corresponding to the second query identifier; The second target summary information is sent to a device that sends the second query request.
10. The processing information storage method according to claim 1, characterized in that: The data structure of the first summary information is a first data structure, and the storing of the first summary information includes: storing the first summary information in a first database, wherein the first data structure is a data structure supported by the first database; The method further comprises: The first summary information is converted into first summary information of a second data structure, and stored in a second database, where the second data structure is a data structure supported by the second database.
11. The processing information storage method according to claim 10, characterized in that: The second database is used to store the first summary information and the corresponding summary identifier, and the method further includes: receiving a third query request, where the third query request carries a third query identifier; Acquire, from the second database, third target summary information corresponding to the third query identifier; The third target summary information is sent to a device that sends the third query request.
12. The processing information storage method according to claim 10, characterized in that: The first database includes a synchronized master database and a slave database, the master database is used for the local server to write information, and the slave database is used for the local server to read information; The storing the first summary information in a first database comprises: storing the first summary information in the master database; Based on the first summary information stored in the master database, information synchronization is performed on the slave database.
13. A method for storing processing information, characterized in that: The processing information storage method comprises: Acquire processing information of a target object at any processing stage, where processing information of different processing stages is generated by different processing servers when processing the target object, where the processing information includes at least one of description information or processing result information, where the description information is used to describe a processing reason for the target object, and the processing result information is used to indicate a processing result of the target object, where the processing flow to which different processing stages belong includes a first processing flow, where the first processing flow includes a first type of stage and a second type of stage, where the processing information corresponding to the first type of stage does not include the processing result information, and where the processing information corresponding to the second type of stage includes the processing result information; Sending the processing information to a management server, the management server being configured to determine first summary information of the target object based on the processing information, and storing the first summary information; The manner in which the management server determines the first summary information of the target object based on the processing information includes at least one of the following: The management server summarizes the processing information corresponding to the second type of stage to obtain first sub-summary information; The management server aggregates the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage to obtain second sub-aggregation information; The management server summarizes the processing information corresponding to each of the processing stages to obtain third sub-summary information.
14. The processing information storage method according to claim 13, characterized in that: The sending the processing information to the management server includes any one of the following: When any object is processed and processing information is generated, the processing information is sent to the management server in real time; The at least one generated processing information is sent to the management server at a preset time interval.
15. A method for processing information query, characterized in that: The processing information query method comprises: Generate a query request based on a query identifier of the object to be queried, the query request carries the query identifier, the query identifier includes at least one of information such as an object identifier, a type identifier, a summary identifier, a processing time, or a processing status corresponding to the object to be queried, the type identifier is the type to which the processing reason belongs, the summary identifier is determined based on the object identifier and the type identifier of the object, the processing time is the time of entering a first processing flow, the processing status is used to indicate the current processing stage, the first processing flow includes a first type of stage and a second type of stage, the processing information corresponding to the first type of stage does not include processing result information, the processing information corresponding to the second type of stage includes the processing result information, and the processing result information is used to indicate the processing result of the object; Sending the query request to a management server, the management server is further used to obtain corresponding target summary information based on the query identifier, the target summary information is generated by the management server based on processing information of the object, the processing information includes at least one of description information or processing result information, the description information is used to describe the processing reason of the object; receiving the target summary information sent by the management server, and displaying the target summary information; Among them, the management server is also used to summarize the processing information corresponding to the second type of stage to obtain first sub-summary information; or, the management server is also used to summarize the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage to obtain second sub-summary information; or, the management server is also used to summarize the processing information corresponding to each of the processing stages to obtain third sub-summary information.
16. The processing information query method according to claim 15, characterized in that: The generating of the query request based on the query identifier of the object to be queried includes any of the following: In response to a triggering operation on any one of the multiple type identifiers, generating the query request, wherein the query request carries the type identifier; Obtaining an input object identifier and generating the query request, wherein the query request carries the object identifier; In response to a triggering operation on any one of a plurality of processing states, generating the query request, wherein the query request carries the processing state; Obtaining the input processing time and generating the query request, wherein the query request carries the processing time; The input summary identifier is obtained, and the query request is generated, where the query request carries the summary identifier.
17. A processing information storage device, characterized in that: The processing information storage device comprises: an information collection unit configured to collect processing information of a target object at multiple processing stages in a first processing flow, the processing information of different processing stages being generated by different processing servers when processing the target object, the processing information including at least one of description information or processing result information, the description information being used to describe a processing reason for the target object, the processing result information being used to indicate a processing result of the target object, the first processing flow including a first type of stage and a second type of stage, the processing information corresponding to the first type of stage not including the processing result information, and the processing information corresponding to the second type of stage including the processing result information; an information determining unit, configured to determine first summary information corresponding to the target object based on the collected plurality of processing information; An information storage unit, configured to store the first summary information; The information determination unit is configured to perform at least one of the following: Summarize the processing information corresponding to the second type of stage to obtain first sub-summary information; Summarize the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage to obtain second sub-summary information; The processing information corresponding to each of the processing stages is summarized to obtain third sub-summary information.
18. The processing information storage device according to claim 17, characterized in that: The device also includes: The information collection unit is further configured to collect processing information of multiple processing stages in a second processing flow of the target object, wherein the second processing flow is used to redetermine a processing result of the target object; The information determination unit is configured to determine the second summary information corresponding to the target object based on the collected multiple pieces of processing information.
19. The processing information storage device according to claim 18, characterized in that: The second processing flow includes the first type of stage and the second type of stage, and the information determination unit is further configured to execute aggregation of the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage in the second processing flow, and replace the second sub-aggregate information with the aggregated information.
20. The processing information storage device according to claim 18, characterized in that: The information determination unit is further configured to perform at least one of the following: Summarize the processing information corresponding to the second type of stage in the second processing flow to obtain fourth sub-summary information; The processing information corresponding to each of the processing stages in the second processing flow is summarized to obtain fifth sub-summary information.
21. The processing information storage device according to claim 17, characterized in that: The information storage unit is configured to determine a summary identifier based on an object identifier and a type identifier of the target object, wherein the type identifier indicates a type to which a processing reason of the target object belongs; The first summary information and the summary identifier are stored correspondingly.
22. The processing information storage device according to claim 21, characterized in that: The first summary information further includes at least one of the object identifier, the type identifier, a processing time, or a processing status, the processing time being the time when the target object enters the first processing flow, and the processing status is used to indicate the current processing stage of the target object, and the device further includes: a request receiving unit, configured to execute receiving a first query request, wherein the first query request carries a first query identifier, and the first query identifier includes at least one of the summary identifier, the object identifier, the type identifier, the processing time, or the processing status; A first information acquisition unit is configured to acquire first target summary information corresponding to the first query identifier from the stored first summary information; The first information sending unit is configured to send the first target summary information to the device that sends the first query request.
23. The processing information storage device according to claim 22, characterized in that: The first information acquisition unit is configured to determine the first summary information corresponding to the first query identifier from the stored first summary information; determine the second sub-summary information included in the first summary information corresponding to the first query identifier as the first target summary information, the second sub-summary information includes processing information corresponding to the first type of stage and processing result information corresponding to the second type of stage, the first processing flow includes the first type of stage and the second type of stage, the processing information corresponding to the first type of stage does not include the processing result information, and the processing information corresponding to the second type of stage includes the processing result information.
24. The processing information storage device according to claim 22, characterized in that: The device also includes: The information cache unit is configured to store the first target summary information and the summary identifier corresponding to the first summary information to which the first target summary information belongs in a cache database.
25. The processing information storage device according to claim 24, characterized in that: The device also includes: The request receiving unit is further configured to receive a second query request, where the second query request carries a second query identifier; The first information acquisition unit is further configured to acquire second target summary information corresponding to the second query identifier from the cache database; The first information sending unit is further configured to send the second target summary information to the device that sends the second query request.
26. The processing information storage device according to claim 17, characterized in that: The data structure of the first summary information is a first data structure, the information storage unit is configured to store the first summary information in a first database, and the first data structure is a data structure supported by the first database; The device also includes: The information storage unit is further configured to convert the first summary information into first summary information of a second data structure, and store the first summary information in a second database, where the second data structure is a data structure supported by the second database.
27. The processing information storage device according to claim 26, characterized in that: The second database is used to store the first summary information and the corresponding summary identifier, and the device further includes: A request receiving unit, configured to receive a third query request, wherein the third query request carries a third query identifier; A first information acquisition unit is configured to acquire third target summary information corresponding to the third query identifier from the second database; The first information sending unit is configured to send the third target summary information to the device that sends the third query request.
28. The processing information storage device according to claim 26, characterized in that: The first database includes a synchronized master database and a slave database, the master database is used for the local server to write information, and the slave database is used for the local server to read information; the information storage unit is configured to store the first summary information in the master database; Based on the first summary information stored in the master database, information synchronization is performed on the slave database.
29. A processing information storage device, characterized in that: The processing information storage device comprises: a second information acquisition unit, configured to execute acquisition of processing information of the target object at any processing stage, the processing information of different processing stages being generated by different processing servers when processing the target object, the processing information including at least one of description information or processing result information, the description information being used to describe a processing reason for the target object, the processing result information being used to indicate a processing result of the target object, the processing flow to which different processing stages belong including a first processing flow, the first processing flow including a first type of stage and a second type of stage, the processing information corresponding to the first type of stage not including the processing result information, and the processing information corresponding to the second type of stage including the processing result information; A second information sending unit is configured to send the processing information to a management server, wherein the management server is used to determine first summary information of the target object based on the processing information, and store the first summary information; Among them, the way in which the management server determines the first summary information of the target object based on the processing information includes at least one of the following: the management server summarizes the processing information corresponding to the second type of stage to obtain first sub-summary information; the management server summarizes the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage to obtain second sub-summary information; the management server summarizes the processing information corresponding to each of the processing stages to obtain third sub-summary information.
30. The processing information storage device according to claim 29, characterized in that: The second information sending unit is configured to perform any of the following: When any object is processed and processing information is generated, the processing information is sent to the management server in real time; The at least one generated processing information is sent to the management server at a preset time interval.
31. A device for processing information query, characterized in that: The processing information query device comprises: a request generating unit, configured to execute a query identifier based on an object to be queried, and generate a query request, wherein the query request carries the query identifier, and the query identifier includes at least one of information such as an object identifier, a type identifier, a summary identifier, a processing time, or a processing status corresponding to the object to be queried, wherein the type identifier is the type to which the processing reason belongs, and the summary identifier is determined based on the object identifier and the type identifier of the object, the processing time is the time of entering a first processing flow, and the processing status is used to indicate a current processing stage, wherein the first processing flow includes a first type stage and a second type stage, and the processing information corresponding to the first type stage does not include processing result information, and the processing information corresponding to the second type stage includes the processing result information, and the processing result information is used to indicate a processing result of the object; a request sending unit, configured to execute sending the query request to the management server, the management server is further used to obtain corresponding target summary information based on the query identifier, the target summary information is generated by the management server based on processing information of the object, the processing information includes at least one of the description information or the processing result information, the description information is used to describe the processing reason of the object; an information display unit, configured to receive the target summary information sent by the management server and display the target summary information; Among them, the management server is also used to summarize the processing information corresponding to the second type of stage to obtain first sub-summary information; or, the management server is also used to summarize the processing information corresponding to the first type of stage and the processing result information corresponding to the second type of stage to obtain second sub-summary information; or, the management server is also used to summarize the processing information corresponding to each of the processing stages to obtain third sub-summary information.
32. The processing information query device according to claim 31, characterized in that: The request generating unit is configured to perform any of the following: In response to a triggering operation on any one of the multiple type identifiers, generating the query request, wherein the query request carries the type identifier; Obtaining an input object identifier and generating the query request, wherein the query request carries the object identifier; In response to a triggering operation on any one of a plurality of processing states, generating the query request, wherein the query request carries the processing state; Obtaining the input processing time and generating the query request, wherein the query request carries the processing time; The input summary identifier is obtained, and the query request is generated, where the query request carries the summary identifier.
33. A server, characterized in that: The server comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the processing information storage method according to any one of claims 1 to 14.
34. A terminal, characterized in that: The terminal comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the processing information query method as claimed in claim 15 or 16.
35. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by the processor of the server, the server is enabled to execute the processing information storage method as described in any one of claims 1 to 14, or, when the instructions in the computer-readable storage medium are executed by the processor of the terminal, the terminal is enabled to execute the processing information query method as described in claim 15 or 16.
36. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the processing information storage method according to any one of claims 1 to 14 is implemented, or the processing information query method according to claim 15 or 16 is implemented.
Citation Information
Patent Citations
Financial data processing method, device and computer system
CN111667225A
Service processing method and related device
CN112308501A
Data query method and device, electronic equipment and storage medium
CN113420051A
Multi-Stage Process Modeling Method
US20110288837A1
