CN114036170A - Associated case acquisition method, associated case acquisition device, associated case acquisition apparatus, storage medium, and program product - Google Patents

Associated case acquisition method, associated case acquisition device, associated case acquisition apparatus, storage medium, and program product Download PDF

Info

Publication number
CN114036170A
CN114036170A CN202111425653.0A CN202111425653A CN114036170A CN 114036170 A CN114036170 A CN 114036170A CN 202111425653 A CN202111425653 A CN 202111425653A CN 114036170 A CN114036170 A CN 114036170A
Authority
CN
China
Prior art keywords
case
case number
current
number group
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111425653.0A
Other languages
Chinese (zh)
Inventor
李卫星
仲启尚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qichacha Technology Co ltd
Original Assignee
Qichacha Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qichacha Technology Co ltd filed Critical Qichacha Technology Co ltd
Priority to CN202111425653.0A priority Critical patent/CN114036170A/en
Publication of CN114036170A publication Critical patent/CN114036170A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases

Abstract

The present application relates to an associated case acquisition method, apparatus, device, storage medium, and program product. The method comprises the following steps: acquiring change information of related data, wherein the change information carries case identification; analyzing the change information to update the detail data corresponding to the case identification; constructing a new case relation according to the detail data; acquiring a current case number group corresponding to the case identification according to the new case relation; acquiring a historical case number group corresponding to the case identification; and when the current case number group is different from the historical case number group, deleting the historical case number group and newly adding the current case number group. By adopting the method, the associated case acquisition method capable of accelerating the change efficiency of the case group can be provided.

Description

