CN108738010A - The network search method of terminal, the terminal with web search function - Google Patents

The network search method of terminal, the terminal with web search function Download PDF

Info

Publication number
CN108738010A
CN108738010A CN201810325294.3A CN201810325294A CN108738010A CN 108738010 A CN108738010 A CN 108738010A CN 201810325294 A CN201810325294 A CN 201810325294A CN 108738010 A CN108738010 A CN 108738010A
Authority
CN
China
Prior art keywords
terminal
web search
network connection
duration
network
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
CN201810325294.3A
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.)
Zhuhai Pantum Electronics Co Ltd
Original Assignee
Zhuhai Pantum Electronics 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 Zhuhai Pantum Electronics Co Ltd filed Critical Zhuhai Pantum Electronics Co Ltd
Priority to CN201810325294.3A priority Critical patent/CN108738010A/en
Publication of CN108738010A publication Critical patent/CN108738010A/en
Priority to PCT/CN2019/079906 priority patent/WO2019196654A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of network search method of terminal, the terminal with web search function and a kind of computer readable storage medium, in the network search method:Searching request based on reception judges the network connection mode of the terminal;Preset web search duration is combined based on the network connection mode of the determining terminal, determines web search duration corresponding with the network connection mode;Based on the determining web search duration, the terminal executes web search, and after the web search duration terminates, ends automatically web search.To which the setting for solving to exist in the prior art terminal network search duration is unreasonable, the technical issues of making troubles to user.

Description

