+

CN109558420A - Data query method, apparatus, electronic equipment and storage medium - Google Patents

Data query method, apparatus, electronic equipment and storage medium Download PDF

Info

Publication number
CN109558420A
CN109558420A CN201811406286.8A CN201811406286A CN109558420A CN 109558420 A CN109558420 A CN 109558420A CN 201811406286 A CN201811406286 A CN 201811406286A CN 109558420 A CN109558420 A CN 109558420A
Authority
CN
China
Prior art keywords
module
functional module
case
querying condition
attribute information
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
CN201811406286.8A
Other languages
Chinese (zh)
Inventor
万月亮
张泽群
火莽
火一莽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ruian Technology Co Ltd
Original Assignee
Beijing Ruian 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 Beijing Ruian Technology Co Ltd filed Critical Beijing Ruian Technology Co Ltd
Priority to CN201811406286.8A priority Critical patent/CN109558420A/en
Publication of CN109558420A publication Critical patent/CN109558420A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of data query method, apparatus, electronic equipment and storage mediums.This method comprises: generating instruction when receiving module generation instruction according to the received module of institute and sequentially generating corresponding functional module;Wherein, functional module includes case-involving element module and attribute module corresponding at least one case-involving element module;Receiving module link order, according to received module link order establish the connection relationship between corresponding functional module, and querying condition is generated according to the attribute information of connection relationship and the functional module connected;The connected corresponding database of functional module is inquired according to querying condition, is obtained and is shown the corresponding target query result of case-involving element.By adopting the above technical scheme by the generation of functional module and the connection of each functional module, querying condition is generated, the flexible combination of querying condition is realized, by the participation of user, reduces the uninteresting degree of query process, and then improve the usage experience of user.

Description