Associated case acquisition method, associated case acquisition device, associated case acquisition apparatus, storage medium, and program product
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for acquiring an associated case.
Background
In a complex and various case, it is extremely difficult to acquire all the case number groups associated with a certain case number. When data is changed (the pattern relation changes), the previous pattern group is split or merged, so that the previous pattern group has errors, and in order to avoid the errors, the pattern group is usually required to be modified.
In the conventional technology, the mode of modifying the case number group is to manually acquire updated data, so that the case number group can be manually checked and modified according to the updated data, but the mode of modifying is low in efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide an associated case acquisition method, apparatus, computer device, computer-readable storage medium, and computer program product, which can accelerate the change efficiency of the case group, in view of the above technical problems.
In a first aspect, the present application provides a method for acquiring a related case, where the method includes: acquiring change information of related data, wherein the change information carries case identification; analyzing the change information to update the detail data corresponding to the case identification; constructing a new case relation according to the detail data; acquiring a current case number group corresponding to the case identification according to the new case relation; acquiring a historical case number group corresponding to the case identification; and when the current case number group is different from the historical case number group, deleting the historical case number group and newly adding the current case number group.
In one embodiment, the analyzing the change information to update the detail data corresponding to the case identifier includes: analyzing the change information to obtain the current case number, the associated case number and case detail information; and updating the detail data corresponding to the case identification according to the current case number, the associated case number and the case detail information.
In one embodiment, the acquiring a current case number group corresponding to the current case number according to the new case relationship includes: positioning the current case number from the new case relationship, and acquiring a case number associated with the current case number to obtain a current case number group; or positioning an associated case number associated with the current case number from the new case relationship, and acquiring a current case number group based on the associated case number.
In one embodiment, the obtaining the historical case number group corresponding to the current case number includes: acquiring a case number group comprising a current case number as a corresponding historical case number group; or acquiring a case number group including the associated case number of the current case number as a corresponding historical case number group.
In one embodiment, after the analyzing the change information to update the detail data corresponding to the case identifier, the method further includes: configuring a unique identifier for the detail information, and storing the detail data into a Tidb according to the unique identifier;
the establishing of the new case relation according to the detail data comprises the following steps: and establishing case relations by adopting a Cartesian product mode according to the detail data, and identifying the case relations through multiple dimensions when the current case numbers are associated with the corresponding associated case numbers in multiple dimensions.
In one embodiment, the acquiring a current case number group corresponding to the current case number according to the new case relationship includes: and acquiring the current case number group from the new case relation by taking the current case number as the center and a preset layer as the radius.
In one embodiment, the method further comprises: and assembling the updated current case number group and the changed case number into a preset format, and sending the assembled data to a user end.
In a second aspect, the present application further provides an associated case acquiring apparatus, including: the data acquisition module is used for acquiring change information of related data, and the change information carries case identification; the information analysis module is used for analyzing the change information so as to update the detail data corresponding to the case identification; the relation construction module is used for constructing a new case relation according to the detail data; a current case number group obtaining module, configured to obtain a current case number group corresponding to the case identifier according to the new case relationship; a historical case number group acquisition module used for acquiring a historical case number group corresponding to the case identification; and the case number group processing module is used for deleting the historical case number group and adding the current case number group when the current case number group is different from the historical case number group.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method described above when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method described above.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprises a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the associated case acquisition method, the associated case acquisition device, the associated equipment, the associated storage medium and the associated program product, a new case relationship is established through the detail data, the corresponding current case group is formed only according to the case relationship, the calculation amount of calculating the current case group according to the case data is reduced, and the efficiency of forming the current case group is improved. Whether the historical case number group is updated to form the corresponding current case number group is determined by comparing the current case number group with the historical case number group, and the efficiency of determining the current case number group corresponding to the current case number is further improved due to the fact that only the case number is compared.
Drawings
FIG. 1 is a diagram of an embodiment of an application environment for a method for acquiring an associated case;
FIG. 2 is a schematic flow chart diagram illustrating a method for acquiring an associated case according to one embodiment;
FIG. 3 is a schematic flow chart diagram illustrating a method for acquiring an associated case according to another embodiment;
FIG. 4 is a block diagram of an associated case acquisition device in one embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The associated case obtaining method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Where the terminal 102 communicates with the middleware 104. The terminal 102 analyzes the change information after acquiring the change information of the related data so as to update the detail data corresponding to the case identification; constructing a new case relation according to the detail data; acquiring a current case number group corresponding to the case identification according to the new case relation; acquiring a historical case number group corresponding to the case identification; and when the current case number group is different from the historical case number group, deleting the historical case number group and newly adding the current case number group. The updated detail data of the terminal and the newly added current number group and history number group are stored in the middleware 104. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The middleware 104 may be implemented as a stand-alone database or a database cluster composed of a plurality of databases. Optionally, the middleware 104 is a Tidb database.
In an embodiment, as shown in fig. 2, a method for acquiring an associated case is provided, which is described by taking the method as an example applied to the terminal 102, and includes the following steps:
step 202, obtaining change information of the related data, wherein the change information carries case identification.
Wherein, the related data refers to information related to the case. The related data may be stored in a database or a database cluster, and the related data changes according to the processing of the business system, so as to cause the change of the related data. More preferably, the related data is stored according to cases, and each case is stored as a piece of related data, so that the change information of the related data may carry a case identifier.
Specifically, the terminal acquires information of the change of the related data, wherein the change information comprises case identification of the case related to the change information. Optionally, the case is identified as a case number, where the case numbers of the various types of cases themselves are accurately disclosed, and the case number identifying the case can be analyzed from the case number of the case itself, where the case number of the case itself is the current case number, and the current case number is represented by the english abbreviation cn. For example, the case itself has a case number of "(2009) weminyi letter 282 civil judgment, and the terminal standardizes the case number, for example, by removing special characters of the case number, and by converting a chinese-english symbol and/or a chinese case and case, the corresponding case number is" 2009001282 ".
And step 204, analyzing the change information to update the detail data corresponding to the case identification.
The detail data includes all information related to the case, such as case number, associated case number, standing time, court time, original notice, adjudication result, and the like. It should be noted that the associated case number is a case number analyzed according to information in the case, and is called an associated case number, that is, a case number of a non-case stored in the case file.
Specifically, the terminal analyzes the change information to obtain the case number of the case with the changed information, namely the current case number, queries the changed case according to the current case number so as to analyze the changed case, generates corresponding detail data according to the analyzed content, and updates the detail data corresponding to the case identifier through the detail data.
And step 206, constructing a new case relation according to the detail data.
The case relation refers to the case number of the case itself, namely the association relation between the current case number and the associated case number.
Specifically, the terminal constructs a new association set as a new case relationship according to the current case number and the association case number in the case detail data. For example, the current case number in the case detail data is cn, the association case numbers are bcn1 and bcn2, and the case relationships are cn-bcn1 and cn-bcn2 according to cn, bcn1 and bcn2 in the case detail data.
And 208, acquiring a current case number group corresponding to the case identification according to the new case relation.
The current case number group is a case number group formed by iteratively searching out corresponding associated case numbers through the current case number and the associated case number in the new case relationship and taking the associated case number as the current case number.
Specifically, the terminal iteratively finds out corresponding associated case numbers to form a case number group according to the current case number and the associated case number in the new case relationship and the associated case number as the current case number, and uses the case number group as the current case number group of the current case number.
Step 210, a historical case number group corresponding to the current case number is obtained.
Wherein, the historical case number group is the case number group before the information change of the current case number.
Specifically, the terminal acquires a case number group before the current case number is not subjected to information change as a historical case number group.
Step 212, when the current number group is different from the historical number group, deleting the historical number group and adding the current number group.
And the terminal judges whether the current case number group and the historical case number group which are obtained according to the correspondence of the current case number are the same, deletes the historical case number group and adds the current case number group newly if the current case number group is different from the historical case number group, and stores the newly added current case number group. If the current case number group is the same as the historical case number group, the updating process is ended.
According to the associated case acquisition method, the terminal establishes a new case relationship through the detail data, and forms the corresponding current case group only according to the case relationship, so that the calculation amount of calculating the current case group according to the case data is reduced, and the efficiency of forming the current case group is improved. Whether the historical case number group is updated to form the corresponding current case number group is determined by comparing the current case number group with the historical case number group, and the efficiency of determining the current case number group corresponding to the current case number is further improved due to the fact that only the case number is compared.
In one embodiment, parsing the change information to update the detail data corresponding to the case identification includes: analyzing the change information to obtain the current case number, the associated case number and case detail information; and updating the detail data corresponding to the case identification according to the current case number, the associated case number and the case detail information.
The case detail information includes case number, associated case number, case setting time, court time, original notice, adjudication result, and the like.
Specifically, the terminal analyzes the change information to obtain the current case number which is the case number of the case to be subjected to information change, and analyzes the changed case according to the current case number to obtain case detail information such as the case number of the terminal, namely the current case number, the associated case number, the case setting time of the terminal, the court time, the original notice, the adjudication result and the like. And the terminal updates the detailed data of the current case number according to the analyzed and obtained information.
According to the associated case acquisition method, the terminal analyzes the change information to update the corresponding detailed data, and the case corresponding to the change information is converted into the detailed data, so that the data volume of case processing is reduced.
In one embodiment, acquiring a current case number group corresponding to a current case number according to a new case relationship includes: positioning the current case number from the new case relationship, and acquiring the case number associated with the current case number to obtain a current case number group; or positioning an associated case number associated with the current case number from the new case relationship, and acquiring the current case number group based on the associated case number.
Specifically, the terminal locates the current case number from the new case relationship, obtains the associated case number of the current case number, iteratively obtains the corresponding associated case number by using the associated case number as the current case number, and obtains the current case number group according to the current case number and the associated case number. If the terminal does not locate the current case number from the new case relationship, locating an associated case number associated with the current case number from the new case relationship, iteratively obtaining the corresponding associated case number by taking the associated case number as the current case number, and obtaining a current case number group according to the current case number and the associated case number. If the terminal does not locate the current case number from the new case relationship, it is described that the current case number is not included in the detail data, it is described that the data obtained by analyzing the change information is the deleted current case, and accordingly, the current case number is not included in the detail data.
According to the associated case acquisition method, the current case group is acquired through the current case number or the associated case number associated with the current case number, and the current case number group can be acquired in multiple ways, so that the robustness of the system is improved.
In one embodiment, obtaining a set of historical case numbers corresponding to a current case number comprises: acquiring a case number group comprising a current case number as a corresponding historical case number group; or acquiring a case number group including the associated case number of the current case number as a corresponding historical case number group.
Specifically, the terminal acquires a case number group including a current case number as a corresponding historical case number group; and if the terminal does not acquire the case number group comprising the current case number, acquiring the case number group comprising the associated case number of the current case number as a corresponding historical case number group. If the case number group including the current case number is not acquired, the change information is the newly added case, no history case number group exists, and the history case number group of the case number associated with the current case number is used as the history case number group of the current case number.
According to the associated case acquisition method, the historical case number group is determined through the current case number and the associated case number of the current case number, the historical case number group can be acquired in various ways, and the robustness of the system is improved.
In one embodiment, after parsing the change information to update the detail data corresponding to the case identifier, the method further includes: configuring a unique identifier for the detail information, and storing the detail data into the Tidb according to the unique identifier; and constructing a new case relation according to the detail data, wherein the case relation comprises the following steps: and establishing case relations by adopting a Cartesian product mode according to the detail data, and identifying the case relations through multiple dimensions when the current case numbers are associated with the corresponding associated case numbers in multiple dimensions.
Wherein, the Tidb is a database. The multiple dimensions refer to different dimensions of case planning, referee document, executed and the like.
Specifically, the terminal configures a unique identifier for the detail information of each case, and stores the corresponding detail information into the Tidb database according to the unique identifier. And the terminal iteratively obtains a corresponding associated case number according to the current case number and the associated case number in the detail data and taking the associated case number as the current case number, and establishes a case relation between the current case number and the associated case number in a Cartesian product mode. When the current case number and the associated case number have an association relationship in different dimensions, such as case filing, referee documents, executed and the like, the association relationship is marked with a dimension identification of the corresponding dimension.
According to the associated case acquisition method, the details data are stored through the Tidb, so that the storing and calling speed of the details data is increased.
In one embodiment, acquiring a current case number group corresponding to a current case number according to a new case relationship includes: and taking the current case number as a center, and taking the preset layer as a radius to obtain the current case number group from the new case relation.
The first layer of the preset layer is used for analyzing the associated case number in the case corresponding to the current case number according to the current case number; the second layer of the preset layer is to set each associated case number as a current case number and analyze the associated case number in the case corresponding to the current case number according to each current case number; the third layer of the preset layers is to set the associated case number of the second layer as the current case number, analyze the nth layer of the preset layer corresponding to the associated case number … in the case corresponding to the current case number according to each current case number, set the associated case number of the n-1 layer as the current case number, and analyze the associated case number in the case corresponding to the current case number according to each current case number.
Specifically, the terminal takes the current case number as a center, acquires the corresponding current case number and the associated case number according to the preset number of layers, and establishes a new case relationship according to the current case number and the associated case number to generate a corresponding current case number group.
Optionally, the number of preset layers is 5.
According to the associated case acquisition method, the number of acquisition layers of the associated case numbers for constructing the case relationship is controlled by the preset layers, so that the strong association relationship between the current case number and the associated case number can be determined, the effective influence range of the current case number group is determined, and the processing efficiency and function of a computer are enhanced.
In one embodiment, the method further comprises: and assembling the updated current case number group and the changed case number into a preset format, and sending the assembled data to a user end.
Specifically, the terminal responds to the query requirement of the user, assembles the changed current case number group, the changed case number and the corresponding detail information into an assembly json format, and sends the assembled data to the display equipment of the downstream user.
In one embodiment, as shown in fig. 3, the terminal obtains change information of the case, and the case number of the case, that is, the current case number, can be obtained through the change information. The case numbers of various types of cases are accurately disclosed, the case numbers for identifying the cases can be analyzed from the case numbers of the cases, the case numbers of the cases are the current case numbers, and the current case numbers are represented by English abbreviation cn. For example, the case has a case number of "(2009) weminyi word No. 282 civil judgment, and the terminal standardizes the case number, for example, by removing special characters of the case number, converting the chinese and english symbols, and processing the corresponding case number to" 2009001282 ". The terminal positions the changed case through the case number, analyzes the case number mentioned in the text of the changed case or information such as personnel, companies and the like through an algorithm to obtain a corresponding associated case number, and the associated case number is expressed by using English abbreviation bcn. Correspondingly, the analyzed association case number is also subjected to standardization processing. It is understood that the case number of each case is unique. And the terminal generates corresponding detail data according to the processed cn, wherein the detail data comprises cn, bcn, case setting time, family opening time, original notice, adjudication result and the like, and updates the detail data generated by the changed case to the Tidb database.
And the terminal forms a case relation according to cn and bcn in the detail data, wherein a relation key of the case relation is generated according to the unique identification id. The case number in each piece of detail data has a unique identification id, and the identification is globally unique. And if a plurality of cn and bcn exist, the terminal controls the cn and bcn to form a case relation in a Cartesian product mode. If cn and bcn are all related in multiple dimensions, the relationship key field of the conditional relationship of the terminal stores the id of the multiple dimensions.
And the terminal finds out all cases related to the current case in the five layers in a recursion mode according to the case relation, and uses all the found cases as latest case number group data to generate a current case number group.
The terminal inquires a current case number group and a historical case number group of the current case number, if the current case number has the current case number group and does not have the historical case number group, the change information is indicated to be a newly added case, the terminal inquires the historical case number group of the associated case number of the newly added case, deletes the historical case number group and newly adds the current case number group. If the terminal inquires the current case number group and the historical case number group of the current case number, the change information is part of the information of the current case, whether the historical case number group is consistent with the current case number group or not is judged, if the historical case number group is not consistent with the current case number group, the historical case number group is deleted, and the current case number group is newly added; if the historical case number group is consistent with the current case number group, the historical case number group is not changed. If the terminal inquires the historical case number group of the current case number but does not inquire the current case number group, the change information is to delete the current case, the terminal inquires the historical case number group of the associated case number of the current case, deletes the historical case number group and newly adds the current case number group.
And the terminal queries related case details according to the case numbers of the cases, assembles the case details into a specified Json format, and sends the case details to downstream display equipment, namely the user display equipment.
When the case relationship is changed, the corresponding relationship key is also changed.
No matter whether the case number group corresponding to the current case number is changed or not, the detail data needs to be assembled again for issuing, because some fields irrelevant to the case number group exist in the detail data, although the case number group is not changed, other data are changed in the detail data.
It should be understood that, although the steps in the flowcharts related to the embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the above embodiments may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a related case acquisition device for realizing the related case acquisition method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more embodiments of the associated case acquisition device provided below may refer to the limitations on the associated case acquisition method in the above description, and are not described herein again.
In one embodiment, as shown in fig. 4, there is provided an associated case acquisition apparatus including: the system comprises a data acquisition module 100, an information analysis module 200, a relationship construction module 300, a current case number group acquisition module 400, a historical case number group acquisition module 500 and a case number group processing module 600, wherein:
a data obtaining module 100, configured to obtain change information of related data, where the change information carries a case identifier;
the information analysis module 200 is used for analyzing the change information so as to update the detail data corresponding to the case identification;
a relationship construction module 300, configured to construct a new case relationship according to the detail data;
a current case number group obtaining module 400, configured to obtain a current case number group corresponding to the case identifier according to the new case relationship;
a history number group obtaining module 500, configured to obtain a history number group corresponding to the case identifier;
a case number group processing module 600, configured to delete a historical case number group and add a new current case number group when the current case number group is different from the historical case number group.
In one embodiment, the information parsing module 200 includes: the analysis submodule is used for analyzing the change information to obtain the current case number, the associated case number and case detail information; and the updating submodule is used for updating the detail data corresponding to the case identification according to the current case number, the associated case number and the case detail information.
In one embodiment, the current case group acquiring module 400 includes: positioning the current case number from the new case relationship, and acquiring the case number associated with the current case number to obtain a current case number group; or positioning an associated case number associated with the current case number from the new case relationship, and acquiring the current case number group based on the associated case number.
In one embodiment, the historical case number group obtaining module 500 includes: acquiring a case number group comprising a current case number as a corresponding historical case number group; or acquiring a case number group including the associated case number of the current case number as a corresponding historical case number group.
In one embodiment, further comprising: the storage module is used for configuring a unique identifier for the detail information and storing the detail data into the Tidb according to the unique identifier;
a relationship building module 300 comprising: and establishing case relations by adopting a Cartesian product mode according to the detail data, and identifying the case relations through multiple dimensions when the current case numbers are associated with the corresponding associated case numbers in multiple dimensions.
In one embodiment, the current case group acquiring module 400 includes: and taking the current case number as a center, and taking the preset layer as a radius to obtain the current case number group from the new case relation.
In one embodiment, further comprising: and the assembling module is used for assembling the updated current case number group and the changed case number into a preset format and sending the assembled data to the user end.
The respective modules in the associated case acquisition device described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the detail data and the case number group data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an associated case acquisition method.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program: acquiring change information of related data, wherein the change information carries case identification; analyzing the change information to update the detail data corresponding to the case identification; constructing a new case relation according to the detail data; acquiring a current case number group corresponding to the case identification according to the new case relation; acquiring a historical case number group corresponding to the case identification; and when the current case number group is different from the historical case number group, deleting the historical case number group and newly adding the current case number group.
In one embodiment, the parsing of the change information to update the detail data corresponding to the case identification, as implemented by the processor executing the computer program, comprises: analyzing the change information to obtain the current case number, the associated case number and case detail information; and updating the detail data corresponding to the case identification according to the current case number, the associated case number and the case detail information.
In one embodiment, the obtaining of the current case number group corresponding to the current case number according to the new case relationship, which is implemented when the processor executes the computer program, includes: positioning the current case number from the new case relationship, and acquiring the case number associated with the current case number to obtain a current case number group; or positioning an associated case number associated with the current case number from the new case relationship, and acquiring the current case number group based on the associated case number.
In one embodiment, the obtaining of the set of historical case numbers corresponding to the current case number, as implemented by the processor executing the computer program, comprises: acquiring a case number group comprising a current case number as a corresponding historical case number group; or acquiring a case number group including the associated case number of the current case number as a corresponding historical case number group.
In one embodiment, after the processor analyzes the change information to update the detail data corresponding to the case identifier when executing the computer program, the method further includes: configuring a unique identifier for the detail information, and storing the detail data into the Tidb according to the unique identifier; and constructing a new case relation according to the detail data, wherein the case relation comprises the following steps: and establishing case relations by adopting a Cartesian product mode according to the detail data, and identifying the case relations through multiple dimensions when the current case numbers are associated with the corresponding associated case numbers in multiple dimensions.
In one embodiment, the obtaining of the current case number group corresponding to the current case number according to the new case relationship, which is implemented when the processor executes the computer program, includes: and taking the current case number as a center and the preset layer as a radius to acquire the current case number group from the establishment of the new case relation.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and assembling the updated current case number group and the changed case number into a preset format, and sending the assembled data to a user end.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring change information of related data, wherein the change information carries case identification; analyzing the change information to update the detail data corresponding to the case identification; constructing a new case relation according to the detail data; acquiring a current case number group corresponding to the case identification according to the new case relation; acquiring a historical case number group corresponding to the case identification; and when the current case number group is different from the historical case number group, deleting the historical case number group and newly adding the current case number group.
In one embodiment, the parsing of change information to update detail data corresponding to case identifications, as implemented by a computer program when executed by a processor, comprises: analyzing the change information to obtain the current case number, the associated case number and case detail information; and updating the detail data corresponding to the case identification according to the current case number, the associated case number and the case detail information.
In one embodiment, the obtaining of the current case number group corresponding to the current case number according to the new case relationship, when the computer program is executed by the processor, includes: positioning the current case number from the new case relationship, and acquiring the case number associated with the current case number to obtain a current case number group; or positioning an associated case number associated with the current case number from the new case relationship, and acquiring the current case number group based on the associated case number.
In one embodiment, the obtaining of the set of historical case numbers corresponding to the current case number, as implemented by the computer program when executed by the processor, comprises: acquiring a case number group comprising a current case number as a corresponding historical case number group; or acquiring a case number group including the associated case number of the current case number as a corresponding historical case number group.
In one embodiment, the computer program, when executed by the processor, further comprises, after parsing the change information to update the detail data corresponding to the case identification: configuring a unique identifier for the detail information, and storing the detail data into the Tidb according to the unique identifier; and constructing a new case relation according to the detail data, wherein the case relation comprises the following steps: and establishing case relations by adopting a Cartesian product mode according to the detail data, and identifying the case relations through multiple dimensions when the current case numbers are associated with the corresponding associated case numbers in multiple dimensions.
In one embodiment, the obtaining of the current case number group corresponding to the current case number according to the new case relationship, when the computer program is executed by the processor, includes: and taking the current case number as the center and the preset layer as the radius to acquire the current case number group from the established new case relation.
In one embodiment, the computer program when executed by the processor further performs the steps of: and assembling the updated current case number group and the changed case number into a preset format, and sending the assembled data to a user end.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of: acquiring change information of related data, wherein the change information carries case identification; analyzing the change information to update the detail data corresponding to the case identification; constructing a new case relation according to the detail data; acquiring a current case number group corresponding to the case identification according to the new case relation; acquiring a historical case number group corresponding to the case identification; and when the current case number group is different from the historical case number group, deleting the historical case number group and newly adding the current case number group.
In one embodiment, the parsing of change information to update detail data corresponding to case identifications, as implemented by a computer program when executed by a processor, comprises: analyzing the change information to obtain the current case number, the associated case number and case detail information; and updating the detail data corresponding to the case identification according to the current case number, the associated case number and the case detail information.
In one embodiment, the obtaining of the current case number group corresponding to the current case number according to the new case relationship, when the computer program is executed by the processor, includes: positioning the current case number from the new case relationship, and acquiring the case number associated with the current case number to obtain a current case number group; or positioning an associated case number associated with the current case number from the new case relationship, and acquiring the current case number group based on the associated case number.
In one embodiment, the obtaining of the set of historical case numbers corresponding to the current case number, as implemented by the computer program when executed by the processor, comprises: acquiring a case number group comprising a current case number as a corresponding historical case number group; or acquiring a case number group including the associated case number of the current case number as a corresponding historical case number group.
In one embodiment, the computer program, when executed by the processor, further comprises, after parsing the change information to update the detail data corresponding to the case identification: configuring a unique identifier for the detail information, and storing the detail data into the Tidb according to the unique identifier; and constructing a new case relation according to the detail data, wherein the case relation comprises the following steps: and establishing case relations by adopting a Cartesian product mode according to the detail data, and identifying the case relations through multiple dimensions when the current case numbers are associated with the corresponding associated case numbers in multiple dimensions.
In one embodiment, the obtaining of the current case number group corresponding to the current case number according to the new case relationship, when the computer program is executed by the processor, includes: and taking the current case number as the center and the preset layer as the radius to acquire the current case number group from the established new case relation.
In one embodiment, the computer program when executed by the processor further performs the steps of: and assembling the updated current case number group and the changed case number into a preset format, and sending the assembled data to a user end.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (11)

