CN104615682A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN104615682A
CN104615682A CN201510031244.0A CN201510031244A CN104615682A CN 104615682 A CN104615682 A CN 104615682A CN 201510031244 A CN201510031244 A CN 201510031244A CN 104615682 A CN104615682 A CN 104615682A
Authority
CN
China
Prior art keywords
user
inquiry
query
query set
server
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
CN201510031244.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.)
Hisense Group Co Ltd
Original Assignee
Hisense Group 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 Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201510031244.0A priority Critical patent/CN104615682A/en
Publication of CN104615682A publication Critical patent/CN104615682A/en
Pending legal-status Critical Current

Links

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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data processing method and device, and relates to the field of webpage services. When the data processing method and device are used for data query, the human-computer interaction time is lowered, and the efficiency of data query is improved. The method includes the steps that query conditions input by a user are obtained, the query conditions comprise at least two pieces of query identification; the query conditions are divided into S query sets according to the categories to which the query identification belongs, and at least one query set includes at least two pieces of query identification in the S query sets; identification sets are sent to a server in a circulating mode, response information sent by the server is received till all the identification sets in the S query sets are sent to the server, wherein any identification set is composed of one query identification in each query set in the S query sets, and the response information comprises valid data obtained according to query of the identification sets. The data processing method and device are suitable for scenes of obtaining data of databases through webpage servers.

Description