The network search method of terminal, the terminal with web search function
【Technical field】
The present invention relates to Network Connection field more particularly to a kind of network search method of terminal, band web search The terminal and computer readable storage medium of function.
【Background technology】
In the prior art, when forming app execution printings using the image for being installed on mobile terminal, essential one A step is the search operation for executing user and it is expected the image forming apparatus used, in order to ensure that user it is expected the image shape used It can be searched at device, the search duration of setting is usually longer, also, after corresponding search duration, Yong Hucai Subsequent operation can be executed, therefore, when executing the search operation for the image forming apparatus that user's expectation uses, even if setting Search duration terminate before searched user and it is expected the image forming apparatus that uses, there is still a need for wait for until setting by user Fixed search duration terminates that subsequent operation could be carried out, and therefore, if the search duration of setting is longer, user needs to wait for longer Time could carry out subsequent operation, bring inconvenience to user;If the search duration of setting is shorter, terminate in search duration Afterwards, if not searching user it is expected that the image forming apparatus used, user need execution operation triggering terminal to execute search again Operation, until searching desired image forming apparatus, makes troubles to user.
To sum up, in the prior art, when terminal executes the search operation for the image forming apparatus that user's expectation uses, setting When search duration is unreasonable, it can make troubles to user.
【Invention content】
An embodiment of the present invention provides a kind of network search method of terminal, the terminal with web search function and calculate Machine readable storage medium storing program for executing, it is unreasonable with the setting for solving to exist in the prior art terminal network search duration, it is brought not to user Just the technical issues of.
In a first aspect, the embodiment of the present invention provides a kind of network search method of terminal, which is characterized in that including:
Searching request based on reception judges the network connection mode of the terminal;
Based on the determining terminal network connection mode combine preset web search duration, determine with it is described The corresponding web search duration of network connection mode;
Based on the determining web search duration, the terminal executes web search, and in the web search duration After end, web search is ended automatically.
Second aspect, the embodiment of the present invention provide a kind of terminal with web search function, which is characterized in that including:
Interface unit, the searching request for receiving terminal;
First judging unit, the network connection mode for judging the terminal;
Determination unit, when for combining preset web search based on the network connection mode of the determining terminal It is long, determine web search duration corresponding with the network connection mode;
Search unit executes the web search of the terminal, and in the net based on the determining web search duration After network search duration terminates, the web search of the terminal is ended automatically.
The third aspect, the embodiment of the present invention provide a kind of terminal with web search function, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed with reality by the processor Existing approach described above.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program; The computer program is executed by processor to realize the above method.
A technical solution in above-mentioned technical proposal has the advantages that:
The embodiment of the present invention provides a kind of network search method of terminal, the device with web search function and computer can Medium is read, the searching request based on reception judges the network connection mode of the terminal;Based on the network of the determining terminal Connection mode combines preset web search duration, determines web search duration corresponding with the network connection mode; Based on the determining web search duration, the terminal executes web search, and after the web search duration terminates, End automatically web search.In the embodiment of the present invention, the searching request based on reception judges the terminal network connection mode, So that it is determined that web search duration corresponding with the network connection mode of the terminal, it can be seen that, in the embodiment of the present invention Web search duration is not necessarily all unified, sets suitable web search duration according to network connection mode, on the one hand, can It reduces the user when web search duration is longer and waits for the time spent, bring advantage to the user, on the other hand, can avoid working as User needs to execute the troublesome operation that operation triggering terminal executes search operation when web search duration is shorter, is brought just to user Profit.Therefore, the embodiment of the present invention can solve to exist in the prior art electronic device web search duration setting it is unreasonable, give The technical issues of user makes troubles.
【Description of the drawings】
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without having to pay creative labor, it can also be obtained according to these attached drawings other attached Figure.
A kind of flow chart for terminal network searching method that Fig. 1 is provided by the embodiment of the present invention.
The terminal interface display status information and web search residual time length that Fig. 2 is provided by the embodiment of the present invention are illustrated Figure.
The network connection mode flow chart for the determination terminal that Fig. 3 is provided by the embodiment of the present invention.
A kind of composition frame chart for terminal with web search function that Fig. 4 is provided by the embodiment of the present invention.
The composition frame chart for another terminal with web search function that Fig. 5 is provided by the embodiment of the present invention.
The composition frame chart for another terminal with web search function that Fig. 6 is provided by the embodiment of the present invention.
The composition frame chart for another terminal with web search function that Fig. 7 is provided by the embodiment of the present invention.
Fig. 8 provides a kind of terminal composition frame chart with web search function for further embodiment of this invention.
【Specific implementation mode】
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention below in conjunction with the accompanying drawings It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained without creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
Embodiment
The embodiment of the present invention provides a kind of terminal network searching method, illustrates institute of the embodiment of the present invention below with reference to Fig. 1 A kind of flow of the terminal network searching method provided, this approach includes the following steps:
S101:Searching request based on reception judges the network connection mode of the terminal.
Wherein, terminal can be the terminal device with wireless communication function, including mobile phone, smart mobile phone, tablet computer, Laptop, palm PC, vehicle-mounted computer and other intelligent terminals with wireless communication function.
Wherein, network connection mode can be terminal works in Wi-Fi work stations operating mode, terminal works in Wi-Fi Access point operating mode, terminal works in Wi-Fi direct operating mode, terminal works in not connected Wi-Fi operating modes, or The network connection status of terminal and electronic device.
Specifically, terminal works refer in Wi-Fi work station operating modes as client connection router online, this field Technical staff be appreciated that open Wi-Fi workstation modes refer to open Wi-Fi STA (work station) function of the terminal, or Person referred to as opens Wi-Fi;Terminal works refer to supplying it as Wi-Fi access points (Wi-Fi Hotspot) in WI-FI access point modes He accesses terminal, it will be appreciated by those skilled in the art that it refers to the Wi-Fi for opening the terminal to open Wi-Fi access point modes AP (access point) function, or referred to as open hot spot;Terminal works refer to only allowing other in Wi-Fi direct operating mode The network equipment carries out point-to-point connection with the terminal for working in Wi-Fi direct operating mode;Terminal works are in not connected Wi- Fi operating modes refer to that terminal does not establish network connection with other network equipments, and the wherein network equipment includes carrying network function Terminal or electronic device etc..
Wherein, the connection state of terminal and electronic device includes terminal and electronic device does not set up network connection, or eventually End has built up network connection with electronic device.Specifically, the connection state of terminal and electronic device is with the network state of terminal Subject to link information shown by detection module, wherein the network state detection module of terminal be used for detect and display terminal with The connection state of other network equipments is common to those skilled in the art, herein without redundant.According to terminal with It is to ensure that the network between terminal and electronic device connects that the connection state of electronic device, which sets corresponding web search duration, The reliability connect.Specifically, electronic device includes but not limited to that the images such as printer, duplicator, facsimile machine, scanner form dress It sets.
(include but not limited to printing, copy operation, scan behaviour for executing image forming operation in terminal installation one Make, FAX operation) application program app, follow-up abbreviation app, user executes operation triggering terminal in the user interface of app and executes Web search operates, and specifically, user can be by the option of the characterization function of search of click app user interfaces, to trigger Terminal executes web search operation, and specifically, terminal executes web search operation, it is expected the electronics used dress for searching for user It sets in order to which the later stage executes image forming operation, based on the searching request received, app is obtained and judged the network connection of terminal Pattern.Can certainly be when user start and is installed on the app of terminal, the search that system initiates electronic device from trend app is asked It asks.And the mode for receiving searching request includes that can also be:Voice input is received in the operation interface of terminal, or is passed through NFC (communication of marching into the arena) module in the terminal is touched with other electronic devices, automatically generates the signal of searching request;These Different modes belong to protection scope of the present invention.
S102:Preset web search duration is combined based on the network connection mode of the determining terminal, is determined Web search duration corresponding with the network connection mode.
Wherein, web search duration refers to the maximum time that terminal executes primary network search operation, i.e., in preset net After network searches for duration, web search operation can be ended automatically.
For example, the relationship of network connection mode and its corresponding web search duration is previously stored in app, with For table 1,
Table 1
Network connection mode Web search duration
Terminal works are in Wi-Fi work station operating modes 15 seconds
Terminal works are in Wi-Fi access point operating modes 3 seconds
Terminal works are in Wi-Fi direct operating mode 2 seconds
As seen from the above table, once it is determined that network connection mode, is searched in conjunction with the network connection mode combination network stored in table 1 Suo Shichang relationships can determine corresponding network duration, for example, when determining terminal works in Wi-Fi work station Working moulds Formula, you can determine when corresponding web search a length of 15 seconds, when determining terminal works in Wi-Fi access point operating modes, you can It determines when corresponding web search a length of 3 seconds, when determining terminal works in Wi-Fi direct operating mode, you can determine corresponding A length of 2 seconds when web search.
S103:Based on the determining web search duration, the terminal executes web search, and in the web search After duration terminates, web search is ended automatically.
Specifically, according to determining web search duration, terminal executes web search, and terminal works are in different Working moulds Formula, the mode that terminal executes web search are also different.
Wherein, when terminal works are in Wi-Fi workstation modes, the mode that terminal executes web search is as follows:It is installed on The app of terminal sends the broadcast message for including web search duration, and obtain in web search based on the searching request received Within the scope of duration, other network equipment informations made a response, and by the presentation of information of acquisition app user interface;Work as end End works in Wi-Fi access points operating mode, Wi-Fi direct operating mode or terminal works in not connected Wi-Fi Working moulds When formula, the mode that terminal executes web search is as follows:Searching requests of the app based on reception sends terminal to terminal operating system Current network link information solicited message, app obtains terminal current network link information, and is shown in the user interface of app.
Specifically, web search duration refers to the maximum time that terminal executes primary network search operation, therefore, in terminal During executing web search, if web search duration finishes, web search is ended automatically.
Further, judge whether the web search duration terminates;If being searched for before the web search duration terminates To attachable electronic device, then network connection is established with selected electronic device after the web search duration.
Specifically, in terminal executes web search operating process, i.e., before web search duration terminates, if searching Electronic device, can include by the electronic device information searched in app user interfaces, thus, complete primary network in terminal and search Suo Hou, the electronic device information that user is shown based on app user interfaces are just capable of determining whether oneself it is expected the electronics used dress It sets, if so, then selecting the electronic device information for it is expected to use, and terminal and selected electronic device is established into network connection, with Image forming operation is executed convenient for the later stage;If no, execute specific operation triggering terminal in app user interfaces executes net again Network search operation, wherein specific operation can be to click refresh option in user interface;Certain terminal can also be arranged to, and complete Primary network search after, according to pre-defined rule (such as the electronic device nearest apart from terminal, be most recently connected electronic device, Strongest electronic device of network connection information etc.) the automatic network connection suggested with electronic device.
It should be added that the above-mentioned selected electronic device information for it is expected to use, can directly be selection electronics dress (such as electronic device itself be used as AP access points when) is set, can also be the electronics dress in some router corresponding network It sets;This implementation is not defined these specific implementation modes.
The embodiment of the present invention provides a kind of network search method of terminal, and the searching request based on reception judges the end The network connection mode at end;Preset web search duration is combined based on the network connection mode of the determining terminal, Determine web search duration corresponding with the network connection mode;Based on the determining web search duration, the terminal Web search is executed, and after the web search duration terminates, ends automatically web search.In the embodiment of the present invention, base In the searching request of reception, the network connection mode of the electronic device is judged, so that it is determined that the network with the electronic device The corresponding web search duration of connection mode, it can be seen that, the web search duration in the embodiment of the present invention is not necessarily all unified , suitable web search duration is set according to network connection mode, on the one hand, can reduce when web search duration is longer User waits for the time spent, brings advantage to the user, and on the other hand, the user when web search duration is shorter can be avoided to need The troublesome operation that operation triggering terminal executes search operation is executed, is brought advantage to the user.
On the basis of the above embodiments, network duration corresponding with the network connection mode is determined, further packet Include following steps:
If the network connection mode of the terminal is first mode, it is determined that the network of a length of terminal is searched when with first Suo Shichang.
If the network connection mode of the terminal is second mode, it is determined that the network of a length of terminal is searched when with second Suo Shichang.
First duration is more than second duration.
Different web search durations is set based on different network connection modes, sets suitable web search duration It is that can search more electronic device, specifically, different nets as far as possible to ensure that terminal executes primary network search It is the network connection mode because different that network connection mode, which sets different web search durations, and terminal executes the side of web search Formula is different, this partial content has been described in detail above, no longer redundant later herein.
Further, the first mode be the terminal works in Wi-Fi workstation modes, the second mode is institute State terminal works in Wi-Fi access point modes either the terminal works in Wi-Fi direct pattern or terminal works in not connecting Connect Wi-Fi operating modes.
For example, when terminal works are in first mode, i.e., the current operating mode of terminal is terminal works in Wi- When Fi workstation modes, setting network is 15 seconds a length of when searching for, when terminal works are in second mode, i.e. the work at present of terminal Pattern be terminal works in Wi-Fi access point modes, terminal works in Wi-Fi direct pattern or terminal works in not connected One kind in Wi-Fi operating modes, then it is 2 seconds a length of when setting network is searched for.
The embodiment of the present invention provides a kind of network search method of terminal, is set for different terminal work modes different Web search duration, the technical issues of capable of effectively avoiding the Normal practice of the prior art from making troubles to user, specifically, In the prior art, in order to ensure no matter terminal works are in which kind of operating mode, when terminal executes network operation, can one executed The relatively long network connection duration that can be searched electronic device as much as possible in secondary network operation and set.Thus lead Apply family need spend the time wait for web search duration terminate, carry out subsequent operation again later.
Further, the first mode is that the network state detection module of the terminal shows the terminal and other electricity Sub-device has built up network connection, the second mode be the terminal network state detection module show the terminal and Other electronic devices do not set up network connection.
For example, when terminal works are in first mode, i.e., described in the network state detection module of the described terminal is shown Terminal has built up network connection with other electronic devices, and setting network is 5 seconds a length of when searching for, when terminal works are in second mode When, i.e., the network state detection module of the described terminal shows that the terminal does not set up network connection with other electronic devices, then sets Determine when web search a length of 2 seconds.
The embodiment of the present invention provides a kind of network search method of terminal, for the terminal connection different from electronic device Situation sets different web search durations, the technology that can effectively avoid the Normal practice of the prior art from making troubles to user Problem, specifically, in the prior art, in order to ensure the reliability of the network connection between terminal and electronic device, no matter currently Under state, which kind of connection state is terminal be in electronic device, if terminal and electronic device disconnect, terminal and electronic device Carrying out network connection, terminal and electronic device have been in connection status, set web search duration all same, so And for example, when terminal is in connection status with electronic device, required web search duration works as terminal without longer When being off with electronic device, required web search duration need instead it is longer, in order to ensure terminal and electronics The stability of network connection between device sets a relatively long web search duration, and therefore, user may need It spends the time to wait for a longer web search duration, subsequent operation could be carried out later, made troubles to user.
Further, on the basis of a kind of terminal network searching method provided in an embodiment of the present invention shown in Fig. 1, also Further comprise the steps:
It shows the state of the web search of the terminal, and shows the web search residual time length of the terminal.
Specifically, when terminal executes web search operation, in the user interface display terminal for the app for being installed on terminal The state of web search, and show the web search residual time length of the terminal, as shown in Fig. 2, wherein 200 refer to being installed on end The user interface of the app at end, 220 refer to the web search state of terminal and the web search residual time length of terminal, such as Fig. 2 institutes To show, the network connection state of present terminal is " searching for printer ", and the web search residual time length of present terminal is 20 seconds, Wait for that residual time length is 0, i.e., after terminal completes the execution that primary network is searched for, automatically into the web search results for showing terminal App user interfaces.Further, the user interface of app can with the network connection state of display terminal and electronic device, As shown in Fig. 2, not setting up network connection between present terminal and electronic device.
In embodiments of the present invention, web search operation is executed to search for electricity in the app user interface display terminals of terminal When sub-device, the web search state of display terminal and the web search residual time length of terminal so that user knows current state Under terminal web search state and progress, provide the user with facility.
On the basis of a kind of terminal network searching method provided in an embodiment of the present invention shown in Fig. 1, the end is judged The network connection mode at end, includes the following steps:
Based on the network connection information of the terminal, the network connection mode of the terminal is judged.
Specifically, the searching request or system initiated in app user interfaces based on user automatically initiate searching request, peace App loaded on terminal obtains the current network link information of terminal to the operating system of terminal, based on working as the terminal got Preceding network connection information, app judge the network connection mode of terminal.
The acquisition methods of the current network link information of terminal specifically include step referring to Fig. 3:
S301:Judge whether the Wi-Fi functions of terminal open.
If so, entering step S302.
S302:Judge whether terminal connects other network equipments.
If so, entering step S303, S304 is otherwise entered step.
S303:Obtain the network connection information for other network equipments that network connection is established with terminal.
Wherein, other network equipments can be electronic device, terminal etc. with network function.Network connection information includes At least one of but be not limited to the SSID information of other network equipments, MAC Address, IP address, signal strength information.
After step S303, S305 is entered step.
S305:The network connection information of other network equipments that network connection is established with terminal based on acquisition determines eventually The network connection mode at end.
Determine that the network connection mode of terminal includes two kinds of situations, one of which situation is used to judge the WI-FI works of terminal Operation mode, another situation are used to judge the network connection status of terminal and other network equipments.
For the first situation, main includes two ways, and a kind of mode is other network equipments based on acquisition SSID information, judge SSID information whether include character Ap or character direct, if including character AP, judges terminal work Make in WIFI access point operating modes, if including character direct, judges terminal works in the direct-connected operating modes of WIFI, if both Not comprising character AP, does not include character direct yet, then judge terminal works in WIFI work station operating modes, if having not been obtained The SSID information of other network equipments then judges terminal works in not connected Wi-FI operating modes;Another way is to be based on obtaining The MAC information of other network equipments taken, judges whether MAC Address, if there are MAC Address, judge terminal works in Wi-Fi direct operating mode, otherwise, it is determined that terminal works are in other operating modes.
For the second situation, the connection state for judging terminal and electronic device includes mainly following manner:
First according to the judgment rule in the first situation, the network mode of operation of terminal is judged, if terminal works are in Wi- Fi work station operating modes then judge that the SSID for the electronic device that the SSID information of the network of terminal connection is connect with terminal is It is no consistent, if inconsistent, judge that the network connection between terminal and electronic device disconnects, conversely, then judging terminal and electronics Device establishes network connection with consolidated network equipment, later, if if the network connection terminal between terminal and electronic device connects The SSID of electronic device that is connect with terminal of SSID information of network be consistent, then IP of the terminal based on electronic device Location sends verification information, if there are the responses of printer to electronic device, it is determined that terminal establishes network company with electronic device It connects, if there is no responses, it is determined that terminal does not set up network connection with electronic device.
If terminal works in Wi-Fi access point operating modes, judge that the network connection SSID of terminal is connect with terminal Electronic device SSID it is whether consistent, if unanimously, it is determined that network connection is established between terminal and electronic device, if differing It causes, it is determined that network connection is not set up between terminal and electronic device.
If terminal works are in Wi-Fi direct operating mode, if judgement and terminal establish the electronic device of Wi-Fi direct Whether SSID is consistent with the SSID for the electronic device for establishing Wi-Fi direct with terminal before, if unanimously, it is determined that terminal and electricity Network connection is established between sub-device, if inconsistent, it is determined that do not set up network connection between terminal and electronic device.
If terminal works are in not connected Wi-Fi operating modes, it is determined that terminal does not set up network connection with electronic device.
S304:The network connection mode of present terminal is not establish network connection with other network terminals.
If detecting that terminal is not established with other network equipments to connect, judge that terminal does not establish net with other network equipments Network connects.
The embodiment of the present invention, by being installed on the app of terminal and the communication of operating system, so that it is determined that the network of terminal connects Pattern is connect, in order to subsequently determine web search duration corresponding with terminal network connection mode, it can be seen that, the present invention is implemented Web search duration in example is not necessarily all unified, and suitable web search duration, a side are set according to network connection mode Face can reduce the user when web search duration is longer and wait for the time spent, bring advantage to the user, on the other hand, energy It enough avoids the user when web search duration is shorter from needing to execute the troublesome operation that operation triggering terminal executes search operation, gives and use Family offers convenience.
The embodiment of the present invention provides a kind of terminal with web search function, and implementation of the present invention is illustrated below with reference to Fig. 4 A kind of terminal with web search function that example is provided, the terminal include:
Interface unit 401, the searching request for receiving terminal.
First judging unit 402, the network connection mode for judging the terminal.
Determination unit 403 is searched for the network connection mode based on the determining terminal in conjunction with preset network Suo Shichang determines web search duration corresponding with the network connection mode.
Search unit 404 executes the web search of the terminal, and in institute based on the determining web search duration It states after web search duration terminates, ends automatically the web search of the terminal.
Device provided in an embodiment of the present invention is able to carry out technical solution shown in Fig. 2, specific executive mode and beneficial Effect is similar, repeats no more herein.
Optionally, as shown in figure 5, the terminal further includes:
Second judgment unit 505, for judging whether the web search duration terminates;
Connection unit 506, if for searching attachable electronic device before the web search duration terminates, After the web search duration network connection is established with selected electronic device.
Optionally, which further includes:
When first judging unit judges the network connection mode of the terminal for first mode, then the determination unit The web search duration of a length of terminal when determining with first;
When first judging unit judges the network connection mode of the terminal for second mode, then the determination unit The web search duration of a length of terminal when determining with second.
Wherein, first duration is more than second duration.
Further, the first mode be the terminal works in Wi-Fi workstation modes, the second mode is institute State terminal works in Wi-Fi access point modes either the terminal works in Wi-Fi direct pattern or terminal works in not connecting Connect Wi-Fi operating modes.
Further, the first mode is that the network state detection module of the terminal shows the terminal and other electricity Sub-device has built up network connection, the second mode be the terminal network state detection module show the terminal and Other electronic devices do not set up network connection.
Optionally, as shown in fig. 6, the terminal includes:
First display unit 601, the state of the web search for showing the terminal, and show the network of the terminal Search for residual time length.
Optionally, as shown in fig. 7, the terminal includes:
Third judging unit 701 is used for the network connection information based on the terminal, judges the network connection of the terminal Pattern.
As shown in figure 8, the present invention also provides a kind of termini embodiments with web search function, and specifically, this implementation The control terminal of offer includes in fact:Memory, processor and computer program.
Wherein, computer program stores in memory, and is configured as being executed by processor to realize any of the above-described reality Apply the method that example is provided.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer program, it should Computer program is executed by processor to realize the method provided such as above-mentioned any embodiment.
The embodiment of the present invention provides a kind of terminal and computer-readable medium with web search function, searching based on reception Rope is asked, and judges the network connection mode of the terminal;It is set in advance based on the network connection mode combination of the determining terminal Fixed web search duration determines web search duration corresponding with the network connection mode;Based on the determining network Duration is searched for, the terminal executes web search, and after the web search duration terminates, ends automatically web search. In the embodiment of the present invention, the searching request based on reception judges the network connection mode of the electronic device, so that it is determined that with institute State the corresponding web search duration of network connection mode of electronic device, it can be seen that, the web search in the embodiment of the present invention Duration is not necessarily all unified, sets suitable web search duration according to network connection mode, on the one hand, can reduce and work as net User waits for the time spent when network search duration is longer, brings advantage to the user, and on the other hand, can avoid working as web search User needs to execute the troublesome operation that operation triggering terminal executes search operation when duration is shorter, brings advantage to the user.Therefore, The setting that the embodiment of the present invention can solve to exist in the prior art electronic device web search duration is unreasonable, is brought to user Inconvenient technical problem.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (16)