1. An associated case acquisition method, characterized in that the method comprises:
acquiring change information of related data, wherein the change information carries case identification;
analyzing the change information to update the detail data corresponding to the case identification;
constructing a new case relation according to the detail data;
acquiring a current case number group corresponding to the case identification according to the new case relation;
acquiring a historical case number group corresponding to the case identification;
and when the current case number group is different from the historical case number group, deleting the historical case number group and newly adding the current case number group.
2. The method according to claim 1, wherein said parsing said change information to update detail data corresponding to said case identification comprises:
analyzing the change information to obtain the current case number, the associated case number and case detail information;
and updating the detail data corresponding to the case identification according to the current case number, the associated case number and the case detail information.
3. The method according to claim 1, wherein the obtaining a current case number group corresponding to the current case number according to the new case relationship comprises:
positioning the current case number from the new case relationship, and acquiring a case number associated with the current case number to obtain a current case number group; or
And positioning an associated case number associated with the current case number from the new case relation, and acquiring a current case number group based on the associated case number.
4. The method of claim 1, wherein the obtaining a historical case number group corresponding to the current case number comprises:
acquiring a case number group comprising a current case number as a corresponding historical case number group; or
And acquiring a case number group comprising the associated case number of the current case number as a corresponding historical case number group.
5. The method according to claim 1, wherein after parsing the change information to update the detail data corresponding to the case identification, further comprising:
configuring a unique identifier for the detail information, and storing the detail data into a Tidb according to the unique identifier;
the establishing of the new case relation according to the detail data comprises the following steps:
and establishing case relations by adopting a Cartesian product mode according to the detail data, and identifying the case relations through multiple dimensions when the current case numbers are associated with the corresponding associated case numbers in multiple dimensions.
6. The method according to claim 1, wherein the obtaining a current case number group corresponding to the current case number according to the new case relationship comprises:
and acquiring the current case number group from the new case relation by taking the current case number as the center and a preset layer as the radius.
7. The method of claim 1, further comprising:
and assembling the updated current case number group and the changed case number into a preset format, and sending the assembled data to a user end.
8. An associated case acquisition apparatus, characterized in that the apparatus comprises:
the data acquisition module is used for acquiring change information of related data, and the change information carries case identification;
the information analysis module is used for analyzing the change information so as to update the detail data corresponding to the case identification;
the relation construction module is used for constructing a new case relation according to the detail data;
a current case number group obtaining module, configured to obtain a current case number group corresponding to the case identifier according to the new case relationship;
a historical case number group acquisition module used for acquiring a historical case number group corresponding to the case identification;
and the case number group processing module is used for deleting the historical case number group and adding the current case number group when the current case number group is different from the historical case number group.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 7 when executed by a processor.
CN202111425653.0A 2021-11-26 2021-11-26 Associated case acquisition method, associated case acquisition device, associated case acquisition apparatus, storage medium, and program product Pending CN114036170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111425653.0A CN114036170A (en) 2021-11-26 2021-11-26 Associated case acquisition method, associated case acquisition device, associated case acquisition apparatus, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111425653.0A CN114036170A (en) 2021-11-26 2021-11-26 Associated case acquisition method, associated case acquisition device, associated case acquisition apparatus, storage medium, and program product