Data query method, apparatus, electronic equipment and storage medium
Technical field
The present embodiments relate to database technical field more particularly to a kind of data query method, apparatus, electronic equipment And storage medium.
Background technique
Structural data is also known as row data, is mainly to be passed through by two-dimentional table structure come the data of logical expression and realization Relevant database carries out storage and management.Generally, data indicate the information of an entity with behavior unit, data line, The attribute of every data line is identical.So the storage and arrangement of the data of structuring be it is regular, this is to inquiring and repair It is helpful the operation such as to change
As the data of storage are continuously increased, the inquiry acquisition to data of interest is usually realized by querying condition. For the prior art when carrying out list inquiry, since querying condition is fixed, flexibility is poor, while query process is more uninteresting, uses Family experience is not high.
Summary of the invention
The present invention provides a kind of data query method, apparatus, electronic equipment and storage medium, to realize the spirit of querying condition Combination living, while reducing the uninteresting degree of query process.
In a first aspect, the embodiment of the invention provides a kind of data query methods, comprising:
When receiving module generation instruction, instruction is generated according to the received module of institute and sequentially generates corresponding function mould Block;Wherein, the functional module includes case-involving element module and attribute module corresponding at least one case-involving element module;
Receiving module link order, according to received module link order establish the connection between corresponding functional module Relationship, and querying condition is generated according to the attribute information of the connection relationship and the functional module connected;
The connected corresponding database of functional module is inquired according to the querying condition, is obtained and is shown case-involving element pair The target query result answered.
Second aspect, the embodiment of the invention also provides a kind of data query devices, comprising:
Functional module generation unit, for generating instruction according to the received module of institute when receiving module generation instruction Sequentially generate corresponding functional module;Wherein, the functional module include case-involving element module and at least one case-involving member The corresponding attribute module of plain module;
Querying condition generation unit is used for receiving module link order, according to the received module link order foundation pair of institute The connection relationship between functional module answered, and it is raw according to the attribute information of the connection relationship and the functional module connected At querying condition;
Query result display unit, for inquiring the connected corresponding data of functional module according to the querying condition Library obtains and shows the corresponding target query result of case-involving element.
The third aspect, the embodiment of the invention also provides a kind of electronic equipment, including input unit and output device, also wrap It includes:
One or more processors;
Storage device, for storing one or more programs;
One or more of programs are executed by one or more of processors, so that one or more of processors A kind of data query method as provided by first aspect embodiment of realization.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program, which is characterized in that a kind of data query as provided by first aspect embodiment is realized when the program is executed by processor Method.
The embodiment of the present invention according to the spirit of the received module generation of institute by successively giving birth to when receiving module generation instruction At corresponding functional module, wherein functional module includes case-involving element module and corresponding at least one case-involving element module Attribute module;Receiving module link order, according to received module link order establish the company between corresponding functional module Relationship is connect, and querying condition is generated according to the linking relationship and the attribute information of the functional module connected;According to inquiry item Part inquires the connected corresponding database of functional module, obtains and shows the corresponding target query result of case-involving element.Using Above-mentioned technical proposal generates querying condition, realizes querying condition by the generation of functional module and the connection of each functional module Flexible combination the uninteresting degree of query process is reduced by the participation of user, and then improve the usage experience of user.
Detailed description of the invention
Fig. 1 is the flow chart of one of embodiment of the present invention one data query method;
Fig. 2 is the flow chart of one of embodiment of the present invention two data query method;
Fig. 3 is the flow chart of one of embodiment of the present invention three data query method;
Fig. 4 A is the flow chart of one of embodiment of the present invention four data query method;
Fig. 4 B is the schematic diagram of one of the embodiment of the present invention four query interface;
Fig. 4 C is the schematic diagram of another query interface in the embodiment of the present invention four;
Fig. 4 D is the schematic diagram of another query interface in the embodiment of the present invention four;
Fig. 4 E is the schematic diagram of another query interface in the embodiment of the present invention four;
Fig. 5 is the structure chart of one of the embodiment of the present invention five data query device;
Fig. 6 is the hardware structural diagram of one of the embodiment of the present invention six electronic equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of one of embodiment of the present invention one data query method.The embodiment of the present invention is suitable for adopting The case where being inquired with multiple queries conditional combination, this method is executed by data query device, and the device is by software and/or firmly Part is realized, and by concrete configuration in electronic equipment, which, which can be, carries the terminal of inquiry inquiring client terminal and set It is standby, such as smart phone, tablet computer or PC machine etc..
A kind of data query method as shown in Figure 1, comprising:
S110, when receiving module and generating instruction, instruction is generated according to the received module of institute and sequentially generates corresponding function It can module;Wherein, the functional module includes case-involving element module and attribute corresponding at least one case-involving element module Module.
Wherein, case-involving element includes personnel concerning the case and case-involving place, and corresponding case-involving element module includes personnel concerning the case's mould Block and case-involving location module.Illustratively, personnel concerning the case includes at least victim and/or suspect;Case-involving place includes at least The primary scene and/or the secondary scene of case.Wherein, primary scene is the place that case occurs;The secondary scene is that discovery is aggrieved The place of people.
Wherein, the corresponding attribute module of personnel concerning the case's module can be Association Identity module corresponding with personnel concerning the case, phase Close article module, party's module, linked groups' module and related location module etc..Wherein, Association Identity corresponds to case-involving people The basic identity information of member, such as name and phone etc.;What relative article corresponded to victim leaves article or the work of suspect Case article etc.;Party includes the character relation of victim or suspect, between batch victim, between batch suspect and by The character relation etc. to victimize between suspect;Linked groups include the public organizations such as religious organizations and commonweal organizations;It is related What place included victim or suspect before and after case generation arrive etc..
After running client, a data query interface is presented, which includes operation window, for responding each of user Operational order realizes the interactive operation with user.Further, which can also include navigator window, multiple for being arranged Icon.
Specifically, when detecting that user clicks or pulls the icon in navigator window, it is corresponding to generate functional module Generate instruction;It is corresponding or in user when operation window is by shortcut key or clicks the setting position in module generation menu It generates functional module and generates instruction;It is right or after receiving user to the duplication operation of systematic function module in operation window Functional module should be generated and generate instruction.After receiving module generation instruction, the generation sequence of instruction is generated according to each module, according to It is secondary to generate corresponding functional module.
S120, receiving module link order are established between corresponding functional module according to the received module link order of institute Connection relationship, and according to the attribute information of the connection relationship and the functional module connected generate querying condition.
When any two functional module in operation window is carried out line by user, generation module link order.Wherein, Module link order includes line starting point and connection end point.The module link order is received, and is established in module link order Connection relationship between connection source and the corresponding functional module of connection endpoint.Obtain the attribute letter of institute's linkage function module Breath, and acquired attribute information is generated by querying condition according to connection relationship.It should be noted that the case-involving element module in part It is the corresponding attribute letter of the case-involving element module there is no the corresponding attribute module of the case-involving element module of attribute information or part Breath.
Specifically, connection relationship includes logical AND relationship and/or logic or relationship.Wherein, logical AND relationship and logic or Relationship can be distinguish by attribute difference when user's line using lines.Wherein, line properties can be thickness, face At least one of color, shade and actual situation.
Correspondingly, generating querying condition, packet according to the attribute information of the connection relationship and the functional module connected It includes: obtaining the attribute information of connected functional module;If two functional modules being connected are logical AND relationship, will be with this The attribute information of two connected functional modules connects side by side;If two functional modules being connected are logic or relationship, incite somebody to action The attribute information for two functional modules being connected with this selects connection;Each attribute information connected side by side and each selection are connected Attribute information, which merges, generates the querying condition.
Illustratively, it there are two primary scenes, but cannot specifically determine when being which primary scene, can be generated First location module and the second location module, respectively connect the first location module and the second earth module by a dotted line;When The corresponding attribute information of one location module is " Xi'an ", when the corresponding attribute information of the second location module is " Nanjing ", it is determined that Select connection relationship, and according to select first querying condition of connector " or " generation for " (primary scene==Xi'an) or (the One scene==Nanjing) ";When the first location module is connect with suspect's module solid line, if the attribute information of suspect's module For " Xiao Ming ", it is determined that connection relationship arranged side by side, and be that " (first is existing according to the second querying condition that connector arranged side by side " and " is generated Field==Xi'an) and (suspect==Xiao Ming) ";What is obtained after first querying condition is merged with the second querying condition is final Querying condition be " ((primary scene==Xi'an) or (primary scene==Nanjing)) and (suspect==Xiao Ming) ".
Illustratively, according to received module link order establish the connection relationship between corresponding functional module, can To be: each case-involving element module is connected as the first level, peer;The corresponding attribute module of each case-involving element module, as Two levels are connected with corresponding case-involving element module directive property respectively.Wherein, directive property is understood that be directed toward by first layer grade Second level reduces covering scope for case-involving element to be described further.
S130, the connected corresponding database of functional module is inquired according to the querying condition, obtain and show case-involving The corresponding target query result of element.
Illustratively, show target query result mode may is that in query interface by generate show interface into Row display, or directly displayed in the setting regions of query interface.It is understood that in order to realize the shared of query result, Can also target query result voice be played or is sent to the mailbox etc. of case treatment people.
The embodiment of the present invention according to the spirit of the received module generation of institute by successively giving birth to when receiving module generation instruction At corresponding functional module, wherein functional module includes case-involving element module and corresponding at least one case-involving element module Attribute module;Receiving module link order, according to received module link order establish the company between corresponding functional module Relationship is connect, and querying condition is generated according to the linking relationship and the attribute information of the functional module connected;According to inquiry item Part inquires the connected corresponding database of functional module, obtains and shows the corresponding target query result of case-involving element.Using Above-mentioned technical proposal generates querying condition, realizes querying condition by the generation of functional module and the connection of each functional module Flexible combination the uninteresting degree of query process is reduced by the participation of user, and then improve the usage experience of user.
Embodiment two
Fig. 2 is the flow chart of one of embodiment of the present invention two data query method.The embodiment of the present invention is above-mentioned each It has carried out additional on the basis of the technical solution of embodiment and has segmented optimization.
Further, operation " the connected corresponding database of functional module is inquired according to the querying condition " it Before, it further include " receive instruction to be checked, and field to be checked is determined according to the instruction to be checked ";Correspondingly, " according to institute It states querying condition and inquires the connected corresponding database of functional module, obtain and show the corresponding target query knot of case-involving element Fruit ", including " inquiring the connected corresponding database of functional module according to the querying condition, obtaining initial query number of results According to;Target query corresponding with the field to be checked is obtained in the initial query result data as a result, and being shown ", To realize the individual query of different case-involving elements.
A kind of data query method as shown in Figure 2, comprising:
S210, when receiving module and generating instruction, instruction is generated according to the received module of institute and sequentially generates corresponding function It can module;Wherein, the functional module includes case-involving element module and attribute corresponding at least one case-involving element module Module.
S220, receiving module link order are established between corresponding functional module according to the received module link order of institute Connection relationship, and according to the attribute information of the connection relationship and the functional module connected generate querying condition.
Wherein, attribute information can be the attribute information defaulted when functional module generates.Wherein, attribute information includes attribute Title and attribute value corresponding with Property Name, wherein Property Name needs sets itself, attribute according to exploitation by developer Value by user using when edit or store.
For example, suspect's icon has been preset in navigator window, the corresponding attribute information of suspect's icon Including name, gender and native place.Correspondingly, attribute value is respectively " Xiao Ming ", " male " and " city B, the A province area the C street D 16 ".When Suspect's icon is drawn to after operation window and generates corresponding suspect's module, each attribute information pair of suspect's module The default property value answered is the corresponding each attribute value of suspect's icon.
Wherein, attribute information can also be after receiving attributes edit instruction, receive attributes edit information, and according to category The attribute information of the property corresponding functional module of editor's information update.
In general, pulling the icon in navigator window in user, and corresponding functional module is generated in operation window Afterwards, attributes edit can be generated for the functional module by the operations such as clicking to instruct, and receiving attributes edit instruction Afterwards, it obtains user and is directed to the attributes edit information namely corresponding attribute value that different Property Names is inputted, and according to input Attributes edit information, update the attribute information of the functional module.
S230, instruction to be checked is received, and field to be checked is determined according to the instruction to be checked.
Wherein, after the connection relationship established between each functional module, instruction to be checked is automatically generated, alternatively, After triggering inquiry button, instruction to be checked is generated.Wherein, inquiry button can be click the inquiry that is arranged in operation window by Button can also be and carry out the selectable inquiry button generated after setting operation to attribute module.Wherein, setting operation can be Left click, right click or click setting number etc..
It wherein, include field to be checked in inquiry instruction, field to be checked is specially the corresponding database of each attribute module In at least one field.Correspondingly, being directly acquired to be checked included in instruction to be checked after receiving instruction to be checked Ask field.
Preferably, instruction to be checked is at least one the selectable inquiry button generated after right click attribute module, is respectively looked into Asking button can be distinguish by the attribute field in the database corresponding to attribute module.
Illustratively, after double-clicking Association Identity module, " document query ", " criminal record inquiry " is generated and " is summarized Inquiry button corresponding to inquiry " etc..Wherein " document query " corresponding field to be checked is " archives ";" criminal record inquiry " Corresponding field to be checked is " criminal record ";" aggregate query " corresponding field to be checked is the corresponding number of Association Identity module According to all fields in library.
S240, the connected corresponding database of functional module is inquired according to the querying condition, obtain initial query knot Fruit data.
Wherein, initial query result data is corresponding with each field included in database corresponding to each functional module Query result.It is understood that in order to make query result data convenient for distinguishing, it will be based on the different attribute moulds inquired Block, it is corresponding to generate one group of initial query result data.
S250, target query corresponding with the field to be checked is obtained in the initial query result data as a result, simultaneously It is shown.
The data to match with field to be checked are screened from each initial query result data as target query result.It can With understanding, in order to enhance the discrimination of result data, corresponding mesh can be generated respectively for the attribute module having connected Query result is marked, and is shown.
The embodiment of the present invention, which passes through, receives instruction to be checked, and according to the field to be checked in instruction to be checked to inquiry Initial query result data further screen obtain target query as a result, and shown, to realize that different case-involving elements are related The individual query of information, makes query result have more directive property and specific aim.
In order to by associated by query result functional module corresponding with instruction to be checked, convenient for user know query result with The corresponding relationship of each querying condition, while visual effect when query result is shown is improved, in the technical side of the various embodiments described above On the basis of case, further, the corresponding target query result of case-involving element is shown, comprising:
Generate result display module, and by result display module functional module company corresponding with the field to be checked It connects;The target query result is shown in the result display module.
In order to be convenient for user to grasp inquiry progress in query process, further, inquired according to the querying condition The functional module connected corresponding database further includes generating inquiry progress module when obtaining initial query result data, And inquiry progress is indicated by the accounting of Fill Color in inquiry progress module.Wherein, inquiry progress module can with suspend or Fixation position or any position of the embedded mode in operation window are shown, it is corresponding can also to be connected to field to be checked certainly Functional module and result display module between.
Embodiment three
Fig. 3 is the flow chart of one of embodiment of the present invention three data query method.The embodiment of the present invention is above-mentioned each On the basis of the technical solution of embodiment, additional optimization has been carried out.
Further, it " is looked into according to the generation of the attribute information of the connection relationship and the functional module connected in operation Before inquiry condition ", additional " establishing the corresponding relationship between preset event module and at least one described functional module "; Correspondingly, after operation " obtain and show the corresponding target query result of case-involving element ", it is additional " according to the event module Event attribute information and the target query as a result, generating analysis report ", with when inquiring case-involving element, in addition to Query result is shown outside, generates corresponding analysis report, also to record data query process and target query as a result, just In staying shelves to consult.
A kind of data query method as shown in Figure 3, comprising:
S310, when receiving module and generating instruction, instruction is generated according to the received module of institute and sequentially generates corresponding function It can module;Wherein, the functional module includes case-involving element module and attribute corresponding at least one case-involving element module Module.
S320, corresponding relationship between preset event module and at least one described functional module is established.
Wherein, event module characterizes case information corresponding to current inquiry operation, and illustratively, event module is wrapped The attribute information contained may include event title, event type and time description etc..Wherein, event title can be current institute The code name settled a case, such as " 415 a chain of stolen case ";Event type includes type information and status information, and wherein type is believed Breath is for characterizing processing links corresponding to current case, and status information is for characterizing processing shape corresponding to currently processed link State.Wherein, type information includes Data mining, clue investigation, public sentiment feedback and cracking of cases etc..Wherein, status information packet Include landing verification and investigation evidence obtaining etc..Wherein, event description is used to record the profile information of current case.
Wherein, the event attribute information in event module can be null value, can also be and is receiving event edits instruction Afterwards, event edits information, and the event module according to the event edits information update are received.
Wherein, event edits instruction can be triggered by user click event module, and event edits instruction can be pair The corresponding attribute value of attribute information in event module is added, modifies and/or deletes.
Specifically, the corresponding relationship between event module and at least one described functional module, can be and establish event mould NOT logic connection relationship between block and case-involving element module belongs to for characterizing the corresponding case-involving element of each case-involving element module In the corresponding case of event module.
S330, receiving module link order are established between corresponding functional module according to the received module link order of institute Connection relationship, and according to the attribute information of the connection relationship and the functional module connected generate querying condition.
S340, the connected corresponding database of functional module is inquired according to the querying condition, obtain and show case-involving The corresponding target query result of element.
S350, according to event attribute information and the target query of the event module as a result, generating analysis report.
After obtaining target query result, the querying condition of the attribute information, generation that are included by event module, inquiry are each Intermediate queries result (for example, initial query result in above-described embodiment) and target query result when database, which generate, divides Analysis report is stored according to setting path to target directory.It, can be by analysis report in navigator window for the ease of user's lookup One hyperlink icon of middle generation, by clicking the i.e. openable analysis report of the hyperlink icon.
The technical solution of the embodiment of the present invention by addition event module, and according to the event attribute information of event module and Target query is as a result, generate analysis report, to record data query process and target while inquiring case-involving element Query result, convenient for staying shelves to consult.
Example IV
Fig. 4 A is the flow chart of one of embodiment of the present invention four data query method.The embodiment of the present invention is above-mentioned each A preferred embodiment is provided on the basis of the technical solution of embodiment.
The query interface figure in conjunction with shown in attached drawing 4B~4E carries out thing to a kind of data query method as shown in Figure 4 A Rationality explanation, this method comprises:
S401, in query interface, by the crime in the first navigation bar of navigator window, batch suspect and victim couple The icon answered is dragged to operation window, with generating crime module, batch suspect module and victim's module.
Wherein, query interface can be found in Fig. 4 B.Wherein, it is 41 that query interface, which includes the first navigation bar, and the second navigation bar is 42, the navigator window 40 and operation window that third navigation bar 43 is formed are 44.It wherein, include preset in operation window 44 Event module 45.
It wherein, include the corresponding case-involving graphic element icon of case-involving element module in the first navigation bar, " AF " corresponds to crime Ground, " SF " spot is corresponded to, " SH people " corresponds to victim, and " PLSH people " corresponds to batch victim, and " XY people " is corresponding For suspect, " PLXY people " corresponds to batch suspect.Wherein, the place namely case that case really occurs are corresponded to crime Primary scene;The place of the corresponding discovery victim in spot namely the secondary scene of case.
S402, Association Identity, the corresponding icon of relative article in the second navigation bar of navigator window are dragged to work Make window, generates Association Identity module and relative article module.
The query interface of each functional module C referring to fig. 4 is generated, wherein functional module includes crime ground module, batch suspicion People's module and the corresponding case-involving element module of victim's module and Association Identity module and the corresponding attribute of relative article module Module.Wherein, each case-involving element module is located at the first level, and each attribute module is located at the second level, by case-involving element module It is distinguished with attribute module, keeps the corresponding logical architecture of querying condition clearer.
S403, with a crime module, victim's module and batch victim respectively by pre-set event module The connection of module solid line, establishes logical AND relationship.
S404, by two crimes module dotted line connect, and establish logic or relationship.
Query interface after opening relationships D referring to fig. 4.
S405, right click event module, and edit the event attribute information of event module;It each functional module of right click and compiles respectively Collect the corresponding attribute information of each functional module.
Illustratively, the event attribute information in event module includes: that event is entitled " 418 missing person case ", event type " clue investigation-investigation evidence obtaining ", event description is " certain college students ' returned to school and was missing on the way on April 18th, 2018 ".Related body Attribute information in part module includes: that name is " XXXX ", and cell-phone number is " 13800000000 ".Category in relative article module Property information includes: ride-on vehicles license plate number " YYYYYY ".One crime attribute information in module include " Xi'an ", another Crime attribute information in module include " Nanjing ".
S406, right click Association Identity module, and after selecting document query, when generating inquiry database according to connection relationship Querying condition, and the corresponding database of each functional module is inquired according to querying condition.
Wherein, querying condition be " (crime==Xi'an or crime==Nanjing) and (victim's name== XXXX and victim cell-phone number==13800000000) and (taking license plate number==YYYYYY) ".
S407, according to querying condition inquire database when, generate inquiry progress module, be connected with Association Identity module, And inquiry progress is shown in query process.
S408, after poll-final, generate result display module, with inquiry progress module be connected, and result displaying mould Target query result is shown in block.
Wherein, target query result be " name: XXXX, identification card number: 130XXXXXXXXXXX, recently occur ground: ZZZZ”。
S409, it is reported according to the corresponding event attribute of event module, querying condition and target query as a result, generating analysis It accuses, and analysis report icon is added to the third navigation bar in navigator window.
Query interface after the completion of document query can be found in Fig. 4 E.It is understood that for the ease of the area of analysis report Divide and searches, can be by the event title in event module, and the query time of inquiry operation is executed in analysis report icon In be embodied.
Embodiment five
Fig. 5 is the structure chart of one of the embodiment of the present invention five data query device.The embodiment of the present invention is suitable for adopting The case where being inquired with multiple queries conditional combination, the device is by software and or hardware realization, and by concrete configuration in electronics In equipment, the electronic equipment can be carry inquiry inquiring client terminal terminal device, such as smart phone, tablet computer or PC machine etc..A kind of data query device as shown in Figure 5, comprising: functional module generation unit 510, querying condition generation unit 520 and query result display unit 530.
Wherein, functional module generation unit 510, for when receiving module and generating instruction, according to the received module of institute It generates instruction and sequentially generates corresponding functional module;Wherein, the functional module includes case-involving element module and at least one The corresponding attribute module of a case-involving element module;
Querying condition generation unit 520 is used for receiving module link order, is established according to the received module link order of institute Connection relationship between corresponding functional module, and according to the attribute information of the connection relationship and the functional module connected Generate querying condition;
Query result display unit 530, for inquiring the connected corresponding number of functional module according to the querying condition According to library, obtains and show the corresponding target query result of case-involving element.
The embodiment of the present invention passes through functional module generation unit when receiving module generation instruction, according to the received mould of institute The spirit of block generation sequentially generates corresponding functional module, and wherein functional module includes case-involving element module and relates to at least one The corresponding attribute module of case element module;By querying condition generation unit receiving module link order, according to the received mould of institute Block link order establishes the connection relationship between corresponding functional module, and according to the linking relationship and the function mould connected The attribute information of block generates querying condition;Connected functional module is inquired according to querying condition by query result display unit Corresponding database obtains and shows the corresponding target query result of case-involving element.Pass through function mould by adopting the above technical scheme The generation of block and the connection of each functional module, generate querying condition, realize the flexible combination of querying condition, pass through the ginseng of user With reduce the uninteresting degree of query process, and then improve the usage experience of user.
Further, the connection relationship includes logical AND relationship and/or logic or relationship;
Correspondingly, the querying condition generation unit 520, according to the connection relationship and the functional module connected Attribute information generate querying condition when, comprising:
Obtain the attribute information of connected functional module;
If two functional modules being connected are logical AND relationship, the attribute for two functional modules being connected with this is believed Breath connection side by side;
If two functional modules being connected are logic or relationship, the attribute for two functional modules being connected with this is believed Breath selection connection;
The attribute information of each attribute information connected side by side and each selection connection is merged and generates the querying condition.
Further, which further includes that field determination unit to be checked is specifically used for:
Before inquiring the connected corresponding database of functional module according to the querying condition, finger to be checked is received It enables, and field to be checked is determined according to the instruction to be checked;
Correspondingly, the query result display unit 530, is specifically used for:
The connected corresponding database of functional module is inquired according to the querying condition, obtains initial query number of results According to;
Target query corresponding with the field to be checked is obtained in the initial query result data as a result, and being opened up Show.
Further, the query result display unit 530, in the corresponding target query result of the case-involving element of displaying, It is specifically used for:
Generate result display module, and by result display module functional module company corresponding with the field to be checked It connects;
The target query result is shown in the result display module.
Further, which further includes that correspondence relationship establishing unit is used for:
Before generating querying condition according to the attribute information of the connection relationship and the functional module connected, establish Corresponding relationship between preset event module and at least one described functional module;
Correspondingly, the device further includes, analysis report generation unit is used for: being obtained and is being shown that case-involving element is corresponding After target query result, according to the event attribute information of the event module and the target query as a result, generating analysis report It accuses.
Further, which further includes that event edits unit is used for:
According to the event attribute information of the event module and the target query as a result, before generating analysis report, After receiving event edits instruction, event edits information, and the event module according to the event edits information update are received.
Further, which further includes that functional module edit cell is used for:
After generating querying condition according to the attribute information of the connection relationship and the functional module connected, connecing After receiving attributes edit instruction, attributes edit information is received, and according to the corresponding functional module of attributes edit information update Attribute information.
Further, the case-involving element includes personnel concerning the case and case-involving place;The corresponding case-involving element module packet Include personnel concerning the case's module and case-involving location module.
Data query method provided by any embodiment of the invention can be performed in above-mentioned data query device, has execution number According to the corresponding functional module of querying method and beneficial effect.
Embodiment six
Fig. 6 is the hardware structural diagram of one of the embodiment of the present invention six electronic equipment, which includes:
Input unit 610 generates instruction and module link order for receiving module;
Output device 620, for showing each functional module and target query result;
The device further include:
Processor 630 and storage device 640.
One or more processors 630;
Storage device 640, for storing one or more programs.
Input unit 610 and output device 620, processing in Fig. 6 by taking a processor 630 as an example, in the electronic equipment Device 630 can be connected with storage device 640 by bus or other modes;Processor 630 and storage device 640 are also by bus Or other modes are attached, in Fig. 6 for being connected by bus.
In the present embodiment, the module that the processor 630 in electronic equipment generates in receiving input unit 610 generates When instruction, instruction is generated according to the received module of institute and sequentially generates corresponding functional module;Wherein, the functional module includes relating to Case element module and attribute module corresponding at least one case-involving element module;Input unit 610 can also received When the module link order of middle generation, according to received module link order establish the connection between corresponding functional module close System, and querying condition is generated according to the attribute information of the connection relationship and the functional module connected;Can also according to institute It states querying condition and inquires the connected corresponding database of functional module, obtain and show the corresponding target query knot of case-involving element Fruit;Output device 620 can also be controlled and show target query result.
Storage device 640 in the electronic equipment is used as a kind of computer readable storage medium, can be used for storing one or Multiple programs, described program can be software program, computer executable program and module, such as data in the embodiment of the present invention (for example, attached functional module generation unit 510 shown in fig. 5, querying condition generates the corresponding program instruction/module of querying method Unit 520 and query result display unit 530).The software journey that processor 630 is stored in storage device 640 by operation Sequence, instruction and module, thereby executing the various function application and data processing of electronic equipment, i.e. the realization above method is implemented Data query method in example.
Storage device 640 may include storing program area and storage data area, wherein storing program area can store operation system Application program needed for system, at least one function;It storage data area can (the function mould in such as above-described embodiment such as storing data Block, attribute information, querying condition and target query result etc.).In addition, storage device 640 may include high random access Memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or other it is non-easily The property lost solid-state memory.In some instances, storage device 640 can further comprise remotely located relative to processor 630 Memory, these remote memories can pass through network connection to server.The example of above-mentioned network is including but not limited to mutual Networking, intranet, local area network, mobile radio communication and combinations thereof.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer program, it should Realize that the present invention implements the data query method provided when program is executed by data query device, this method comprises: receiving When module generates instruction, instruction is generated according to the received module of institute and sequentially generates corresponding functional module;Wherein, the function mould Block includes case-involving element module and attribute module corresponding at least one case-involving element module;Receiving module link order, According to received module link order establish the connection relationship between corresponding functional module, and according to the connection relationship with And the attribute information of the functional module connected generates querying condition;Connected functional module is inquired according to the querying condition Corresponding database obtains and shows the corresponding target query result of case-involving element.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) executes method described in each embodiment of the present invention.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. a kind of data query method characterized by comprising
When receiving module generation instruction, instruction is generated according to the received module of institute and sequentially generates corresponding functional module;Its In, the functional module includes case-involving element module and attribute module corresponding at least one case-involving element module;
Receiving module link order, according to received module link order establish the connection between corresponding functional module close System, and querying condition is generated according to the attribute information of the connection relationship and the functional module connected;
The connected corresponding database of functional module is inquired according to the querying condition, is obtained and is shown that case-involving element is corresponding Target query result.
2. the method according to claim 1, wherein the connection relationship includes logical AND relationship and/or logic Or relationship;
Correspondingly, generating querying condition according to the attribute information of the connection relationship and the functional module connected, comprising:
Obtain the attribute information of connected functional module;
If two functional modules being connected are logical AND relationship, simultaneously by the attribute information for two functional modules being connected with this Column connection;
If two functional modules being connected are logic or relationship, the attribute information for two functional modules being connected with this is selected Select connection;
The attribute information of each attribute information connected side by side and each selection connection is merged and generates the querying condition.
3. the method according to claim 1, wherein inquiring connected function mould according to the querying condition Before the corresponding database of block, further includes:
Instruction to be checked is received, and field to be checked is determined according to the instruction to be checked;
Correspondingly, inquiring the connected corresponding database of functional module according to the querying condition, obtains and show case-involving member The corresponding target query result of element, comprising:
The connected corresponding database of functional module is inquired according to the querying condition, obtains initial query result data;
Target query corresponding with the field to be checked is obtained in the initial query result data as a result, and being shown.
4. according to the method described in claim 3, it is characterized in that, it is described show the corresponding target query of case-involving element as a result, Include:
Generate result display module, and by result display module functional module connection corresponding with the field to be checked;
The target query result is shown in the result display module.
5. the method according to claim 1, wherein according to the connection relationship and the function mould connected The attribute information of block generates before querying condition, further includes:
Establish the corresponding relationship between preset event module and at least one described functional module;
Correspondingly, after obtaining and showing the corresponding target query result of case-involving element, further includes:
According to the event attribute information of the event module and the target query as a result, generating analysis report.
6. according to the method described in claim 5, it is characterized in that, according to the event module event attribute information and institute Before target query is stated as a result, generating analysis report, further includes:
After receiving event edits instruction, event edits information, and the thing according to the event edits information update are received Part module.
7. the method according to claim 1, wherein according to the connection relationship and the function mould connected The attribute information of block generates after querying condition, further includes:
After receiving attributes edit instruction, attributes edit information is received, and corresponding according to the attributes edit information update The attribute information of functional module.
8. a kind of data query device characterized by comprising
Functional module generation unit, for generating instruction successively according to the received module of institute when receiving module generation instruction Generate corresponding functional module;Wherein, the functional module include case-involving element module and at least one case-involving element mould The corresponding attribute module of block;
Querying condition generation unit is used for receiving module link order, is established according to the received module link order of institute corresponding Connection relationship between functional module, and looked into according to the generation of the attribute information of the connection relationship and the functional module connected Inquiry condition;
Query result display unit is obtained for inquiring the connected corresponding database of functional module according to the querying condition To and show the corresponding target query result of case-involving element.
9. a kind of electronic equipment, including input unit and output device, which is characterized in that further include:
One or more processors;
Storage device, for storing one or more programs;
One or more of programs are executed by one or more of processors, so that one or more of processors are realized Such as a kind of data query method of any of claims 1-7.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor A kind of such as data query method of any of claims 1-7 is realized when execution.
CN201811406286.8A 2018-11-23 2018-11-23 Data query method, apparatus, electronic equipment and storage medium Pending CN109558420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811406286.8A CN109558420A (en) 2018-11-23 2018-11-23 Data query method, apparatus, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811406286.8A CN109558420A (en) 2018-11-23 2018-11-23 Data query method, apparatus, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109558420A true CN109558420A (en) 2019-04-02