A kind of data processing method and device
Technical field
The present invention relates to web service field, particularly relate to a kind of data processing method and device.
Background technology
Store the data message of each project in project database, project administrator by access project database, can obtain the various data messages needed for it, realizes Bug Tracking, demand collection, workflow examination and approval etc.But accessing database must have the authority of data base administrator.And general project administrator does not have this authority, therefore required data message cannot be got by directly accessing project database.
In the prior art, in order to solve the problem, user can pass through server, and such as Web server obtains the data needed for it.But, user is when obtaining the data needed for it by server, due to the limitation of the design of existing server and data acquisition facility, under same classification, data acquisition facility once only can receive an inquiry mark of user's input, and sends inquiry request to server according to this inquiry mark, and after receiving and returning results, receive user again and input other inquiry marks under same classification, and according to the inquiry request that other inquiry marks send to server.Such as, server is Web server, and user a wants the project information of project personnel c and project personnel d in queried for items b.Now, because project personnel c and project personnel d belongs to same classification, all under the classification of project personnel, so data acquisition facility only can allow user a to input a project name and project personnel at every turn.Like this, user a is called b in cuit name, project personnel are after the inquiry mark of c, it is b that data acquisition facility sends project name to Web server, project personnel are the inquiry request of c, and be b what receive that Web server returns about project name, project personnel are after the project information of c, data acquisition facility could allow user a cuit name to be called b, project personnel are the inquiry mark of d, data acquisition facility is called b receiving user a cuit name, project personnel are after the inquiry mark of d, it is b that data acquisition facility sends project name to Web server, project personnel are the inquiry request of d, to obtain project name for b, project personnel are the project information of d.Like this, when there being multiple queries to identify, data acquisition facility needs user repeatedly to input the querying condition of its needs acquisition, adds the man-machine interaction time, reduces the efficiency of data query.
Summary of the invention
Embodiments of the invention provide a kind of data processing method and device, in order to realize when carrying out data query, reducing the man-machine interaction time, improving the efficiency of data query.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, embodiments provides a kind of data processing method, comprising: the querying condition obtaining user's input, and described querying condition comprises at least two inquiry marks; According to described inquiry mark generic, described querying condition is divided into S query set, in each query set, each inquiry mark belongs to a classification together, inquiry mark in different query set belongs to a different category, have at least in a described S query set query set include at least two inquiry mark, S be greater than 0 integer; Circulate to server and send identified group, receive the response message that described server sends, until all identified group of S query set are all sent to server, wherein, identified group described in any one is made up of an inquiry mark of each query set in a described S query set, and described response message comprises inquires about according to described inquiry request the valid data obtained.
Second aspect, embodiments provides a kind of data processing equipment, comprising: acquiring unit, for obtaining the querying condition of user's input; Described querying condition comprises at least two inquiry marks; Division unit, for described querying condition being divided into S query set according to described inquiry mark generic, in each query set, each inquiry mark belongs to a classification together, inquiry mark in different query set belongs to a different category, have at least in a described S query set query set include at least two inquiry mark, S be greater than 0 integer; Processing unit, identified group is sent to server for circulation, receive the response message that described server sends, until all identified group of S query set are all sent to server, wherein, identified group described in any one is made up of an inquiry mark of each query set in a described S query set, and described response message comprises inquires about according to described inquiry request the valid data obtained.
Embodiments provide a kind of data processing method and device, obtain the querying condition of user's input, querying condition comprises at least two inquiry marks; Like this, data processing equipment can receive all inquiry marks of user's input.According to inquiry mark generic, querying condition is divided into S query set; In each query set, each inquiry mark belongs to a classification together, and the inquiry mark in different query set belongs to a different category, and has at least a query set to include at least two inquiry marks in S query set; Like this, the inquiry of reception mark can carry out dividing in the individual different query set of S according to type belonging to it by data processing equipment.Wherein, in S query set, have at least a query set to include at least two inquiry marks, illustrate that having at least two to inquire about mark in the inquiry mark that data processing equipment receives belongs to a classification together.Be, data processing equipment can receive the different inquiry mark under the same classification of user's input simultaneously.Circulate to server and send identified group, the response message that reception server sends, until all identified group of S query set are all sent to server.Wherein identified group is made up of an inquiry mark of each query set in S query set.Response message comprises inquires about according to described identified group the valid data obtained; Like this, all identified group in S query set can be sent to server by data processing equipment circulation, and the valid data that each identified group of returning of reception server is corresponding, thus the valid data needed for user can be obtained.That is, user can disposablely will need all inquiry marks of inquiry to be all sent to data processing equipment.Data processing equipment thus can according at least two the inquiry marks received, circulating is sent to server by identified group, the response message that this identified group that reception server sends is corresponding, until all identified group in S query set are sent to server.It can thus be appreciated that, be defined as different identified group respectively between each inquiry mark in the different classes of query set of user's input, and be sent to server, thus get required valid data.And identify without the need to the inquiry making user input under same classification at every turn, obtain its valid data.In summary, the present invention can obtain querying condition by a man-machine interaction, without the need to carrying out repeatedly man-machine interaction, thus achieves when carrying out data query, reduces the man-machine interaction time, improves the object of the efficiency of data query.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of data processing method schematic flow sheet that Fig. 1 provides for the embodiment of the present invention;
The another kind of data processing method schematic flow sheet that Fig. 2 provides for the embodiment of the present invention;
The another kind of data processing method schematic flow sheet that Fig. 3 provides for the embodiment of the present invention;
The another kind of data processing method schematic flow sheet that Fig. 4 provides for the embodiment of the present invention;
The another kind of data processing method schematic flow sheet that Fig. 5 provides for the embodiment of the present invention;
The another kind of data processing method schematic flow sheet that Fig. 6 provides for the embodiment of the present invention;
The structural representation of a kind of data processing equipment that Fig. 7 provides for the embodiment of the present invention;
The structural representation of the another kind of data processing equipment that Fig. 8 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of data processing method, as shown in Figure 1, comprising:
101, the querying condition of user's input is obtained.
Wherein, querying condition comprises: at least two inquiry marks.
Concrete, the inquiry of these data messages mark, when needing the data message needed for acquisition, can be inputed to data processing equipment by user.User can input to data processing equipment according to its generic when input inquiry identifies.
It should be noted that, inquiry mark refers to the key word of the needs inquiry that user inputs.Such as, input needs the name of inquiry, project name etc.Inquiry mark generic refers to the kind belonging to inquiry mark.Such as, the classification of inquiry mark is user name, entry name, bullets, project process etc.Inquiry mark can be the particular content under its classification.Such as, classification is the inquiry mark of user name can be the name of Zhang San, the users such as Li Si.
Exemplary, if user a wants the information of the project e of inquiring user b and user c and the information of project f, now, user a can by inquiry identifying user b and inquiry identifying user c, inquiry identification item e, inquiry identification item f inputs to data processing equipment as querying condition.
Further, inquire about in mark at least two that the querying condition of user's input comprises, have at least two to inquire about marks and belong to a classification together.Like this, illustrate that the difference inquiry mark belonging to a classification together can be inputed to data processing equipment by user in the present invention simultaneously, thus avoid user and will belong to the difference inquiry mark of a classification together by repeatedly just can data processing equipment be inputed to.
102, according to inquiry mark generic, querying condition is divided into S query set.
Wherein, in each query set, each inquiry mark belongs to a classification together, and the inquiry mark in different query set belongs to a different category.Have at least in S query set a query set include at least two inquiry mark, S be greater than 0 integer.
Concrete, data processing equipment receive user input include at least two inquiry mark querying condition after, according to the classification belonging to each inquiry mark, generic inquiry mark is divided to same query set, different classes of inquiry mark is divided in different query sets, thus the querying condition containing at least two inquiry marks is divided into S query set.
Further, owing to having at least two to belong to a classification together in the inquiry mark of user's input, now, data processing equipment, when querying condition being divided to S query set, having at least one query set and comprises at least two inquiry marks.
As above, described in example, data processing equipment contains inquiry identifying user b at the querying condition of the user's input obtained, user c, project e and project f, and inquiry identifying user b, user c belongs to user name classification together, and inquiry identification item e and project f belongs to entry name classification together.Data processing equipment is after obtaining querying condition, and divided according to each inquiry mark generic by this querying condition, generic is that the inquiry identifying user b of user name, user c are divided to a query set by data processing equipment; Be that inquiry identification item e and the project f of entry name is divided to a query set by generic.That is, querying condition is divided into 2 query sets by data processing equipment.
103, circulate to server and send identified group, the response message that reception server sends, until all identified group of S query set are all sent to server.
Wherein, identified group described in any one is made up of an inquiry mark of each query set in a described S query set, and response message comprises inquires about according to identified group the valid data obtained.
It should be noted that, all identified group of S query set refer to all possible identified group of the inquiry mark composition in each query set of S query set.Such as, there are 3 query sets, are respectively query set 1, query set 2, query set 3.Wherein, in query set 1, comprise inquiry mark a, inquiry mark b.Comprise inquiry mark c in query set 2, inquiry mark d, in query set 3, comprise inquiry mark e, inquiry mark f.An inquiry mark group number in 3 query sets in each query set forms an identified group.Like this, all identified group of 3 query sets are that all possible identified group of the inquiry mark composition in each query set of 3 query sets is respectively: by inquiry mark a, inquiry mark c, and the identified group 1 of inquiry mark e composition; By inquiry mark a, inquiry mark c, and the identified group 2 of inquiry mark f composition; By inquiry mark a, inquiry mark d, and the identified group 3 of inquiry mark e composition; By inquiry mark a, inquiry mark d, and the identified group 4 of inquiry mark f composition; By inquiry mark b, inquiry mark c, and the identified group 5 of inquiry mark e composition; By inquiry mark b, inquiry mark c, and the identified group 6 of inquiry mark f composition; By inquiry mark b, inquiry mark d, and the identified group 7 of inquiry mark e composition; By inquiry mark b, inquiry mark d, and the identified group 8 of inquiry mark f composition.
Concrete, one of each query set in S query set inquiry mark composition one, when querying condition being divided into S query set, can being designated group, thus knowing identified group all in S query set by data processing equipment.Now, of a S query set identified group can be sent to server by data processing equipment, to make server obtain corresponding valid data according to this identified group, generates response message, be sent to data processing equipment according to these valid data.The response message that data processing equipment reception server sends, thus can resolve this response message, obtains to inquire about according to identified group the valid data obtained in response message.Data processing equipment, after the response message receiving server transmission, again another identified group of S query set is sent to server, corresponding valid data are obtained according to this another identified group to make server, generate response message according to these valid data, be sent to data processing equipment.The response message that data processing equipment reception server sends, thus can resolve this response message, obtains to inquire about according to another identified group the valid data obtained in response message.Other identified group not being sent to server of S query set, after the response message receiving server transmission, are sent to server, until all identified group of S query set are all sent to server by data processing equipment again.Like this, data processing equipment can get valid data corresponding to each identified group, and valid data corresponding to all identified group are the data message needed for user.
As above described in example, data processing equipment is when being divided into 2 query sets by querying condition, one of each query set in 2 query sets inquiry mark composition one can be designated group, thus know that identified group all in 2 query sets is: the identified group 1 be made up of user b and project e, the identified group 2 be made up of user b and project f, the identified group 3 be made up of user c and project e, the identified group 4 be made up of user c and project f.Like this, identified group 1 is sent to server by data processing equipment, and to make server get corresponding valid data according to this identified group 1, the valid data according to this identified group 1 correspondence generate response message, and are sent to data processing equipment.Data processing equipment receives this response message, and then can resolve this response message, gets the valid data of identified group 1 correspondence.
And, after data processing equipment receives response message, identified group 2 is sent to server, gets corresponding valid data to make server according to this identified group 2, valid data according to this identified group 2 correspondence generate response message, and are sent to data processing equipment.Data processing equipment receives this response message, and then can resolve this response message, gets the valid data of identified group 2 correspondence.
And, after data processing equipment receives response message, identified group 3 is sent to server, gets corresponding valid data to make server according to this identified group 3, valid data according to this identified group 3 correspondence generate response message, and are sent to data processing equipment.Data processing equipment receives this response message, and then can resolve this response message, gets the valid data of identified group 3 correspondence.
And, after data processing equipment receives response message, identified group 4 is sent to server, gets corresponding valid data to make server according to this identified group 4, valid data according to this identified group 4 correspondence generate response message, and are sent to data processing equipment.Data processing equipment receives this response message, and then can resolve this response message, gets the valid data of identified group 4 correspondence.
Like this, all identified group in 2 query sets are all sent to server by data processing equipment, thus obtain valid data corresponding to each identified group, are the data message obtained needed for user.
It should be noted that, data processing equipment and server can pre-set query logic relation, can know the inquiry how carrying out valid data to make server according to this query logic relation.Query logic relation can be: with logical relation, or, or logical relation.Be be by identified group each inquiry mark be according to relation inquire about, or according to or relation inquire about.When the query logic pass pre-set is with logical relation, server, after receiving identified group, can obtain the valid data that meet each inquiry simultaneously and identify according to each inquiry mark in this identified group.The query logic that pre-sets close be or logical relation time, server, after receiving identified group, can obtain the valid data of each inquiry mark that meet respectively in identified group according to each inquiry mark in this identified group.Such as, inquiry identifying user a is included in the identified group that server obtains, project c.When the query logic pass pre-set is with logical relation, after server receives identified group, according to inquiry identifying user a, project c, the valid data obtained are the data message simultaneously meeting project c and user a, and the valid data being acquisition are the data message of user a in project c.The query logic that pre-sets close be or logical relation time, after server receives identified group, according to inquiry identifying user a, project c, the valid data obtained are the data message meeting project c and user a respectively, the valid data being acquisition are the data message of project c, and the data message of user a.
Further, circulate to server and send identified group, the response message that reception server sends, until the specific implementation that all identified group of S query set are all sent to server can be:
Perform the circulation of S layer.
Wherein, the 1st layer of circulation comprises: in the 1st query set, and the first inquiry mark is determined in circulation; Inquiry request is sent, the response message that reception server sends, until all send inquiry request for all inquiry marks in the 1st query set to server; All inquiry marks in 1st query set are re-set as the inquiry mark not sending inquiry request for it.Wherein, inquiry request comprises: the first inquiry mark, and the first inquiry mark is in the 1st query set, does not send the inquiry mark of inquiry request for it; Response message comprises: inquire about the valid data obtained according to described inquiry request.
When S is more than or equal to 2, i-th layer of circulation comprises: in i-th query set, and the second inquiry mark is determined in circulation, also comprises in above-mentioned inquiry request: the second inquiry mark; Perform i-th) 1 layer of circulation, all send inquiry request until identify for all inquiries in i-th query set; All inquiry marks in i-th query set are re-set as the inquiry mark not sending inquiry request for it.Wherein, the second inquiry mark is in i-th query set, does not send the inquiry mark of inquiry request for it.I, for being greater than 1, is less than or equal to the integer of S.1st query set is any one query set including at least two inquiry marks in S query set.
Exemplary, there are 3 query sets, are respectively query set 1, query set 2, query set 3.Wherein, in query set 1, comprise inquiry mark a, inquiry mark b.Comprise inquiry mark c in query set 2, inquiry mark d, in query set 3, comprise inquiry mark e, inquiry mark f.Due to query set 1, query set 2, contains two inquiry marks in each query set in query set 3, so, the 1st query set can be defined as by any one query set, suppose query set 1 to be defined as the 1st query set.
Now, data processing equipment performs the 3rd layer of circulation.Be in the 3rd query set, if the 3rd query set is query set 3, the second inquiry mark is determined in circulation, and inquiry request comprises this second inquiry mark, perform the 2nd layer of circulation, until all send inquiry request for all inquiry marks in the 3rd query set; All inquiry marks in 3rd query set are re-set as the inquiry mark not sending inquiry request for it.Because the second inquiry mark is the inquiry mark not sending inquiry request for it, so, in the 3rd query set, first inquiry mark e can be defined as the second inquiry mark.
Performing the 2nd layer of circulation is in the 2nd query set, if the 2nd query set is query set 2, the second inquiry mark is determined in circulation, and inquiry request comprises this second inquiry mark, perform the 1st layer of circulation, until all send inquiry request for all inquiry marks in the 2nd query set; All inquiry marks in 2nd query set are re-set as the inquiry mark not sending inquiry request for it.Because the second inquiry mark is the inquiry mark not sending inquiry request for it, so, in the 2nd query set, first inquiry mark c can be defined as the second inquiry mark.
Perform the 1st layer of circulation, be at the 1st query set, namely in query set 1, the first inquiry mark is determined in circulation, inquiry request is sent, the response message that reception server sends, until all send inquiry request for all inquiry marks in the 1st query set to server; All inquiry marks in 1st query set are re-set as the inquiry mark not sending inquiry request for it.Because the first inquiry mark is the inquiry mark not sending inquiry request for it, so, in the 1st query set, first inquiry mark a can be defined as the first inquiry mark.
That is, in above process, first perform the 3rd layer of circulation, determine that the second inquiry is designated inquiry mark e, as shown in Figure 2, now need in inquiry request to comprise this inquiry mark e, and perform the 2nd layer of circulation.At execution the 2nd layer of circulation time, determine that the second inquiry is designated inquiry mark c, now also need in inquiry request to comprise this inquiry mark c, and perform the 1st layer of circulation.At execution the 1st layer of circulation time, determine that the first inquiry is designated inquiry mark a, now, the inquiry mark e determined, inquiry mark c and inquiry mark a form identified group, this identified group can be carried in request message and be sent to server.Be, in the request message that server sends, carry inquiry mark e, inquiry mark c and inquiry mark a.After server gets request message, obtain corresponding valid data according to the identified group in request message.Generate response message according to these valid data, be sent to data processing equipment, data processing equipment receives response message, and obtains the valid data obtained according to above-mentioned request message in response message.In the 1st layer of circulation, data processing equipment is after receiving response message, and sent a request message for inquiry mark a, now data processing equipment is in the 1st query set, continues to determine the first inquiry mark.In the 1st query set, send a request message for inquiry mark a, and do not send a request message for inquiry mark b, now inquiry mark b can be defined as the first inquiry mark.The inquiry mark e that data processing equipment can will be determined, inquiry mark c and inquiry mark b forms one other identification group, this identified group can be carried in request message and be sent to server.Be, in the request message that server sends, carry inquiry mark e, inquiry mark c and inquiry mark b.After server gets request message, obtain corresponding valid data according to the identified group in request message.Generate response message according to these valid data, be sent to data processing equipment, data processing equipment receives response message, and obtains the valid data obtained according to above-mentioned request message in response message.In the 1st layer of circulation, data processing equipment is after receiving response message, all have sent request message for inquiry mark a and inquiry mark b to complete, now data processing equipment can be determined in the 1st layer of circulation, all inquiry marks in 1st query set all send inquiry request, now all inquiry marks of the 1st query set are re-set as the inquiry mark not sending inquiry request for it by data processing equipment, and return the 2nd layer of circulation.
After returning the 2nd layer of circulation, data processing equipment have sent request message for inquiry mark c, and such data processing equipment can continue in the 2nd query set, determine the second inquiry mark.Now due in the 2nd query set, send a request message for inquiry mark c, and do not send a request message for inquiry mark d, now inquiry mark d can be defined as the second inquiry mark.And perform the 1st layer of circulation.And then get by inquiry mark e, inquiry identifies d, inquires about the valid data that the identified group of mark a composition is corresponding, and identifies e by inquiry, inquire about mark d, the valid data that the identified group that inquiry mark b forms is corresponding.Detailed process and above-mentioned acquisition identify e by inquiring about, inquiry mark c, and the process of the valid data that the identified group that inquiry mark a forms is corresponding is identical, does not repeat them here.Obtaining by inquiry mark e, inquiry mark d, the valid data that the identified group that inquiry mark a forms is corresponding, and by inquiry mark e, inquiry mark d, after the valid data that the identified group that inquiry mark b forms is corresponding, the 1st layer of circulation is finished, all inquiry marks of the 1st query set are re-set as the inquiry mark not sending inquiry request for it by data processing equipment, and return the 2nd layer of circulation.Now, in the 2nd layer of circulation, all have sent request message for inquiry mark c and inquiry mark d to complete, now data processing equipment can be determined in the 2nd layer of circulation, all inquiry marks in 2nd query set all send inquiry request, now all inquiry marks of the 2nd query set are re-set as the inquiry mark not sending inquiry request for it by data processing equipment, and return the 3rd layer of circulation.
After returning the 3rd layer of circulation, data processing equipment have sent request message for inquiry mark e, and such data processing equipment can continue in the 3rd query set, determine the second inquiry mark.Now due in the 3rd query set, send a request message for inquiry mark e, and do not send a request message for inquiry mark f, now inquiry mark f can be defined as the second inquiry mark, and perform the 2nd layer of circulation, as shown in Figure 3.During concrete process and data processing equipment circulate at the 3rd layer, inquiry mark c is defined as the second inquiry mark, and the process performing 2 layers of circulation is consistent, does not repeat them here.
Data processing equipment is returning to the 3rd layer of circulation time, has completed by inquiry mark f, inquiry mark c, the valid data that the identified group that inquiry mark a forms is corresponding, by inquiry mark f, inquiry mark c, inquires about the valid data that the identified group of mark b composition is corresponding, by inquiry mark f, inquiry mark d, the valid data that the identified group that inquiry mark a forms is corresponding, and by inquiry mark f, inquiry mark d, the valid data that the identified group that inquiry mark b forms is corresponding.Like this, data processing equipment is in the 3rd layer of circulation, all have sent request message for inquiry mark e and inquiry mark f to complete, now data processing equipment can be determined in the 3rd layer of circulation, all inquiry marks in 3rd query set all send inquiry request, now all inquiry marks of the 3rd query set are re-set as the inquiry mark not sending inquiry request for it by data processing equipment, complete the 3rd layer of circulation.Like this, data processing equipment can get the valid data that in 3 query sets, all identified group are corresponding.
Embodiments provide a kind of data processing method, obtain the querying condition of user's input, querying condition comprises at least two inquiry marks; Like this, data processing equipment can receive all inquiry marks of user's input.According to inquiry mark generic, querying condition is divided into S query set; In each query set, each inquiry mark belongs to a classification together, and the inquiry mark in different query set belongs to a different category, and has at least a query set to include at least two inquiry marks in S query set; Like this, the inquiry of reception mark can carry out dividing in the individual different query set of S according to type belonging to it by data processing equipment.Wherein, in S query set, have at least a query set to include at least two inquiry marks, illustrate that having at least two to inquire about mark in the inquiry mark that data processing equipment receives belongs to a classification together.Be, data processing equipment can receive the different inquiry mark under the same classification of user's input simultaneously.Circulate to server and send identified group, the response message that reception server sends, until all identified group of S query set are all sent to server.Wherein identified group is made up of an inquiry mark of each query set in S query set.Response message comprises inquires about according to described identified group the valid data obtained; Like this, all identified group in S query set can be sent to server by data processing equipment circulation, and the valid data that each identified group of returning of reception server is corresponding, thus the valid data needed for user can be obtained.That is, user can disposablely will need all inquiry marks of inquiry to be all sent to data processing equipment.Data processing equipment thus can according at least two the inquiry marks received, circulating is sent to server by identified group, the response message that this identified group that reception server sends is corresponding, until all identified group in S query set are sent to server.It can thus be appreciated that, be defined as different identified group respectively between each inquiry mark in the different classes of query set of user's input, and be sent to server, thus get required valid data.And identify without the need to the inquiry making user input under same classification at every turn, obtain its valid data.In summary, the present invention can obtain querying condition by a man-machine interaction, without the need to carrying out repeatedly man-machine interaction, thus achieves when carrying out data query, reduces the man-machine interaction time, improves the object of the efficiency of data query.
Further, before above-mentioned steps 103, as shown in Figure 4, also comprise:
104, query logic relation is obtained.
Wherein, query logic relation, in order to the logical relation between the multiple queries mark that represents user and input, comprising: with logical relation, or, or logical relation.
It should be noted that, in the invention process, query logic relation can be pre-set, now, if user needs to change its query logic relation, can when to data processing equipment input inquiry condition, and input inquiry logical relation simultaneously.Certainly, query logic relation also can not pre-set between data processing equipment and server, now, needs user when to data processing equipment input inquiry condition, simultaneously input inquiry logical relation.
Concrete, user is after input inquiry condition, can further input inquiry condition comprise each inquiry mark between query logic relation, if desired server by each inquiry mark inquire about according to logical relation, then using with logical relation as the query logic relation inputted.If desired server by each inquiry mark according to or logical relation inquire about, then using or logical relation as input query logic relation.Now, data processing equipment can get the query logic relation of user's input.
Now, send identified group in the circulation of step 103 to server to comprise: circulate to server and send identified group and query logic relation.
Concrete, after data processing equipment obtains query logic relation, when sending identified group to server, need the query logic relation of acquisition to be sent to server simultaneously, so that server is according to the query logic relation of data processing equipment, identified group is utilized to carry out the inquiry of data.Thus the demand of user to data message can be met.
It should be noted that, the present invention is to step 104 and step 101) relation between 102 do not limit.First can perform step 101) 102, in execution step 104; Also first step 104 can be performed, in execution step 101) 102, step 104 and step 101 can also be performed simultaneously.Only indicate a kind of situation in the example shown.
Further, before step 101, as shown in Figure 5, also comprise:
105, user authentication information is obtained.
Concrete, before user input query condition, data processing equipment can require that user first inputs for verifying that whether it is the user authentication information of validated user.
106, determine whether described user is validated user according to described authorization information.
Concrete, according to the identity information himself storing user, data processing equipment, after obtaining user authentication information, when himself storing the identity information of user, can verify that whether the user authentication information by obtaining is correct voluntarily, if correct, then can determine that this user is for validated user.If incorrect, then can determine that this user is disabled user.
Or, when himself does not store the identity information of user, user authentication information request message can be sent to server.The authentication response information that reception server sends.And according to authentication response information, determine whether user is validated user.
Wherein, in user authentication information request message, carry user authentication information, determine that whether described user is for validated user to make server according to authorization information.
That is, data processing equipment can send to server the user authentication information request message carrying user authentication information.Server, after receiving user authentication information request message, can parse user authentication information, and verifies that whether this user authentication information is correct, and according to the result, generates authentication response information, be sent to data processing equipment.Like this, data processing equipment, after receiving authentication response information, if this authentication response information shows above-mentioned user authentication information correctly, then determines that user is validated user.If it is incorrect that this authentication response information shows above-mentioned user authentication information, then determine that user is disabled user.
Now, the querying condition that step 101 obtains user's input is specially: if when determining that user is validated user, obtains the querying condition of user's input.
That is, when determining that user is validated user, just allow user input query condition, data processing equipment just obtains the querying condition of this input, and obtains valid data.
Further, at data processing equipment when determining that user is disabled user, as shown in Figure 6, also comprise:
107, when user is disabled user, miscue information is returned.
Concrete, when data processing equipment determines that user is disabled user, not to permission user input query condition, but to its feedback error information, to go it to re-start user rs authentication.
Embodiments provide a kind of data processing method, obtain the querying condition of user's input, querying condition comprises at least two inquiry marks; Like this, data processing equipment can receive all inquiry marks of user's input.According to inquiry mark generic, querying condition is divided into S query set; In each query set, each inquiry mark belongs to a classification together, and the inquiry mark in different query set belongs to a different category, and has at least a query set to include at least two inquiry marks in S query set; Like this, the inquiry of reception mark can carry out dividing in the individual different query set of S according to type belonging to it by data processing equipment.Wherein, in S query set, have at least a query set to include at least two inquiry marks, illustrate that having at least two to inquire about mark in the inquiry mark that data processing equipment receives belongs to a classification together.Be, data processing equipment can receive the different inquiry mark under the same classification of user's input simultaneously.Circulate to server and send identified group, the response message that reception server sends, until all identified group of S query set are all sent to server.Wherein identified group is made up of an inquiry mark of each query set in S query set.Response message comprises inquires about according to described identified group the valid data obtained; Like this, all identified group in S query set can be sent to server by data processing equipment circulation, and the valid data that each identified group of returning of reception server is corresponding, thus the valid data needed for user can be obtained.That is, user can disposablely will need all inquiry marks of inquiry to be all sent to data processing equipment.Data processing equipment thus can according at least two the inquiry marks received, circulating is sent to server by identified group, the response message that this identified group that reception server sends is corresponding, until all identified group in S query set are sent to server.It can thus be appreciated that, be defined as different identified group respectively between each inquiry mark in the different classes of query set of user's input, and be sent to server, thus get required valid data.And identify without the need to the inquiry making user input under same classification at every turn, obtain its valid data.In summary, the present invention can obtain querying condition by a man-machine interaction, without the need to carrying out repeatedly man-machine interaction, thus achieves when carrying out data query, reduces the man-machine interaction time, improves the object of the efficiency of data query.Further, by obtaining user authentication information, and whether user is legal to utilize user authentication information to determine, only allows validated user input inquiry condition, reduces the possibility that disabled user obtains data message, improves the security performance of data processing equipment.
Embodiments provide a kind of data processing equipment, as shown in Figure 7, comprising:
Acquiring unit 701, for obtaining the querying condition of user's input.
Wherein, querying condition comprises at least two inquiry marks.
Division unit 702, for being divided into S query set according to inquiry mark generic by querying condition.
Wherein, in each query set, each inquiry mark belongs to a classification together, and the inquiry mark in different query set belongs to a different category.Have at least in S query set a query set include at least two inquiry mark, S be greater than 0 integer.
Processing unit 703, sends identified group for circulation to server, the response message that reception server sends, until be all sent to server for all identified group of S query set.
Wherein, identified group described in any one is made up of an inquiry mark of each query set in a described S query set, and described response message comprises inquires about according to described inquiry request the valid data obtained.
Further, acquiring unit 701, also for obtaining query logic relation.
Wherein, query logic relation, in order to indicate the logical relation between at least two inquiry marks in the querying condition of user's input, comprising: with logical relation, or, or logical relation.
Processing unit 703, sends described identified group and query logic relation specifically for circulation to server, the response message that reception server sends, until be all sent to server for all identified group of S query set.
Further, above-mentioned data processing equipment, as shown in Figure 8, also comprises: determining unit 704.
Acquiring unit 701, also for obtaining user authentication information.
Determining unit 704, for determining according to described authorization information whether user is validated user.
Concrete, according to described authorization information, determining unit 704, specifically for sending described user authentication information to server, determines that whether described user is for validated user to make server.The authentication response information that reception server sends.According to described authentication response information, determine whether user is validated user.
Acquiring unit 701, specifically for when determining unit 704 determines that user is validated user, obtains the querying condition of user's input.
Processing unit 703, also for when determining unit 704 determines that user is disabled user, returns miscue information.
Embodiments provide a kind of data processing equipment, obtain the querying condition of user's input, querying condition comprises at least two inquiry marks; Like this, data processing equipment can receive all inquiry marks of user's input.According to inquiry mark generic, querying condition is divided into S query set; In each query set, each inquiry mark belongs to a classification together, and the inquiry mark in different query set belongs to a different category, and has at least a query set to include at least two inquiry marks in S query set; Like this, the inquiry of reception mark can carry out dividing in the individual different query set of S according to type belonging to it by data processing equipment.Wherein, in S query set, have at least a query set to include at least two inquiry marks, illustrate that having at least two to inquire about mark in the inquiry mark that data processing equipment receives belongs to a classification together.Be, data processing equipment can receive the different inquiry mark under the same classification of user's input simultaneously.Circulate to server and send identified group, the response message that reception server sends, until all identified group of S query set are all sent to server.Wherein identified group is made up of an inquiry mark of each query set in S query set.Response message comprises inquires about according to described identified group the valid data obtained; Like this, all identified group in S query set can be sent to server by data processing equipment circulation, and the valid data that each identified group of returning of reception server is corresponding, thus the valid data needed for user can be obtained.That is, user can disposablely will need all inquiry marks of inquiry to be all sent to data processing equipment.Data processing equipment thus can according at least two the inquiry marks received, circulating is sent to server by identified group, the response message that this identified group that reception server sends is corresponding, until all identified group in S query set are sent to server.It can thus be appreciated that, be defined as different identified group respectively between each inquiry mark in the different classes of query set of user's input, and be sent to server, thus get required valid data.And identify without the need to the inquiry making user input under same classification at every turn, obtain its valid data.In summary, the present invention can obtain querying condition by a man-machine interaction, without the need to carrying out repeatedly man-machine interaction, thus achieves when carrying out data query, reduces the man-machine interaction time, improves the object of the efficiency of data query.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit comprises, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-Only Memory, be called for short ROM), random access memory (Random Access Memory, be called for short RAM), magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. a data processing method, is characterized in that, comprising:
Obtain the querying condition of user's input, described querying condition comprises at least two inquiry marks;
According to described inquiry mark generic, described querying condition is divided into S query set, in each query set, each inquiry mark belongs to a classification together, inquiry mark in different query set belongs to a different category, have at least in a described S query set query set include at least two inquiry mark, S be greater than 0 integer;
Circulate to server and send identified group, receive the response message that described server sends, until all identified group of S query set are all sent to described server, wherein, identified group described in any one is made up of an inquiry mark of each query set in a described S query set, and described response message comprises inquires about according to described identified group the valid data obtained.
2. method according to claim 1, is characterized in that, before described circulation sends identified group to server, also comprises:
Obtain query logic relation; Described query logic relation, in order to indicate the logical relation between at least two inquiry marks in the querying condition of user's input, comprising: with logical relation, or, or logical relation;
Described circulation sends identified group to server and comprises:
Circulation sends described identified group and described query logic relation to described server.
3. method according to claim 1 and 2, is characterized in that, before the querying condition of described acquisition user input, also comprises:
Obtain user authentication information;
Determine whether described user is validated user according to described authorization information;
The querying condition of described acquisition user input comprises:
When determining described user for validated user, obtain the querying condition of user's input;
Or,
When described user is disabled user, return miscue information.
4. method according to claim 3, is characterized in that, describedly determines whether described user is that validated user comprises according to described authorization information:
Send described user authentication information request to described server, in described user authentication information request, carry described user authentication information, determine that whether described user is for validated user to make described server according to described authorization information;
Receive the authentication response information that described server sends;
According to described authentication response information, determine whether described user is validated user.
5. a data processing equipment, is characterized in that, comprising:
Acquiring unit, for obtaining the querying condition of user's input; Described querying condition comprises at least two inquiry marks;
Division unit, for described querying condition being divided into S query set according to described inquiry mark generic, in each query set, each inquiry mark belongs to a classification together, inquiry mark in different query set belongs to a different category, have at least in a described S query set query set include at least two inquiry mark, S be greater than 0 integer;
Processing unit, identified group is sent to server for circulation, receive the response message that described server sends, until be all sent to described server for all identified group of S query set, wherein, identified group described in any one is made up of an inquiry mark of each query set in a described S query set, and described response message comprises inquires about according to described inquiry request the valid data obtained.
6. device according to claim 5, is characterized in that,
Described acquiring unit, also for obtaining query logic relation; Described query logic relation, in order to indicate the logical relation between at least two inquiry marks in the querying condition of user's input, comprising: with logical relation, or, or logical relation;
Described processing unit, sends described identified group and described query logic relation specifically for circulation to described server, receives the response message that described server sends, until be all sent to described server for all identified group of S query set.
7. the device according to claim 5 or 6, is characterized in that, also comprises: determining unit;
Described acquiring unit, also for obtaining user authentication information;
Described determining unit, for determining according to described authorization information whether described user is validated user;
Described acquiring unit, during specifically for determining described user in described determining unit for validated user, obtains the querying condition of user's input;
Described processing unit, time also for determining described user in described determining unit for disabled user, returns miscue information.
8. device according to claim 7, is characterized in that,
According to described authorization information, described determining unit, specifically for sending described user authentication information to described server, determines that whether described user is for validated user to make described server;
Receive the authentication response information that described server sends;
According to described authentication response information, determine whether described user is validated user.
CN201510031244.0A 2015-01-21 2015-01-21 Data processing method and device Pending CN104615682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510031244.0A CN104615682A (en) 2015-01-21 2015-01-21 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510031244.0A CN104615682A (en) 2015-01-21 2015-01-21 Data processing method and device

