CN106357564A - Intelligent search system based on mobile terminal and method thereof - Google Patents

Intelligent search system based on mobile terminal and method thereof Download PDF

Info

Publication number
CN106357564A
CN106357564A CN201611006591.9A CN201611006591A CN106357564A CN 106357564 A CN106357564 A CN 106357564A CN 201611006591 A CN201611006591 A CN 201611006591A CN 106357564 A CN106357564 A CN 106357564A
Authority
CN
China
Prior art keywords
message
mobile terminal
packet
carry out
duration
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
CN201611006591.9A
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.)
Nanjing Ruiyi Electronic Technology Co Ltd
Original Assignee
Nanjing Ruiyi Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Ruiyi Electronic Technology Co Ltd filed Critical Nanjing Ruiyi Electronic Technology Co Ltd
Priority to CN201611006591.9A priority Critical patent/CN106357564A/en
Publication of CN106357564A publication Critical patent/CN106357564A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/55Prevention, detection or correction of errors
    • H04L49/552Prevention, detection or correction of errors by ensuring the integrity of packets received through redundant connections
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an intelligent search system based on a mobile terminal and a method thereof. The intelligent search system provided by the invention comprises a mobile terminal and a cloud side server, wherein the mobile terminal is used for acquiring environmental information related to a user and sending the environmental information; the cloud side server is used for receiving the environmental information sent by the mobile terminal and searching interested data of the user according to the environmental information, generating background data applicable to use of the mobile terminal according to the interested data and sending the background data to the mobile terminal, so that the mobile terminal can conveniently set background parameters of the mobile terminal according to the background data; and the cloud side server is arranged in a box body. By combining the method thereof, the defects that message transmission between the mobile terminal and the cloud side server is in fault and a message can not be normally obtained in the prior art are effectively overcome.

Description