Publications (1)

Publication Number Publication Date
CN114036170A true CN114036170A (en) 2022-02-11

Family

ID=80145707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111425653.0A Pending CN114036170A (en) 2021-11-26 2021-11-26 Associated case acquisition method, associated case acquisition device, associated case acquisition apparatus, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN114036170A (en)

Similar Documents

Publication Publication Date Title
WO2019148720A1 (en) Electronic device, data storage method and storage medium
CN105488050B (en) A kind of more indexing means of database, apparatus and system
CN111061678B (en) Service data processing method, device, computer equipment and storage medium
CN106557307B (en) Service data processing method and system
CN112256318B (en) Construction method and equipment for dependent product
CN113918437A (en) User behavior data analysis method and device, computer equipment and storage medium
CN111984659A (en) Data updating method and device, computer equipment and storage medium
CN116048609A (en) Configuration file updating method, device, computer equipment and storage medium
CN114036170A (en) Associated case acquisition method, associated case acquisition device, associated case acquisition apparatus, storage medium, and program product
CN114897290A (en) Evolution identification method and device of business process, terminal equipment and storage medium
CN113760695A (en) Method and device for positioning problem code
CN112800033B (en) Data operation request processing method and device, computer equipment and storage medium
CN117389859A (en) Method, device, computer equipment and storage medium for determining influence range
CN113515504B (en) Data management method, device, electronic equipment and storage medium
CN113362097B (en) User determination method and device
CN110598141B (en) Information query method, electronic device and computer readable storage medium
CN116483532A (en) Scheduling processing method, device, computer equipment and storage medium
CN116738000A (en) Data storage relationship processing method and device, electronic equipment and storage medium
CN113961636A (en) Object relation query method and device, computer equipment and storage medium
CN116775955A (en) Data tag solidifying method, device, computer equipment and storage medium
CN116881374A (en) Knowledge graph construction method and device, computer equipment and storage medium
CN116910115A (en) Group query method, device, computer equipment and storage medium
CN113312432A (en) Associated information processing method and device, computer storage medium and electronic equipment
CN116910069A (en) Database updating method, device, computer equipment and storage medium
CN114356945A (en) Data processing method, data processing device, computer equipment and storage medium

Legal Events

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