1. a kind of network search method of terminal, which is characterized in that including:
Searching request based on reception judges the network connection mode of the terminal;
Preset web search duration is combined based on the network connection mode of the determining terminal, is determined and the network The corresponding web search duration of connection mode;
Based on the determining web search duration, the terminal executes web search, and terminates in the web search duration Later, web search is ended automatically.
2. method according to claim 1, which is characterized in that further include:
Judge whether the web search duration terminates;
If searching attachable electronic device before the web search duration terminates, terminate in the web search duration Afterwards network connection is established with selected electronic device.
3. method according to claim 1, which is characterized in that when determining web search corresponding with the network connection mode It is long, including:
If the network connection mode of the terminal is first mode, it is determined that when with first when the web search of a length of terminal It is long;
If the network connection mode of the terminal is second mode, it is determined that when with second when the web search of a length of terminal It is long;
Wherein, first duration is more than second duration.
4. method according to claim 3, which is characterized in that
The first mode is the terminal works in Wi-Fi workstation modes, the second mode be the terminal works in Wi-Fi access point modes, the terminal works work in Wi-Fi direct pattern or the terminal works in not connected Wi-Fi Pattern.
5. the network search method of terminal according to claim 3, it is characterised in that:
The first mode is that the network state detection module of the terminal shows that the terminal has been built with other electronic devices Vertical network connection, the second mode are that the network state detection module of the terminal shows the terminal and other electronic devices Network connection is not set up.
6. according to any one of claim 1-5 the methods, which is characterized in that further include:
It shows the state of the web search of the terminal, and shows the web search residual time length of the terminal.
7. method according to claim 1, which is characterized in that judge the network connection mode of the terminal, including:
Based on the network connection information of the terminal, the network connection mode of the terminal is judged.
8. a kind of terminal with web search function, which is characterized in that including:
Interface unit, the searching request for receiving terminal;
First judging unit, the network connection mode for judging the terminal;
Determination unit combines preset web search duration for the network connection mode based on the determining terminal, Determine web search duration corresponding with the network connection mode;
Search unit executes the web search of the terminal, and search in the network based on the determining web search duration After Suo Shichang terminates, the web search of the terminal is ended automatically.
9. terminal according to claim 8, which is characterized in that further include:
Second judgment unit, for judging whether the web search duration terminates;
First connection unit, if for searching attachable electronic device before the web search duration terminates, in institute After stating web search duration and selected electronic device establishes network connection.
10. terminal according to claim 8, which is characterized in that
When first judging unit judges the network connection mode of the terminal for first mode, then the determination unit determines The web search duration of a length of terminal when with first;
When first judging unit judges the network connection mode of the terminal for second mode, then the determination unit determines The web search duration of a length of terminal when with second.
Wherein, first duration is more than second duration.
11. terminal according to claim 10, which is characterized in that
The first mode is the terminal works in Wi-Fi workstation modes, the second mode be the terminal works in Either the terminal works work in Wi-Fi direct pattern or terminal works in not connected Wi-Fi Wi-Fi access point modes Pattern.
12. terminal according to claim 10, which is characterized in that
The first mode is that the network state detection module of the terminal shows that the terminal has been built with other electronic devices Vertical network connection, the second mode are that the network state detection module of the terminal shows the terminal and other electronic devices Network connection is not set up.
13. according to any one of the claim 8-12 terminals, which is characterized in that further include:
First display unit, the state of the web search for showing the terminal, and show that the web search of the terminal is surplus Remaining duration.
14. terminal according to claim 8, which is characterized in that judging unit, the network connection mould for judging the terminal Formula, including:
Third judging unit is used for the network connection information based on the terminal, judges the network connection mode of the terminal.
15. a kind of terminal with web search function, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program is stored in the memory, and is configured as being executed to realize such as by the processor Claim 1-7 any one of them methods.
16. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program;The computer program It is executed by processor to realize such as claim 1-7 any one of them methods.
CN201810325294.3A 2018-04-12 2018-04-12 The network search method of terminal, the terminal with web search function Pending CN108738010A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810325294.3A CN108738010A (en) 2018-04-12 2018-04-12 The network search method of terminal, the terminal with web search function
PCT/CN2019/079906 WO2019196654A1 (en) 2018-04-12 2019-03-27 Network search method for terminal and terminal with network search function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810325294.3A CN108738010A (en) 2018-04-12 2018-04-12 The network search method of terminal, the terminal with web search function

