CN105812430A - Intelligent inquiry method for mobile terminal, mobile terminal and server - Google Patents

Intelligent inquiry method for mobile terminal, mobile terminal and server Download PDF

Info

Publication number
CN105812430A
CN105812430A CN201410851943.5A CN201410851943A CN105812430A CN 105812430 A CN105812430 A CN 105812430A CN 201410851943 A CN201410851943 A CN 201410851943A CN 105812430 A CN105812430 A CN 105812430A
Authority
CN
China
Prior art keywords
mobile terminal
filtering
filtering keys
keys
service end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410851943.5A
Other languages
Chinese (zh)
Other versions
CN105812430B (en
Inventor
邓启平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201410851943.5A priority Critical patent/CN105812430B/en
Publication of CN105812430A publication Critical patent/CN105812430A/en
Application granted granted Critical
Publication of CN105812430B publication Critical patent/CN105812430B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an intelligent inquiry method for a mobile terminal. A filtering interface is generated through the information of filtering keywords; the practical data of the filtering keywords is acquired; a filtering result which is returned by a service end according to the practical data of the filtering keywords is displayed. The invention further discloses the mobile terminal and a server, according to a B/S mode of a direct SQL report form, analysis on the SQL is carried out at the service end, an object is packaged at a client through a JS script, the SQL filtering information and parameters are received through the object, a filtering interface or an inquiry interface is automatically generated, display actions of the report form are accomplished, only parameter analysis and access are required to accomplish at the service end, logic control, interface generation and interface display are all automatically processed by a JS script container according to parameters transmitted by the service end, requirements for the network are reduced, and no extra flow is occupied.

Description

The method of mobile terminal intelligence inquiry, mobile terminal and server
Technical field
The present invention relates to field of mobile terminals, particularly relate to the method for a kind of mobile terminal intelligence inquiry, mobile terminal and server.
Background technology
At present, by browser/server (Browser/Server, B/S) mode shows that the mode of form is generally: at service end analytic structure query language (StructuredQueryLanguage, SQL), if there being filtering keys word, then generate filtering interface at server and obtain the real data of filtering keys word, this real data inserted in SQL and performs SQL.Service end is by filtering interface and performs the result of SQL and is sent to client and is shown, and this mode shortcoming is in that the data that service end processes all need to be transferred to mobile phone terminal, network requirement is higher and occupy too much flow.
Summary of the invention
The present invention provides method, mobile terminal and the server that a kind of mobile terminal intelligence is inquired about, and main purpose is in that the technical problem solving how to reduce the requirement to network when mobile terminal inquires about data based on SQL statement.
For achieving the above object, the method for a kind of mobile terminal intelligence provided by the invention inquiry, described method includes:
Under the information state receiving the filtering keys that service end sends, generate filtering interface according to the information of described filtering keys;
Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;
Show the filter result that described service end returns according to the real data of described filtering keys.
Preferably, before the filter result that the described service end of described displaying returns according to the real data of described filtering keys, also include:
The request of data obtaining described filter result is sent to described server.
Preferably, described filtering keys is title and/or data type.
Additionally, for achieving the above object, the present invention also provides for the method for a kind of mobile terminal intelligence inquiry, and described method includes:
When receiving the request opening form that mobile terminal sends, described in parsing, open the request of form;
Open described in after judging parsing in the request of form and whether have filtering keys;
If having, then described filtering keys is sent to described mobile terminal;
Obtain the real data of the described filtering keys that described mobile terminal sends, and when receiving the request of data that described mobile terminal sends filter result corresponding to the real data obtaining described filtering keys, obtain filter result according to the real data of described filtering keys;
Described filter result is sent to described mobile terminal display.
Preferably, described judge to resolve after described in open whether the request of form have filtering keys after, also include:
If opening described in after resolving in the request of form and not having described filtering keys, then open the SQL statement that the request of form is corresponding described in performing, and return the result after performing SQL statement to described mobile terminal.
Additionally, for achieving the above object, the present invention also provides for a kind of mobile terminal, and described mobile terminal includes:
Generate unit, for, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;
First transmitting element, for being obtained the real data of described filtering keys by described filtering interface, and is sent to described service end by the real data of described filtering keys;
Display unit, for showing the filter result that described service end returns according to the real data of described filtering keys.
Preferably, described mobile terminal also includes:
Second transmitting element, for sending the request of data obtaining described filter result to described server.
Preferably, described filtering keys is title and/or data type.
Additionally, for achieving the above object, the present invention also provides for a kind of server, and described server includes:
Resolution unit, for when receiving the request opening form that mobile terminal sends, opening the request of form described in parsing;
Judging unit, opens in the request of form whether have filtering keys described in after judging to resolve;
First transmitting element, if for having, being then sent to described mobile terminal by described filtering keys;
Acquiring unit, for obtaining the real data of the described filtering keys that described mobile terminal sends, and when receiving the request of data that described mobile terminal sends filter result corresponding to the real data obtaining described filtering keys, obtain filter result according to the real data of described filtering keys;
Second transmitting element, displays for described filter result is sent to described mobile terminal.
Preferably, described server also includes:
Return unit, if not having described filtering keys for opening in the request of form described in after resolving, then open the SQL statement that the request of form is corresponding described in performing, and return the result after performing SQL statement to described mobile terminal.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the method first embodiment of mobile terminal intelligence of the present invention inquiry;
Fig. 2 is the schematic diagram of definition SQL form provided by the invention;
Fig. 3 is the schematic diagram of filtering interface provided by the invention;
Fig. 4 is filtering code provided by the invention be 001 filter result show schematic diagram;
Fig. 5 is the schematic flow sheet of method second embodiment of mobile terminal intelligence of the present invention inquiry;
Fig. 6 is the schematic flow sheet of method the 3rd embodiment of mobile terminal intelligence of the present invention inquiry;
Fig. 7 is the schematic flow sheet of method the 4th embodiment of mobile terminal intelligence of the present invention inquiry;
Fig. 8 is the schematic flow sheet of method the 5th embodiment of mobile terminal intelligence of the present invention inquiry;
Fig. 9 is the high-level schematic functional block diagram of mobile terminal first embodiment of the present invention;
Figure 10 is the high-level schematic functional block diagram of mobile terminal the second embodiment of the present invention;
Figure 11 is the high-level schematic functional block diagram of server first embodiment of the present invention;
Figure 12 is the high-level schematic functional block diagram of server the second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides a kind of method that mobile terminal intelligence is inquired about.
Schematic flow sheet with reference to the method first embodiment that Fig. 1, Fig. 1 are mobile terminal intelligence of the present invention inquiry.
In the first embodiment, the method for this mobile terminal intelligence inquiry includes:
Step 101, under the information state receiving the filtering keys that service end sends, generates filtering interface according to the information of described filtering keys;
Wherein, described filtering keys is title and/or data type.
Concrete, it is possible to definition filtering keys Key is #FNumber# title be " code ", data type is " character string ".Definition SQL form:
SelectFNumber, FNamefromt_ItemwhereFnumberlike ' %#FNumber#% '.
The form of definition SQL form is with reference to the schematic diagram that 2, Fig. 2 is definition SQL form provided by the invention.
Form carrys out Dynamic Announce data with the form such as form, chart exactly, mainly has the display forms such as list type, summary formula, and wherein list type is shown according to gauge outfit order spreaded type, it is simple to check details.
Step 102, is obtained the real data of described filtering keys, and the real data of described filtering keys is sent to described service end by described filtering interface;
Concrete, if service end finds there is any one filtering keys in SQL, then this filtering keys word is sent to described mobile terminal, generate filtering interface according to described filtering keys word on the mobile terminal and fill out with actual data SQL carries out peek again, such as, inserting " code " is 001, then peek time with
SelectFNumber, FNamefromt_ItemwhereFNumberlike ' %001% ' peek.
It is the schematic diagram of filtering interface provided by the invention that described mobile terminal is referred to 3, Fig. 3 according to the described SQL of the definition filtering interface generated.
Step 103, shows the filter result that described service end returns according to the real data of described filtering keys.
Concrete, described service end searches for, according to the real data 001 of described filtering keys, the filter result that #FNumber# code is " 001 " in data base, and shows described filter result.The displaying schematic diagram of filter result with reference to Fig. 4, Fig. 4 to be filtering code provided by the invention be 001 filter result show schematic diagram.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
Schematic flow sheet with reference to method the second embodiment that Fig. 5, Fig. 5 are mobile terminal intelligence of the present invention inquiry.
On the basis of first embodiment, also include before step 103:
Step 104, sends the request of data obtaining described filter result to described server.
Concrete, described mobile terminal sends the request of data obtaining the filter result that code is 001 to described server.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
Schematic flow sheet with reference to method the 3rd embodiment that Fig. 6, Fig. 6 are mobile terminal intelligence of the present invention inquiry.
In the third embodiment, the method for this mobile terminal intelligence inquiry includes:
Step 601, when receiving the request opening form that mobile terminal sends, opens the request of form described in parsing;
Concrete, the request opening form described in parsing is to resolve the SQL statement in described request, obtains the filtering keys word in this SQL statement, and the filtering keys word of acquisition and the filtering keys prestored is contrasted.
Step 602, it is judged that open in the request of form whether have filtering keys described in after parsing;
Concrete, if filtering keys word and the filtering keys word prestored in the described SQL statement obtained have identical, then the filtering keys word after parsing is sent to described mobile terminal.
Step 603, if having, is then sent to described mobile terminal by described filtering keys;
Step 604, obtain the real data of the described filtering keys that described mobile terminal sends, and when receiving the request of data that described mobile terminal sends filter result corresponding to the real data obtaining described filtering keys, obtain filter result according to the real data of described filtering keys;
Concrete, if service end finds there is any one filtering keys in SQL, then this filtering keys word is sent to described mobile terminal, generate filtering interface according to described filtering keys word on the mobile terminal and fill out with actual data SQL carries out peek again, such as, inserting " code " is 001, then peek with SelectFNumber, FNamefromt_ItemwhereFNumberlike ' %001% ' during peek.
It is the schematic diagram of filtering interface provided by the invention that described mobile terminal is referred to 3, Fig. 3 according to the described SQL of the definition filtering interface generated.
Step 605, is sent to described mobile terminal by described filter result and displays.
Concrete, described service end searches for, according to the real data 001 of described filtering keys, the filter result that #FNumber# code is " 001 " in data base, and shows described filter result.The displaying schematic diagram of filter result with reference to Fig. 4, Fig. 4 to be filtering code provided by the invention be 001 filter result show schematic diagram.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
Schematic flow sheet with reference to method the 4th embodiment that Fig. 7, Fig. 7 are mobile terminal intelligence of the present invention inquiry.
On the basis of the 3rd embodiment, also include after step 602:
Step 606, does not have described filtering keys if opening described in after resolving in the request of form, then open the SQL statement that the request of form is corresponding described in performing, and return the result after performing SQL statement to described mobile terminal.
Concrete, as being absent from filtering keys, then directly perform SQL, in JSON mode, the result of execution is returned to described mobile terminal.
Wherein, JSON (JavaScriptObjectNotation) is the data interchange format of a kind of lightweight.It is based on a subset of JavaScript (StandardECMA-2623rdEdition-December1999).JSON adopts the text formatting being totally independent of language, but also using the custom (including C, C++, C#, Java, JavaScript, Perl, Python etc.) being similar to C language family.These characteristics make JSON become desirable data interchange language.It is prone to people read and write, is also easy to machine simultaneously and resolves and generate.
JS script is the abbreviation of javascript, is a kind of script analytic language being applied on web.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
Schematic flow sheet with reference to method the 5th embodiment that Fig. 8, Fig. 8 are mobile terminal intelligence of the present invention inquiry.
Step 801, mobile terminal sends the request opening form to service end;
Step 802, opens the request of form described in the parsing of described service end;
Concrete, the request opening form described in parsing is to resolve the SQL statement in described request, obtains the filtering keys word in this SQL statement, and the filtering keys word of acquisition and the filtering keys prestored is contrasted.
Step 803, described service end judge to resolve after described in open in the request of form whether have filtering keys;
Concrete, if filtering keys word and the filtering keys word prestored in the described SQL statement obtained have identical, then the filtering keys word after parsing is sent to described mobile terminal.
Step 804, if having, is then sent to described mobile terminal by described filtering keys;
Step 805, under the information state receiving the filtering keys that service end sends, described mobile terminal generates filtering interface according to the information of described filtering keys;
Wherein, described filtering keys is title and/or data type.
Concrete, it is possible to definition filtering keys Key is #FNumber# title be " code ", data type is " character string ".Definition SQL form:
SelectFNumber, FNamefromt_ItemwhereFnumberlike ' %#FNumber#% '.
The form of definition SQL form is with reference to the schematic diagram that 2, Fig. 2 is definition SQL form provided by the invention.
Step 806, described mobile terminal obtains the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;
Concrete, if service end finds there is any one filtering keys in SQL, then this filtering keys word is sent to described mobile terminal, generate filtering interface according to described filtering keys word on the mobile terminal and fill out with actual data SQL carries out peek again, such as, inserting " code " is 001, then peek time with
SelectFNumber, FNamefromt_ItemwhereFNumberlike ' %001% ' peek.
It is the schematic diagram of filtering interface provided by the invention that described mobile terminal is referred to 3, Fig. 3 according to the described SQL of the definition filtering interface generated.
Step 807, described mobile terminal sends the request of data obtaining described filter result to described server;
Step 808, when receiving the request of data that described mobile terminal sends filter result corresponding to the real data obtaining described filtering keys, described server obtains filter result according to the real data of described filtering keys;
Concrete, if service end finds there is any one filtering keys in SQL, then this filtering keys word is sent to described mobile terminal, generate filtering interface according to described filtering keys word on the mobile terminal and fill out with actual data SQL carries out peek again, such as, inserting " code " is 001, then peek with SelectFNumber, FNamefromt_ItemwhereFNumberlike ' %001% ' during peek.
It is the schematic diagram of filtering interface provided by the invention that described mobile terminal is referred to 3, Fig. 3 according to the described SQL of the definition filtering interface generated.
Step 809, described filter result is sent to described mobile terminal and displays by described server.
Concrete, described service end searches for, according to the real data 001 of described filtering keys, the filter result that #FNumber# code is " 001 " in data base, and shows described filter result.The displaying schematic diagram of filter result with reference to Fig. 4, Fig. 4 to be filtering code provided by the invention be 001 filter result show schematic diagram.
Step 810, described mobile terminal shows the filter result that described service end returns according to the real data of described filtering keys.
Concrete, described service end searches for, according to the real data 001 of described filtering keys, the filter result that #FNumber# code is " 001 " in data base, and shows described filter result.The displaying schematic diagram of filter result with reference to Fig. 4, Fig. 4 to be filtering code provided by the invention be 001 filter result show schematic diagram.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
The present invention provides a kind of mobile terminal.
With reference to the high-level schematic functional block diagram that Fig. 9, Fig. 9 are mobile terminal first embodiment of the present invention.
In the first embodiment, this mobile terminal includes:
Generate unit 901, for, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;
Wherein, described filtering keys is title and/or data type.
Concrete, it is possible to definition filtering keys Key is #FNumber# title be " code ", data type is " character string ".Definition SQL form:
SelectFNumber, FNamefromt_ItemwhereFnumberlike ' %#FNumber#% '.
The form of definition SQL form is with reference to the schematic diagram that 2, Fig. 2 is definition SQL form provided by the invention.
First transmitting element 902, for being obtained the real data of described filtering keys by described filtering interface, and is sent to described service end by the real data of described filtering keys;
Concrete, if service end finds there is any one filtering keys in SQL, then this filtering keys word is sent to described mobile terminal, generate filtering interface according to described filtering keys word on the mobile terminal and fill out with actual data SQL carries out peek again, such as, inserting " code " is 001, then peek time with
SelectFNumber, FNamefromt_ItemwhereFNumberlike ' %001% ' peek.
It is the schematic diagram of filtering interface provided by the invention that described mobile terminal is referred to 3, Fig. 3 according to the described SQL of the definition filtering interface generated.
Display unit 903, for showing the filter result that described service end returns according to the real data of described filtering keys.
Concrete, described service end searches for, according to the real data 001 of described filtering keys, the filter result that #FNumber# code is " 001 " in data base, and shows described filter result.The displaying schematic diagram of filter result with reference to Fig. 4, Fig. 4 to be filtering code provided by the invention be 001 filter result show schematic diagram.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
With reference to the high-level schematic functional block diagram that Figure 10, Figure 10 are mobile terminal the second embodiment of the present invention.
On the basis of first embodiment, this mobile terminal also includes:
Second transmitting element 904, for sending the request of data obtaining described filter result to described server.
Concrete, described mobile terminal sends the request of data obtaining the filter result that code is 001 to described server.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
The present invention provides a kind of server.
With reference to the high-level schematic functional block diagram that Figure 11, Figure 11 are server first embodiment of the present invention.
In the first embodiment, this server includes:
Resolution unit 1101, for when receiving the request opening form that mobile terminal sends, opening the request of form described in parsing;
Concrete, the request opening form described in parsing is to resolve the SQL statement in described request, obtains the filtering keys word in this SQL statement, and the filtering keys word of acquisition and the filtering keys prestored is contrasted.
Judging unit 1102, opens in the request of form whether have filtering keys described in after judging to resolve;
Concrete, if filtering keys word and the filtering keys word prestored in the described SQL statement obtained have identical, then the filtering keys word after parsing is sent to described mobile terminal.
First transmitting element 1103, if for having, being then sent to described mobile terminal by described filtering keys;
Acquiring unit 1104, for obtaining the real data of the described filtering keys that described mobile terminal sends, and when receiving the request of data that described mobile terminal sends filter result corresponding to the real data obtaining described filtering keys, obtain filter result according to the real data of described filtering keys;
Concrete, if service end finds there is any one filtering keys in SQL, then this filtering keys word is sent to described mobile terminal, generate filtering interface according to described filtering keys word on the mobile terminal and fill out with actual data SQL carries out peek again, such as, inserting " code " is 001, then peek with SelectFNumber, FNamefromt_ItemwhereFNumberlike ' %001% ' during peek.
It is the schematic diagram of filtering interface provided by the invention that described mobile terminal is referred to 3, Fig. 3 according to the described SQL of the definition filtering interface generated.
Second transmitting element 1105, displays for described filter result is sent to described mobile terminal.
Concrete, described service end searches for, according to the real data 001 of described filtering keys, the filter result that #FNumber# code is " 001 " in data base, and shows described filter result.The displaying schematic diagram of filter result with reference to Fig. 4, Fig. 4 to be filtering code provided by the invention be 001 filter result show schematic diagram.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
With reference to the high-level schematic functional block diagram that Figure 12, Figure 12 are server the second embodiment of the present invention.
On the basis of first embodiment, this server also includes:
Return unit 1106, if not having described filtering keys for opening in the request of form described in after resolving, then open the SQL statement that the request of form is corresponding described in performing, and return the result after performing SQL statement to described mobile terminal.
Concrete, as being absent from filtering keys, then directly perform SQL, in JSON mode, the result of execution is returned to described mobile terminal.
The embodiment of the present invention is by, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;Show the filter result that described service end returns according to the real data of described filtering keys, B/S pattern for direct SQL form, SQL is resolved in service end, in client by JS script one object of encapsulation, receive SQL by this object and filter information and parameter, automatically generate filtering interface or query interface and complete the displaying action of form, Parameter analysis of electrochemical and peek is only need to be performed in service end, other logic control and interface generate, represent and automatically process according to the parameter that service end is incoming by JS script container, thus reducing the requirement to network and too much flow need not being occupied.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.

Claims (10)

1. the method for a mobile terminal intelligence inquiry, it is characterised in that described method includes:
Under the information state receiving the filtering keys that service end sends, generate filtering interface according to the information of described filtering keys;
Obtained the real data of described filtering keys by described filtering interface, and the real data of described filtering keys is sent to described service end;
Show the filter result that described service end returns according to the real data of described filtering keys.
2. method according to claim 1, it is characterised in that before the filter result that the described service end of described displaying returns according to the real data of described filtering keys, also include:
The request of data obtaining described filter result is sent to described server.
3. method according to claim 1 and 2, it is characterised in that described filtering keys is title and/or data type.
4. the method for a mobile terminal intelligence inquiry, it is characterised in that described method includes:
When receiving the request opening form that mobile terminal sends, described in parsing, open the request of form;
Open described in after judging parsing in the request of form and whether have filtering keys;
If having, then described filtering keys is sent to described mobile terminal;
Obtain the real data of the described filtering keys that described mobile terminal sends, and when receiving the request of data that described mobile terminal sends filter result corresponding to the real data obtaining described filtering keys, obtain filter result according to the real data of described filtering keys;
Described filter result is sent to described mobile terminal display.
5. method according to claim 4, it is characterised in that described judge to resolve after described in open whether the request of form have filtering keys after, also include:
If opening described in after resolving in the request of form and not having described filtering keys, then open the structuralized query SQL statement that the request of form is corresponding described in performing, and return the result after performing SQL statement to described mobile terminal.
6. a mobile terminal, it is characterised in that described mobile terminal includes:
Generate unit, for, under the information state receiving the filtering keys that service end sends, generating filtering interface according to the information of described filtering keys;
First transmitting element, for being obtained the real data of described filtering keys by described filtering interface, and is sent to described service end by the real data of described filtering keys;
Display unit, for showing the filter result that described service end returns according to the real data of described filtering keys.
7. mobile terminal according to claim 6, it is characterised in that described mobile terminal also includes:
Second transmitting element, for sending the request of data obtaining described filter result to described server.
8. the mobile terminal according to claim 6 or 7, it is characterised in that described filtering keys is title and/or data type.
9. a server, it is characterised in that described server includes:
Resolution unit, for when receiving the request opening form that mobile terminal sends, opening the request of form described in parsing;
Judging unit, opens in the request of form whether have filtering keys described in after judging to resolve;
First transmitting element, if for having, being then sent to described mobile terminal by described filtering keys;
Acquiring unit, for obtaining the real data of the described filtering keys that described mobile terminal sends, and when receiving the request of data that described mobile terminal sends filter result corresponding to the real data obtaining described filtering keys, obtain filter result according to the real data of described filtering keys;
Second transmitting element, displays for described filter result is sent to described mobile terminal.
10. server according to claim 9, it is characterised in that described server also includes:
Return unit, if not having described filtering keys for opening in the request of form described in after resolving, then open the SQL statement that the request of form is corresponding described in performing, and return the result after performing SQL statement to described mobile terminal.
CN201410851943.5A 2014-12-31 2014-12-31 Intelligent query method for mobile terminal, mobile terminal and server Active CN105812430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410851943.5A CN105812430B (en) 2014-12-31 2014-12-31 Intelligent query method for mobile terminal, mobile terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410851943.5A CN105812430B (en) 2014-12-31 2014-12-31 Intelligent query method for mobile terminal, mobile terminal and server

Publications (2)

Publication Number Publication Date
CN105812430A true CN105812430A (en) 2016-07-27
CN105812430B CN105812430B (en) 2019-12-13

Family

ID=56421568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410851943.5A Active CN105812430B (en) 2014-12-31 2014-12-31 Intelligent query method for mobile terminal, mobile terminal and server

Country Status (1)

Country Link
CN (1) CN105812430B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446309A (en) * 2018-02-05 2018-08-24 深圳市资本在线金融信息服务有限公司 The application process and device of WEB intelligent report forms
CN108572945A (en) * 2018-03-09 2018-09-25 吉贝克信息技术(北京)有限公司 Create method, system, storage medium and the electronic equipment of report

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030171970A1 (en) * 2002-03-11 2003-09-11 Robert Kinsella Project scheduler interface
CN101739403A (en) * 2008-11-12 2010-06-16 宏达国际电子股份有限公司 Method and device for displaying multi-media file icon
CN102456033A (en) * 2010-10-28 2012-05-16 金蝶软件(中国)有限公司 General page querying method, system and terminal
CN102567032A (en) * 2010-12-08 2012-07-11 金蝶软件(中国)有限公司 Common interface configuration method and computer
CN102693318A (en) * 2012-05-30 2012-09-26 华为技术有限公司 Report query method and report query equipment
CN102789487A (en) * 2012-06-29 2012-11-21 用友软件股份有限公司 Data query and retrieval processing device and data query and retrieval processing method
CN104239368A (en) * 2013-06-21 2014-12-24 苏州精易会信息技术有限公司 Form data inquiring method based on setting

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030171970A1 (en) * 2002-03-11 2003-09-11 Robert Kinsella Project scheduler interface
CN101739403A (en) * 2008-11-12 2010-06-16 宏达国际电子股份有限公司 Method and device for displaying multi-media file icon
CN102456033A (en) * 2010-10-28 2012-05-16 金蝶软件(中国)有限公司 General page querying method, system and terminal
CN102567032A (en) * 2010-12-08 2012-07-11 金蝶软件(中国)有限公司 Common interface configuration method and computer
CN102693318A (en) * 2012-05-30 2012-09-26 华为技术有限公司 Report query method and report query equipment
CN102789487A (en) * 2012-06-29 2012-11-21 用友软件股份有限公司 Data query and retrieval processing device and data query and retrieval processing method
CN104239368A (en) * 2013-06-21 2014-12-24 苏州精易会信息技术有限公司 Form data inquiring method based on setting

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108446309A (en) * 2018-02-05 2018-08-24 深圳市资本在线金融信息服务有限公司 The application process and device of WEB intelligent report forms
CN108572945A (en) * 2018-03-09 2018-09-25 吉贝克信息技术(北京)有限公司 Create method, system, storage medium and the electronic equipment of report

Also Published As

Publication number Publication date
CN105812430B (en) 2019-12-13

Similar Documents

Publication Publication Date Title
CN110889270B (en) Form page document generation method, form page rendering method and device
CN106022483B (en) The method and apparatus converted between machine learning model
CN105354014B (en) Application interface renders methods of exhibiting and device
CN102393857B (en) Method and system for local call based on web page
US20190196811A1 (en) Api specification generation
CN107729014B (en) Page jump method and structure based on Android
CN103729285A (en) Method, device and system for testing web page
CN104063401B (en) The method and apparatus that a kind of webpage pattern address merges
CN111581083B (en) Interface testing method and device, electronic equipment and storage medium
CN104821954A (en) Cross-platform remote procedure call method
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN102779063A (en) Method for providing application invocation and server
CN107203470B (en) Page adjustment method and device
CN104572072A (en) MVC (model view controller) mode-based language transformation method and equipment for program
CN109828815A (en) Screen adaptation method, device, equipment and storage medium based on mixed mode
CN107656762A (en) A kind of method and system that third party's function is realized in APP
CN103279861A (en) PCB engineering problem contrastive analysis and PCB engineering problem contrastive analysis result sending method and device
CN104361040A (en) Method and device for customized query
CN104899212A (en) Webpage display method, server and system
CN105812430A (en) Intelligent inquiry method for mobile terminal, mobile terminal and server
CN108809896A (en) A kind of information calibration method, device and electronic equipment
CN105279076B (en) A kind of webpage test method and terminal
CN108153667A (en) Automated testing method, apparatus and system
CN107067244A (en) Service implementation method, method of payment, business realizing device and payment services end
CN113900922A (en) Method, device, equipment and medium for testing application program interface of multi-platform application

Legal Events

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