Family

ID=65867054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811406286.8A Pending CN109558420A (en) 2018-11-23 2018-11-23 Data query method, apparatus, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109558420A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110544096A (en) * 2019-09-05 2019-12-06 腾讯科技(深圳)有限公司 Block chain-based data acquisition method, device, equipment and storage medium
CN112528099A (en) * 2020-12-17 2021-03-19 青岛以萨数据技术有限公司 Personnel peer-to-peer analysis method, system, equipment and medium based on big data
CN115344158A (en) * 2022-08-10 2022-11-15 中国平安财产保险股份有限公司 Workflow configuration method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923549A (en) * 2009-07-29 2010-12-22 北京航天理想科技有限公司 User-defined visual intelligent track clue analytical system and establishing method
CN103606037A (en) * 2013-11-06 2014-02-26 远光软件股份有限公司 Query and configuration method of business data and device thereof
CN105574172A (en) * 2015-12-17 2016-05-11 北京锐安科技有限公司 Data analysis method and analysis system
CN106909610A (en) * 2017-01-10 2017-06-30 中电科华云信息技术有限公司 Visualization based on browser pulls the method and system of inquiry data
US20180032571A1 (en) * 2012-09-10 2018-02-01 Palantir Technologies, Inc. Search around visual queries
CN108228916A (en) * 2018-04-08 2018-06-29 中国联合网络通信集团有限公司 The querying method and device of data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923549A (en) * 2009-07-29 2010-12-22 北京航天理想科技有限公司 User-defined visual intelligent track clue analytical system and establishing method
US20180032571A1 (en) * 2012-09-10 2018-02-01 Palantir Technologies, Inc. Search around visual queries
CN103606037A (en) * 2013-11-06 2014-02-26 远光软件股份有限公司 Query and configuration method of business data and device thereof
CN105574172A (en) * 2015-12-17 2016-05-11 北京锐安科技有限公司 Data analysis method and analysis system
CN106909610A (en) * 2017-01-10 2017-06-30 中电科华云信息技术有限公司 Visualization based on browser pulls the method and system of inquiry data
CN108228916A (en) * 2018-04-08 2018-06-29 中国联合网络通信集团有限公司 The querying method and device of data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110544096A (en) * 2019-09-05 2019-12-06 腾讯科技(深圳)有限公司 Block chain-based data acquisition method, device, equipment and storage medium
CN110544096B (en) * 2019-09-05 2023-12-12 腾讯科技(深圳)有限公司 Block chain-based data acquisition method, device, equipment and storage medium
CN112528099A (en) * 2020-12-17 2021-03-19 青岛以萨数据技术有限公司 Personnel peer-to-peer analysis method, system, equipment and medium based on big data
CN115344158A (en) * 2022-08-10 2022-11-15 中国平安财产保险股份有限公司 Workflow configuration method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110377667B (en) Correlation map display method, device, computer equipment and storage medium
CN110597943B (en) Interest point processing method and device based on artificial intelligence and electronic equipment
CN106528432B (en) Construction method and device of test scene data, and buried point test method
Josang et al. Dirichlet reputation systems
CN109657067A (en) Methods of exhibiting, device, computer equipment and the storage medium of knowledge mapping
US8364642B1 (en) Managing disconnected investigations
US20120084288A1 (en) Criminal relationship analysis and visualization
CN101901242A (en) Federated configuration data management
KR20170032448A (en) Data information transaction method and system
CN109558420A (en) Data query method, apparatus, electronic equipment and storage medium
CN109862025A (en) Access control method, apparatus and system based on black and white lists
CN110266872A (en) Management-control method, device and the cloud address book system of address book data
CN110222265A (en) A kind of method, system, user terminal and the server of information push
CN114791846A (en) Method for realizing observability aiming at cloud native chaos engineering experiment
CN107092667A (en) Group's lookup method and device based on social networks
CN109040317A (en) A kind of information push method, client, server and system
CN109388462A (en) Report sharing method, device, computer equipment and storage medium
CN113377682A (en) Service testing method and device
CN113222309A (en) Business process monitoring method and device, storage medium and electronic equipment
CN112328813A (en) Recommendation information generation method and device based on AI and computer equipment
CN109697249A (en) Search for method, system and the storage medium of target object and issue object
CN106257447B (en) The video of cloud storage service device stores and search method, video cloud storage system
US7603394B2 (en) Client-server system, a generator unit and a method to customize a user application
CN115328786A (en) Automatic testing method and device based on block chain and storage medium
CN111552705B (en) Data processing method and device based on chart, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190402

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载