Publications (1)

Publication Number Publication Date
CN108738010A true CN108738010A (en) 2018-11-02

Family

ID=63940842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810325294.3A Pending CN108738010A (en) 2018-04-12 2018-04-12 The network search method of terminal, the terminal with web search function

Country Status (2)

Country Link
CN (1) CN108738010A (en)
WO (1) WO2019196654A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110017868A (en) * 2019-05-08 2019-07-16 北京汇通天下物联科技有限公司 Freezer temperature and humidity monitor method and system
WO2019196654A1 (en) * 2018-04-12 2019-10-17 珠海奔图电子有限公司 Network search method for terminal and terminal with network search function
CN114760672A (en) * 2020-12-29 2022-07-15 深圳Tcl新技术有限公司 Method, device, equipment and storage medium for noninductive distribution network and equipment cooperation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104934A (en) * 2009-12-18 2011-06-22 鸿富锦精密工业(深圳)有限公司 Wireless communication terminal and energy saving method thereof
CN104584650A (en) * 2012-08-17 2015-04-29 苹果公司 Managing power consumption in mobile devices
CN107172304A (en) * 2017-07-17 2017-09-15 维沃移动通信有限公司 A kind of mobile terminal power consumption detection method and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379480B (en) * 2012-04-17 2019-03-01 腾讯科技(深圳)有限公司 Wireless network connecting method and device
KR101396777B1 (en) * 2012-07-10 2014-05-20 주식회사에어플러그 Method and apparatus for causing sequence information of access points according to a route and for accessing a wireless network using the created sequence information
CN108738010A (en) * 2018-04-12 2018-11-02 珠海奔图电子有限公司 The network search method of terminal, the terminal with web search function

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104934A (en) * 2009-12-18 2011-06-22 鸿富锦精密工业(深圳)有限公司 Wireless communication terminal and energy saving method thereof
CN104584650A (en) * 2012-08-17 2015-04-29 苹果公司 Managing power consumption in mobile devices
CN107172304A (en) * 2017-07-17 2017-09-15 维沃移动通信有限公司 A kind of mobile terminal power consumption detection method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019196654A1 (en) * 2018-04-12 2019-10-17 珠海奔图电子有限公司 Network search method for terminal and terminal with network search function
CN110017868A (en) * 2019-05-08 2019-07-16 北京汇通天下物联科技有限公司 Freezer temperature and humidity monitor method and system
CN114760672A (en) * 2020-12-29 2022-07-15 深圳Tcl新技术有限公司 Method, device, equipment and storage medium for noninductive distribution network and equipment cooperation