Publications (1)

Publication Number Publication Date
CN104615682A true CN104615682A (en) 2015-05-13

Family

ID=53150124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510031244.0A Pending CN104615682A (en) 2015-01-21 2015-01-21 Data processing method and device

Country Status (1)

Country Link
CN (1) CN104615682A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458697A (en) * 2007-12-11 2009-06-17 国际商业机器公司 Supporting creation of search expressions employing a plurality of words
US20100228752A1 (en) * 2009-02-25 2010-09-09 Microsoft Corporation Multi-condition filtering of an interactive summary table
CN103946842A (en) * 2011-11-24 2014-07-23 乐天株式会社 Search device, search method, search program, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101458697A (en) * 2007-12-11 2009-06-17 国际商业机器公司 Supporting creation of search expressions employing a plurality of words
US20100228752A1 (en) * 2009-02-25 2010-09-09 Microsoft Corporation Multi-condition filtering of an interactive summary table
CN102334098A (en) * 2009-02-25 2012-01-25 微软公司 Multi-condition filtering of an interactive summary table
CN103946842A (en) * 2011-11-24 2014-07-23 乐天株式会社 Search device, search method, search program, and storage medium

Similar Documents

Publication Publication Date Title
CN102891826B (en) The control method of web page access, equipment and system
CN109543942A (en) Data verification method, device, computer equipment and storage medium
CN102725755B (en) Method and system of file access
CN110519240B (en) Single sign-on method, device and system
CN105101196A (en) User account management method and device
US8090853B2 (en) Data access control
US8909669B2 (en) System and method for locating and retrieving private information on a network
CN103067463A (en) Centralized management system and centralized management method for user root permission
CN105141605B (en) Session method, Website server and browser
CN107911249A (en) Order line sending method, device and the equipment of a kind of network equipment
CN109740129B (en) Report generation method, device and equipment based on blockchain and readable storage medium
CN105099983A (en) Authorization method, authority setting method and devices
CN105429929A (en) Information processing method, client, server and information processing system
CN107025102B (en) Decision method and system based on rule file
CN105187399A (en) Resource processing method and device
CN113434588B (en) Data mining analysis method and device based on mobile communication ticket
CN111932076A (en) Rule configuration and release method and device and computing equipment
CN106156149B (en) Data transfer method and device
CN104615682A (en) Data processing method and device
CN115953119A (en) Form authority management method and device, storage medium and electronic equipment
CN112800127B (en) Data mining analysis method and device based on transaction bill
CN101464902A (en) Verification method and system for outsourced database query result
CN114489772A (en) Workflow execution method and device, storage medium and equipment
EP1569405A1 (en) Technique for creation and linking of communications network user accounts
CN108881479B (en) Integrated message queue and message management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20150513