Intelligent searching system based on mobile terminal and its method
Technical field
The present invention relates to intelligent search technique field, particularly to a kind of intelligent searching system based on mobile terminal and its Method.
Background technology
The acquisition methods of traditional background data by mobile terminal are that user either manually or by NetFind and downloads sense The data of interest carries out selecting to use.This technology there is problems that, due to needing user's manual operation, be therefore inconvenient to use Family in time obtains the background data that up-to-date users recommend, and leads to some personalized data can not be in time by individual character Change a large amount of use.
Thus just it is proposed the intelligent searching system based on mobile terminal, comprising: mobile terminal, for collection and user's phase The environmental information of pass simultaneously sends described environmental information;
Cloud server, for receiving the environmental information that described mobile terminal sends, searches for described use according to described environmental information The interesting data at family, and the background data being suitable to that described mobile terminal uses is generated according to described interesting data, and will be described Background data sends to described mobile terminal so that described mobile terminal arranges described mobile terminal according to described background data Context parameter.
The method adopting when its carrying out practically is as follows:
Mobile terminal collection and user-dependent environmental information;
Described mobile terminal sends described environmental information to cloud server;
Described cloud server searches for the interesting data of described user according to described environmental information;
Described cloud server generates, according to described interesting data, the background data being suitable to that described mobile terminal uses, and will be described Background data sends to described mobile terminal;And described mobile terminal arranges described mobile terminal according to described background data Context parameter.
In addition described mobile terminal sends described environmental information to cloud server and described cloud server at present Generated according to described interesting data and be suitable to background data that described mobile terminal uses and send described background data to described The period of mobile terminal, is all to transmit with message packet form to send this between described mobile terminal and described cloud server Described environmental information, background data a bit, and when being transmitted with message packet form, it occur frequently that message packet is lost, is obtained The chaotic problem of the sequence of message packet is so that the message packet transmission between described mobile terminal and described cloud server is sent out Raw fault is it is impossible to normally obtain message packet.
Content of the invention
For solving the above problems, the invention provides a kind of intelligent searching system based on mobile terminal and its method, have Effect avoid between mobile terminal described in prior art and described cloud server message packet transmission break down, cannot The normal defect obtaining message packet.
In order to overcome deficiency of the prior art, the invention provides a kind of intelligent searching system based on mobile terminal and The solution of its method, specific as follows:
A kind of intelligent searching system based on mobile terminal, comprising: mobile terminal, for collection and user-dependent environmental information And send described environmental information;
Cloud server, for receiving the environmental information that described mobile terminal sends, searches for described use according to described environmental information The interesting data at family, and the background data being suitable to that described mobile terminal uses is generated according to described interesting data, and will be described Background data sends to described mobile terminal so that described mobile terminal arranges described mobile terminal according to described background data Context parameter;
Described cloud server is arranged in casing.
The method of the described intelligent searching system based on mobile terminal, step is as follows:
Mobile terminal collection and user-dependent environmental information;
Described mobile terminal sends described environmental information to cloud server;
Described cloud server searches for the interesting data of described user according to described environmental information;
Described cloud server generates, according to described interesting data, the background data being suitable to that described mobile terminal uses, and will be described Background data sends to described mobile terminal;And described mobile terminal arranges described mobile terminal according to described background data Context parameter;
And described mobile terminal sends to cloud server and described cloud server described environmental information according to described emerging Interesting data genaration is suitable to the background data of described mobile terminal use and sends described background data to described mobile terminal Period, is all to transmit these described environment of transmission with message packet form between described mobile terminal and described cloud server Information and background data, its transmitting procedure comprises the steps:
Step 1: each all configure duration statistical module and initial value in described first mobile terminal and described cloud server Counting variable for 0, passes through in mobile terminal and described cloud server between described mobile terminal and described cloud server Transmission message packet a side towards obtain message packet one side transmit request message and obtain message packet a side towards biography One side's transmission of defeated message packet to realize described mobile terminal and described cloud service to the response message of request message response The foundation of the message passage between device, includes error code, for the message domain that identifies and any code in described request message;Institute State message domain, sequence of message number, any code and the error code including in message packet for identifying;
Step 2: determine that having or not message packet must transmit, and must transmit if there are message packet, branch to carry out in step 3, if Do not have message packet must transmit, branch to step 5 and go to carry out;
Step 3: transmission message packet;
Step 4: realizing situation retrieval, described inquiry message includes any code and error code to transmission inquiry message;
Step 5: the holding to realize message passage for the message of transmission holding message passage, in the message of described holding message passage Including sequence of message number, any code and error code.
Such method can improve the message packet transmission performance of described mobile terminal and described cloud server, preferably Convenient staff, during in addition transmitting, stationary performance is good, can efficiently prevent transmission from not reaching stable state.
Brief description
Fig. 1 is the connection diagram of the intelligent searching system based on mobile terminal of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing, the present invention is described further.
1 understand with reference to the accompanying drawings, the intelligent searching system based on mobile terminal of the present invention, comprising: mobile terminal, be used for adopting Collection with user-dependent environmental information and sends described environmental information;
Cloud server, for receiving the environmental information that described mobile terminal sends, searches for described use according to described environmental information The interesting data at family, and the background data being suitable to that described mobile terminal uses is generated according to described interesting data, and will be described Background data sends to described mobile terminal so that described mobile terminal arranges described mobile terminal according to described background data Context parameter;
Described cloud server is arranged in casing.
The method of the described intelligent searching system based on mobile terminal, step is as follows:
Mobile terminal collection and user-dependent environmental information;
Described mobile terminal sends described environmental information to cloud server;
Described cloud server searches for the interesting data of described user according to described environmental information;
Described cloud server generates, according to described interesting data, the background data being suitable to that described mobile terminal uses, and will be described Background data sends to described mobile terminal;And described mobile terminal arranges described mobile terminal according to described background data Context parameter;
And described mobile terminal sends to cloud server and described cloud server described environmental information according to described emerging Interesting data genaration is suitable to the background data of described mobile terminal use and sends described background data to described mobile terminal Period, is all to transmit these described environment of transmission with message packet form between described mobile terminal and described cloud server Information and background data, its transmitting procedure comprises the steps:
Step 1: each all configure duration statistical module and initial value in described first mobile terminal and described cloud server Counting variable for 0, passes through in mobile terminal and described cloud server between described mobile terminal and described cloud server Transmission message packet a side towards obtain message packet one side transmit request message and obtain message packet a side towards biography One side's transmission of defeated message packet to realize described mobile terminal and described cloud service to the response message of request message response The foundation of the message passage between device, includes error code, for the message domain that identifies and any code in described request message;Institute State message domain, sequence of message number, any code and the error code including in message packet for identifying;
Step 2: determine that having or not message packet must transmit, and must transmit if there are message packet, branch to carry out in step 3, if Do not have message packet must transmit, branch to step 5 and go to carry out;
Step 3: transmission message packet;
Step 4: realizing situation retrieval, described inquiry message includes any code and error code to transmission inquiry message;
Step 5: the holding to realize message passage for the message of transmission holding message passage, in the message of described holding message passage Including sequence of message number, any code and error code;
Described step 1 comprises the steps:
Step 1-1: under conditions of determination does not also transmit request message, branch to carry out in step 1-2;If having transmitted request Message, goes in step 1-3 and carries out;
Step 1-2: the number repeatedly being transmitted request message is set as the number that highest set in advance transmits request message repeatedly, And confirm described request message;
Step 1-3: transmission request message, and synchronous operation duration statistical module carries out the duration after starting transmission request message Statistics;
Step 1-4: confirm to have or not get in request message for the message domain identifying, if getting this for identifying Message domain, branches to carry out in step 1-6;Without getting this for the message domain identifying, branch to enter in step 1-5 OK;
Step 1-5: the duration statistics determining duration statistical module either with or without the duration reaching setting, if reached set when Long, the number that the duration with regard to terminating duration statistical module counted and repeatedly transmitted request message subtracts one, then goes to step 1-1 Go to carry out, if the duration not up to setting, branch to go in step 1-4 to carry out;
Step 1-6: by the error code in described request message, carry out the debugging to described request message, without finding Mistake, branches to execution in step 1-7;If having found mistake, branch to carry out in step 1-4;
Step 1-7: terminate the duration statistics of duration statistical module, the number in addition repeatedly being transmitted request message is set as setting in advance Fixed highest transmits the number of request message repeatedly;
Step 1-8: carry out the decoding to request message and determine.
The process of the confirmation described transmission request message in described step 1-2 comprises the steps:
Step 1-2-1: carry out described request message is checked;
Step 1-2-2: determine that described request message, whether with the communication standard phase collocation adopting, if mutually arranged in pairs or groups, branches to Carry out in step 1-3;If mutually do not arranged in pairs or groups, the just holding to terminate message passage for the message of transmission removal message passage;
Described step 1-8 comprises the steps:
Step 1-8-1: determine whether any code in described request message is not with any of request message when transmitting It is identical, if identical, branch to step 1-8-2;If it is not the same, carrying out duration statistics and turn with regard to running duration statistical module Carry out in step 1-4;
Step 1-8-2: determining whether get response message, if having got response message, branching to enter in step 2 OK;If not getting response message, carry out with regard to running duration statistical module and carrying out duration statistics and going in step 1-4;
Described step 3 comprises the steps:
Step 3-1: transmission message packet, in addition run simultaneously duration statistical module and carry out duration statistics;
Step 3-2: determine whether get in message packet for the message domain identifying, if got in message packet For the message domain identifying, branch to go in step 1-6 execute, if do not get in message packet for the report identifying Civilian domain, branches to go in step 1-5 to execute;
Step 3-3: determine whether the duration statistics that duration statistical module is carried out has arrived duration set in advance, if having arrived pre- The duration first setting, carries out duration statistics and goes to step 3-8 and go to carry out with regard to terminating duration statistical module, without in advance The duration setting, branches to carry out in step c-2;
Step 3-4: using the error code in message packet, carry out the debugging to message packet, without finding mistake, just turn Carrying out in step 3-5, if having found mistake, branching to carry out in step 3-2;
Step 3-5: terminate duration statistical module and carry out duration statistics;
Step 3-6: carry out the decoding to message packet and determine;
Step 3-7: determine and be used for, either with or without obtaining, the back message of message of receiveing the response, if obtained for report of receiveing the response The back message of literary composition, proceeds to step 4 and carries out, and is used for, without obtaining, the back message of message of receiveing the response, and proceeds to walk Rapid 3-8 is carried out;
Step 3-8: the message implementation of intercepting that transmission is used for intercepting is intercepted, and the described message of intercepting for intercepting includes arbitrarily Code, error code and sequence of message number;
Described step 3-6 comprises the steps:
Step 3-6-1: determine whether same with any code-phase of request message, if identical, just any code in message packet is Proceed to step 3-6-2 to carry out, if it is not the same, proceeding to step 3-8;
Step 3-6-2: determine in message packet whether carry sequence of message number, if there are sequence of message number, proceed to step 3-6-3 is carried out;Without sequence of message number, proceed to step 3-8 and carry out;
Step 3-6-3: determine whether wrong the sequence of message number in message packet is, if wrong, proceed to step 3-8 and enter OK;If errorless, proceed to step 3-6-4 and carry out;
Step 3-6-4: determine that message packet is message packet, if message packet, branch to step 3-6-5 and carry out, If not being message packet, branching to step 3-7 and carrying out;
Step 3-6-5: the counting variable of the side obtaining message packet is increased one;
Determine that the standard that the sequence of message number in message packet is wrong is the counting variable of the side obtaining message packet Whether it is equal to the sequence of message number of the message packet obtaining;
Described step 3-8 comprises the steps:
Step 3-8-1: what transmission was used for intercepting intercepts message, and obtain and intercept side's order of message and carry out intercepting report to acquisition The determination of literary composition and the debugging using the error code intercepted in message;
Step 3-8-2: determine that any code intercepting message being used for intercepting is same with any code-phase of request message, if Identical, branch to step 3-8-3 and carry out;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 is carried out;
Step 3-8-3: determine and intercept either with or without sequence of message number in message, if it has, branching to step 3-8-4 for intercept Carry out;If it did not, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 and carry out;
Step 3-8-4: determine whether wrong the sequence of message number intercepted in message is, if errorless, branch to step 3-8-5 and enters OK;If wrong, duration statistics carried out with regard to starting duration statistical module and goes to step 3-8-1 and carry out;
Step 3-8-5: determine whether obtain message packet, if obtaining message packet, branching to step 3-8-6 and entering OK;Without obtaining message packet, branch to step 3-8-7 and carry out;
Step 3-8-6: the counting variable of the side obtaining message packet is increased one;
Step 3-8-7: determining whether obtain previous message packet, if obtaining previous message packet, branching to walk Rapid 4 are carried out;If not obtaining previous message packet, branching to step 3-1 and carrying out;
Determine that the standard that the sequence of message number intercepting in message is wrong is to obtain the counting variable of the side intercepting message Whether it is equal to the sequence of message number intercepting message obtaining;
Described step 4 comprises the steps:
Step 4-1: transmission inquiry message, and side's order of acquisition inquiry message carries out the determination to acquisition inquiry message and profit Debugging with the error code in inquiry message;
Step 4-2: determine that the arbitrary code in inquiry message is identical with the random code of request message, if identical, just turn Carry out to step 4-3;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to step 4-1 and carry out;
Step 4-3: the inquiry message determining transmission is inquiry message or message packet, if inquiry message or disappear Breath message, branches to step 4-4 and carries out, and if not inquiry message or message packet, just transmission removes the report of message passage Literary composition is terminating the holding of message passage;
Step 4-4: determine that the inquiry message transmitting is inquiry message, if inquiry message, branch to step 4-5 and enter OK;If not inquiry message, the counting variable of the side obtaining message packet is increased one, then to transmission message packet Side's transmission is used for the back message of message of receiveing the response;
Step 4-5: determine that the back message for message of receiveing the response for the transmission, either with or without failure, without failure, branches to Step 5 carry out;If it fails, branch to step 4-6 carrying out;
Step 4-6: determine message in message packet either with or without loss, if lost, just transmission removes the report of message passage Literary composition is terminating the holding of message passage;Without loss, duration statistics is carried out with regard to starting duration statistical module and goes to step 4-1 is carried out;
Described step 5 comprises the steps:
Step 5-1: transmission keeps the message of message passage, and obtain side's order of the message keeping message passage and carry out to obtaining The debugging of the error code gone bail in the determination of the message holding message passage and the message of utilization holding message passage;
Step 5-2: determine whether identical any code in the message keeping message passage is with any code of request message, if Identical, branch to step 5-3 and carry out;If it is not the same, carrying out duration statistics and in duration statistics with regard to starting duration statistical module Go to step 5-1 after reaching two seconds to carry out;
Step 5-3: determine in the message keeping message passage whether there is sequence of message number, if it has, branch to step 5-4 entering OK, if it did not, carrying out duration statistics with regard to starting duration statistical module and going to step 5-1 and enter after duration statistics reaches two seconds OK;
Step 5-4: determine whether wrong the sequence of message number in the message keeping message passage is, if errorless, branch to walk Rapid 5-5 is carried out;If wrong, duration statistics carried out with regard to starting duration statistical module and goes to step after duration statistics reaches two seconds Rapid 5-1 is carried out;
Step 5-5: determine whether get message packet, if getting message packet, branching to step 5-6 and carrying out;As Fruit does not get message packet, carries out duration statistics with regard to starting duration statistical module and goes to after duration statistics reaches two seconds Step 5-1 is carried out;
Step 5-6: the counting variable of the side obtaining message packet is increased one;
Step 5-7: determine and need transmit either with or without message packet, if it has, branch to step 3 carrying out;If it did not, to transmission One side's transmission of message packet is used for the back message of message of receiveing the response;
Determine that the standard that the sequence of message number in the message keeping message passage is wrong is to obtain to keep message passage Whether the counting variable of one side of message is equal to the sequence of message number of the message of holding message passage obtaining.
Described any code passes through a side in transmission message packet for the cloud server towards the side's transmission obtaining message packet One side of request message and acquisition message packet transmits the response message to request message response towards a side of transmission message packet When, cloud server transmit first in any code just as mark, cloud server transmit first after described mobile eventually It is intended in the message of transmission between end and described cloud server, containing described mark, in addition be used for determining through determining described mark Whether the mobile terminal adopting at present is in the side's transmission request message transmitting a side of message packet towards acquisition message packet Adopt during the response message towards the side's transmission transmitting message packet, request message being responded with the side obtaining message packet Mobile terminal.
Such method can improve the message packet transmission performance of described mobile terminal and described cloud server, preferably Convenient staff, during in addition transmitting, stationary performance is good, can efficiently prevent transmission from not reaching stable state.
In the way of brief description, the present invention is described above, it will be understood by those of skill in the art that the disclosure It is not limited to embodiments described above, in the case of without departing from the scope of the present invention, can make a variety of changes, change and replace Change.