Also Published As

Publication number Publication date
WO2019196654A1 (en) 2019-10-17

Similar Documents

Publication Publication Date Title
US9311030B2 (en) Communication setting technology and communication apparatus
US8874167B2 (en) Method and system for multi-standby operation for a multi-SIM multi-standby communication device
CN103384392B (en) A kind of mobile terminal accesses method and the WAP of WAP
US10225876B2 (en) Information processing apparatus and control method therefor, information processing system, computer program and storage medium
US8738687B2 (en) Communication system having management apparatus and user apparatus, management apparatus, user apparatus, and method of controlling the same
CN111615123A (en) Method, device and storage medium for intelligent device network distribution
CN108738010A (en) The network search method of terminal, the terminal with web search function
CN104994527A (en) Method for intelligent household electrical appliance to access router, intelligent household electrical appliance and mobile terminal
US10568156B2 (en) Communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method executed by communication device
US20150092231A1 (en) Wireless Communication Apparatus
US20180124769A1 (en) Communication apparatus, control method thereof, and program
CN110996361B (en) Data network switching method and device, mobile terminal and storage medium
US9398627B2 (en) Communication apparatus
WO2018010425A1 (en) Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
CN106332156A (en) WIFI anomaly detection control system and method
CN105979509A (en) Intelligent equipment detection method, intelligent equipment detection device, WIFI module and automatic connection method thereof
CN111565442A (en) Screen projection method, equipment and system
US8081613B2 (en) Wireless communication system and wireless communication apparatus and control method thereof
CN112367625A (en) Virtual card network-residing method and system, server, mobile terminal and storage medium
US9392537B2 (en) Terminal and connection method for same
CN113132929A (en) Equipment network access method, device, computer equipment and storage medium
CN105940720A (en) Method for triggering registration machine protocol interaction, access point and station point
CN112492618A (en) Network sharing method and device, electronic equipment and storage medium
US8458339B2 (en) Communication apparatus and control method for electronic payment services
US10187796B2 (en) Authentication and association method and system

Legal Events

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

Application publication date: 20181102