Claims (4)

1. a kind of intelligent searching system based on mobile terminal is it is characterised in that include: mobile terminal, for collection and user Related environmental information simultaneously sends described environmental information;
Cloud server, for receiving the environmental information that described mobile terminal sends, searches for described use according to described environmental information The interesting data at family, and the background data being suitable to that described mobile terminal uses is generated according to described interesting data, and will be described Background data sends to described mobile terminal so that described mobile terminal arranges described mobile terminal according to described background data Context parameter;
Described cloud server is arranged in casing.
2. the method for the intelligent searching system based on mobile terminal according to claim 1, is characterised by, step is as follows:
Mobile terminal collection and user-dependent environmental information;
Described mobile terminal sends described environmental information to cloud server;
Described cloud server searches for the interesting data of described user according to described environmental information;
Described cloud server generates, according to described interesting data, the background data being suitable to that described mobile terminal uses, and will be described Background data sends to described mobile terminal;And described mobile terminal arranges described mobile terminal according to described background data Context parameter;
And described mobile terminal sends to cloud server and described cloud server described environmental information according to described emerging Interesting data genaration is suitable to the background data of described mobile terminal use and sends described background data to described mobile terminal Period, is all to transmit these described environment of transmission with message packet form between described mobile terminal and described cloud server Information and background data, its transmitting procedure comprises the steps:
Step 1: each all configure duration statistical module and initial value in described first mobile terminal and described cloud server Counting variable for 0, passes through in mobile terminal and described cloud server between described mobile terminal and described cloud server Transmission message packet a side towards obtain message packet one side transmit request message and obtain message packet a side towards biography One side's transmission of defeated message packet to realize described mobile terminal and described cloud service to the response message of request message response The foundation of the message passage between device, includes error code, for the message domain that identifies and any code in described request message;Institute State message domain, sequence of message number, any code and the error code including in message packet for identifying;
Step 2: determine that having or not message packet must transmit, and must transmit if there are message packet, branch to carry out in step 3, if Do not have message packet must transmit, branch to step 5 and go to carry out;
Step 3: transmission message packet;
Step 4: realizing situation retrieval, described inquiry message includes any code and error code to transmission inquiry message;
Step 5: the holding to realize message passage for the message of transmission holding message passage, in the message of described holding message passage Including sequence of message number, any code and error code.
3. the method for the intelligent searching system based on mobile terminal according to claim 2, is characterised by that described step 1 is wrapped Include following steps:
Step 1-1: under conditions of determination does not also transmit request message, branch to carry out in step 1-2;If having transmitted request Message, goes in step 1-3 and carries out;
Step 1-2: the number repeatedly being transmitted request message is set as the number that highest set in advance transmits request message repeatedly, And confirm described request message;
Step 1-3: transmission request message, and synchronous operation duration statistical module carries out the duration after starting transmission request message Statistics;
Step 1-4: confirm to have or not get in request message for the message domain identifying, if getting this for identifying Message domain, branches to carry out in step 1-6;Without getting this for the message domain identifying, branch to enter in step 1-5 OK;
Step 1-5: the duration statistics determining duration statistical module either with or without the duration reaching setting, if reached set when Long, the number that the duration with regard to terminating duration statistical module counted and repeatedly transmitted request message subtracts one, then goes to step 1-1 Go to carry out, if the duration not up to setting, branch to go in step 1-4 to carry out;
Step 1-6: by the error code in described request message, carry out the debugging to described request message, without finding Mistake, branches to execution in step 1-7;If having found mistake, branch to carry out in step 1-4;
Step 1-7: terminate the duration statistics of duration statistical module, the number in addition repeatedly being transmitted request message is set as setting in advance Fixed highest transmits the number of request message repeatedly;
Step 1-8: carry out the decoding to request message and determine;
The process of the confirmation described transmission request message in described step 1-2 comprises the steps:
Step 1-2-1: carry out described request message is checked;
Step 1-2-2: determine that described request message, whether with the communication standard phase collocation adopting, if mutually arranged in pairs or groups, branches to Carry out in step 1-3;If mutually do not arranged in pairs or groups, the just holding to terminate message passage for the message of transmission removal message passage;
Described step 1-8 comprises the steps:
Step 1-8-1: determine whether any code in described request message is not with any of request message when transmitting It is identical, if identical, branch to step 1-8-2;If it is not the same, carrying out duration statistics and turn with regard to running duration statistical module Carry out in step 1-4;
Step 1-8-2: determining whether get response message, if having got response message, branching to enter in step 2 OK;If not getting response message, carry out with regard to running duration statistical module and carrying out duration statistics and going in step 1-4;
Described step 3 comprises the steps:
Step 3-1: transmission message packet, in addition run simultaneously duration statistical module and carry out duration statistics;
Step 3-2: determine whether get in message packet for the message domain identifying, if got in message packet For the message domain identifying, branch to go in step 1-6 execute, if do not get in message packet for the report identifying Civilian domain, branches to go in step 1-5 to execute;
Step 3-3: determine whether the duration statistics that duration statistical module is carried out has arrived duration set in advance, if having arrived pre- The duration first setting, carries out duration statistics and goes to step 3-8 and go to carry out with regard to terminating duration statistical module, without in advance The duration setting, branches to carry out in step c-2;
Step 3-4: using the error code in message packet, carry out the debugging to message packet, without finding mistake, just turn Carrying out in step 3-5, if having found mistake, branching to carry out in step 3-2;
Step 3-5: terminate duration statistical module and carry out duration statistics;
Step 3-6: carry out the decoding to message packet and determine;
Step 3-7: determine and be used for, either with or without obtaining, the back message of message of receiveing the response, if obtained for report of receiveing the response The back message of literary composition, proceeds to step 4 and carries out, and is used for, without obtaining, the back message of message of receiveing the response, and proceeds to walk Rapid 3-8 is carried out;
Step 3-8: the message implementation of intercepting that transmission is used for intercepting is intercepted, and the described message of intercepting for intercepting includes arbitrarily Code, error code and sequence of message number;
Described step 3-6 comprises the steps:
Step 3-6-1: determine whether same with any code-phase of request message, if identical, just any code in message packet is Proceed to step 3-6-2 to carry out, if it is not the same, proceeding to step 3-8;
Step 3-6-2: determine in message packet whether carry sequence of message number, if there are sequence of message number, proceed to step 3-6-3 is carried out;Without sequence of message number, proceed to step 3-8 and carry out;
Step 3-6-3: determine whether wrong the sequence of message number in message packet is, if wrong, proceed to step 3-8 and enter OK;If errorless, proceed to step 3-6-4 and carry out;
Step 3-6-4: determine that message packet is message packet, if message packet, branch to step 3-6-5 and carry out, If not being message packet, branching to step 3-7 and carrying out;
Step 3-6-5: the counting variable of the side obtaining message packet is increased one;
Determine that the standard that the sequence of message number in message packet is wrong is the counting variable of the side obtaining message packet Whether it is equal to the sequence of message number of the message packet obtaining;
Described step 3-8 comprises the steps:
Step 3-8-1: what transmission was used for intercepting intercepts message, and obtain and intercept side's order of message and carry out intercepting report to acquisition The determination of literary composition and the debugging using the error code intercepted in message;
Step 3-8-2: determine that any code intercepting message being used for intercepting is same with any code-phase of request message, if Identical, branch to step 3-8-3 and carry out;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 is carried out;
Step 3-8-3: determine and intercept either with or without sequence of message number in message, if it has, branching to step 3-8-4 for intercept Carry out;If it did not, carrying out duration statistics with regard to starting duration statistical module and going to step 3-8-1 and carry out;
Step 3-8-4: determine whether wrong the sequence of message number intercepted in message is, if errorless, branch to step 3-8-5 and enters OK;If wrong, duration statistics carried out with regard to starting duration statistical module and goes to step 3-8-1 and carry out;
Step 3-8-5: determine whether obtain message packet, if obtaining message packet, branching to step 3-8-6 and entering OK;Without obtaining message packet, branch to step 3-8-7 and carry out;
Step 3-8-6: the counting variable of the side obtaining message packet is increased one;
Step 3-8-7: determining whether obtain previous message packet, if obtaining previous message packet, branching to walk Rapid 4 are carried out;If not obtaining previous message packet, branching to step 3-1 and carrying out;
Determine that the standard that the sequence of message number intercepting in message is wrong is to obtain the counting variable of the side intercepting message Whether it is equal to the sequence of message number intercepting message obtaining;
Described step 4 comprises the steps:
Step 4-1: transmission inquiry message, and side's order of acquisition inquiry message carries out the determination to acquisition inquiry message and profit Debugging with the error code in inquiry message;
Step 4-2: determine that the arbitrary code in inquiry message is identical with the random code of request message, if identical, just turn Carry out to step 4-3;If it is not the same, carrying out duration statistics with regard to starting duration statistical module and going to step 4-1 and carry out;
Step 4-3: the inquiry message determining transmission is inquiry message or message packet, if inquiry message or disappear Breath message, branches to step 4-4 and carries out, and if not inquiry message or message packet, just transmission removes the report of message passage Literary composition is terminating the holding of message passage;
Step 4-4: determine that the inquiry message transmitting is inquiry message, if inquiry message, branch to step 4-5 and enter OK;If not inquiry message, the counting variable of the side obtaining message packet is increased one, then to transmission message packet Side's transmission is used for the back message of message of receiveing the response;
Step 4-5: determine that the back message for message of receiveing the response for the transmission, either with or without failure, without failure, branches to Step 5 carry out;If it fails, branch to step 4-6 carrying out;
Step 4-6: determine message in message packet either with or without loss, if lost, just transmission removes the report of message passage Literary composition is terminating the holding of message passage;Without loss, duration statistics is carried out with regard to starting duration statistical module and goes to step 4-1 is carried out;
Described step 5 comprises the steps:
Step 5-1: transmission keeps the message of message passage, and obtain side's order of the message keeping message passage and carry out to obtaining The debugging of the error code gone bail in the determination of the message holding message passage and the message of utilization holding message passage;
Step 5-2: determine whether identical any code in the message keeping message passage is with any code of request message, if Identical, branch to step 5-3 and carry out;If it is not the same, carrying out duration statistics and in duration statistics with regard to starting duration statistical module Go to step 5-1 after reaching two seconds to carry out;
Step 5-3: determine in the message keeping message passage whether there is sequence of message number, if it has, branch to step 5-4 entering OK, if it did not, carrying out duration statistics with regard to starting duration statistical module and going to step 5-1 and enter after duration statistics reaches two seconds OK;
Step 5-4: determine whether wrong the sequence of message number in the message keeping message passage is, if errorless, branch to walk Rapid 5-5 is carried out;If wrong, duration statistics carried out with regard to starting duration statistical module and goes to step after duration statistics reaches two seconds Rapid 5-1 is carried out;
Step 5-5: determine whether get message packet, if getting message packet, branching to step 5-6 and carrying out;As Fruit does not get message packet, carries out duration statistics with regard to starting duration statistical module and goes to after duration statistics reaches two seconds Step 5-1 is carried out;
Step 5-6: the counting variable of the side obtaining message packet is increased one;
Step 5-7: determine and need transmit either with or without message packet, if it has, branch to step 3 carrying out;If it did not, to transmission One side's transmission of message packet is used for the back message of message of receiveing the response;
Determine that the standard that the sequence of message number in the message keeping message passage is wrong is to obtain to keep message passage Whether the counting variable of one side of message is equal to the sequence of message number of the message of holding message passage obtaining.
4. the method for the intelligent searching system based on mobile terminal according to claim 3, is characterised by described any code Transmit request message towards the side obtaining message packet and obtain message in a side of transmission message packet by cloud server During the response message that one side of message responds towards the side's transmission transmitting message packet to request message, cloud server passes first Any code in defeated just as mark, cloud server transmit first after described mobile terminal and described cloud server between It is intended in the message of transmission, containing described mark, in addition be used for determining that the mobile terminal of current employing is through determining described mark It is not the side transmitted request message and obtain message packet towards the side obtaining message packet in the side transmitting message packet A side towards transmission message packet transmits the mobile terminal adopting during the response message to request message response.
CN201611006591.9A 2016-11-16 2016-11-16 Intelligent search system based on mobile terminal and method thereof Pending CN106357564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611006591.9A CN106357564A (en) 2016-11-16 2016-11-16 Intelligent search system based on mobile terminal and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611006591.9A CN106357564A (en) 2016-11-16 2016-11-16 Intelligent search system based on mobile terminal and method thereof

Publications (1)

Publication Number Publication Date
CN106357564A true CN106357564A (en) 2017-01-25

Family

ID=57863061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611006591.9A Pending CN106357564A (en) 2016-11-16 2016-11-16 Intelligent search system based on mobile terminal and method thereof

Country Status (1)

Country Link
CN (1) CN106357564A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110658395A (en) * 2019-07-08 2020-01-07 南京铁道职业技术学院 Subway train traction inverter test system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110658395A (en) * 2019-07-08 2020-01-07 南京铁道职业技术学院 Subway train traction inverter test system and method

Similar Documents

Publication Publication Date Title
US9774642B2 (en) Method and device for pushing multimedia resource and display terminal
CN101834888B (en) Method for remotely starting transparent computing system client through wireless local area network
CN103795762B (en) A kind of test method and system of reverse proxy
CN102548023A (en) Wireless fidelity connecting method and wireless fidelity connecting device
DE602004009902D1 (en) SYSTEM AND METHOD FOR COMPACT MESSAGE TRANSMISSION IN NETWORK COMMUNICATION
WO2017161760A1 (en) Data transmission method and device
CN105119722A (en) Identity verification method, equipment and system
CN104486411A (en) Recommended method and cloud server
CN105094506A (en) Screen unlocking method for intelligent terminal, intelligent terminal and operating platform
CN106487661A (en) Intelligent searching system and its method of the enhancement mode based on mobile terminal
CN105357071A (en) Identification method and identification system for network complex traffic
CN105721392B (en) A kind of method, apparatus and system for recommending application
CN106357564A (en) Intelligent search system based on mobile terminal and method thereof
US20230043889A1 (en) Message Processing Method and Device, Storage Medium, and Electronic Device
CN107018088B (en) Transmission link selection method and device
CN102685155B (en) The method that content transmits, content delivering server and content transmit proxy server
CN104125605B (en) A kind of implementation method and device for asking to set up WIFI connections
CN105163335B (en) A kind of network access management method, server, mobile terminal and system
CN105163336A (en) Method and system for optimizing stability of wireless network
CN109271454A (en) A kind of method and the network equipment that data are synchronous
CN104462235A (en) Internet of Things general event service mechanism based on Restful Web Service
CN106126640B (en) Content-data method for pushing and device
CN106790970A (en) Reinforced intelligent searching system and its method based on mobile terminal
CN104980189B (en) Across screen transmission method and system
CN103871121A (en) Information system electronic patrol method based on simulation login

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170125

WD01 Invention patent application deemed withdrawn after publication